Again, small changes, trying out a new theme
This commit is contained in:
parent
84cfcee9fd
commit
c3bc3a56f7
19 changed files with 64 additions and 52 deletions
|
@ -31,7 +31,7 @@
|
|||
handle_screen() {
|
||||
# Take a screenshot and save it to the temporary file
|
||||
temp_file=$(mktemp -u).png
|
||||
grim -o $(swaymsg -t get_config | jq -r '.[] | select(.focused) | .name') "$temp_file"
|
||||
grim -o $(swaymsg -t get_outputs | jq -r '.[] | select(.focused) | .name') "$temp_file"
|
||||
|
||||
# Check if the screenshot was successfully taken
|
||||
if [ $? -eq 0 ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue