binding for peek
This commit is contained in:
parent
4da947bf91
commit
a8e42d6e6d
1 changed files with 13 additions and 2 deletions
|
@ -36,13 +36,18 @@ in {
|
||||||
let decorationFont = "MesloLGSDZ ${toString config.system.machine.i3FontSize}"; in
|
let decorationFont = "MesloLGSDZ ${toString config.system.machine.i3FontSize}"; in
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
maim
|
|
||||||
rofi
|
rofi
|
||||||
rofi-pass
|
rofi-pass
|
||||||
i3status
|
|
||||||
python38Packages.py3status
|
python38Packages.py3status
|
||||||
i3lock
|
i3lock
|
||||||
dconf # for gtk
|
dconf # for gtk
|
||||||
|
|
||||||
|
# Screenshots
|
||||||
|
maim
|
||||||
|
|
||||||
|
# GIFs
|
||||||
|
picom
|
||||||
|
peek
|
||||||
];
|
];
|
||||||
|
|
||||||
xsession.scriptPath = ".hm-xsession";
|
xsession.scriptPath = ".hm-xsession";
|
||||||
|
@ -82,6 +87,12 @@ in {
|
||||||
# Screenshots
|
# Screenshots
|
||||||
"${mod}+q" = "exec \"maim | xclip -selection clipboard -t image/png\"";
|
"${mod}+q" = "exec \"maim | xclip -selection clipboard -t image/png\"";
|
||||||
"${mod}+Shift+q" = "exec \"maim -s | xclip -selection clipboard -t image/png\"";
|
"${mod}+Shift+q" = "exec \"maim -s | xclip -selection clipboard -t image/png\"";
|
||||||
|
"${mod}+Ctrl+q" = "exec ${pkgs.writeShellScript "peek.sh" ''
|
||||||
|
picom &
|
||||||
|
picom_pid=$!
|
||||||
|
peek || true
|
||||||
|
kill -SIGINT $picom_pid
|
||||||
|
''}";
|
||||||
|
|
||||||
# Launching applications
|
# Launching applications
|
||||||
"${mod}+u" =
|
"${mod}+u" =
|
||||||
|
|
Loading…
Reference in a new issue