blob: 87380858de75894470755c386b7ff67202442753 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
#!/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
|