update flameshot in i3
This commit is contained in:
parent
990c392513
commit
3f74658365
1 changed files with 17 additions and 5 deletions
|
@ -84,10 +84,12 @@ in
|
||||||
in
|
in
|
||||||
[
|
[
|
||||||
{ command = "${pkgs.albert}/bin/albert"; always = true; }
|
{ command = "${pkgs.albert}/bin/albert"; always = true; }
|
||||||
{
|
#{
|
||||||
command = "${pkgs.polygon-art.polygon-art}/bin/rings --height ${toString height} --width ${toString width} /dev/shm/background.png && ${pkgs.feh}/bin/feh --bg-scale /dev/shm/background.png";
|
# command = "${pkgs.polygon-art.polygon-art}/bin/rings --height ${toString height} --width ${toString width} /dev/shm/background.png && ${pkgs.feh}/bin/feh --bg-scale /dev/shm/background.png";
|
||||||
always = true;
|
# always = true;
|
||||||
}
|
#}
|
||||||
|
{ command = toString backgroundCommand; always = true; }
|
||||||
|
#{ command = "${pkgs.flameshot}/bin/flameshot"; always = true; }
|
||||||
# { command = "systemctl --user restart polybar"; always = true; notification = false; }
|
# { command = "systemctl --user restart polybar"; always = true; notification = false; }
|
||||||
];
|
];
|
||||||
fonts = {
|
fonts = {
|
||||||
|
@ -171,6 +173,7 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
keybindings = {
|
keybindings = {
|
||||||
|
"Print" = "exec ${pkgs.flameshot}/bin/flameshot gui -c -p /share/";
|
||||||
"${cfg.config.modifier}+Return" = "exec ${cfg.config.terminal}";
|
"${cfg.config.modifier}+Return" = "exec ${cfg.config.terminal}";
|
||||||
"${cfg.config.modifier}+Shift+q" = "exit";
|
"${cfg.config.modifier}+Shift+q" = "exit";
|
||||||
"${cfg.config.modifier}+q" = "kill";
|
"${cfg.config.modifier}+q" = "kill";
|
||||||
|
@ -195,7 +198,7 @@ in
|
||||||
"${cfg.config.modifier}+w" = "layout tabbed";
|
"${cfg.config.modifier}+w" = "layout tabbed";
|
||||||
"${cfg.config.modifier}+e" = "layout toggle split";
|
"${cfg.config.modifier}+e" = "layout toggle split";
|
||||||
|
|
||||||
"${cfg.config.modifier}+Shift+f" = "floating toggle";
|
"${cfg.config.modifier}+t" = "floating toggle";
|
||||||
#"${cfg.config.modifier}+space" = "focus mode_toggle";
|
#"${cfg.config.modifier}+space" = "focus mode_toggle";
|
||||||
|
|
||||||
"${cfg.config.modifier}+b" = "exec ${backgroundCommand}";
|
"${cfg.config.modifier}+b" = "exec ${backgroundCommand}";
|
||||||
|
@ -236,6 +239,15 @@ in
|
||||||
|
|
||||||
"${cfg.config.modifier}+grave" =
|
"${cfg.config.modifier}+grave" =
|
||||||
let
|
let
|
||||||
|
i3-wk-switch-pr = pkgs.i3-wk-switch.overrideAttrs (old: {
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "tmfink";
|
||||||
|
repo = "i3-wk-switch";
|
||||||
|
rev = "bef4d50cec9c731259001a10cc03a8e972e72d9d";
|
||||||
|
sha256 = "sha256-jxd7jxQK0ESVrZ8a1o0IBetWHKh73GD7ch1xAMUDAPE=";
|
||||||
|
};
|
||||||
|
|
||||||
|
});
|
||||||
script = pkgs.writers.writeBash "select-workspace" ''
|
script = pkgs.writers.writeBash "select-workspace" ''
|
||||||
set -e
|
set -e
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
Loading…
Reference in a new issue