mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-22 12:49:32 -08:00
bash didn't always get the jq=jaq alias
This commit is contained in:
parent
5c4b11a9c1
commit
0f1c25d607
4 changed files with 2 additions and 23 deletions
|
@ -1,4 +0,0 @@
|
||||||
#!/usr/env bash
|
|
||||||
|
|
||||||
|
|
||||||
echo "{ }"
|
|
|
@ -1,17 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
|
|
||||||
moonstate=$(gcal --resource-file=$HOME/.config/eww/scripts/moontime | awk '{print $4}')
|
|
||||||
|
|
||||||
sunstate=$(gcal --resource-file=$HOME/.config/eww/scripts/suntime | awk '{print $4}')
|
|
||||||
|
|
||||||
moonrise=$(echo $moonstate | awk '{print $1}')
|
|
||||||
moonset=$(echo $moonstate | awk '{print $2}')
|
|
||||||
moonphase=$(echo $moonstate | awk '{print $3}')
|
|
||||||
|
|
||||||
sunrise=$(echo $sunstate | awk '{print $1}')
|
|
||||||
sunset=$(echo $sunstate | awk '{print $2}')
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
echo "{ \"has_color\": false, \"is_sun\": true, \"gradient_angle\": 45 }"
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
hyprctl monitors -j | jq '.[] | select(.focused) | .activeWorkspace.id'
|
hyprctl monitors -j | jaq '.[] | select(.focused) | .activeWorkspace.id'
|
||||||
|
|
||||||
socat -u UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - |
|
socat -u UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - |
|
||||||
stdbuf -o0 awk -F '>>|,' -e '/^workspace>>/ {print $2}' -e '/^focusedmon>>/ {print $3}'
|
stdbuf -o0 awk -F '>>|,' -e '/^workspace>>/ {print $2}' -e '/^focusedmon>>/ {print $3}'
|
||||||
|
|
|
@ -9,4 +9,4 @@ esac
|
||||||
|
|
||||||
[ -n "$command" ] && pw-volume $command
|
[ -n "$command" ] && pw-volume $command
|
||||||
|
|
||||||
$2 update volume=$(pw-volume status | jq '.percentage // 10')
|
$2 update volume=$(pw-volume status | jaq '.percentage // 10')
|
||||||
|
|
Loading…
Reference in a new issue