Add gaps and fix mime type in clipboard screenshots.
This commit is contained in:
parent
cac714f432
commit
12c5f63369
|
@ -55,9 +55,19 @@
|
||||||
{ command = "systemctl --user restart mako"; always = true; }
|
{ command = "systemctl --user restart mako"; always = true; }
|
||||||
];
|
];
|
||||||
|
|
||||||
|
gaps = {
|
||||||
|
top = 10;
|
||||||
|
bottom = 10;
|
||||||
|
left = 10;
|
||||||
|
right = 10;
|
||||||
|
inner = 20;
|
||||||
|
outer = 20;
|
||||||
|
smartGaps = true;
|
||||||
|
};
|
||||||
|
|
||||||
window = {
|
window = {
|
||||||
border = 1;
|
border = 4;
|
||||||
titlebar = true;
|
titlebar = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
keybindings = {
|
keybindings = {
|
||||||
|
@ -82,8 +92,8 @@
|
||||||
"XF86AudioMicMute" = "exec pactl set-source-mute $(pacmd list-sources |awk '/* index:/{print $3}') toggle";
|
"XF86AudioMicMute" = "exec pactl set-source-mute $(pacmd list-sources |awk '/* index:/{print $3}') toggle";
|
||||||
"XF86MonBrightnessDown" = "exec ${pkgs.light}/bin/light -U 5";
|
"XF86MonBrightnessDown" = "exec ${pkgs.light}/bin/light -U 5";
|
||||||
"XF86MonBrightnessUp" = "exec ${pkgs.light}/bin/light -A 5";
|
"XF86MonBrightnessUp" = "exec ${pkgs.light}/bin/light -A 5";
|
||||||
"Print" = "exec ${pkgs.grim}/bin/grim - | ${pkgs.wl-clipboard}/bin/wl-copy";
|
"Print" = "exec ${pkgs.grim}/bin/grim -t png - | ${pkgs.wl-clipboard}/bin/wl-copy -t image/png";
|
||||||
"Shift+Print" = "exec ${pkgs.grim}/bin/grim -g \"$(${pkgs.slurp}/bin/slurp -d)\" - | ${pkgs.wl-clipboard}/bin/wl-copy";
|
"Shift+Print" = "exec ${pkgs.grim}/bin/grim -t png -g \"$(${pkgs.slurp}/bin/slurp -d)\" - | ${pkgs.wl-clipboard}/bin/wl-copy -t image/png";
|
||||||
|
|
||||||
"${cfg.modifier}+d" = "exec ${cfg.menu}";
|
"${cfg.modifier}+d" = "exec ${cfg.menu}";
|
||||||
"${cfg.modifier}+f" = "fullscreen";
|
"${cfg.modifier}+f" = "fullscreen";
|
||||||
|
|
Loading…
Reference in a new issue