mirror of
https://github.com/kp2pml30/dotfiles.git
synced 2026-02-16 23:34:42 +04:00
add print screen
This commit is contained in:
parent
778ad87a8a
commit
6f3eb7dbe2
2 changed files with 5 additions and 1 deletions
|
|
@ -346,7 +346,10 @@ globalkeys = gears.table.join(
|
|||
awful.key({}, "XF86AudioMute", function() my_volume:toggle() end),
|
||||
|
||||
awful.key({}, "XF86MonBrightnessDown", function() my_brightness:down() end),
|
||||
awful.key({}, "XF86MonBrightnessUp", function() my_brightness:up() end)
|
||||
awful.key({}, "XF86MonBrightnessUp", function() my_brightness:up() end),
|
||||
|
||||
-- screenshot
|
||||
awful.key({}, "Print", function () awful.spawn.with_shell("xfce4-screenshooter -r --save /dev/stdout | xclip -i -selection clipboard -t image/png") end)
|
||||
)
|
||||
|
||||
clientkeys = gears.table.join(
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ in lib.mkIf cfg.xserver {
|
|||
environment.systemPackages = with pkgs; [
|
||||
xclip
|
||||
brightnessctl
|
||||
xfce.xfce4-screenshooter
|
||||
];
|
||||
|
||||
home-manager.users.${cfg.username} = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue