Replace pass with keepassxc

This commit is contained in:
Tobias Reisinger 2021-12-21 12:13:11 +01:00
parent be08b1d94b
commit d7228bcfb0
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
3 changed files with 64 additions and 19 deletions

View file

@ -13,11 +13,17 @@ def init(c):
c.bind(',rt', 'open {url:scheme}://reddit.tube{url:path}{url:query}')
c.bind(',s', 'spawn steam steam://openurl/{url}')
pass_script_default = 'spawn --userscript qute-pass --no-insert-mode --username-target secret --username-pattern "login: (.+)" '
c.bind(',p', pass_script_default)
c.bind(',Pu', pass_script_default + '--username-only')
c.bind(',Pi', pass_script_default + '--password-only')
c.bind(',Po', pass_script_default + '--otp-only')
gpg_key = '723B78C0BF8D8C721D2C4EEF41E544A54E2533B2'
#c.bind(',Pp', 'spawn --userscript qute-keepassxc --key ABC1234', mode='insert')
c.bind(',p', 'spawn --userscript qute-keepassxc --key ' + gpg_key, mode='normal')
c.bind(',Po', 'spawn --userscript qute-keepassxc --otp --key ' + gpg_key, mode='normal')
#pass_script_default = 'spawn --userscript qute-pass --no-insert-mode --username-target secret --username-pattern "login: (.+)" '
#c.bind(',p', pass_script_default)
#c.bind(',Pu', pass_script_default + '--username-only')
#c.bind(',Pi', pass_script_default + '--password-only')
#c.bind(',Po', pass_script_default + '--otp-only')
c.bind(',q', 'spawn --userscript qr {url}')
c.bind(',Q', 'hint links spawn --userscript qr {hint-url}')

View file

@ -71,6 +71,40 @@ bind "U AXIS NEG" "xlook"
adsp_debug "0"
ai_report_task_timings_on_limit "0"
ai_think_limit_label "0"
aim_flickstick_circular_deadzone_max "0.94"
aim_flickstick_circular_deadzone_min "0.74"
aim_flickstick_crank_friction "1.5"
aim_flickstick_crank_sensitivity "1.0"
aim_flickstick_crank_tightness "40.0"
aim_flickstick_flick_duration "0.15"
aim_flickstick_flick_snap_angle "45"
aim_gyro_circular_deadzone_min "0.0"
aim_gyro_invert_pitch "1"
aim_gyro_invert_yaw "0"
aim_gyro_sensitivity_pitch "1.0"
aim_gyro_sensitivity_yaw "1.0"
aim_gyro_square_deadzone_pitch "0.0"
aim_gyro_square_deadzone_yaw "0.0"
aim_stick_circular_deadzone_max "0.94"
aim_stick_circular_deadzone_min "0.17"
aim_stick_extra_pitch "50.0"
aim_stick_extra_turning_delay "0.0"
aim_stick_extra_turning_ramp_up_time "0.5"
aim_stick_extra_yaw "60.0"
aim_stick_invert_pitch "0"
aim_stick_invert_yaw "0"
aim_stick_rate_pitch "125.0"
aim_stick_rate_yaw "165.0"
aim_stick_response_curve "1.6"
aim_stick_square_deadzone_pitch "0.0"
aim_stick_square_deadzone_yaw "0.0"
aim_touchpad_circular_deadzone_min "0.0"
aim_touchpad_invert_pitch ""
aim_touchpad_invert_yaw ""
aim_touchpad_sensitivity_pitch "20.0"
aim_touchpad_sensitivity_yaw "21.0"
aim_touchpad_square_deadzone_pitch "0.0"
aim_touchpad_square_deadzone_yaw "0.0"
budget_averages_window "30"
budget_background_alpha "128"
budget_bargraph_background_alpha "128"
@ -101,8 +135,8 @@ c_thirdpersonshoulderaimdist "120.0"
c_thirdpersonshoulderdist "40.0"
c_thirdpersonshoulderheight "5.0"
c_thirdpersonshoulderoffset "20.0"
cachedvalue_count_partybrowser "1637013780"
cachedvalue_count_teammates "1637187852"
cachedvalue_count_partybrowser "1639081232"
cachedvalue_count_teammates "1639262219"
cam_collision "1"
cam_idealdelta "4.0"
cam_idealdist "150"
@ -122,8 +156,8 @@ cl_allowupload "1"
cl_autohelp "1"
cl_autowepswitch "0"
cl_bob_lower_amt "21"
cl_bobamt_lat "0.4"
cl_bobamt_vert "0.25"
cl_bobamt_lat "0.33"
cl_bobamt_vert "0.14"
cl_bobcycle "0.98"
cl_buywheel_donate_key "0"
cl_buywheel_nomousecentering "0"
@ -132,7 +166,7 @@ cl_chatfilter_version "1"
cl_chatfilters "63"
cl_clanid "39516960"
cl_cmdrate "64"
cl_color "2"
cl_color "1"
cl_compass_enabled "1"
cl_crosshair_drawoutline "1"
cl_crosshair_dynamic_maxdist_splitratio "0.900000"
@ -233,6 +267,7 @@ cl_radial_radio_tab_2_text_7 "#Chatwheel_sorry"
cl_radial_radio_tab_2_text_8 "#Chatwheel_sectorclear"
cl_radial_radio_version_reset "12"
cl_radialmenu_deadzone_size "0.04"
cl_radialmenu_deadzone_size_joystick "0.17"
cl_righthand "1"
cl_rumblescale "1.0"
cl_sanitize_player_names "0"
@ -241,7 +276,7 @@ cl_scoreboard_survivors_always_on "0"
cl_show_clan_in_death_notice "0"
cl_show_observer_crosshair "2"
cl_showhelp "1"
cl_showloadout "0"
cl_showloadout "1"
cl_showpluginmessages2 "0"
cl_sniper_delay_unscope "0"
cl_spec_follow_grenade_key "0"
@ -355,6 +390,11 @@ mc_max_yawrate "230.0"
mm_csgo_community_search_players_min "3"
mm_dedicated_search_maxping "75.448570"
mm_server_search_lan_ports "27015,27016,27017,27018,27019,27020"
move_stick_circular_deadzone_max "0.98"
move_stick_circular_deadzone_min "0.17"
move_stick_response_curve "2.0"
move_stick_square_deadzone_forward "0.0"
move_stick_square_deadzone_strafe "0.0"
muzzleflash_light "1"
name "Serguzim"
net_allow_multicast "1"
@ -380,10 +420,10 @@ password "CB1FED3C80B40C63D23DEEC81651D4029AACBFE621D3565F509895038A9BB2FB"
play_distance "1"
player_botdifflast_s "2"
player_competitive_maplist_2v2_10_1_8B1DA40F "mg_de_vertigo,mg_de_inferno,mg_de_overpass"
player_competitive_maplist_8_10_1_62D24D31 "mg_cs_office"
player_competitive_maplist_8_10_1_62D24D31 "mg_de_mirage,mg_de_inferno,mg_de_overpass,mg_de_nuke,mg_cs_office"
player_nevershow_communityservermessage "0"
player_survival_list_10_1_13 "mg_dz_blacksite,mg_dz_sirocco,mg_dz_county"
player_teamplayedlast "3"
player_teamplayedlast "2"
player_wargames_list2_10_1_E04 "mg_skirmish_flyingscoutsman,mg_skirmish_armsrace,mg_skirmish_demolition,mg_skirmish_retakes"
r_drawmodelstatsoverlaymax "1.5"
r_drawmodelstatsoverlaymin "0.1"
@ -398,10 +438,7 @@ r_player_visibility_mode "1"
rate "196608"
safezonex "1.0"
safezoney "1.0"
sc_enable "1.0"
sc_joystick_map "1"
sc_pitch_sensitivity "1.0"
sc_yaw_sensitivity "1.0"
scene_showfaceto "0"
scene_showlook "0"
scene_showmoveto "0"
@ -479,7 +516,7 @@ ui_deepstats_toplevel_mode "0"
ui_inventorysettings_recently_acknowledged ""
ui_mainmenu_bkgnd_movie_53A07E69 "county"
ui_nearbylobbies_filter3 "competitive"
ui_news_last_read_link "https://blog.counter-strike.net/index.php/2021/11/36175/"
ui_news_last_read_link "https://blog.counter-strike.net/index.php/2021/11/36451/"
ui_playsettings_custom_preset "mg_de_vertigo,mg_de_inferno,mg_de_overpass,mg_de_train"
ui_playsettings_directchallengekey ""
ui_playsettings_flags_listen_casual "0"
@ -490,7 +527,7 @@ ui_playsettings_flags_listen_scrimcomp2v2 "0"
ui_playsettings_flags_listen_skirmish "0"
ui_playsettings_flags_listen_survival "0"
ui_playsettings_flags_official_casual "0"
ui_playsettings_flags_official_competitive "16"
ui_playsettings_flags_official_competitive "32"
ui_playsettings_flags_official_cooperative "0"
ui_playsettings_flags_official_deathmatch "32"
ui_playsettings_flags_official_scrimcomp2v2 "0"
@ -531,7 +568,7 @@ voice_enable "1"
voice_forcemicrecord "1"
voice_modenable "1"
voice_positional "0"
voice_scale "0.498455"
voice_scale "0.701774"
voice_system_enable "1"
voice_threshold "4000"
volume "0.302577"

View file

@ -75,6 +75,8 @@ _autostart_apps()
qutebrowser &
mopidy &
(pass notes/keepass | head -n 1 | keepassxc --pw-stdin ~/sync/passwords.kdbx) &
}
_autostart()