aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/QuickEdit.sh
blob: 36213c5483ce95d7618641c48316d447731e3e0e (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
#!/bin/bash

hyprDir="$HOME/.config/hypr/configs"

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 | rofi -dmenu -config ~/.config/rofi/config-compact.rasi | cut -d. -f1)
    case $choice in
        1)
            kitty -e nano "$hyprDir/ENVariables.conf"
            ;;
        2)
            kitty -e nano "$hyprDir/WindowRules.conf"
            ;;
        3)
            kitty -e nano "$hyprDir/Execs.conf"
            ;;
        4)
            kitty -e nano "$hyprDir/Keybinds.conf"
            ;;
        5)
            kitty -e nano "$hyprDir/Monitors.conf"
            ;;
        6)
            kitty -e nano "$hyprDir/Settings.conf"
            ;;
        *)
            ;;
    esac
}

main
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage