diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2024-07-05 14:14:57 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2024-07-05 14:14:57 +0800 |
| commit | 85f37524bc7858e14cd8b8da830da200df8e6b90 (patch) | |
| tree | b60e9e24f5877a37eaabef79fb348be2dab63215 | |
| parent | da8decf1d7bb90877639bd34162812610538f7b3 (diff) | |
small improvements
| -rwxr-xr-x | dot-config/bspwm/bspwmrc | 37 |
1 files changed, 20 insertions, 17 deletions
diff --git a/dot-config/bspwm/bspwmrc b/dot-config/bspwm/bspwmrc index 4d572537..779420f4 100755 --- a/dot-config/bspwm/bspwmrc +++ b/dot-config/bspwm/bspwmrc @@ -61,6 +61,8 @@ bspc config single_monocle false bspc config focus_follows_pointer true bspc config presel_feedback true +# bspc config ignore_ewmh_focus true + ## Manage all the unmanaged windows remaining from a previous session. bspc wm --adopt-orphans @@ -167,7 +169,7 @@ xsettingsd --config=$HOME/.config/xsettingsd & /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & # kdeconnect -/usr/lib/kdeconnectd & +/usr/bin/kdeconnectd & # Launcher xdm daemon #xdman -d & @@ -187,7 +189,7 @@ ksuperkey -e 'Super_R=Alt_L|F1' & xrdb -merge ~/.Xresources # Enable power management -xfce4-power-manager & +/usr/bin/xfce4-power-manager & # Fix cursor # xsetroot -cursor_name left_ptr @@ -221,14 +223,11 @@ exec clipmenud & # youtube-dl extention daemon #exec youtube-dl-server --number-processes 1 & # dont really use it now so ya -# autostart script -exec $HOME/scripts/autostart & - # swallow #pgrep bspswallow || bspswallow & # tODO: FIX THE THING # clean full screen -cleanfullscreen & +/usr/bin/ps ax | grep -v grep | grep cleanfullscreen > /dev/null || cleanfullscreen & # autolock #xautolock -time 30 -locker "betterlockscreen -l" & # don't really need/want that @@ -252,15 +251,8 @@ yay -Ss > /tmp/yaySs & # startup sound #$HOME/scripts/startupsound.sh & # exist in user systemd unit - -# vencord -/usr/bin/ps ax | grep -v grep | grep vencord > /dev/null || discord --start-minimized & - -# beeper -/usr/bin/ps ax | grep -v grep | grep beeper > /dev/null || beeper & - -# nextcloud -nextcloud --background & +# apparmor(aa) noitfication for denials +/usr/bin/ps ax | grep -v grep | grep aa-notify > /dev/null || aa-notify -p -s 1 -w 60 -f /var/log/audit/audit.log & # wifi share # script -c "sudo -E openwifipass -s Jhome-Guest -k 12345677Jj" $HOME/scripts/logs/openwifipass.log & @@ -272,7 +264,7 @@ nextcloud --background & #/usr/bin/ps ax | grep -v grep | grep maxautoclicker > /dev/null || kdocker maxautoclicker & # polybar no overlap -bspc config top_padding 46 +bspc config top_padding 50 # secret chat-server #$HOME/scripts/bin/chat-server & @@ -284,6 +276,8 @@ bspc config top_padding 46 # remove startup lock if [ -f /var/lock/startup.lock ]; then + # autostart script + exec $HOME/scripts/autostart & # startup sound $HOME/scripts/startupsound.sh & # auto startup apps @@ -303,6 +297,15 @@ while ! systemctl is-active network.target; do sleep 1 done /usr/bin/ps ax | grep -v grep | grep input-leap || input-leap & + +# nextcloud +/usr/bin/ps ax | grep -v grep | grep nextcloud > /dev/null || nextcloud --background & + +# vencord +/usr/bin/ps ax | grep -v grep | grep vencord > /dev/null || discord --start-minimized & + +# beeper +/usr/bin/ps ax | grep -v grep | grep beeper > /dev/null || beeper & # /usr/bin/ps ax | grep -v grep | grep blueman-applet || blueman-applet & # /usr/bin/ps ax | grep -v grep | grep nm-applet || nm-applet & -/usr/bin/ps ax | grep -v grep | grep memento-bg || memento-bg <<< 1 & +# /usr/bin/ps ax | grep -v grep | grep memento-bg || memento-bg <<< 1 & |
