oh hey thats nice
This commit is contained in:
parent
542d57342e
commit
c4fa167aaa
3 changed files with 15 additions and 1 deletions
|
@ -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=""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue