Use Kitty terminal and add screenshot keybind

This commit is contained in:
Sheldon Lee 2023-06-07 09:45:08 +01:00
parent 6425491288
commit 9cdbd728c2

View File

@ -25,7 +25,8 @@ set $down j
set $up k set $up k
set $right l set $right l
# Your preferred terminal emulator # Your preferred terminal emulator
set $term alacritty #set $term alacritty
set $term kitty
# Your preferred application launcher # Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened # Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on. # on the original workspace that the command was run on.
@ -38,6 +39,7 @@ set $menucmd j4-dmenu-desktop --dmenu=menucmd
# Screenshot # Screenshot
set $screenshot "~/.config/scripts/wm/screenshot.sh" set $screenshot "~/.config/scripts/wm/screenshot.sh"
set $screenshot_sel "~/.config/scripts/wm/screenshot.sh -s"
### Monitor config ### Monitor config
# #
@ -122,6 +124,7 @@ exec swayidle -w \
# Screenshot # Screenshot
bindsym $mod+q exec $screenshot bindsym $mod+q exec $screenshot
bindsym Print exec $screenshot_sel
# Drag floating windows by holding down $mod and left mouse button. # Drag floating windows by holding down $mod and left mouse button.
# Resize them with right mouse button + $mod. # Resize them with right mouse button + $mod.