Add print screen binds
This commit is contained in:
parent
fdccc4ff36
commit
52ef8d291f
2 changed files with 5 additions and 0 deletions
|
@ -36,6 +36,7 @@ sudo systemctl enable greetd
|
||||||
|
|
||||||
# Window Manager
|
# Window Manager
|
||||||
paru -S --needed --noconfirm brightnessctl gammastep geoclue2 grim fuzzel mako network-manager-applet river slurp swaybg swayidle swaylock way-displays waybar xdg-desktop-portal-gtk xdg-desktop-portal-wlr
|
paru -S --needed --noconfirm brightnessctl gammastep geoclue2 grim fuzzel mako network-manager-applet river slurp swaybg swayidle swaylock way-displays waybar xdg-desktop-portal-gtk xdg-desktop-portal-wlr
|
||||||
|
mkdir -p ~/Pictures/Screenshots
|
||||||
|
|
||||||
# Fonts
|
# Fonts
|
||||||
sudo pacman -S --needed --noconfirm noto-fonts noto-fonts-cjk noto-fonts-emoji noto-fonts-extra ttf-firacode-nerd ttf-liberation wqy-zenhei
|
sudo pacman -S --needed --noconfirm noto-fonts noto-fonts-cjk noto-fonts-emoji noto-fonts-extra ttf-firacode-nerd ttf-liberation wqy-zenhei
|
||||||
|
|
|
@ -121,6 +121,10 @@ do
|
||||||
riverctl map $mode None XF86MonBrightnessDown spawn 'brightnessctl s 5%- -q'
|
riverctl map $mode None XF86MonBrightnessDown spawn 'brightnessctl s 5%- -q'
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Print to take full screenshot and Alt+Print to take rectangle screenshot
|
||||||
|
riverctl map normal None Print spawn "GRIM_DEFAULT_DIR=~/Pictures/Screenshots grim"
|
||||||
|
riverctl map normal Alt Print spawn 'GRIM_DEFAULT_DIR=~/Pictures/Screenshots grim -g "$(slurp)"'
|
||||||
|
|
||||||
# Set background and border color
|
# Set background and border color
|
||||||
riverctl background-color 0x907aa9
|
riverctl background-color 0x907aa9
|
||||||
riverctl border-color-focused 0xe0def4
|
riverctl border-color-focused 0xe0def4
|
||||||
|
|
Loading…
Add table
Reference in a new issue