This commit is contained in:
Sebastian Moser
2025-03-03 12:59:53 +01:00
parent 7204592732
commit 6a546d9f86
19 changed files with 696 additions and 116 deletions

View File

@@ -1,7 +1,8 @@
#!/bin/sh
if [ -f "htldoc.nix" ]; then
htldocUrl=$(nix eval --expr 'let config = (import ./htldoc.nix {}); in if builtins.hasAttr "htldocVersion" config then config.htldocVersion else "github:c2vi/htldoc/master"' --impure)
htldocUrl=$(nix eval --expr 'let config = (import ./htldoc.nix {}); in if builtins.hasAttr "htldocVersion" config then config.htldocVersion else "github:c2vi/htldoc/master"' --impure --raw)
echo htldocUrl: $htldocUrl
nix run $htldocUrl -- $@
else
nix run github:c2vi/htldoc/master -- $@

View File

@@ -104,6 +104,7 @@ cat /sys/class/power_supply/BAT1/status
elif [ "$1" == "hibernate" ]
then
swaylock
sudo systemctl hibernate

View File

@@ -1,3 +1,3 @@
#!/bin/bash
~/work/config/scripts/win -o main-win 192.168.122.98 sebastian $@
~/work/config/scripts/win -o win 192.168.122.141 me $@