killall -> pkil & Remove Deadd

- Replace killall with pkill
- Comment out launching deadd notification center
  (to be replaced with AwesomeWM Naughty)
This commit is contained in:
Sravan Balaji
2023-03-26 18:11:01 -04:00
parent 0eedeb37d6
commit 6765f012c3
16 changed files with 90 additions and 90 deletions

View File

@@ -32,10 +32,10 @@ modifcolor=ff5555ff
bgcolor=282a36ff bgcolor=282a36ff
prelock() { prelock() {
/home/sravan/.scripts/deadd.sh --pause # /home/sravan/.scripts/deadd.sh --pause
} }
# custom postlock # custom postlock
postlock() { postlock() {
/home/sravan/.scripts/deadd.sh --unpause # /home/sravan/.scripts/deadd.sh --unpause
} }

View File

@@ -15,9 +15,9 @@ rofi_menu() {
option=$(printf '%s\n' "${choice}" | awk '{print $NF}') option=$(printf '%s\n' "${choice}" | awk '{print $NF}')
if [[ "$option" == "quit" ]]; then if [[ "$option" == "quit" ]]; then
killall rofi pkill rofi
elif [[ "$option" != "back" ]]; then elif [[ "$option" != "back" ]]; then
main "--$option" && killall rofi main "--$option" && pkill rofi
fi fi
} }

View File

@@ -21,7 +21,7 @@ rofi_menu() {
option=$(printf '%s\n' "${choice}" | awk '{print $NF}') option=$(printf '%s\n' "${choice}" | awk '{print $NF}')
if [[ "$option" == "quit" ]]; then if [[ "$option" == "quit" ]]; then
killall rofi pkill rofi
elif [[ "$option" != "back" ]]; then elif [[ "$option" != "back" ]]; then
main "--$option" && main "--rofi" main "--$option" && main "--rofi"
fi fi

View File

@@ -29,7 +29,7 @@ rofi_menu() {
option=$(printf '%s\n' "${choice}" | awk '{print $NF}') option=$(printf '%s\n' "${choice}" | awk '{print $NF}')
if [[ "$option" == "quit" ]]; then if [[ "$option" == "quit" ]]; then
killall rofi pkill rofi
elif [[ "$option" != "back" ]]; then elif [[ "$option" != "back" ]]; then
main "--$option" && main "--rofi" main "--$option" && main "--rofi"
fi fi

View File

@@ -22,7 +22,7 @@ rofi_menu() {
option=$(printf '%s\n' "${choice}" | awk '{print $NF}') option=$(printf '%s\n' "${choice}" | awk '{print $NF}')
if [[ "$option" == "quit" ]]; then if [[ "$option" == "quit" ]]; then
killall rofi pkill rofi
elif [[ "$option" != "back" ]]; then elif [[ "$option" != "back" ]]; then
main "--$option" && main "--rofi" main "--$option" && main "--rofi"
fi fi
@@ -42,7 +42,7 @@ rofi_cpu_profile_menu() {
option=$(printf '%s\n' "${choice}" | awk '{print $NF}') option=$(printf '%s\n' "${choice}" | awk '{print $NF}')
if [[ "$option" == "quit" ]]; then if [[ "$option" == "quit" ]]; then
killall rofi pkill rofi
elif [[ "$option" != "back" ]]; then elif [[ "$option" != "back" ]]; then
main "--$option" && main "--rofi-cpu-profile" main "--$option" && main "--rofi-cpu-profile"
fi fi
@@ -63,7 +63,7 @@ rofi_graphics_menu() {
option=$(printf '%s\n' "${choice}" | awk '{print $NF}') option=$(printf '%s\n' "${choice}" | awk '{print $NF}')
if [[ "$option" == "quit" ]]; then if [[ "$option" == "quit" ]]; then
killall rofi pkill rofi
elif [[ "$option" != "back" ]]; then elif [[ "$option" != "back" ]]; then
main "--$option" && main "--rofi-graphics" main "--$option" && main "--rofi-graphics"
fi fi
@@ -83,7 +83,7 @@ rofi_gpu_profile_menu() {
option=$(printf '%s\n' "${choice}" | awk '{print $NF}') option=$(printf '%s\n' "${choice}" | awk '{print $NF}')
if [[ "$option" == "quit" ]]; then if [[ "$option" == "quit" ]]; then
killall rofi pkill rofi
elif [[ "$option" != "back" ]]; then elif [[ "$option" != "back" ]]; then
main "--$option" && main "--rofi-gpu-profile" main "--$option" && main "--rofi-gpu-profile"
fi fi

View File

@@ -35,7 +35,7 @@ rofi_menu() {
option=$(printf '%s\n' "${choice}" | awk '{print $NF}') option=$(printf '%s\n' "${choice}" | awk '{print $NF}')
if [[ "$option" == "quit" ]]; then if [[ "$option" == "quit" ]]; then
killall rofi pkill rofi
elif [[ "$option" != "back" ]]; then elif [[ "$option" != "back" ]]; then
main "--$option" && main "--rofi" main "--$option" && main "--rofi"
fi fi
@@ -59,7 +59,7 @@ main() {
;; ;;
--on) --on)
if [ $(is_running) -eq '1' ]; then if [ $(is_running) -eq '1' ]; then
killall deadd-notificat pkill deadd-notificat
fi fi
/usr/bin/notify-send.py a --hint \ /usr/bin/notify-send.py a --hint \
@@ -72,7 +72,7 @@ main() {
notify-send "Turning Deadd OFF" notify-send "Turning Deadd OFF"
if [ $(is_running) -eq '1' ]; then if [ $(is_running) -eq '1' ]; then
killall deadd-notificat pkill deadd-notificat
fi fi
;; ;;
--toggle-center) --toggle-center)

View File

@@ -37,7 +37,7 @@ rofi_menu() {
option=$(printf '%s\n' "${choice}" | awk '{print $NF}') option=$(printf '%s\n' "${choice}" | awk '{print $NF}')
if [[ "$option" == "quit" ]]; then if [[ "$option" == "quit" ]]; then
killall rofi pkill rofi
elif [[ "$option" != "back" ]]; then elif [[ "$option" != "back" ]]; then
main "--$option" && main "--rofi" main "--$option" && main "--rofi"
fi fi
@@ -80,7 +80,7 @@ main() {
cfr=$(xgetres dunst.critical-frame) cfr=$(xgetres dunst.critical-frame)
if [ $(is_running) -eq '1' ]; then if [ $(is_running) -eq '1' ]; then
killall dunst pkill dunst
fi fi
# Start Dunst # Start Dunst
@@ -107,7 +107,7 @@ main() {
notify-send "Turning Dunst OFF" notify-send "Turning Dunst OFF"
if [ $(is_running) -eq '1' ]; then if [ $(is_running) -eq '1' ]; then
killall dunst pkill dunst
fi fi
;; ;;
--context) --context)

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash
/home/sravan/.scripts/deadd.sh --unpause # /home/sravan/.scripts/deadd.sh --unpause
/home/sravan/.scripts/cpu-gpu.sh --gpu-profile-adaptive /home/sravan/.scripts/cpu-gpu.sh --gpu-profile-adaptive
/usr/bin/xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/presentation-mode -s false /usr/bin/xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/presentation-mode -s false

View File

@@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
/home/sravan/.scripts/picom.sh --off /home/sravan/.scripts/picom.sh --off
/home/sravan/.scripts/cpu-gpu.sh --gpu-profile-performance /home/sravan/.scripts/cpu-gpu.sh --gpu-profile-performance
/home/sravan/.scripts/deadd.sh --pause # /home/sravan/.scripts/deadd.sh --pause
/usr/bin/xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/presentation-mode -s true /usr/bin/xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/presentation-mode -s true

View File

@@ -22,9 +22,9 @@ rofi_menu() {
option=$(printf '%s\n' "${choice}" | awk '{print $NF}') option=$(printf '%s\n' "${choice}" | awk '{print $NF}')
if [[ "$option" == "quit" ]]; then if [[ "$option" == "quit" ]]; then
killall rofi pkill rofi
elif [[ "$option" != "back" ]]; then elif [[ "$option" != "back" ]]; then
main "--$option" && killall rofi main "--$option" && pkill rofi
fi fi
} }

View File

@@ -23,7 +23,7 @@ rofi_menu() {
option=$(printf '%s\n' "${choice}" | awk '{print $NF}') option=$(printf '%s\n' "${choice}" | awk '{print $NF}')
if [[ "$option" == "quit" ]]; then if [[ "$option" == "quit" ]]; then
killall rofi pkill rofi
elif [[ "$option" != "back" ]]; then elif [[ "$option" != "back" ]]; then
main "--$option" && main "--rofi" main "--$option" && main "--rofi"
fi fi

View File

@@ -28,7 +28,7 @@ rofi_menu() {
option=$(printf '%s\n' "${choice}" | awk '{print $NF}') option=$(printf '%s\n' "${choice}" | awk '{print $NF}')
if [[ "$option" == "quit" ]]; then if [[ "$option" == "quit" ]]; then
killall rofi pkill rofi
elif [[ "$option" != "back" ]]; then elif [[ "$option" != "back" ]]; then
main "--$option" && main "--rofi" main "--$option" && main "--rofi"
fi fi
@@ -52,7 +52,7 @@ main() {
;; ;;
--on) --on)
if [ $(is_running) -eq '1' ]; then if [ $(is_running) -eq '1' ]; then
killall picom pkill picom
fi fi
picom --config /home/sravan/.config/picom/picom.conf -b picom --config /home/sravan/.config/picom/picom.conf -b
@@ -61,7 +61,7 @@ main() {
;; ;;
--off) --off)
if [ $(is_running) -eq '1' ]; then if [ $(is_running) -eq '1' ]; then
killall picom pkill picom
fi fi
notify-send "Turning Picom OFF" notify-send "Turning Picom OFF"

View File

@@ -23,7 +23,7 @@ rofi_menu() {
option=$(printf '%s\n' "${choice}" | awk '{print $NF}') option=$(printf '%s\n' "${choice}" | awk '{print $NF}')
if [[ "$option" == "quit" ]]; then if [[ "$option" == "quit" ]]; then
killall rofi pkill rofi
elif [[ "$option" != "back" ]]; then elif [[ "$option" != "back" ]]; then
main "--$option" && main "--rofi" main "--$option" && main "--rofi"
fi fi

View File

@@ -26,9 +26,9 @@ rofi_menu() {
option=$(printf '%s\n' "${choice}" | awk '{print $NF}') option=$(printf '%s\n' "${choice}" | awk '{print $NF}')
if [[ "$option" == "quit" ]]; then if [[ "$option" == "quit" ]]; then
killall rofi pkill rofi
elif [[ "$option" != "back" ]]; then elif [[ "$option" != "back" ]]; then
main "--$option" && killall rofi main "--$option" && pkill rofi
fi fi
} }

View File

@@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
declare -a startup_array=(\ declare -a startup_array=(\
# Background Processes # Background Processes
"bash /home/sravan/.scripts/deadd.sh --on" \ # Deadd Notification Center # "bash /home/sravan/.scripts/deadd.sh --on" \ # Deadd Notification Center
"bash /home/sravan/.scripts/picom.sh --on" \ # Picom Compositor "bash /home/sravan/.scripts/picom.sh --on" \ # Picom Compositor
"/usr/bin/greenclip daemon" \ # Greenclip Clipboard Manager "/usr/bin/greenclip daemon" \ # Greenclip Clipboard Manager
"/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1" \ # GNOME Polkit Authentication Agent "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1" \ # GNOME Polkit Authentication Agent
@@ -12,13 +12,13 @@ declare -a startup_array=(\
declare -a kill_startup_array=(\ declare -a kill_startup_array=(\
# Background Processes # Background Processes
"killall deadd-notificat" \ # Deadd Notification Center # "pkill deadd-notificat" \ # Deadd Notification Center
"killall picom" \ # Picom Compositor "pkill picom" \ # Picom Compositor
"killall greenclip" \ # Greenclip Clipboard Manager "pkill greenclip" \ # Greenclip Clipboard Manager
"killall polkit" \ # GNOME Polkit Authentication Agent "pkill polkit" \ # GNOME Polkit Authentication Agent
"killall xss-lock" \ # Session Lock Utility "pkill xss-lock" \ # Session Lock Utility
"killall kdeconnectd" \ # KDE Connect Daemon "pkill kdeconnectd" \ # KDE Connect Daemon
"killall redshift" \ # Redshift Blue Light Filter "pkill redshift" \ # Redshift Blue Light Filter
) )
declare -a delay_array=(\ declare -a delay_array=(\
@@ -40,15 +40,15 @@ declare -a delay_array=(\
declare -a kill_delay_array=(\ declare -a kill_delay_array=(\
# System Tray Applications # System Tray Applications
"killall redshift" \ # Redshift Blue Light Filter "pkill redshift" \ # Redshift Blue Light Filter
"killall blueman-applet" \ # Blueman Bluetooth Manager "pkill blueman-applet" \ # Blueman Bluetooth Manager
"killall nm-applet" \ # Network Manager Applet "pkill nm-applet" \ # Network Manager Applet
"killall kdeconnect-indicator" \ # KDE Connect Indicator "pkill kdeconnect-indicator" \ # KDE Connect Indicator
"killall flameshot" \ # Flameshot Screenshot Tool "pkill flameshot" \ # Flameshot Screenshot Tool
"killall xfce4-power-manager" \ # XFCE4 Power Manager "pkill xfce4-power-manager" \ # XFCE4 Power Manager
"killall udiskie" \ # Udiskie "pkill udiskie" \ # Udiskie
"killall openrgb" \ # OpenRGB "pkill openrgb" \ # OpenRGB
"killall syncthing-gtk" \ # Syncthing GTK "pkill syncthing-gtk" \ # Syncthing GTK
) )
help_menu() { help_menu() {
@@ -75,7 +75,7 @@ rofi_menu() {
option=$(printf '%s\n' "${choice}" | awk '{print $NF}') option=$(printf '%s\n' "${choice}" | awk '{print $NF}')
if [[ "$option" == "quit" ]]; then if [[ "$option" == "quit" ]]; then
killall rofi pkill rofi
elif [[ "$option" != "back" ]]; then elif [[ "$option" != "back" ]]; then
main "--$option" && main "--rofi" main "--$option" && main "--rofi"
fi fi

View File

@@ -882,7 +882,7 @@ rofi_menu() {
option=$(printf '%s\n' "${choice}" | awk '{print $NF}') option=$(printf '%s\n' "${choice}" | awk '{print $NF}')
if [[ "$option" == "quit" ]]; then if [[ "$option" == "quit" ]]; then
killall rofi pkill rofi
elif [[ "$option" != "back" ]]; then elif [[ "$option" != "back" ]]; then
main "--$option" && main "--rofi" main "--$option" && main "--rofi"
fi fi
@@ -925,7 +925,7 @@ main() {
cfr=$(xgetres dunst.critical-frame) cfr=$(xgetres dunst.critical-frame)
if [ $(is_running) -eq '1' ]; then if [ $(is_running) -eq '1' ]; then
killall dunst pkill dunst
fi fi
# Start Dunst # Start Dunst
@@ -952,7 +952,7 @@ main() {
notify-send "Turning Dunst OFF" notify-send "Turning Dunst OFF"
if [ $(is_running) -eq '1' ]; then if [ $(is_running) -eq '1' ]; then
killall dunst pkill dunst
fi fi
;; ;;
--context) --context)
@@ -1417,7 +1417,7 @@ rofi_menu() {
option=$(printf '%s\n' "${choice}" | awk '{print $NF}') option=$(printf '%s\n' "${choice}" | awk '{print $NF}')
if [[ "$option" == "quit" ]]; then if [[ "$option" == "quit" ]]; then
killall rofi pkill rofi
elif [[ "$option" != "back" ]]; then elif [[ "$option" != "back" ]]; then
main "--$option" && main "--rofi" main "--$option" && main "--rofi"
fi fi
@@ -1441,7 +1441,7 @@ main() {
;; ;;
--on) --on)
if [ $(is_running) -eq '1' ]; then if [ $(is_running) -eq '1' ]; then
killall deadd-notificat pkill deadd-notificat
fi fi
/usr/bin/notify-send.py a --hint \ /usr/bin/notify-send.py a --hint \
@@ -1454,7 +1454,7 @@ main() {
notify-send "Turning Deadd OFF" notify-send "Turning Deadd OFF"
if [ $(is_running) -eq '1' ]; then if [ $(is_running) -eq '1' ]; then
killall deadd-notificat pkill deadd-notificat
fi fi
;; ;;
--toggle-center) --toggle-center)
@@ -2975,7 +2975,7 @@ rofi_menu() {
option=$(printf '%s\n' "${choice}" | awk '{print $NF}') option=$(printf '%s\n' "${choice}" | awk '{print $NF}')
if [[ "$option" == "quit" ]]; then if [[ "$option" == "quit" ]]; then
killall rofi pkill rofi
elif [[ "$option" != "back" ]]; then elif [[ "$option" != "back" ]]; then
main "--$option" && main "--rofi" main "--$option" && main "--rofi"
fi fi
@@ -2999,7 +2999,7 @@ main() {
;; ;;
--on) --on)
if [ $(is_running) -eq '1' ]; then if [ $(is_running) -eq '1' ]; then
killall picom pkill picom
fi fi
picom --config /home/sravan/.config/picom/picom.conf -b picom --config /home/sravan/.config/picom/picom.conf -b
@@ -3008,7 +3008,7 @@ main() {
;; ;;
--off) --off)
if [ $(is_running) -eq '1' ]; then if [ $(is_running) -eq '1' ]; then
killall picom pkill picom
fi fi
notify-send "Turning Picom OFF" notify-send "Turning Picom OFF"
@@ -3150,7 +3150,7 @@ bgcolor=282a36ff
#+BEGIN_SRC conf :tangle .config/betterlockscreenrc #+BEGIN_SRC conf :tangle .config/betterlockscreenrc
prelock() { prelock() {
/home/sravan/.scripts/deadd.sh --pause # /home/sravan/.scripts/deadd.sh --pause
} }
#+END_SRC #+END_SRC
@@ -3159,7 +3159,7 @@ prelock() {
#+BEGIN_SRC conf :tangle .config/betterlockscreenrc #+BEGIN_SRC conf :tangle .config/betterlockscreenrc
# custom postlock # custom postlock
postlock() { postlock() {
/home/sravan/.scripts/deadd.sh --unpause # /home/sravan/.scripts/deadd.sh --unpause
} }
#+END_SRC #+END_SRC
@@ -7289,7 +7289,7 @@ These are scripts that should be run from Lutris when launching or exiting a gam
#+BEGIN_SRC shell :shebang #!/bin/bash :tangle .scripts/game_launch.sh #+BEGIN_SRC shell :shebang #!/bin/bash :tangle .scripts/game_launch.sh
/home/sravan/.scripts/picom.sh --off /home/sravan/.scripts/picom.sh --off
/home/sravan/.scripts/cpu-gpu.sh --gpu-profile-performance /home/sravan/.scripts/cpu-gpu.sh --gpu-profile-performance
/home/sravan/.scripts/deadd.sh --pause # /home/sravan/.scripts/deadd.sh --pause
/usr/bin/xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/presentation-mode -s true /usr/bin/xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/presentation-mode -s true
#+END_SRC #+END_SRC
@@ -7298,7 +7298,7 @@ These are scripts that should be run from Lutris when launching or exiting a gam
*Preferences > System options > Post-exit script* *Preferences > System options > Post-exit script*
#+BEGIN_SRC shell :shebang #!/bin/bash :tangle .scripts/game_exit.sh #+BEGIN_SRC shell :shebang #!/bin/bash :tangle .scripts/game_exit.sh
/home/sravan/.scripts/deadd.sh --unpause # /home/sravan/.scripts/deadd.sh --unpause
/home/sravan/.scripts/cpu-gpu.sh --gpu-profile-adaptive /home/sravan/.scripts/cpu-gpu.sh --gpu-profile-adaptive
/usr/bin/xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/presentation-mode -s false /usr/bin/xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/presentation-mode -s false
#+END_SRC #+END_SRC
@@ -7511,9 +7511,9 @@ rofi_menu() {
option=$(printf '%s\n' "${choice}" | awk '{print $NF}') option=$(printf '%s\n' "${choice}" | awk '{print $NF}')
if [[ "$option" == "quit" ]]; then if [[ "$option" == "quit" ]]; then
killall rofi pkill rofi
elif [[ "$option" != "back" ]]; then elif [[ "$option" != "back" ]]; then
main "--$option" && killall rofi main "--$option" && pkill rofi
fi fi
} }
@@ -8104,7 +8104,7 @@ Xcursor.size: CURSOR_SIZE
#+BEGIN_SRC shell :shebang #!/bin/bash :tangle .scripts/startup.sh #+BEGIN_SRC shell :shebang #!/bin/bash :tangle .scripts/startup.sh
declare -a startup_array=(\ declare -a startup_array=(\
# Background Processes # Background Processes
"bash /home/sravan/.scripts/deadd.sh --on" \ # Deadd Notification Center # "bash /home/sravan/.scripts/deadd.sh --on" \ # Deadd Notification Center
"bash /home/sravan/.scripts/picom.sh --on" \ # Picom Compositor "bash /home/sravan/.scripts/picom.sh --on" \ # Picom Compositor
"/usr/bin/greenclip daemon" \ # Greenclip Clipboard Manager "/usr/bin/greenclip daemon" \ # Greenclip Clipboard Manager
"/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1" \ # GNOME Polkit Authentication Agent "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1" \ # GNOME Polkit Authentication Agent
@@ -8115,13 +8115,13 @@ declare -a startup_array=(\
declare -a kill_startup_array=(\ declare -a kill_startup_array=(\
# Background Processes # Background Processes
"killall deadd-notificat" \ # Deadd Notification Center # "pkill deadd-notificat" \ # Deadd Notification Center
"killall picom" \ # Picom Compositor "pkill picom" \ # Picom Compositor
"killall greenclip" \ # Greenclip Clipboard Manager "pkill greenclip" \ # Greenclip Clipboard Manager
"killall polkit" \ # GNOME Polkit Authentication Agent "pkill polkit" \ # GNOME Polkit Authentication Agent
"killall xss-lock" \ # Session Lock Utility "pkill xss-lock" \ # Session Lock Utility
"killall kdeconnectd" \ # KDE Connect Daemon "pkill kdeconnectd" \ # KDE Connect Daemon
"killall redshift" \ # Redshift Blue Light Filter "pkill redshift" \ # Redshift Blue Light Filter
) )
declare -a delay_array=(\ declare -a delay_array=(\
@@ -8143,15 +8143,15 @@ declare -a delay_array=(\
declare -a kill_delay_array=(\ declare -a kill_delay_array=(\
# System Tray Applications # System Tray Applications
"killall redshift" \ # Redshift Blue Light Filter "pkill redshift" \ # Redshift Blue Light Filter
"killall blueman-applet" \ # Blueman Bluetooth Manager "pkill blueman-applet" \ # Blueman Bluetooth Manager
"killall nm-applet" \ # Network Manager Applet "pkill nm-applet" \ # Network Manager Applet
"killall kdeconnect-indicator" \ # KDE Connect Indicator "pkill kdeconnect-indicator" \ # KDE Connect Indicator
"killall flameshot" \ # Flameshot Screenshot Tool "pkill flameshot" \ # Flameshot Screenshot Tool
"killall xfce4-power-manager" \ # XFCE4 Power Manager "pkill xfce4-power-manager" \ # XFCE4 Power Manager
"killall udiskie" \ # Udiskie "pkill udiskie" \ # Udiskie
"killall openrgb" \ # OpenRGB "pkill openrgb" \ # OpenRGB
"killall syncthing-gtk" \ # Syncthing GTK "pkill syncthing-gtk" \ # Syncthing GTK
) )
help_menu() { help_menu() {
@@ -8178,7 +8178,7 @@ rofi_menu() {
option=$(printf '%s\n' "${choice}" | awk '{print $NF}') option=$(printf '%s\n' "${choice}" | awk '{print $NF}')
if [[ "$option" == "quit" ]]; then if [[ "$option" == "quit" ]]; then
killall rofi pkill rofi
elif [[ "$option" != "back" ]]; then elif [[ "$option" != "back" ]]; then
main "--$option" && main "--rofi" main "--$option" && main "--rofi"
fi fi
@@ -8276,7 +8276,7 @@ rofi_menu() {
option=$(printf '%s\n' "${choice}" | awk '{print $NF}') option=$(printf '%s\n' "${choice}" | awk '{print $NF}')
if [[ "$option" == "quit" ]]; then if [[ "$option" == "quit" ]]; then
killall rofi pkill rofi
elif [[ "$option" != "back" ]]; then elif [[ "$option" != "back" ]]; then
main "--$option" && main "--rofi" main "--$option" && main "--rofi"
fi fi
@@ -8340,7 +8340,7 @@ rofi_menu() {
option=$(printf '%s\n' "${choice}" | awk '{print $NF}') option=$(printf '%s\n' "${choice}" | awk '{print $NF}')
if [[ "$option" == "quit" ]]; then if [[ "$option" == "quit" ]]; then
killall rofi pkill rofi
elif [[ "$option" != "back" ]]; then elif [[ "$option" != "back" ]]; then
main "--$option" && main "--rofi" main "--$option" && main "--rofi"
fi fi
@@ -8402,7 +8402,7 @@ rofi_menu() {
option=$(printf '%s\n' "${choice}" | awk '{print $NF}') option=$(printf '%s\n' "${choice}" | awk '{print $NF}')
if [[ "$option" == "quit" ]]; then if [[ "$option" == "quit" ]]; then
killall rofi pkill rofi
elif [[ "$option" != "back" ]]; then elif [[ "$option" != "back" ]]; then
main "--$option" && main "--rofi" main "--$option" && main "--rofi"
fi fi
@@ -8474,7 +8474,7 @@ rofi_menu() {
option=$(printf '%s\n' "${choice}" | awk '{print $NF}') option=$(printf '%s\n' "${choice}" | awk '{print $NF}')
if [[ "$option" == "quit" ]]; then if [[ "$option" == "quit" ]]; then
killall rofi pkill rofi
elif [[ "$option" != "back" ]]; then elif [[ "$option" != "back" ]]; then
main "--$option" && main "--rofi" main "--$option" && main "--rofi"
fi fi
@@ -8494,7 +8494,7 @@ rofi_cpu_profile_menu() {
option=$(printf '%s\n' "${choice}" | awk '{print $NF}') option=$(printf '%s\n' "${choice}" | awk '{print $NF}')
if [[ "$option" == "quit" ]]; then if [[ "$option" == "quit" ]]; then
killall rofi pkill rofi
elif [[ "$option" != "back" ]]; then elif [[ "$option" != "back" ]]; then
main "--$option" && main "--rofi-cpu-profile" main "--$option" && main "--rofi-cpu-profile"
fi fi
@@ -8515,7 +8515,7 @@ rofi_graphics_menu() {
option=$(printf '%s\n' "${choice}" | awk '{print $NF}') option=$(printf '%s\n' "${choice}" | awk '{print $NF}')
if [[ "$option" == "quit" ]]; then if [[ "$option" == "quit" ]]; then
killall rofi pkill rofi
elif [[ "$option" != "back" ]]; then elif [[ "$option" != "back" ]]; then
main "--$option" && main "--rofi-graphics" main "--$option" && main "--rofi-graphics"
fi fi
@@ -8535,7 +8535,7 @@ rofi_gpu_profile_menu() {
option=$(printf '%s\n' "${choice}" | awk '{print $NF}') option=$(printf '%s\n' "${choice}" | awk '{print $NF}')
if [[ "$option" == "quit" ]]; then if [[ "$option" == "quit" ]]; then
killall rofi pkill rofi
elif [[ "$option" != "back" ]]; then elif [[ "$option" != "back" ]]; then
main "--$option" && main "--rofi-gpu-profile" main "--$option" && main "--rofi-gpu-profile"
fi fi
@@ -8651,9 +8651,9 @@ rofi_menu() {
option=$(printf '%s\n' "${choice}" | awk '{print $NF}') option=$(printf '%s\n' "${choice}" | awk '{print $NF}')
if [[ "$option" == "quit" ]]; then if [[ "$option" == "quit" ]]; then
killall rofi pkill rofi
elif [[ "$option" != "back" ]]; then elif [[ "$option" != "back" ]]; then
main "--$option" && killall rofi main "--$option" && pkill rofi
fi fi
} }
@@ -8715,9 +8715,9 @@ rofi_menu() {
option=$(printf '%s\n' "${choice}" | awk '{print $NF}') option=$(printf '%s\n' "${choice}" | awk '{print $NF}')
if [[ "$option" == "quit" ]]; then if [[ "$option" == "quit" ]]; then
killall rofi pkill rofi
elif [[ "$option" != "back" ]]; then elif [[ "$option" != "back" ]]; then
main "--$option" && killall rofi main "--$option" && pkill rofi
fi fi
} }
@@ -8801,7 +8801,7 @@ rofi_menu() {
option=$(printf '%s\n' "${choice}" | awk '{print $NF}') option=$(printf '%s\n' "${choice}" | awk '{print $NF}')
if [[ "$option" == "quit" ]]; then if [[ "$option" == "quit" ]]; then
killall rofi pkill rofi
elif [[ "$option" != "back" ]]; then elif [[ "$option" != "back" ]]; then
main "--$option" && main "--rofi" main "--$option" && main "--rofi"
fi fi