diff --git a/i3/desktop.conf b/i3/desktop.conf index 5dfaa39..eb179e4 100644 --- a/i3/desktop.conf +++ b/i3/desktop.conf @@ -25,11 +25,11 @@ exec_always --no-startup-id g13d --config ~/.config/g13/resolve.bind --logo ~/.c exec_always --no-startup-id setxkbmap -option 'caps:super' # Starts Jack for audio -exec_always --no-startup-id sleep 1 && cadence-session-start --system-start +exec_always --no-startup-id sh ~/.config/scripts/system-start-audio.sh # Start Firefox exec_always --no-startup-id i3-msg 'workspace 3; exec firefox' # Open Google Play Music on workspace 10 -exec_always --no-startup-id i3-msg 'workspace 10; exec sleep 2 && google-play-music-desktop-player' for_window [title="Google Play Music Desktop Player"] move to workspace $ws10 + diff --git a/i3/shared.conf b/i3/shared.conf index 9f7bf0c..6b703cb 100644 --- a/i3/shared.conf +++ b/i3/shared.conf @@ -148,7 +148,7 @@ bindsym $mod+r mode "resize" exec --no-startup-id polybar aqua # Startup scripts -ecec --no-startup-id sh ~/.config/scripts/connect-nas.sh +exec --no-startup-id sh ~/.config/scripts/connect-nas.sh # class border backgr. text indicator child_border client.focused #0288D1 #0288D1 #B3E5FC #000000 #000000 diff --git a/scripts/system-start-audio.sh b/scripts/system-start-audio.sh index 8b9ab08..3a4cbf2 100644 --- a/scripts/system-start-audio.sh +++ b/scripts/system-start-audio.sh @@ -16,4 +16,4 @@ do done # Start up music player -sleep 20 && i3-msg 'workspace 10; exec google-play-music-desktop-player' +sleep .1 && i3-msg 'workspace 10; exec google-play-music-desktop-player'