diff --git a/hosts/desktop.nix b/hosts/desktop.nix index a60f013..1153ce0 100644 --- a/hosts/desktop.nix +++ b/hosts/desktop.nix @@ -50,9 +50,20 @@ in # To prevent `Unit dconf.service not found.` after theming GTK in HM programs.dconf.enable = true; - sound.enable = true; - hardware.pulseaudio.enable = true; - nixpkgs.config.pulseaudio = true; + #sound.enable = true; + #hardware.pulseaudio.enable = true; + #nixpkgs.config.pulseaudio = true; + + # rtkit is optional but recommended + security.rtkit.enable = true; + services.pipewire = { + enable = true; + alsa.enable = true; + alsa.support32Bit = true; + pulse.enable = true; + # If you want to use JACK applications, uncomment this + #jack.enable = true; + }; fonts = { enableDefaultFonts = false; diff --git a/modules/i3/power.sh b/modules/i3/power.sh index 9b3af73..0e1990d 100755 --- a/modules/i3/power.sh +++ b/modules/i3/power.sh @@ -1,7 +1,7 @@ POWER_OFF=" Power Off" REBOOT=" Reboot" SUSPEND=" Suspend" -LOG_OUT=" Log out" +LOG_OUT="󰗽 Log out" chosen=`printf "%s\n%s\n%s\n%s" "$POWER_OFF" "$REBOOT" "$SUSPEND" "$LOG_OUT" | rofi -dmenu -i -p ""`