Move startup to bash script

This commit is contained in:
Christian Colglazier 2023-12-31 18:10:50 -05:00
parent 97872de9c7
commit 05409b68dd
2 changed files with 19 additions and 12 deletions

View File

@ -171,11 +171,7 @@ bindsym $mod+r mode "resize"
exec_always --no-startup-id setxkbmap -option 'caps:super' exec_always --no-startup-id setxkbmap -option 'caps:super'
# Startup scripts # Startup scripts
exec --no-startup-id sh ~/bin/connect-nas.sh exec --no-startup-id ~/bin/system/system-start.sh
exec --no-startup-id systemctl --user start polybar
exec --no-startup-id systemctl --user restart streamdeck
exec --no-startup-id waybar &
exec --no-startup-id /usr/libexec/polkit-gnome-authentication-agent-1
# class border backgr. text indicator child_border # class border backgr. text indicator child_border
client.focused $pink $pink $pink $pink $pink client.focused $pink $pink $pink $pink $pink
@ -199,13 +195,6 @@ bindsym --release $mod+Print exec scrot '%Y:%m:%d:%H:%M:%S.png' -s -e 'mv $f ~/P
bindsym $mod+s exec scrot '%Y:%m:%d:%H:%M:%S.png' -e 'mv $f ~/Pictures/screenshots/' bindsym $mod+s exec scrot '%Y:%m:%d:%H:%M:%S.png' -e 'mv $f ~/Pictures/screenshots/'
bindsym --release $mod+Shift+s exec scrot '%Y:%m:%d:%H:%M:%S.png' -s -e 'mv $f ~/Pictures/screenshots/' bindsym --release $mod+Shift+s exec scrot '%Y:%m:%d:%H:%M:%S.png' -s -e 'mv $f ~/Pictures/screenshots/'
# Keyring
exec --no-startup-id dbus-update-activation-environment --all
exec --no-startup-id /usr/bin/gnome-keyring-daemon --start --components=secrets,pkcs11,ssh
# NextCloud sync client
exec --no-startup-id nextcloud --background
bindsym $mod+n exec nautilus bindsym $mod+n exec nautilus
bindsym $mod+m exec nautilus ~/Videos bindsym $mod+m exec nautilus ~/Videos

View File

@ -0,0 +1,18 @@
#!/usr/bin/env bash
# Update Passwords
pass git pull
# Desktop
~/bin/connect-nas.sh
systemctl --user start polybar
systemctl --user restart streamdeck
waybar &
/usr/libexec/polkit-gnome-authentication-agent-1 &
# Keyring
dbus-update-activation-environment --all
/usr/bin/gnome-keyring-daemon --start --components=secrets,pkcs11,ssh
# NextCloud sync client
nextcloud --background &