oh hey thats nice

This commit is contained in:
Reid 2025-01-02 16:19:49 -06:00
parent 542d57342e
commit c4fa167aaa
Signed by: reidlab
GPG key ID: DAF5EAF6665839FD
3 changed files with 15 additions and 1 deletions

View file

@ -76,6 +76,8 @@ in {
};
"custom/power" = let
powerMenuScript = pkgs.writeShellScript "power-menu" ''
set -euo pipefail
cmd=$(echo ' shutdown| reboot| lock| exit desktop environment' | ${lib.getExe pkgs.rofi-wayland} -dmenu -sep '|' -i -p 'what to do ?' -theme-str 'window { height: 132px; }')
case "$cmd" in
" shutdown")
@ -263,6 +265,8 @@ in {
# https://github.com/chubin/wttr.in/issues/795
# i was NOT going to let ip-based location be a thing. i was suprisingly medicated when i wrote this
locationScript = pkgs.writeShellScript "location" ''
set -euo pipefail
lon=""
lat=""