feat(homix): play around with xdg-desktop-portals
This commit is contained in:
parent
6fe404083b
commit
0532f7e843
3 changed files with 18 additions and 2 deletions
|
@ -155,4 +155,6 @@ wireplumber &
|
|||
|
||||
waybar &
|
||||
|
||||
riverctl float-filter-add "flameshot"
|
||||
|
||||
exec rivertile -view-padding 6 -outer-padding 6
|
||||
|
|
|
@ -119,6 +119,7 @@
|
|||
"WLR_NO_HARDWARE_CURSORS" = "1";
|
||||
"MOZ_DISABLE_RDD_SANDBOX" = "1";
|
||||
"EGL_PLATFORM" = "wayland";
|
||||
"XDG_CURRENT_DESKTOP" = "sway"; # river
|
||||
};
|
||||
|
||||
### Wayland specific
|
||||
|
@ -136,6 +137,11 @@
|
|||
};
|
||||
};
|
||||
|
||||
# Enable desktop portal
|
||||
xdg.portal.extraPortals = [
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
];
|
||||
|
||||
## X11 specific
|
||||
services.xserver = {
|
||||
layout = "us,bg";
|
||||
|
@ -164,7 +170,10 @@
|
|||
enable = true;
|
||||
};
|
||||
};
|
||||
services.dbus.enable = true;
|
||||
services.dbus = {
|
||||
enable = true;
|
||||
packages = [ pkgs.dconf ];
|
||||
};
|
||||
|
||||
### Enable touchpad support (enabled default in most desktopManager).
|
||||
# services.xserver.libinput.enable = true;
|
||||
|
@ -194,6 +203,7 @@
|
|||
environment.systemPackages = with pkgs; [
|
||||
river
|
||||
xdg-desktop-portal
|
||||
xdg-desktop-portal-wlr
|
||||
neovim
|
||||
wget
|
||||
git
|
||||
|
|
|
@ -26,10 +26,14 @@
|
|||
|
||||
home.packages = with pkgs; [
|
||||
## WM
|
||||
river # window manager
|
||||
river
|
||||
swww # wallpaper deamon
|
||||
# wired-notify # dunst on wayland
|
||||
waybar # status bar
|
||||
xwayland
|
||||
wl-clipboard
|
||||
slurp # select regions from wayland
|
||||
grim # grap images from regions
|
||||
|
||||
## Terminals
|
||||
wezterm
|
||||
|
|
Loading…
Reference in a new issue