Compare commits

...

4 commits

Author SHA1 Message Date
Nickiel12
b4d50ea4e8 added execptions for windows 2024-08-10 17:08:48 -07:00
Nickiel12
c724b1ea33 fixed hyprland change 2024-08-10 16:41:17 -07:00
Nickiel12
2661c477e9 rolled back faulty atuin version 2024-08-10 16:12:50 -07:00
Nickiel12
0f1c25d607 bash didn't always get the jq=jaq alias 2024-08-10 16:12:42 -07:00
7 changed files with 22 additions and 28 deletions

View file

@ -10,11 +10,11 @@
]
},
"locked": {
"lastModified": 1723066064,
"narHash": "sha256-xDFYPXWKJ5K6Nn/8u9vtlLv++6Eh5fCiHb3Vp3Giol8=",
"lastModified": 1721158338,
"narHash": "sha256-6E9z278Uh5tw2T9lQYq2SpTwmzq+/mKO99s8vZ9amgs=",
"owner": "atuinsh",
"repo": "atuin",
"rev": "ea991d5f453c5ec98f144b1ae1c61857c5096cc8",
"rev": "39824db32a1e6a1b794f3d0b8a1cce385dece19b",
"type": "github"
},
"original": {

View file

@ -1,4 +0,0 @@
#!/usr/env bash
echo "{ }"

View file

@ -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 }"

View file

@ -1,6 +1,6 @@
#!/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:$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - |
stdbuf -o0 awk -F '>>|,' -e '/^workspace>>/ {print $2}' -e '/^focusedmon>>/ {print $3}'

View file

@ -9,4 +9,4 @@ esac
[ -n "$command" ] && pw-volume $command
$2 update volume=$(pw-volume status | jq '.percentage // 10')
$2 update volume=$(pw-volume status | jaq '.percentage // 10')

View file

@ -14,6 +14,7 @@ in
imports = [
../ewwbar
./window_rules.nix
./keybinds.nix
./displays.nix
];

View file

@ -0,0 +1,14 @@
{lib, pkgs, ...}:
{
wayland.windowManager.hyprland.settings = {
# See here for details
# https://wiki.hyprland.org/Configuring/Window-Rules/#syntax
# to see active window details:
# hyprctl clients
windowrulev2 = [
"float,class:(Rofi)"
"float,title:(dbeaver)"
];
};
}