From ad376454798836599cea5d0f0e6de700f0103287 Mon Sep 17 00:00:00 2001 From: mtgmonkey Date: Wed, 11 Jun 2025 06:42:37 -0400 Subject: [PATCH] add screenshot M-s on xmonad --- home.nix | 5 +++++ home/stylix.nix | 4 ++-- home/xmonad/config.hs | 4 +++- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/home.nix b/home.nix index b750f38..dacf0ef 100755 --- a/home.nix +++ b/home.nix @@ -72,6 +72,8 @@ in { }; }; + gh.enable = true; + nvf = { enable = true; settings.vim = { @@ -200,10 +202,13 @@ in { pkgs.acpi pkgs.brush pkgs.brightnessctl + pkgs.flameshot + pkgs.fzf pkgs.jmtpfs pkgs.nix-output-monitor pkgs.lynx pkgs.rip2 + pkgs.ripgrep pkgs.tree # alias diff --git a/home/stylix.nix b/home/stylix.nix index 242b6e6..43ef59e 100755 --- a/home/stylix.nix +++ b/home/stylix.nix @@ -8,8 +8,8 @@ # rebecca has lavener bkg # tube has dark gray bkg # silk-light is light theme - base16Scheme = "${pkgs.base16-schemes}/share/themes/silk-light.yaml"; - polarity = "light"; + base16Scheme = "${pkgs.base16-schemes}/share/themes/tube.yaml"; + polarity = "dark"; image = ./stylix/nix-wallpaper-gear.png; fonts = { serif = config.stylix.fonts.monospace; diff --git a/home/xmonad/config.hs b/home/xmonad/config.hs index c9fdf85..8271508 100755 --- a/home/xmonad/config.hs +++ b/home/xmonad/config.hs @@ -8,4 +8,6 @@ main = xmonad $ def modMask = mod4Mask -- map to } `additionalKeysP` - [ ("M-q" , spawn "qutebrowser" ) ] + [ ("M-q" , spawn "qutebrowser" ) + , ("M-s", spawn "flameshot gui" ) + ]