From 645d46bb5dc7f32cfafe21511935f7e12c7cc281 Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Thu, 4 May 2023 12:38:33 +0200 Subject: [PATCH] config for fuzzel --- dot_config/fuzzel/executable_fuzzel-pass.sh | 7 + dot_config/remmina/remmina.pref | 211 -------------------- dot_config/sway/executable_config | 5 +- 3 files changed, 9 insertions(+), 214 deletions(-) create mode 100644 dot_config/fuzzel/executable_fuzzel-pass.sh delete mode 100644 dot_config/remmina/remmina.pref diff --git a/dot_config/fuzzel/executable_fuzzel-pass.sh b/dot_config/fuzzel/executable_fuzzel-pass.sh new file mode 100644 index 0000000..046378d --- /dev/null +++ b/dot_config/fuzzel/executable_fuzzel-pass.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +# Use fuzzel to find a password from password-store and copy it to clipboard. +# inpired by: https://gist.github.com/igemnace/2b8609d280752e8a1b173204c14f6892 + +pass_name=$(cd $HOME/.password-store && rg --files | sed 's/\.gpg$//' | fuzzel -d -w 60 -D yes) + +[[ $pass_name != "" ]] && pass show -c $pass_name diff --git a/dot_config/remmina/remmina.pref b/dot_config/remmina/remmina.pref deleted file mode 100644 index 32322c2..0000000 --- a/dot_config/remmina/remmina.pref +++ /dev/null @@ -1,211 +0,0 @@ -[remmina_pref] -secret=U7f4IruieYtpruow3h9cioGAHoO4hczU3ZEGD6OyaRo= -datadir_path=/home/simono41/.local/share/remmina -remmina_file_name=%G_%P_%N_%h -screenshot_path=/home/simono41/Bilder -screenshot_name=remmina_%p_%h_%Y%m%d-%H%M%S -deny_screenshot_clipboard=true -save_view_mode=true -confirm_close=true -use_primary_password=false -unlock_timeout=300 -unlock_password= -lock_connect=false -lock_edit=false -enc_mode=1 -audit=false -trust_all=false -floating_toolbar_placement=0 -toolbar_placement=3 -prevent_snap_welcome_message=false -last_quickconnect_protocol=RDP -fullscreen_on_auto=true -always_show_tab=true -always_show_notes=false -hide_connection_toolbar=false -hide_searchbar=false -default_action=0 -scale_quality=3 -ssh_loglevel=1 -ssh_parseconfig=true -hide_toolbar=false -small_toolbutton=false -view_file_mode=0 -resolutions=640x480,800x600,1024x768,1152x864,1280x960,1400x1050,1920x1080 -keystrokes=Send hello world§hello world\\n -main_width=732 -main_height=400 -main_maximize=false -main_sort_column_id=1 -main_sort_order=0 -expanded_group= -toolbar_pin_down=false -sshtunnel_port=4732 -ssh_tcp_keepidle=20 -ssh_tcp_keepintvl=10 -ssh_tcp_keepcnt=3 -ssh_tcp_usrtimeout=60000 -applet_new_ontop=false -applet_hide_count=false -applet_enable_avahi=false -disable_tray_icon=false -dark_theme=false -recent_maximum=10 -default_mode=0 -tab_mode=0 -fullscreen_toolbar_visibility=0 -auto_scroll_step=10 -hostkey=65508 -shortcutkey_fullscreen=102 -shortcutkey_autofit=49 -shortcutkey_nexttab=65363 -shortcutkey_prevtab=65361 -shortcutkey_scale=115 -shortcutkey_grab=65508 -shortcutkey_multimon=65365 -shortcutkey_viewonly=109 -shortcutkey_screenshot=65481 -shortcutkey_minimize=65478 -shortcutkey_disconnect=65473 -shortcutkey_toolbar=116 -vte_shortcutkey_copy=99 -vte_shortcutkey_paste=118 -vte_shortcutkey_select_all=97 -vte_shortcutkey_increase_font=65365 -vte_shortcutkey_decrease_font=65366 -vte_shortcutkey_search_text=103 -vte_font= -grab_color=#00ff00 -grab_color_switch=false -vte_allow_bold_text=true -vte_lines=512 -rdp_use_client_keymap=1 -rdp_disable_smooth_scrolling=0 -rdp_reconnect_attempts= -rdp_kbd_remap= -rdp_quality_0=6F -rdp_quality_1=7 -rdp_quality_2=1 -rdp_quality_9=80 -rdp_deviceScaleFactor=0 -rdp_desktopScaleFactor=0 -rdp_desktopOrientation=0 -lock_view_passwords=false -rdp_keyboard_layout=407 - -[ssh_colors] -background=rgb(213,204,186) -cursor=rgb(69,55,60) -cursor_foreground=rgb(213,204,186) -highlight=rgb(69,55,60) -highlight_foreground=rgb(213,204,186) -colorBD=rgb(69,55,60) -foreground=rgb(69,55,60) -color0=rgb(32,17,27) -color1=rgb(190,16,14) -color2=rgb(133,129,98) -color3=rgb(234,165,73) -color4=rgb(66,106,121) -color5=rgb(151,82,44) -color6=rgb(152,154,156) -color7=rgb(150,140,131) -color8=rgb(94,82,82) -color9=rgb(190,16,14) -color10=rgb(133,129,98) -color11=rgb(234,165,73) -color12=rgb(66,106,121) -color13=rgb(151,82,44) -color14=rgb(152,154,156) -color15=rgb(213,204,186) - -[remmina] -name= -ignore-tls-errors=1 -gateway_username= -notes_text= -window_height=1080 -vc= -preferipv6=0 -ssh_tunnel_loopback=0 -serialname= -tls-seclevel= -websockets=0 -printer_overrides= -console=0 -colordepth=99 -security= -precommand= -disable_fastpath=0 -postcommand= -left-handed=0 -multitransport=0 -group= -server= -ssh_tunnel_certfile= -glyph-cache=0 -ssh_tunnel_enabled=0 -disableclipboard=0 -labels= -audio-output= -parallelpath= -monitorids= -cert_ignore=0 -gateway_server= -serialpermissive=0 -protocol=RDP -old-license=0 -resolution_mode=0 -pth= -loadbalanceinfo= -disableautoreconnect=0 -clientbuild= -clientname= -resolution_width=1920 -drive= -relax-order-checks=0 -base-cred-for-gw=0 -gateway_domain= -profile-lock=0 -rdp2tcp= -serialdriver= -rdp_reconnect_attempts= -domain= -restricted-admin=0 -exec= -serialpath= -smartcardname= -username=sri -enable-autostart=0 -multimon=0 -shareprinter=0 -network=none -usb= -quality=9 -span=0 -disablepasswordstoring=0 -parallelname= -shareparallel=0 -ssh_tunnel_auth=0 -keymap= -ssh_tunnel_username= -execpath= -viewmode=4 -resolution_height=1080 -shareserial=0 -useproxyenv=0 -timeout= -freerdp_log_filters= -microphone= -dvc= -sharesmartcard=0 -ssh_tunnel_privatekey= -ssh_tunnel_server= -gwtransp=http -disable-smooth-scrolling=0 -window_maximize=0 -gateway_usage=0 -window_width=1920 -no-suppress=0 -freerdp_log_level=INFO -sound=off -viewonly=0 diff --git a/dot_config/sway/executable_config b/dot_config/sway/executable_config index b052bf7..fbe00fd 100644 --- a/dot_config/sway/executable_config +++ b/dot_config/sway/executable_config @@ -69,6 +69,8 @@ bindsym $mod+Shift+q kill #bindsym $mod+d exec rofi -show run -lines 3 -bw 1 -font "Cantarell 18" -opacity "75" bindsym $mod+d exec fuzzel bindsym $mod+Shift+d exec clipman pick --tool=CUSTOM --tool-args="fuzzel -d" +bindsym $mod+y exec ~/.config/fuzzel/fuzzel-pass.sh +#bindsym $mod+shift+y exec passdmenu -P -x clipboard #bindsym $mod+d exec wofi --show run --width 900 --height 200 #bindsym $mod+d exec rofi -show run -lines 3 -eh 2 -width 100 -padding 800 -opacity "85" -bw 0 -bc "$bg-color" -bg "$bg-color" -fg "$text-color" -hlbg "$bg-color" -hlfg "#9575cd" -font "System San Francisco Display 18" @@ -336,9 +338,6 @@ bindsym $mod+t exec pcmanfm-qt bindsym $mod+shift+t exec thunderbird bindsym $mod+n exec wezterm start nmtui -#bindsym $mod+y exec clipmenu -#bindsym $mod+shift+y exec passdmenu -P -x clipboard - #bindsym $mod+o exec termite -e /usr/bin/alsamixer #bindsym $mod+y exec alacritty -e ncmpcpp