first commit

This commit is contained in:
Zastian Pretorius
2021-12-08 19:57:06 +02:00
commit 3f96d7a788
821 changed files with 25657 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
#!/bin/bash
rofi_command="rofi -theme themes/i3layoutmenu.rasi"
### Options ###
stacked=""
tabbed="ﬓ"
split="﬿"
# Variable passed to rofi
options="$stacked\n$tabbed\n$split"
chosen="$(echo -e "$options" | $rofi_command -dmenu -selected-row 1)"
case $chosen in
$stacked)
i3-msg layout stacked
;;
$tabbed)
i3-msg layout tabbed
;;
$split)
i3-msg layout toggle split
;;
esac