diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-05-07 20:48:02 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-05-07 20:48:02 +0200 |
commit | fc99e76d7cb26bc2f32109b8239e76b8404029b4 (patch) | |
tree | fa2befc059b87dbfdfe19158ce0d8ad09dc0da58 | |
parent | 9f8f54a841b4f53922e10a41c727c43b2241b321 (diff) |
added scripts
-rwxr-xr-x | bin/extra/fzwin | 5 | ||||
-rwxr-xr-x | bin/guiscripts/favwal | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/bin/extra/fzwin b/bin/extra/fzwin new file mode 100755 index 0000000..4e1cc79 --- /dev/null +++ b/bin/extra/fzwin @@ -0,0 +1,5 @@ +#!/bin/sh +hyprctl clients -j | + jq '.[].pid' | + fzf --preview "hyprctl clients -j | + jq '.[] | select(.pid == {}) | {class, title, workspace, xwayland}'" diff --git a/bin/guiscripts/favwal b/bin/guiscripts/favwal new file mode 100755 index 0000000..f27123d --- /dev/null +++ b/bin/guiscripts/favwal @@ -0,0 +1,6 @@ +#!/bin/sh +pics=$(xdg-user-dir PICTURES")" +mkdir -p "${pics:=$HOME/pics}/favorites" +wal="$(realpath "pics/wallpaper")" +cp "$wal" "$pics/favorites" +echo "$wal" |