mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-18 22:55:52 +05:30
Compare commits
3 commits
3d3bea67cd
...
1d568ad213
Author | SHA1 | Date | |
---|---|---|---|
1d568ad213 | |||
8c8834ad15 | |||
825eec7686 |
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue