add rofi-ssh script
This commit is contained in:
parent
0447f68106
commit
d9118de373
|
@ -140,6 +140,7 @@ bind = $mainMod, SPACE, togglesplit, # dwindle
|
|||
bind = CONTROL_L ALT_L, L, exec, swaylock
|
||||
bind = $mainMod, C, exec, cliphist list | awk '{print $0, "\0icon\x1fcom.github.davidmhewitt.clipped"}' | rofi -dmenu -display-columns 2 | cliphist decode | wl-copy
|
||||
bind = $mainMod, Y, exec, /home/user/.config/rofi/rofi-ykman.sh
|
||||
bind = $mainMod, N, exec, /home/user/.config/rofi/rofi-ssh.sh
|
||||
|
||||
bind = $mainMod, Escape, exec, rofi -show power-menu -modi power-menu:$scripts/rofi-power-menu
|
||||
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
|
||||
servers=(Mallorea Kell Riva Vault Aloria Arendia)
|
||||
selected=$(for server in "${servers[@]}"; do printf "%s\0icon\x1fyubioath\n" "$server"; done | rofi -dmenu -i)
|
||||
if [ -z "$selected" ]; then
|
||||
exit 1
|
||||
fi
|
||||
alacritty -e zsh -c "source ~/.zshrc && run_waypipe $selected"
|
Loading…
Reference in New Issue