agsdotfilesdotshyprlandhyprland-configricerofirofi-configshell-scriptsswwwwallustwaybarwaybar-modulewaybar-themes
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.5 KiB
62 lines
1.5 KiB
#!/bin/bash |
|
# Rofi menu for Quick Edit / View of Settings (SUPER E) |
|
|
|
# define your preferred text editor and terminal to use |
|
editor=nano |
|
tty=kitty |
|
|
|
configs="$HOME/.config/hypr/configs" |
|
UserConfigs="$HOME/.config/hypr/UserConfigs" |
|
|
|
menu(){ |
|
printf "1. view Env-variables\n" |
|
printf "2. view Window-Rules\n" |
|
printf "3. view Startup_Apps\n" |
|
printf "4. view User-Keybinds\n" |
|
printf "5. view Monitors\n" |
|
printf "6. view Laptop-Keybinds\n" |
|
printf "7. view User-Settings\n" |
|
printf "8. view Workspace-Rules\n" |
|
printf "9. view Default-Settings\n" |
|
printf "10. view Default-Keybinds\n" |
|
} |
|
|
|
main() { |
|
choice=$(menu | rofi -i -dmenu -config ~/.config/rofi/config-compact.rasi | cut -d. -f1) |
|
case $choice in |
|
1) |
|
$tty $editor "$UserConfigs/ENVariables.conf" |
|
;; |
|
2) |
|
$tty $editor "$UserConfigs/WindowRules.conf" |
|
;; |
|
3) |
|
$tty $editor "$UserConfigs/Startup_Apps.conf" |
|
;; |
|
4) |
|
$tty $editor "$UserConfigs/UserKeybinds.conf" |
|
;; |
|
5) |
|
$tty $editor "$UserConfigs/Monitors.conf" |
|
;; |
|
6) |
|
$tty $editor "$UserConfigs/Laptops.conf" |
|
;; |
|
7) |
|
$tty $editor "$UserConfigs/UserSettings.conf" |
|
;; |
|
8) |
|
$tty $editor "$UserConfigs/WorkspaceRules.conf" |
|
;; |
|
9) |
|
$tty $editor "$configs/Settings.conf" |
|
;; |
|
10) |
|
$tty $editor "$configs/Keybinds.conf" |
|
;; |
|
*) |
|
;; |
|
esac |
|
} |
|
|
|
main |