mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-24 13:45:29 -08:00
Compare commits
No commits in common. "b4d50ea4e8bc052bc0ac1d9569df853459fdd4f8" and "5c4b11a9c18be4eb431577627dcfb2bf7280ce20" have entirely different histories.
b4d50ea4e8
...
5c4b11a9c1
7 changed files with 28 additions and 22 deletions
|
@ -10,11 +10,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1721158338,
|
"lastModified": 1723066064,
|
||||||
"narHash": "sha256-6E9z278Uh5tw2T9lQYq2SpTwmzq+/mKO99s8vZ9amgs=",
|
"narHash": "sha256-xDFYPXWKJ5K6Nn/8u9vtlLv++6Eh5fCiHb3Vp3Giol8=",
|
||||||
"owner": "atuinsh",
|
"owner": "atuinsh",
|
||||||
"repo": "atuin",
|
"repo": "atuin",
|
||||||
"rev": "39824db32a1e6a1b794f3d0b8a1cce385dece19b",
|
"rev": "ea991d5f453c5ec98f144b1ae1c61857c5096cc8",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
4
modules/ewwbar/eww-config/scripts/clock_background
Executable file
4
modules/ewwbar/eww-config/scripts/clock_background
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/env bash
|
||||||
|
|
||||||
|
|
||||||
|
echo "{ }"
|
17
modules/ewwbar/eww-config/scripts/clock_background.sh
Executable file
17
modules/ewwbar/eww-config/scripts/clock_background.sh
Executable file
|
@ -0,0 +1,17 @@
|
||||||
|
#!/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 | jaq '.[] | select(.focused) | .activeWorkspace.id'
|
hyprctl monitors -j | jq '.[] | select(.focused) | .activeWorkspace.id'
|
||||||
|
|
||||||
socat -u UNIX-CONNECT:$XDG_RUNTIME_DIR/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 | jaq '.percentage // 10')
|
$2 update volume=$(pw-volume status | jq '.percentage // 10')
|
||||||
|
|
|
@ -14,7 +14,6 @@ in
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
../ewwbar
|
../ewwbar
|
||||||
./window_rules.nix
|
|
||||||
./keybinds.nix
|
./keybinds.nix
|
||||||
./displays.nix
|
./displays.nix
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
{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)"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Reference in a new issue