aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/QuickEdit.sh
diff options
context:
space:
mode:
authorJaKooLit <jimmielovejay@gmail.com>2023-11-05 14:02:06 +0900
committerJaKooLit <jimmielovejay@gmail.com>2023-11-05 14:02:06 +0900
commita153022b7d457466db9140c62dc5564f9de7a3af (patch)
treef3eeb3a6d892373678f7d86b3b095583d82aeb96 /config/hypr/scripts/QuickEdit.sh
parent3fa5c6a5973d0cec5801f5b46da87e8ff2b7ee90 (diff)
changes for new Hyprland-Dots
Diffstat (limited to 'config/hypr/scripts/QuickEdit.sh')
-rwxr-xr-xconfig/hypr/scripts/QuickEdit.sh32
1 files changed, 7 insertions, 25 deletions
diff --git a/config/hypr/scripts/QuickEdit.sh b/config/hypr/scripts/QuickEdit.sh
index 87380858..36213c54 100755
--- a/config/hypr/scripts/QuickEdit.sh
+++ b/config/hypr/scripts/QuickEdit.sh
@@ -1,25 +1,7 @@
#!/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"
@@ -30,25 +12,25 @@ menu(){
}
main() {
- choice=$(menu | ${wofi_command} | cut -d. -f1)
+ choice=$(menu | rofi -dmenu -config ~/.config/rofi/config-compact.rasi | cut -d. -f1)
case $choice in
1)
- foot -e vim "$hyprDir/ENVariables.conf"
+ kitty -e nano "$hyprDir/ENVariables.conf"
;;
2)
- foot -e vim "$hyprDir/WindowRules.conf"
+ kitty -e nano "$hyprDir/WindowRules.conf"
;;
3)
- foot -e vim "$hyprDir/Execs.conf"
+ kitty -e nano "$hyprDir/Execs.conf"
;;
4)
- foot -e vim "$hyprDir/Keybinds.conf"
+ kitty -e nano "$hyprDir/Keybinds.conf"
;;
5)
- foot -e vim "$hyprDir/Monitors.conf"
+ kitty -e nano "$hyprDir/Monitors.conf"
;;
6)
- foot -e vim "$hyprDir/Settings.conf"
+ kitty -e nano "$hyprDir/Settings.conf"
;;
*)
;;
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage