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.
58 lines
1.2 KiB
58 lines
1.2 KiB
#!/bin/bash |
|
|
|
# WOFI STYLES |
|
CONFIG="$HOME/.config/wofi/WofiBig/config" |
|
STYLE="$HOME/.config/wofi/style.css" |
|
COLORS="$HOME/.config/wofi/colors" |
|
|
|
hyprDir="$HOME/.config/hypr/configs" |
|
|
|
# wofi window config (in %) |
|
WIDTH=10 |
|
HEIGHT=20 |
|
|
|
## Wofi Command |
|
wofi_command="wofi --show dmenu \ |
|
--prompt choose to view or edit... |
|
--conf $CONFIG --style $STYLE --color $COLORS \ |
|
--width=$WIDTH% --height=$HEIGHT% \ |
|
--cache-file=/dev/null \ |
|
--hide-scroll --no-actions \ |
|
--matching=fuzzy" |
|
|
|
menu(){ |
|
printf "1. view Env-variables\n" |
|
printf "2. view Rules\n" |
|
printf "3. view Execs\n" |
|
printf "4. view Key-Binds\n" |
|
printf "5. view Monitors\n" |
|
printf "6. view Hyprland-Settings\n" |
|
} |
|
|
|
main() { |
|
choice=$(menu | ${wofi_command} | cut -d. -f1) |
|
case $choice in |
|
1) |
|
foot -e vim "$hyprDir/ENVariables.conf" |
|
;; |
|
2) |
|
foot -e vim "$hyprDir/WindowRules.conf" |
|
;; |
|
3) |
|
foot -e vim "$hyprDir/Execs.conf" |
|
;; |
|
4) |
|
foot -e vim "$hyprDir/Keybinds.conf" |
|
;; |
|
5) |
|
foot -e vim "$hyprDir/Monitors.conf" |
|
;; |
|
6) |
|
foot -e vim "$hyprDir/Settings.conf" |
|
;; |
|
*) |
|
;; |
|
esac |
|
} |
|
|
|
main |