diff --git a/.config/betterlockscreenrc b/.config/betterlockscreenrc index f418ebe..a2e61f6 100644 --- a/.config/betterlockscreenrc +++ b/.config/betterlockscreenrc @@ -32,10 +32,10 @@ modifcolor=ff5555ff bgcolor=282a36ff prelock() { - /home/sravan/.scripts/naughty.sh --pause + /home/sravan/.scripts/deadd.sh --pause } # custom postlock postlock() { - /home/sravan/.scripts/naughty.sh --unpause + /home/sravan/.scripts/deadd.sh --unpause } diff --git a/.scripts/control-center.sh b/.scripts/control-center.sh index bd887f9..059546d 100755 --- a/.scripts/control-center.sh +++ b/.scripts/control-center.sh @@ -13,7 +13,7 @@ rofi_menu() { declare -a options=( " Compositor - picom" " Display - brightness" - " Notifications - naughty" + " Notifications - deadd" " Media - playerctl" "墳Volume - pactl" " Backup - backup" @@ -50,8 +50,8 @@ main() { --brightness) /home/sravan/.scripts/brightness.sh --rofi ;; - --naughty) - /home/sravan/.scripts/naughty.sh --rofi + --deadd) + /home/sravan/.scripts/deadd.sh --rofi ;; --playerctl) /home/sravan/.scripts/playerctl.sh --rofi diff --git a/.scripts/game_exit.sh b/.scripts/game_exit.sh index 910af81..4aa0437 100755 --- a/.scripts/game_exit.sh +++ b/.scripts/game_exit.sh @@ -1,4 +1,4 @@ #!/bin/bash -/home/sravan/.scripts/naughty.sh --unpause +/home/sravan/.scripts/deadd.sh --unpause /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 diff --git a/.scripts/game_launch.sh b/.scripts/game_launch.sh index 6c7ac1b..69e68f8 100755 --- a/.scripts/game_launch.sh +++ b/.scripts/game_launch.sh @@ -1,5 +1,5 @@ #!/bin/bash /home/sravan/.scripts/picom.sh --off /home/sravan/.scripts/cpu-gpu.sh --gpu-profile-performance -/home/sravan/.scripts/naughty.sh --pause +/home/sravan/.scripts/deadd.sh --pause /usr/bin/xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/presentation-mode -s true diff --git a/.scripts/session.sh b/.scripts/session.sh index 5417ad5..e2c8d1f 100755 --- a/.scripts/session.sh +++ b/.scripts/session.sh @@ -11,7 +11,7 @@ help_menu() { rofi_menu() { declare -a options=( - "勒 Restart AwesomeWM - restart" + "勒 Restart dwm - restart" " Logout - logout" " Lock - lock" "⏾ Sleep - sleep" @@ -42,8 +42,8 @@ main() { help_menu ;; --logout) - notify-send "Session Control" "Logging Out of AwesomeWM" - /usr/bin/awesome-client "awesome.quit()" + notify-send "Session Control" "Logging Out of dwm" + xdotool key Super+Shift_L+q ;; --lock) notify-send "Session Control" "Locking Session" @@ -66,8 +66,8 @@ main() { systemctl hibernate ;; --restart) - notify-send "Session Control" "Restarting AwesomeWM" - /usr/bin/awesome-client "awesome.restart()" + notify-send "Session Control" "Restarting dwm" + xdotool key Super+Control_L+Shift_L+q ;; --rofi) rofi_menu diff --git a/.scripts/startup.sh b/.scripts/startup.sh index 858697f..2ad355a 100755 --- a/.scripts/startup.sh +++ b/.scripts/startup.sh @@ -1,6 +1,7 @@ #!/bin/bash declare -a startup_array=(\ # Background Processes + "bash /home/sravan/.scripts/deadd.sh --on" \ # Deadd Notification Center "bash /home/sravan/.scripts/picom.sh --on" \ # Picom Compositor "/usr/bin/greenclip daemon" \ # Greenclip Clipboard Manager "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1" \ # GNOME Polkit Authentication Agent @@ -12,6 +13,7 @@ declare -a startup_array=(\ declare -a kill_startup_array=(\ # Background Processes + "pkill deadd-notificat" \ # Deadd Notification Center "pkill picom" \ # Picom Compositor "pkill greenclip" \ # Greenclip Clipboard Manager "pkill polkit" \ # GNOME Polkit Authentication Agent diff --git a/.xinitrc b/.xinitrc index 12923ce..a16b138 100755 --- a/.xinitrc +++ b/.xinitrc @@ -19,4 +19,4 @@ xrdb ~/.Xresources /home/sravan/.scripts/startup.sh --kill-delay && /home/sravan/.scripts/startup.sh --delay) & -exec awesome +exec dwm diff --git a/README.org b/README.org index d781055..3245db7 100644 --- a/README.org +++ b/README.org @@ -3223,7 +3223,7 @@ bgcolor=282a36ff #+BEGIN_SRC conf :tangle .config/betterlockscreenrc prelock() { - /home/sravan/.scripts/naughty.sh --pause + /home/sravan/.scripts/deadd.sh --pause } #+END_SRC @@ -3232,7 +3232,7 @@ prelock() { #+BEGIN_SRC conf :tangle .config/betterlockscreenrc # custom postlock postlock() { - /home/sravan/.scripts/naughty.sh --unpause + /home/sravan/.scripts/deadd.sh --unpause } #+END_SRC @@ -7362,7 +7362,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 /home/sravan/.scripts/picom.sh --off /home/sravan/.scripts/cpu-gpu.sh --gpu-profile-performance -/home/sravan/.scripts/naughty.sh --pause +/home/sravan/.scripts/deadd.sh --pause /usr/bin/xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/presentation-mode -s true #+END_SRC @@ -7371,7 +7371,7 @@ These are scripts that should be run from Lutris when launching or exiting a gam *Preferences > System options > Post-exit script* #+BEGIN_SRC shell :shebang #!/bin/bash :tangle .scripts/game_exit.sh -/home/sravan/.scripts/naughty.sh --unpause +/home/sravan/.scripts/deadd.sh --unpause /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 #+END_SRC @@ -8128,7 +8128,7 @@ xrdb ~/.Xresources *** Launch Environment #+BEGIN_SRC shell :shebang #!/bin/sh :tangle .xinitrc -exec awesome +exec dwm #+END_SRC ** Xresources @@ -8298,6 +8298,7 @@ Xcursor.size: CURSOR_SIZE #+BEGIN_SRC shell :shebang #!/bin/bash :tangle .scripts/startup.sh declare -a startup_array=(\ # Background Processes + "bash /home/sravan/.scripts/deadd.sh --on" \ # Deadd Notification Center "bash /home/sravan/.scripts/picom.sh --on" \ # Picom Compositor "/usr/bin/greenclip daemon" \ # Greenclip Clipboard Manager "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1" \ # GNOME Polkit Authentication Agent @@ -8309,6 +8310,7 @@ declare -a startup_array=(\ declare -a kill_startup_array=(\ # Background Processes + "pkill deadd-notificat" \ # Deadd Notification Center "pkill picom" \ # Picom Compositor "pkill greenclip" \ # Greenclip Clipboard Manager "pkill polkit" \ # GNOME Polkit Authentication Agent @@ -8894,7 +8896,7 @@ help_menu() { rofi_menu() { declare -a options=( - "勒 Restart AwesomeWM - restart" + "勒 Restart dwm - restart" " Logout - logout" " Lock - lock" "⏾ Sleep - sleep" @@ -8925,8 +8927,8 @@ main() { help_menu ;; --logout) - notify-send "Session Control" "Logging Out of AwesomeWM" - /usr/bin/awesome-client "awesome.quit()" + notify-send "Session Control" "Logging Out of dwm" + xdotool key Super+Shift_L+q ;; --lock) notify-send "Session Control" "Locking Session" @@ -8949,8 +8951,8 @@ main() { systemctl hibernate ;; --restart) - notify-send "Session Control" "Restarting AwesomeWM" - /usr/bin/awesome-client "awesome.restart()" + notify-send "Session Control" "Restarting dwm" + xdotool key Super+Control_L+Shift_L+q ;; --rofi) rofi_menu @@ -8979,7 +8981,7 @@ rofi_menu() { declare -a options=( " Compositor - picom" " Display - brightness" - " Notifications - naughty" + " Notifications - deadd" " Media - playerctl" "墳Volume - pactl" " Backup - backup" @@ -9016,8 +9018,8 @@ main() { --brightness) /home/sravan/.scripts/brightness.sh --rofi ;; - --naughty) - /home/sravan/.scripts/naughty.sh --rofi + --deadd) + /home/sravan/.scripts/deadd.sh --rofi ;; --playerctl) /home/sravan/.scripts/playerctl.sh --rofi