Initial commit

This commit is contained in:
2024-07-06 20:31:50 +02:00
commit b5f83958c9
299 changed files with 11284 additions and 0 deletions

44
rofi/launcher_launcher.sh Executable file
View File

@@ -0,0 +1,44 @@
#!/usr/bin/env bash
# Options
power="Power menu"
ssh="SSH Connect"
window="Window switcher"
kaomoji="Kaomoji"
# Rofi CMD
rofi_cmd() {
rofi -dmenu \
-window-title "Launcher" \
-i \
-theme $HOME/.config/awesome/rofi/launcher_launcher.rasi \
-theme-str 'listview {columns: 1;}'
}
# Pass variables to rofi dmenu
run_rofi() {
echo -e "$power\n$ssh\n$window\n$kaomoji" | rofi_cmd
}
# Actions
chosen="$(run_rofi)"
case ${chosen} in
$power)
$HOME/.config/awesome/rofi/powermenu.sh
;;
$ssh)
rofi \
-show ssh \
-theme $HOME/.config/awesome/rofi/launcher_launcher.rasi
;;
$window)
rofi \
-show window \
-theme $HOME/.config/awesome/rofi/launcher_launcher.rasi \
-theme-str 'listview {columns: 1; lines: 10;}'
;;
$kaomoji)
$HOME/.config/awesome/rofi/kaomoji.sh \
-theme $HOME/.config/awesome/rofi/launcher_launcher.rasi
;;
esac