ma flameshot: init
This commit is contained in:
parent
a9ec59e87d
commit
0b66809946
|
@ -11,6 +11,15 @@
|
||||||
services.network-manager-applet.enable = true;
|
services.network-manager-applet.enable = true;
|
||||||
services.blueman-applet.enable = true;
|
services.blueman-applet.enable = true;
|
||||||
services.pasystray.enable = true;
|
services.pasystray.enable = true;
|
||||||
|
services.flameshot.enable = true;
|
||||||
|
home.file.".config/Dharkael/flameshot.ini".text = ''
|
||||||
|
[General]
|
||||||
|
disabledTrayIcon=false
|
||||||
|
drawColor=@Variant(\0\0\0\x43\x1\xff\xff\0\0\0\0\xff\xff\0\0)
|
||||||
|
drawThickness=0
|
||||||
|
filenamePattern=%F_%T_shot
|
||||||
|
'';
|
||||||
|
|
||||||
systemd.user.services.pasystray.Service.Environment = "PATH=" + (lib.makeBinPath (with pkgs;[ pavucontrol paprefs /* pavumeter */ /* paman */ ]) );
|
systemd.user.services.pasystray.Service.Environment = "PATH=" + (lib.makeBinPath (with pkgs;[ pavucontrol paprefs /* pavumeter */ /* paman */ ]) );
|
||||||
programs.chromium = {
|
programs.chromium = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
, networkmanagerapplet
|
, networkmanagerapplet
|
||||||
, blueman
|
, blueman
|
||||||
, clipit
|
, clipit
|
||||||
|
, flameshot
|
||||||
, modkey ? "Mod4"
|
, modkey ? "Mod4"
|
||||||
, locker? "${pkgs.xlock}/bin/xlock -mode blank"
|
, locker? "${pkgs.xlock}/bin/xlock -mode blank"
|
||||||
, ... }:
|
, ... }:
|
||||||
|
@ -13,7 +14,7 @@
|
||||||
# replace: @alsaUtils@ @xlockmore@ @xbacklight@ @modkey@
|
# replace: @alsaUtils@ @xlockmore@ @xbacklight@ @modkey@
|
||||||
full = lib.makeOverridable pkgs.substituteAll {
|
full = lib.makeOverridable pkgs.substituteAll {
|
||||||
name = "awesome_full_config";
|
name = "awesome_full_config";
|
||||||
inherit alsaUtils locker xbacklight modkey networkmanagerapplet blueman clipit;
|
inherit alsaUtils locker xbacklight modkey networkmanagerapplet blueman clipit flameshot ;
|
||||||
isExecutable = false;
|
isExecutable = false;
|
||||||
src = ./full.cfg;
|
src = ./full.cfg;
|
||||||
};
|
};
|
||||||
|
|
|
@ -410,6 +410,7 @@ clientkeys = awful.util.table.join(
|
||||||
-- minimized, since minimized clients can't have the focus.
|
-- minimized, since minimized clients can't have the focus.
|
||||||
c.minimized = true
|
c.minimized = true
|
||||||
end),
|
end),
|
||||||
|
awful.key({ }, "Print", function () awful.util.spawn("@flameshot@/bin/flameshot gui") end),
|
||||||
awful.key({ modkey, }, "m",
|
awful.key({ modkey, }, "m",
|
||||||
function (c)
|
function (c)
|
||||||
c.maximized = not c.maximized
|
c.maximized = not c.maximized
|
||||||
|
|
Loading…
Reference in a new issue