Screenshots, polish layout, filelog
This commit is contained in:
@@ -69,6 +69,7 @@ exec swayidle -w \
|
||||
# Read `man 5 sway-input` for more information about this section.
|
||||
|
||||
input * {
|
||||
xkb_layout pl
|
||||
repeat_rate 80
|
||||
repeat_delay 300
|
||||
}
|
||||
@@ -98,6 +99,8 @@ exec systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
#
|
||||
# Basics:
|
||||
#
|
||||
|
||||
|
||||
# Start a terminal
|
||||
bindsym $mod+Return exec $term
|
||||
|
||||
@@ -243,7 +246,9 @@ bindsym $mod+r mode "resize"
|
||||
bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%-; pkill -USR1 -f "$HOME/.config/sway/status.sh"
|
||||
bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+; pkill -USR1 -f "$HOME/.config/sway/status.sh"
|
||||
# Special key to take a screenshot with grim
|
||||
bindsym Print exec grim
|
||||
bindsym Print exec sh -c 'mkdir -p ~/screenshots; f=~/screenshots/$(date +%F-%H%M%S).png; grim "$f"; wl-copy < "$f"'
|
||||
bindsym Shift+Print exec sh -c 'mkdir -p ~/screenshots; f=~/screenshots/$(date +%F-%H%M%S).png; grim -g "$(slurp)" "$f"; wl-copy < "$f"'
|
||||
|
||||
|
||||
# Pick an entry from clipboard history and copy it back to the clipboard
|
||||
bindsym $mod+c exec sh -c 'cliphist list | wmenu -l 10 | cliphist decode | wl-copy'
|
||||
|
||||
Reference in New Issue
Block a user