From 4a195236fcd924bd2c111d606f1232dd52b88baa Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 2 Dec 2026 04:00:11 +0000 Subject: flameshot-once-tv: move to flameshot-once.profiles.tv pkgs/simple/flameshot-once-tv.nix becomes flameshot-once's profiles/tv.nix. flameshot-once offers each file in profiles/ by its name. --- pkgs/simple/flameshot-once/profiles/tv.nix | 33 ++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 pkgs/simple/flameshot-once/profiles/tv.nix (limited to 'pkgs/simple/flameshot-once/profiles') diff --git a/pkgs/simple/flameshot-once/profiles/tv.nix b/pkgs/simple/flameshot-once/profiles/tv.nix new file mode 100644 index 00000000..c1455a57 --- /dev/null +++ b/pkgs/simple/flameshot-once/profiles/tv.nix @@ -0,0 +1,33 @@ +{ pkgs }: + +pkgs.flameshot-once.override { + name = "flameshot-once-tv"; + config.imgur.enable = true; + config.imgur.createUrl = "http://ni.r/image"; + config.imgur.deleteUrl = "http://ni.r/image/delete/%1"; + config.imgur.xdg-open.browser = "/etc/profiles/per-user/tv/bin/cr"; + config.settings.General = { + autoCloseIdleDaemon = true; + captureActiveMonitor = true; + contrastOpacity = 220; + copyPathAfterSave = true; + disabledTrayIcon = true; + drawColor = "#E4002B"; + drawThickness = 8; + filenamePattern = "%FT%T%z_flameshot"; + fontFamily = "iosevka tv 2"; + savePath = "/tmp"; + savePathFixed = true; + showDesktopNotification = false; + showHelp = false; + showSidePanelButton = false; + showStartupLaunchMessage = false; + squareMagnifier = true; + uploadWithoutConfirmation = true; + useX11LegacyScreenshot = true; + }; + config.settings.Shortcuts = { + TYPE_COPY = "Return"; + TYPE_TOGGLE_PANEL = "`"; + }; +} -- cgit v1.3.1