aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/QuickEdit.sh
diff options
context:
space:
mode:
authorJa.KooLit <jimmielovejay@gmail.com>2023-11-07 13:49:12 +0900
committerGitHub <noreply@github.com>2023-11-07 13:49:12 +0900
commitfd4c2c3f7566b46eb22c693ea97f25baadf292e2 (patch)
tree13f6698c9430bf4ea3ad9ba8d33e09f7f9c7512c /config/hypr/scripts/QuickEdit.sh
parent3fa5c6a5973d0cec5801f5b46da87e8ff2b7ee90 (diff)
parent56f61f9d90095eb5464bd6f38f606e03f8fd9c33 (diff)
Merge pull request #10 from JaKooLit/Beta-v0.4
Hyprland-Dots V2
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