···4747bindsym $mod+Shift+q kill
48484949# start dmenu (a program launcher)
5050-bindsym $mod+d exec --no-startup-id dmenu_run
5050+bindsym $mod+d exec "rofi -modi drun,run -show drun"
5151+bindsym $mod+Shift+s exec "rofi -show ssh"
5152# A more modern dmenu replacement is rofi:
5253# bindcode $mod+40 exec rofi -modi drun,run -show drun
5354# There also is i3-dmenu-desktop which only displays applications shipping a
···6768bindsym $mod+Right focus right
68696970# move focused window
7070-bindsym $mod+Shift+j move left
7171-bindsym $mod+Shift+k move down
7272-bindsym $mod+Shift+l move up
7373-bindsym $mod+Shift+semicolon move right
7171+bindsym $mod+Shift+h move left
7272+bindsym $mod+Shift+j move down
7373+bindsym $mod+Shift+k move up
7474+bindsym $mod+Shift+l move right
74757576# alternatively, you can use the cursor keys:
7677bindsym $mod+Shift+Left move left
···94959596# toggle tiling / floating
9697bindsym $mod+Shift+space floating toggle
9898+9999+# do the password thang
100100+bindsym $mod+Shift+p exec --no-startup-id pa-rofi
9710198102# change focus between tiling / floating windows
99103bindsym $mod+space focus mode_toggle
+8
bin/pa-rofi
···11+#!/bin/sh
22+33+cd "${PA_DIR:-$HOME/.local/share/pa}"
44+password_files="$(find * -type f | grep -v '/.git')"
55+password=$(printf '%s\n' "$password_files" | sed 's/.age//' | rofi -dmenu "$@")
66+77+pa show "$password" | head -n 1 |
88+ xdotool type --clearmodifiers --file -