From 653710522f5fae1892e53c875035064b0fadbc10 Mon Sep 17 00:00:00 2001 From: pancakes
Date: Tue, 4 Nov 2025 15:03:00 +1000 Subject: [PATCH] Setup screen zooming --- justfile | 2 +- niri/.config/niri/config.kdl | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/justfile b/justfile index 4cab3d5..283b557 100644 --- a/justfile +++ b/justfile @@ -88,7 +88,7 @@ kitty-terminal: [group("graphical")] niri-window-manager: @just _echowarning "1) Installing niri and related tools" - paru -S adw-gtk-theme brightnessctl cliphist fuzzel gdm gnome-keyring gtklock inter-font mako niri-git noto-fonts noto-fonts-cjk noto-fonts-emoji noto-fonts-extra overskride polkit-kde-agent swaybg swayidle ttf-firacode-nerd ttf-font-awesome waybar wl-clipboard wlsunset xdg-desktop-portal-gnome xwayland-satellite-git + paru -S adw-gtk-theme brightnessctl cliphist fuzzel gdm gnome-keyring gtklock inter-font mako niri-git noto-fonts noto-fonts-cjk noto-fonts-emoji noto-fonts-extra overskride polkit-kde-agent swaybg swayidle ttf-firacode-nerd ttf-font-awesome waybar wl-clipboard wlsunset wooz-git xdg-desktop-portal-gnome xwayland-satellite-git @just _echowarning "\n2) Stowing niri config" stow niri diff --git a/niri/.config/niri/config.kdl b/niri/.config/niri/config.kdl index 0e717fa..2d3e9d6 100644 --- a/niri/.config/niri/config.kdl +++ b/niri/.config/niri/config.kdl @@ -238,6 +238,9 @@ binds { Control+Shift+Escape { spawn "kitty" "-e" "btop" } + Mod+Z { + spawn "wooz" "--invert-scroll" "--mouse-track" "--zoom-in" "25%" + } // Volume keys mappings for PipeWire & WirePlumber. XF86AudioRaiseVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1+"