How did I not thought of that before ?
This commit is contained in:
parent
395c21472d
commit
8b69e7c2d5
|
@ -37,8 +37,8 @@ bindsym button2 kill
|
|||
bindsym $mod+F2 exec --no-startup-id ~/.config/i3/dmenu_run
|
||||
bindsym Mod1+F2 exec --no-startup-id ~/.config/i3/dmenu_run
|
||||
|
||||
# Password menu
|
||||
bindsym $mod+c exec --no-startup-id ~/.config/i3/passmenu
|
||||
bindsym $mod+asterisk exec --no-startup-id ~/.config/i3/sshmenu
|
||||
|
||||
# start program launcher
|
||||
bindsym $mod+d exec --no-startup-id ~/.config/i3/dmenu_run
|
||||
|
|
2
config/i3/sshmenu
Executable file
2
config/i3/sshmenu
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
xterm -e "ssh $(cat ~/.ssh/config | grep '^Host ' | cut -d ' ' -f 2 | grep -v '*' | sort | $HOME/.config/i3/dmenu_cmd -p 'SSH to ')"
|
Loading…
Reference in a new issue