Replace hyprpaper with wpaperd and get rid of hyprland

This commit is contained in:
Jimbo 2024-12-25 00:53:30 -05:00
parent 4565265f6e
commit c13f95df8f
22 changed files with 23 additions and 503 deletions

View file

@ -2,18 +2,15 @@
{
home.packages = with pkgs; [
(pkgs.writeScriptBin "makotoggle" ''
# Run makoctl mode and store the output in a variable
mode_output=$(makoctl mode)
# Extract the second line after "default"
mode_line=$(echo "$mode_output" | sed -n '/default/{n;p}')
if [[ "$mode_line" == "do-not-disturb" ]]; then
# Notifications are disabled, so we enable them
makoctl mode -r do-not-disturb
notify-send 'Notifications Enabled'
else
# Notifications are enabled, so we disable them
notify-send 'Notifications Disabled'
sleep 2
makoctl mode -a do-not-disturb