diff --git a/entropy/nixos/configuration.nix b/entropy/nixos/configuration.nix index 84d6710..9ba787b 100644 --- a/entropy/nixos/configuration.nix +++ b/entropy/nixos/configuration.nix @@ -217,6 +217,11 @@ in xdg.portal = { enable = true; gtkUsePortal = true; + extraPortals = with pkgs; [ + xdg-desktop-portal-wlr + xdg-desktop-portal-kde + #xdg-desktop-portal-gtk + ]; wlr = { enable = true; settings = { diff --git a/entropy/nixos/modules/audio.nix b/entropy/nixos/modules/audio.nix index a2e6741..d598fae 100644 --- a/entropy/nixos/modules/audio.nix +++ b/entropy/nixos/modules/audio.nix @@ -11,10 +11,10 @@ ## use Pipewire instead. #hardware.pulseaudio.enable = false; - ## rtkit is optional but recommended - #security.rtkit.enable = true; - #services.pipewire = { - #enable = true; + # rtkit is optional but recommended + security.rtkit.enable = true; + services.pipewire = { + enable = true; #alsa.enable = true; #alsa.support32Bit = true; #pulse.enable = true; @@ -93,7 +93,7 @@ ##} ##]; - #}; + }; #sound.mediaKeys.enable = true; diff --git a/entropy/nvim/init.vim b/entropy/nvim/init.vim index 7e78048..3ee1250 100644 --- a/entropy/nvim/init.vim +++ b/entropy/nvim/init.vim @@ -93,7 +93,7 @@ set backspace=indent,eol,start " map the leader key to , let mapleader="," -let $FZF_DEFAULT_COMMAND = 'rg --files --hidden' +let $FZF_DEFAULT_COMMAND = 'rg --files --hidden --iglob "!.git/*"' " Cycling through windows and tabs " nnoremap j diff --git a/entropy/sway/config b/entropy/sway/config index 9e5c2ea..3190d0d 100644 --- a/entropy/sway/config +++ b/entropy/sway/config @@ -34,6 +34,11 @@ set $menu bemenu-run --monitor=all | xargs swaymsg exec -- output * bg ~/Pictures/wall.jpg fill +# announce a running sway session to systemd +exec systemctl --user import-environment XDG_SESSION_TYPE XDG_CURRENT_DESKTOP +exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway +#exec dbus-update-activation-environment WAYLAND_DISPLAY + ### Idle configuration # # Example configuration: