dotfiles
My PC Dotfiles & Websitegit clone https://github.com/maydayv7/dotfiles
commit 8c69e2937d52850f51cb82c044ee5e0d3ec1b2a9 parent eef3947dd92861ace24054e2795a84785da8bb04 Author: maydayv7 <maydayv7@gmail.com> Date: Thu, 6 Mar 2025 19:03:29 +0530 fix: More Hyprland Niggles
Diffstat:
| M | README.md | | | 2 | ++ |
| M | files/hyprland/kebihelp.json | | | 4 | ++++ |
| M | files/hyprland/waybar.css | | | 1 | + |
| M | modules/gui/desktop/hyprland/apps/security.nix | | | 2 | +- |
| M | modules/gui/desktop/hyprland/apps/settings.nix | | | 2 | +- |
| M | modules/gui/desktop/hyprland/settings/keybindings.nix | | | 10 | +++++++++- |
| M | modules/hardware/virtualisation/vfio.nix | | | 2 | +- |
7 files changed, 19 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md @@ -524,7 +524,9 @@ You can navigate to the `README`s present in the various directories to know mor - GNOME Changes - Drop PaperWM for Tiling Shell - Drop Blackbox for Ghostty +- Add Steam Support - Update Wine Packages +- Improve Website ### v24.5 diff --git a/files/hyprland/kebihelp.json b/files/hyprland/kebihelp.json @@ -292,6 +292,10 @@ { "value": "$mod /", "label": "Application Launcher" + }, + { + "value": "$mod SHIFT Esc", + "label": "Inhibit all keybindings" } ] }, diff --git a/files/hyprland/waybar.css b/files/hyprland/waybar.css @@ -86,6 +86,7 @@ window#waybar { .modules-right #keyboard-state { color: @base05; + opacity: 0.8; } #media .drawer box { diff --git a/modules/gui/desktop/hyprland/apps/security.nix b/modules/gui/desktop/hyprland/apps/security.nix @@ -55,7 +55,7 @@ in { timeouts = let audio = command: "${pkgs.writeShellScript "audio" '' ${getExe pkgs.playerctl} status | ${getExe pkgs.gnugrep} Playing - if [ $? != 1 ]; then ${command}; fi + if [ $? == 1 ]; then ${command}; fi ''}"; # Check if audio is playing shader = getExe pkgs.hyprshade; dpms = "${getExe' config.programs.hyprland.package "hyprctl"} dispatch dpms"; diff --git a/modules/gui/desktop/hyprland/apps/settings.nix b/modules/gui/desktop/hyprland/apps/settings.nix @@ -59,7 +59,7 @@ "$mod, N, exec, dunstctl history-pop" "$mod, T, exec, kitty" "$mod SHIFT, T, exec, pypr toggle term" - ''$mod, V, exec, sh -c "hyprctl clients | grep 'class: clipse' || pypr show clip"'' + "$mod, V, exec, pypr show clip" "$mod, W, exec, firefox" "$mod, Return, exec, ${runOnce "resources"}" ", XF86Calculator, exec, qalculate-gtk" diff --git a/modules/gui/desktop/hyprland/settings/keybindings.nix b/modules/gui/desktop/hyprland/settings/keybindings.nix @@ -71,7 +71,7 @@ "$mod, L, exec, loginctl lock-session" # Screenshot - ", Print, exec, grimblast --notify --freeze copysave area" + '', Print, exec, sh -c "pgrep slurp || grimblast --notify --freeze copysave area"'' "CTRL, Print, exec, grimblast --notify --cursor copysave active" "SHIFT, Print, exec, grimblast --notify --cursor copysave output" ] @@ -131,6 +131,12 @@ ## Submaps extraConfig = '' + # Inhibit Keybinds + bind = $mod SHIFT, Escape, submap, Inhibit + submap = Inhibit + bind = $mod SHIFT, Escape, submap, reset + submap = reset + # Window Resize bind = $mod, R, submap, Resize submap = Resize @@ -140,6 +146,7 @@ binde = , down, resizeactive, 0 10 bindm = , mouse:272, resizewindow bind = , escape, submap, reset + bind = $mod, R, submap, reset submap = reset # Window Movement @@ -157,6 +164,7 @@ bind = SHIFT, up, moveactive, 0 -30 bind = SHIFT, down, moveactive, 0 30 bind = , escape, submap, reset + bind = $mod, M, submap, reset submap = reset # Window Minimization diff --git a/modules/hardware/virtualisation/vfio.nix b/modules/hardware/virtualisation/vfio.nix @@ -73,7 +73,7 @@ in { }; # Looking Glass - user.groups = ["kvm" "libvirtd" "qemu-libvirtd"]; + user.groups = ["qemu-libvirtd"]; systemd.tmpfiles.rules = ["f /dev/shm/looking-glass 0660 root qemu-libvirtd -"]; environment = { systemPackages = [pkgs.looking-glass-client];