feat(homix): play around with xdg-desktop-portals

This commit is contained in:
reo101 2023-02-17 02:46:09 +02:00
parent 6fe404083b
commit 0532f7e843
Signed by: reo101
GPG key ID: 675AA7EF13964ACB
3 changed files with 18 additions and 2 deletions

View file

@ -155,4 +155,6 @@ wireplumber &
waybar & waybar &
riverctl float-filter-add "flameshot"
exec rivertile -view-padding 6 -outer-padding 6 exec rivertile -view-padding 6 -outer-padding 6

View file

@ -119,6 +119,7 @@
"WLR_NO_HARDWARE_CURSORS" = "1"; "WLR_NO_HARDWARE_CURSORS" = "1";
"MOZ_DISABLE_RDD_SANDBOX" = "1"; "MOZ_DISABLE_RDD_SANDBOX" = "1";
"EGL_PLATFORM" = "wayland"; "EGL_PLATFORM" = "wayland";
"XDG_CURRENT_DESKTOP" = "sway"; # river
}; };
### Wayland specific ### Wayland specific
@ -136,6 +137,11 @@
}; };
}; };
# Enable desktop portal
xdg.portal.extraPortals = [
pkgs.xdg-desktop-portal-gtk
];
## X11 specific ## X11 specific
services.xserver = { services.xserver = {
layout = "us,bg"; layout = "us,bg";
@ -164,7 +170,10 @@
enable = true; enable = true;
}; };
}; };
services.dbus.enable = true; services.dbus = {
enable = true;
packages = [ pkgs.dconf ];
};
### Enable touchpad support (enabled default in most desktopManager). ### Enable touchpad support (enabled default in most desktopManager).
# services.xserver.libinput.enable = true; # services.xserver.libinput.enable = true;
@ -194,6 +203,7 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
river river
xdg-desktop-portal xdg-desktop-portal
xdg-desktop-portal-wlr
neovim neovim
wget wget
git git

View file

@ -26,10 +26,14 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
## WM ## WM
river # window manager river
swww # wallpaper deamon swww # wallpaper deamon
# wired-notify # dunst on wayland # wired-notify # dunst on wayland
waybar # status bar waybar # status bar
xwayland
wl-clipboard
slurp # select regions from wayland
grim # grap images from regions
## Terminals ## Terminals
wezterm wezterm