Finally fix xdg portal, enable screen sharing \o/

This commit is contained in:
Felix Suchert 2022-08-26 16:00:33 +02:00
parent a59b7990a9
commit dff13dc683
Signed by: feliix42
GPG key ID: 24363525EA0E8A99
4 changed files with 16 additions and 6 deletions

View file

@ -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 = {

View file

@ -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;

View file

@ -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 <C-W><C-J>

View file

@ -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: