tv flameshot-once-tv: init

This commit is contained in:
tv 2023-02-05 02:28:29 +01:00
parent afe16677af
commit eb94ae0fa7
3 changed files with 50 additions and 8 deletions

View File

@ -120,13 +120,7 @@ in {
}; };
path = [ path = [
config.tv.slock.package config.tv.slock.package
(pkgs.flameshot-once.override { pkgs.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.timeout = 200;
})
pkgs.pulseaudio.out pkgs.pulseaudio.out
pkgs.rxvt_unicode pkgs.rxvt_unicode
pkgs.xcalib pkgs.xcalib

View File

@ -206,7 +206,7 @@ myKeys font conf = Map.fromList $
, ((_4, xK_Prior), forkFile {-pkg-}"xcalib" ["-invert", "-alter"] Nothing) , ((_4, xK_Prior), forkFile {-pkg-}"xcalib" ["-invert", "-alter"] Nothing)
, ((0, xK_Print), forkFile {-pkg-}"flameshot" [] Nothing) , ((0, xK_Print), forkFile {-pkg:flameshot-once-tv-}"flameshot-once" [] Nothing)
, ((_C, xF86XK_Forward), forkFile {-pkg:xdpytools-}"xdpychvt" ["next"] Nothing) , ((_C, xF86XK_Forward), forkFile {-pkg:xdpytools-}"xdpychvt" ["next"] Nothing)
, ((_C, xF86XK_Back), forkFile {-pkg:xdpytools-}"xdpychvt" ["prev"] Nothing) , ((_C, xF86XK_Back), forkFile {-pkg:xdpytools-}"xdpychvt" ["prev"] Nothing)

View File

@ -0,0 +1,48 @@
{ 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;
buttons = [
"TYPE_ARROW"
"TYPE_CIRCLE"
"TYPE_CIRCLECOUNT"
"TYPE_COPY"
"TYPE_DRAWER"
"TYPE_IMAGEUPLOADER"
"TYPE_MARKER"
"TYPE_MOVESELECTION"
"TYPE_PENCIL"
"TYPE_PIXELATE"
"TYPE_RECTANGLE"
"TYPE_SAVE"
"TYPE_SELECTION"
"TYPE_TEXT"
];
checkForUpdates = false;
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;
};
config.settings.Shortcuts = {
TYPE_COPY = "Return";
TYPE_TOGGLE_PANEL = "`";
};
}