mirror of
https://github.com/Dichgrem/dotfiles.git
synced 2025-08-01 09:19:32 -04:00
add:waybar
This commit is contained in:
3
waybar/scripts/Screenshot-sway-Window.sh
Normal file
3
waybar/scripts/Screenshot-sway-Window.sh
Normal file
@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
grim -g "$(swaymsg -t get_tree | jq -r '.. | select(.pid? and .visible?) | .rect | "\(.x),\(.y) \(.width)x\(.height)"' | slurp)" - | swappy -f -
|
Reference in New Issue
Block a user