Compare commits

...

3 commits

Author SHA1 Message Date
Emmet 1d568ad213 Fixes launching flstudio as default app in ranger 2024-03-18 21:08:36 -05:00
Emmet 8c8834ad15 Fixes multimonitor hyprworkspace script 2024-03-18 21:08:19 -05:00
Emmet 825eec7686 Don't launch steam on login 2024-03-18 21:08:08 -05:00
2 changed files with 3 additions and 3 deletions

View file

@ -76,7 +76,7 @@ ext nes, has fceux, X = fceux "$1"
name ^[mM]akefile$ = make
#----------- FL STUDIO --------------
ext flp = ~/.local/bin/flstudio "$@"
ext flp = flstudio "$@"
#--------------------------------------------
# Scripts

View file

@ -30,7 +30,7 @@
exec-once = pypr
exec-once = ydotoold
exec-once = STEAM_FRAME_FORCE_CLOSE=1 steam -silent
#exec-once = STEAM_FRAME_FORCE_CLOSE=1 steam -silent
exec-once = nm-applet
exec-once = blueman-applet
exec-once = GOMAXPROCS=1 syncthing --no-browser
@ -351,7 +351,7 @@
activemonitor=$(grep -B 11 "focused: yes" "$monitors" | awk 'NR==1 {print $2}')
passivemonitor=$(grep -B 6 "($workspace)" "$monitors" | awk 'NR==1 {print $2}')
#activews=$(grep -A 2 "$activemonitor" "$monitors" | awk 'NR==3 {print $1}' RS='(' FS=')')
passivews=$(grep -A 6 "Monitor $passivemonitor" "$monitors" | awk 'NR==4 {print $1}' RS='(' FS=')')
passivews=$(grep -A 6 "Monitor $passivemonitor" "$monitors" | awk 'NR==3 {print $1}' RS='(' FS=')')
if [[ $workspace -eq $passivews ]] && [[ $activemonitor != "$passivemonitor" ]]; then
hyprctl dispatch workspace "$workspace" && hyprctl dispatch swapactiveworkspaces "$activemonitor" "$passivemonitor" && hyprctl dispatch workspace "$workspace"