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 = { xdg.portal = {
enable = true; enable = true;
gtkUsePortal = true; gtkUsePortal = true;
extraPortals = with pkgs; [
xdg-desktop-portal-wlr
xdg-desktop-portal-kde
#xdg-desktop-portal-gtk
];
wlr = { wlr = {
enable = true; enable = true;
settings = { settings = {

View file

@ -11,10 +11,10 @@
## use Pipewire instead. ## use Pipewire instead.
#hardware.pulseaudio.enable = false; #hardware.pulseaudio.enable = false;
## rtkit is optional but recommended # rtkit is optional but recommended
#security.rtkit.enable = true; security.rtkit.enable = true;
#services.pipewire = { services.pipewire = {
#enable = true; enable = true;
#alsa.enable = true; #alsa.enable = true;
#alsa.support32Bit = true; #alsa.support32Bit = true;
#pulse.enable = true; #pulse.enable = true;
@ -93,7 +93,7 @@
##} ##}
##]; ##];
#}; };
#sound.mediaKeys.enable = true; #sound.mediaKeys.enable = true;

View file

@ -93,7 +93,7 @@ set backspace=indent,eol,start
" map the leader key to , " map the leader key to ,
let mapleader="," let mapleader=","
let $FZF_DEFAULT_COMMAND = 'rg --files --hidden' let $FZF_DEFAULT_COMMAND = 'rg --files --hidden --iglob "!.git/*"'
" Cycling through windows and tabs " Cycling through windows and tabs
" nnoremap j <C-W><C-J> " 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 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 ### Idle configuration
# #
# Example configuration: # Example configuration: