mirror of
https://github.com/Feliix42/dotfiles.git
synced 2024-11-22 14:06:30 +00:00
Finally fix xdg portal, enable screen sharing \o/
This commit is contained in:
parent
a59b7990a9
commit
dff13dc683
4 changed files with 16 additions and 6 deletions
|
@ -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 = {
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue