dots

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

commit 074ae99c27f0f28d9ecdc4064afc00ad33f193d9
parent d8f981fa888a44c625379cd36b5c921ef9037df1
Author: Milutin Popovic <milutin@popovic.xyz>
Date:   Fri,  3 Apr 2026 16:12:53 +0100

wakup monitors

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

diff --git a/.local/bin/scripts/niri-wakup-monitors b/.local/bin/scripts/niri-wakup-monitors @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env zsh mon_n="BOE 0x0BCA Unknown" mon_l="PNP(BNQ) BenQ GL2760 H3E04203019" @@ -11,7 +11,7 @@ active_connection() { if active_connection; then niri msg output "$mon_l" on && \ - niri msg output "$mon_r" on && \ -else [ "$MONITOR_OUT" -eq 0 ]; then - niri msg output "$mon_n" on && \ + niri msg output "$mon_r" on +else + niri msg output "$mon_n" on fi