From 4fd01683dc1e203bffaca168e5e502651f18d6df Mon Sep 17 00:00:00 2001 From: Sage Date: Fri, 30 Jan 2026 14:52:14 +0000 Subject: [PATCH] Fix flameshot --- hosts/musk/home.nix | 15 +++++++++++++++ modules/home/desktop/i3.nix | 14 +------------- modules/home/desktop/productivity.nix | 4 ++-- 3 files changed, 18 insertions(+), 15 deletions(-) diff --git a/hosts/musk/home.nix b/hosts/musk/home.nix index 0bd1d49..d9b4d22 100644 --- a/hosts/musk/home.nix +++ b/hosts/musk/home.nix @@ -7,6 +7,7 @@ ... }: let cfg = osConfig.mods; + color = config.lib.stylix.colors.withHashtag; in { # Modules mods.xdg.enable = true; @@ -45,6 +46,20 @@ in { # Non-free /tmp/ss.png;if [ ! -s /tmp/ss.png ]; then - exit 1 - fi - AUTH=$(cat ${config.sops.secrets.zipline-auth.path}) - curl -H "authorization: $AUTH" https://share.muon.host/api/upload -F file=@/tmp/ss.png -H "Content-Type: multipart/form-data" -H "Format: date" -H "Image-Compression-Percent: 90" -H "No-JSON: true" | tr -d '\n' | xsel -ib; - ''; - }; zmenu = with pkgs; writeShellApplication { name = "zmenu"; @@ -155,7 +143,7 @@ in // { "XF86AudioRaiseVolume" = "exec --no-startup-id pactl set-sink-volume 0 +2%"; "XF86AudioLowerVolume" = "exec --no-startup-id pactl set-sink-volume 0 -2%"; - "Print" = "exec ${getExe fsss}"; + "Print" = "exec flameshot gui -c -s"; "${modifier}+z" = "exec ${getExe zmenu}"; "${modifier}+p" = "exec clipmenu"; "${modifier}+b" = "exec ${getExe pkgs.rofi-rbw-x11}"; diff --git a/modules/home/desktop/productivity.nix b/modules/home/desktop/productivity.nix index f18c5b5..cb240d4 100644 --- a/modules/home/desktop/productivity.nix +++ b/modules/home/desktop/productivity.nix @@ -48,12 +48,12 @@ in programs.zsh.sessionVariables.BROWSER = "librewolf"; services.flameshot = { - enable = false; + enable = true; settings = { General = { disabledTrayIcon = true; showStartupLaunchMessage = false; - startupLaunch = false; + startupLaunch = true; uiColor = color.base01; contrastUiColor = color.base00;