mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
Added SS
This commit is contained in:
parent
febff1148f
commit
d4881a4511
2 changed files with 7 additions and 1 deletions
|
|
@ -82,7 +82,12 @@ input type:pointer {
|
||||||
bindsym $mod+Shift+d exec emote
|
bindsym $mod+Shift+d exec emote
|
||||||
|
|
||||||
# Launch ranger file explorer
|
# Launch ranger file explorer
|
||||||
bindsym $mod+Shift+f exec ranger
|
bindsym $mod+Shift+f exec alacritty -e ranger
|
||||||
|
|
||||||
|
# Screenshot
|
||||||
|
bindsym Print exec grim ~/Pictures/screenshot-$(date +'%Y%m%d-%H%M%S').png
|
||||||
|
bindsym Shift+Print exec grim -g "$(slurp)" ~/Pictures/screenshot-$(date +'%Y%m%d-%H%M%S').png
|
||||||
|
bindsym $mod+Print exec sh -c 'grim -g "$(swaymsg -t get_tree | jq -j '"'"'.. | select(.type?) | select(.focused).rect | "\(.x),\(.y) \(.width)x\(.height)"'"'"')" ~/Pictures/screenshot-$(date +'%Y%m%d-%H%M%S').png'
|
||||||
|
|
||||||
# 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.
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
rofi-wayland
|
rofi-wayland
|
||||||
grim
|
grim
|
||||||
|
jq
|
||||||
slurp
|
slurp
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue