From ca752d89f4dbd399b1d9f900f52d5d13da666bc5 Mon Sep 17 00:00:00 2001 From: lucy Date: Fri, 17 Jul 2026 15:29:50 +0200 Subject: [PATCH] add special ws to hyprland config --- configuration.nix | 2 +- home/hyprland.lua | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index 8e1736a..b8ca5f4 100644 --- a/configuration.nix +++ b/configuration.nix @@ -100,7 +100,7 @@ # Enable touchpad support (enabled default in most desktopManager). services.libinput.enable = true; programs.xppen = { - enable = false; + enable = true; package = pkgs.xppen_4.overrideAttrs (old: { src = pkgs.fetchurl { url = "https://download01.xp-pen.com/file/2026/04/XPPenLinux4.0.15-260422.tar.gz"; diff --git a/home/hyprland.lua b/home/hyprland.lua index 1359c4e..377644e 100644 --- a/home/hyprland.lua +++ b/home/hyprland.lua @@ -189,6 +189,8 @@ hl.bind(mainMod .. "+ SHIFT + S", hl.dsp.exec_cmd("grimblast copy area -n -f")) -- misc binds hl.bind(mainMod .. " + w", hl.dsp.exec_cmd("/etc/bash/bashrc.d/90-qs.bash switch-wall fuzzel")) hl.bind(mainMod .. " + t", hl.dsp.exec_cmd("/etc/bash/bashrc.d/90-qs.bash switch-theme fuzzel")) +hl.bind(mainMod .. "+ SHIFT + minus", hl.dsp.window.move({ workspace = "special:scratchpad" })) +hl.bind(mainMod .. " + minus", hl.dsp.workspace.toggle_special("scratchpad")) hl.window_rule({ -- Ignore maximize requests from all apps. You'll probably like this.