diff options
-rw-r--r-- | dotfiles/.config/niri/config.kdl | 19 | ||||
-rwxr-xr-x | dotfiles/.local/bin/lock-color | 6 |
2 files changed, 20 insertions, 5 deletions
diff --git a/dotfiles/.config/niri/config.kdl b/dotfiles/.config/niri/config.kdl index 0efeb75..f362317 100644 --- a/dotfiles/.config/niri/config.kdl +++ b/dotfiles/.config/niri/config.kdl @@ -272,6 +272,19 @@ window-rule { } } +window-rule { + match app-id="Alacritty" + match app-id="Mattermost" + + default-column-width { proportion 0.31; } +} + +window-rule { + match app-id="org.qutebrowser.qutebrowser" + + default-column-width { proportion 0.69; } +} + // Example: block out two password managers from screen capture. // (This example rule is commented out with a "/-" in front.) /-window-rule { @@ -415,8 +428,10 @@ binds { // ... // And you can also move a whole workspace to another monitor: - // Mod+Shift+Ctrl+Left { move-workspace-to-monitor-left; } - // ... + Mod+Alt+Y { move-workspace-to-monitor-left; } + Mod+Alt+U { move-workspace-to-monitor-down; } + Mod+Alt+I { move-workspace-to-monitor-up; } + Mod+Alt+O { move-workspace-to-monitor-right; } Mod+Page_Down { focus-workspace-down; } Mod+Page_Up { focus-workspace-up; } diff --git a/dotfiles/.local/bin/lock-color b/dotfiles/.local/bin/lock-color index fbf678f..23efb78 100755 --- a/dotfiles/.local/bin/lock-color +++ b/dotfiles/.local/bin/lock-color @@ -5,12 +5,12 @@ if [ -n "$SWAYSOCK" ]; then if [ "$1" != "screenon" ]; then echo idling - swayidle timeout 30 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' & + swayidle timeout 15 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' & fi elif [ -n "$NIRI_SOCKET" ]; then if [ "$1" != "screenon" ]; then - echo idling - swayidle timeout 3 'niri msg action power-off-monitors' resume 'niri msg action power-on-monitors' & + echo idling + swayidle timeout 15 'niri msg action power-off-monitors' resume 'niri msg action power-on-monitors' & fi fi |