Added mod+pause shortcut for power menu as an alternative when power button is not available.
This commit is contained in:
parent
8a35a13902
commit
c5d3289635
|
|
@ -52,7 +52,7 @@ in {
|
||||||
exec swaymsg -t get_tree | jq -r '.. | select(.focused?) | .rect | "\(.x),\(.y) \(.width)x\(.height)"' | grim -g - | wl-copy && wl-paste > ${screenshotPath}''; # Take screenshot of current window, save it, and copy it to clipboard
|
exec swaymsg -t get_tree | jq -r '.. | select(.focused?) | .rect | "\(.x),\(.y) \(.width)x\(.height)"' | grim -g - | wl-copy && wl-paste > ${screenshotPath}''; # Take screenshot of current window, save it, and copy it to clipboard
|
||||||
"Ctrl+Print" =
|
"Ctrl+Print" =
|
||||||
"exec bash ${dynscreenshot} ${screenshotPath}"; # Take screenshot of selection, save it, and copy it to clipboard
|
"exec bash ${dynscreenshot} ${screenshotPath}"; # Take screenshot of selection, save it, and copy it to clipboard
|
||||||
} // { # Function Media Keys
|
} // rec { # Function Media Keys
|
||||||
XF86MonBrightnessUp = "exec bash ${changebrightness} 1";
|
XF86MonBrightnessUp = "exec bash ${changebrightness} 1";
|
||||||
XF86MonBrightnessDown = "exec bash ${changebrightness} -1";
|
XF86MonBrightnessDown = "exec bash ${changebrightness} -1";
|
||||||
XF86AudioMute = "exec wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle";
|
XF86AudioMute = "exec wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle";
|
||||||
|
|
@ -69,6 +69,7 @@ in {
|
||||||
"dunstctl set-paused toggle; dunstify -a 'dunst_mute_key' -u low -h string:x-dunst-stack-tag:dunst_mute_key 'Notifications mute toggled'";
|
"dunstctl set-paused toggle; dunstify -a 'dunst_mute_key' -u low -h string:x-dunst-stack-tag:dunst_mute_key 'Notifications mute toggled'";
|
||||||
XF86PowerOff =
|
XF86PowerOff =
|
||||||
"exec DMENU_COMMAND='${dmenuCommand}' bash ${shutdownMenu}";
|
"exec DMENU_COMMAND='${dmenuCommand}' bash ${shutdownMenu}";
|
||||||
|
"${mod}+Pause" = XF86PowerOff;
|
||||||
} // {
|
} // {
|
||||||
"${mod}+space" = ''input "*" xkb_switch_layout next'';
|
"${mod}+space" = ''input "*" xkb_switch_layout next'';
|
||||||
} // { });
|
} // { });
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue