better screenshotting
This commit is contained in:
parent
e43ac000c8
commit
290b006209
1 changed files with 8 additions and 2 deletions
|
@ -75,9 +75,13 @@ in {
|
||||||
bindr = [ # "bind released"
|
bindr = [ # "bind released"
|
||||||
"SUPER, Super_L, exec, ${lib.getExe pkgs.nwg-drawer}"
|
"SUPER, Super_L, exec, ${lib.getExe pkgs.nwg-drawer}"
|
||||||
];
|
];
|
||||||
bind = [
|
bind = let
|
||||||
|
screenshotScript = pkgs.writeScript "screenshot" ''
|
||||||
|
${lib.getExe pkgs.grimblast} --freeze --notify copy area
|
||||||
|
'';
|
||||||
|
in [
|
||||||
"$mod, R, exec, ${lib.getExe pkgs.rofi-wayland} -show run"
|
"$mod, R, exec, ${lib.getExe pkgs.rofi-wayland} -show run"
|
||||||
", print, exec, ${lib.getExe pkgs.grimblast} --freeze copy area"
|
", print, exec, ${screenshotScript}"
|
||||||
"$mod, T, exec, ${lib.getExe pkgs.wezterm}"
|
"$mod, T, exec, ${lib.getExe pkgs.wezterm}"
|
||||||
|
|
||||||
"$mod, Q, killactive, "
|
"$mod, Q, killactive, "
|
||||||
|
@ -97,6 +101,8 @@ in {
|
||||||
# alternatively, scroll through workspaces with mod + brackets
|
# alternatively, scroll through workspaces with mod + brackets
|
||||||
"$mod, bracketleft, workspace, e-1"
|
"$mod, bracketleft, workspace, e-1"
|
||||||
"$mod, bracketright, workspace, e+1"
|
"$mod, bracketright, workspace, e+1"
|
||||||
|
|
||||||
|
", XF86LaunchA, exec, ${screenshotScript}"
|
||||||
] ++ (
|
] ++ (
|
||||||
# workspaces
|
# workspaces
|
||||||
# binds $mod + [shift +] {1..10} to [move to] workspace {1..10}
|
# binds $mod + [shift +] {1..10} to [move to] workspace {1..10}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue