dots

Mika's dotfiles
git clone git://popovic.xyz/dots.git/
Log | Files | Refs | README

commit 9601661483c02e24aa2c578f31dfbb6abc0575a2
parent 7fe8ce2cab3b3b9089bc4441ef9ea9ad9392ecd0
Author: Milutin Popovic <milutin@popovic.xyz>
Date:   Mon, 30 Mar 2026 16:44:26 +0100

u

Diffstat:
M.local/bin/scripts/niri-monitors | 22+++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/.local/bin/scripts/niri-monitors b/.local/bin/scripts/niri-monitors @@ -20,11 +20,11 @@ move_workspaces() { mulmon_activate() { noctalia-shell kill && \ - niri msg output "$mon_l" on && \ - niri msg output "$mon_r" on && \ - move_workspaces "$mon_l" "l" && \ - move_workspaces "$mon_r" "r" && \ - niri msg output "$mon_n" off && \ + niri msg output "$mon_l" on + niri msg output "$mon_r" on + move_workspaces "$mon_l" "l" + move_workspaces "$mon_r" "r" + niri msg output "$mon_n" off noctalia-shell & MONITOR_OUT=1 export MONITOR_OUT @@ -32,11 +32,11 @@ mulmon_activate() { mulmon_deactivate() { noctalia-shell kill && \ - niri msg output "$mon_n" on && \ - move_workspaces "$mon_n" "l" && \ - move_workspaces "$mon_n" "r" && \ - niri msg output "$mon_l" off && \ - niri msg output "$mon_r" off && \ + niri msg output "$mon_n" on + move_workspaces "$mon_n" "l" + move_workspaces "$mon_n" "r" + niri msg output "$mon_l" off + niri msg output "$mon_r" off noctalia-shell & MONITOR_OUT=0 export MONITOR_OUT @@ -65,5 +65,5 @@ while :; do sudo powerprofilesctl set balanced fi - sleep 1 + sleep 2 done