From 808abe449f7d715e9b511959641da205ed674b3a Mon Sep 17 00:00:00 2001 From: Flinner Yuu Date: Thu, 14 Jul 2022 13:50:20 +0300 Subject: [PATCH] feat: move on, nothing of value to see here --- bin/bin/autostart | 9 +++++++-- bin/bin/is-reboot-needed | 2 +- bin/bin/keyboard | 2 ++ bspwm/.config/bspwm/bspwmrc | 3 ++- polybar/.config/polybar/forest/user_modules.ini | 2 +- 5 files changed, 13 insertions(+), 5 deletions(-) diff --git a/bin/bin/autostart b/bin/bin/autostart index 19d8a99..4489168 100755 --- a/bin/bin/autostart +++ b/bin/bin/autostart @@ -26,7 +26,7 @@ source ~/.fehbg (sleep 0 && ~/bin/keyboard ) & killall wired (sleep 1 && wired ) & -(sleep 3 && optimus-manager-qt) & +#(sleep 3 && optimus-manager-qt) & (sleep 3 && flameshot) & (sleep 4 && keepassxc) & @@ -34,13 +34,18 @@ killall wired (sleep 5 && syncthing -no-browser) & #(sleep 5 && thunderbird ) & -(sleep 5 && davmail ) & (sleep 7 && bspc rule -r Thunderbird ) & +# Kill all davail instances before launching a single one +kill $(pgrep --full "davmail") +(sleep 5 && davmail ) & + # kill current session and if there is ones waiting to start lol killall goimapnotify (sleep 55 && killall goimapnotify) & +(sleep 6 && notify-send "STARTUP MSG" "Don't Forget to unlock keepassXC!") & + # start watching all mail dirs # moved to file #for imapnotify_config in ~/Documents/passwords/*_imapnotify.json; do diff --git a/bin/bin/is-reboot-needed b/bin/bin/is-reboot-needed index 4756ffd..9f399d0 100755 --- a/bin/bin/is-reboot-needed +++ b/bin/bin/is-reboot-needed @@ -1,4 +1,4 @@ #!/bin/sh -grep -qs '^ID=arch$' /etc/os-release \ +grep -qs '^ID=artix$' /etc/os-release \ && { test -e /lib/modules/`uname -r` \ || echo Kernel updated, reboot computer.; } diff --git a/bin/bin/keyboard b/bin/bin/keyboard index f07a0c0..7ae3a25 100755 --- a/bin/bin/keyboard +++ b/bin/bin/keyboard @@ -3,6 +3,8 @@ setxkbmap -option ctrl:swapcaps setxkbmap -option altwin:swap_lalt_lwin setxkbmap -model pc105 -layout us,ar -variant ,qwerty -option grp:shifts_toggle +xset r rate 300 50 + # touchpad touch idd=$(xinput --list | grep 'Touchpad' | awk '{print $6}'| cut -d'=' -f2) #xinput set-prop $idd 343 1 diff --git a/bspwm/.config/bspwm/bspwmrc b/bspwm/.config/bspwm/bspwmrc index 34d1fc6..33a0543 100755 --- a/bspwm/.config/bspwm/bspwmrc +++ b/bspwm/.config/bspwm/bspwmrc @@ -34,7 +34,8 @@ bspc config pointer_follows_focus true bspc rule -a Thunderbird desktop='^8' bspc rule -a KeePassXC desktop='^8' # the confirm dialog -bspc rule -a "KeePassXC:Confirm Auto-Type:*" sticky=on +bspc rule -a "KeePassXC:*:Confirm Auto-Type" sticky=on +bspc rule -a "Dragon-drag-and-drop" sticky=on bspc rule -a Dino desktop='^8' bspc rule -a Peek state=floating diff --git a/polybar/.config/polybar/forest/user_modules.ini b/polybar/.config/polybar/forest/user_modules.ini index b653687..78d95a0 100644 --- a/polybar/.config/polybar/forest/user_modules.ini +++ b/polybar/.config/polybar/forest/user_modules.ini @@ -65,7 +65,7 @@ type = custom/script exec-if = pgrep keepassxc exec = secret-tool lookup check status &> /dev/null && echo " " -interval = 5 +interval = 20 format =