From 2aa33b5ad9a4b22ae4ec9a080f62ee3e9a8740fa Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Sun, 11 Jun 2023 23:20:22 +0530 Subject: [PATCH] move all shell scripts from $HOME/.config/* under $HOME/.local/scripts/* --- .config/bspwm/bspwmrc | 2 +- .config/polybar/config.ini | 4 ++-- .config/sxhkd/sxhkdrc | 2 +- .config/zsh_confs/20_aliases | 2 +- .../scripts/window-manager/launch-polybar.sh | 0 .../scripts/window-manager/lock-and-suspend.sh | 0 .../scripts/window-manager/lock-screen.sh | 0 .../scripts/window-manager/polybar-mpv.sh | 0 8 files changed, 5 insertions(+), 5 deletions(-) rename .config/polybar/launch.sh => .local/scripts/window-manager/launch-polybar.sh (100%) rename .config/polybar/mods/module_suspend_script.sh => .local/scripts/window-manager/lock-and-suspend.sh (100%) rename .config/sxhkd/mods/module_lock_script.sh => .local/scripts/window-manager/lock-screen.sh (100%) rename .config/polybar/mods/module_mpv.sh => .local/scripts/window-manager/polybar-mpv.sh (100%) diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc index 76ec2b1..7bedf72 100755 --- a/.config/bspwm/bspwmrc +++ b/.config/bspwm/bspwmrc @@ -1,7 +1,7 @@ #!/usr/bin/env bash $HOME/.config/feh/fehbg & -$HOME/.config/polybar/launch.sh & +$HOME/.local/scripts/window-manager/launch-polybar.sh & bspc monitor -d work virtualization bg-apps other extra extraa diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini index ae6189c..e027bd9 100644 --- a/.config/polybar/config.ini +++ b/.config/polybar/config.ini @@ -167,7 +167,7 @@ format-underline = #0a6cf5 [module/mpv] type = custom/script -exec = $HOME/.config/polybar/mods/module_mpv.sh +exec = $HOME/.local/scripts/window-manager/polybar-mpv.sh label-foreground = #FFA500 interval = 1 @@ -208,7 +208,7 @@ menu-2-1 = "Cancel " menu-2-1-exec = menu-open-0 menu-3-0 = "Suspend" -menu-3-0-exec = $HOME/.config/polybar/mods/module_suspend_script.sh +menu-3-0-exec = $HOME/.local/scripts/window-manager/lock-and-suspend.sh menu-3-1 = "Cancel " menu-3-1-exec = menu-open-0 diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index b7474e5..0a7f353 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -11,7 +11,7 @@ super + {Return,b,v} # p to reload/relaunch polybar # Escape to turn screen off and lock the computer super + shift + {w,p,Escape} - {bash $HOME/.config/feh/fehbg &,bash $HOME/.config/polybar/launch.sh &,bash $HOME/.config/sxhkd/mods/module_lock_script.sh} + {bash $HOME/.config/feh/fehbg &,bash $HOME/.local/scripts/window-manager/launch-polybar.sh &,bash $HOME/.local/scripts/window-manager/lock-screen.sh} # c to reload config # q to quit selected window diff --git a/.config/zsh_confs/20_aliases b/.config/zsh_confs/20_aliases index d46dc6e..976fd5f 100644 --- a/.config/zsh_confs/20_aliases +++ b/.config/zsh_confs/20_aliases @@ -112,7 +112,7 @@ if [[ "$OSTYPE" == "linux-gnu"* ]]; then if [[ "$MACHINE_HOSTNAME" == "flameboi" || "$MACHINE_HOSTNAME" == "vasudev" || "$MACHINE_HOSTNAME" == "rustyvm" ]]; then - alias suslock="$HOME/.config/polybar/mods/module_suspend_script.sh" + alias suslock="$HOME/.local/scripts/window-manager/lock-and-suspend.sh" alias drivetemp="hdparm -CH /dev/sda /dev/sdb /dev/sdc /dev/sdd" alias paru="LESS=SRX paru" alias undeb="dpkg-deb -xv" diff --git a/.config/polybar/launch.sh b/.local/scripts/window-manager/launch-polybar.sh similarity index 100% rename from .config/polybar/launch.sh rename to .local/scripts/window-manager/launch-polybar.sh diff --git a/.config/polybar/mods/module_suspend_script.sh b/.local/scripts/window-manager/lock-and-suspend.sh similarity index 100% rename from .config/polybar/mods/module_suspend_script.sh rename to .local/scripts/window-manager/lock-and-suspend.sh diff --git a/.config/sxhkd/mods/module_lock_script.sh b/.local/scripts/window-manager/lock-screen.sh similarity index 100% rename from .config/sxhkd/mods/module_lock_script.sh rename to .local/scripts/window-manager/lock-screen.sh diff --git a/.config/polybar/mods/module_mpv.sh b/.local/scripts/window-manager/polybar-mpv.sh similarity index 100% rename from .config/polybar/mods/module_mpv.sh rename to .local/scripts/window-manager/polybar-mpv.sh