mirror of
https://github.com/AquaMorph/dotfiles.git
synced 2025-04-29 17:25:34 +00:00
Move startup to bash script
This commit is contained in:
parent
97872de9c7
commit
05409b68dd
@ -171,11 +171,7 @@ bindsym $mod+r mode "resize"
|
||||
exec_always --no-startup-id setxkbmap -option 'caps:super'
|
||||
|
||||
# Startup scripts
|
||||
exec --no-startup-id sh ~/bin/connect-nas.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
|
||||
exec --no-startup-id ~/bin/system/system-start.sh
|
||||
|
||||
# class border backgr. text indicator child_border
|
||||
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 --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+m exec nautilus ~/Videos
|
||||
|
||||
|
18
scripts/bin/system/system-start.sh
Executable file
18
scripts/bin/system/system-start.sh
Executable 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 &
|
Loading…
x
Reference in New Issue
Block a user