my dotz
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add pa-rofi

j3s cc48b842 54f91044

+17 -5
+9 -5
.config/i3/config
··· 47 47 bindsym $mod+Shift+q kill 48 48 49 49 # start dmenu (a program launcher) 50 - bindsym $mod+d exec --no-startup-id dmenu_run 50 + bindsym $mod+d exec "rofi -modi drun,run -show drun" 51 + bindsym $mod+Shift+s exec "rofi -show ssh" 51 52 # A more modern dmenu replacement is rofi: 52 53 # bindcode $mod+40 exec rofi -modi drun,run -show drun 53 54 # There also is i3-dmenu-desktop which only displays applications shipping a ··· 67 68 bindsym $mod+Right focus right 68 69 69 70 # move focused window 70 - bindsym $mod+Shift+j move left 71 - bindsym $mod+Shift+k move down 72 - bindsym $mod+Shift+l move up 73 - bindsym $mod+Shift+semicolon move right 71 + bindsym $mod+Shift+h move left 72 + bindsym $mod+Shift+j move down 73 + bindsym $mod+Shift+k move up 74 + bindsym $mod+Shift+l move right 74 75 75 76 # alternatively, you can use the cursor keys: 76 77 bindsym $mod+Shift+Left move left ··· 94 95 95 96 # toggle tiling / floating 96 97 bindsym $mod+Shift+space floating toggle 98 + 99 + # do the password thang 100 + bindsym $mod+Shift+p exec --no-startup-id pa-rofi 97 101 98 102 # change focus between tiling / floating windows 99 103 bindsym $mod+space focus mode_toggle
+8
bin/pa-rofi
··· 1 + #!/bin/sh 2 + 3 + cd "${PA_DIR:-$HOME/.local/share/pa}" 4 + password_files="$(find * -type f | grep -v '/.git')" 5 + password=$(printf '%s\n' "$password_files" | sed 's/.age//' | rofi -dmenu "$@") 6 + 7 + pa show "$password" | head -n 1 | 8 + xdotool type --clearmodifiers --file -