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 = {
|
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 = {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue