Compare commits

...

2 commits

Author SHA1 Message Date
873231511a
fix workspaces and window title widgets 2024-07-17 14:52:10 +02:00
62b98fbdf5
add godot et al 2024-07-17 14:51:42 +02:00
4 changed files with 9 additions and 4 deletions

View file

@ -1,3 +1,3 @@
#!/usr/bin/env bash
hyprctl activewindow -j | jq --raw-output .title
socat -u UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - | stdbuf -o0 awk -F '>>|,' '/^activewindow>>/{print $3}'
socat -u UNIX-CONNECT:$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - | stdbuf -o0 awk -F '>>|,' '/^activewindow>>/{print $3}'

View file

@ -2,5 +2,5 @@
hyprctl monitors -j | jq '.[] | select(.focused) | .activeWorkspace.id'
socat -u UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - |
socat -u UNIX-CONNECT:$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - |
stdbuf -o0 awk -F '>>|,' -e '/^workspace>>/ {print $2}' -e '/^focusedmon>>/ {print $3}'

View file

@ -6,6 +6,6 @@ spaces (){
}
spaces
socat -u UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - | while read -r line; do
socat -u UNIX-CONNECT:$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - | while read -r line; do
spaces
done

View file

@ -22,6 +22,10 @@
nextcloud-client
ausweisapp
godot_4
dotnet-runtime
blender
aseprite
# smt solver for liquid haskell
z3
@ -80,8 +84,9 @@
inputs.hyprland-contrib.packages.${pkgs.system}.grimblast
bluez
htop
gnome.file-roller
file-roller
zip
unzip
# yubikey
yubico-pam