feat: use xdg userdirs
This commit is contained in:
parent
73349db100
commit
70f9ea150d
1 changed files with 23 additions and 3 deletions
|
|
@ -1,4 +1,5 @@
|
|||
{ lib, pkgs, ... }: {
|
||||
{ lib, pkgs, ... }:
|
||||
{
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
#package = pkgs.hyprland-patched;
|
||||
|
|
@ -41,7 +42,6 @@
|
|||
"col.active_border" = "rgba(33ccffee) rgba(00ff99ee) 45deg";
|
||||
"col.inactive_border" = "rgba(595959aa)";
|
||||
|
||||
|
||||
layout = "dwindle";
|
||||
};
|
||||
|
||||
|
|
@ -108,7 +108,17 @@
|
|||
hyprshot = lib.getExe pkgs.hyprshot;
|
||||
wofi = lib.getExe pkgs.wofi;
|
||||
swaylock = lib.getExe pkgs.swaylock;
|
||||
workspaces = [ "1" "2" "3" "4" "5" "6" "7" "8" "9" ];
|
||||
workspaces = [
|
||||
"1"
|
||||
"2"
|
||||
"3"
|
||||
"4"
|
||||
"5"
|
||||
"6"
|
||||
"7"
|
||||
"8"
|
||||
"9"
|
||||
];
|
||||
in
|
||||
[
|
||||
# Main binds
|
||||
|
|
@ -194,12 +204,22 @@
|
|||
};
|
||||
};
|
||||
|
||||
xdg = {
|
||||
userDirs = {
|
||||
enable = true;
|
||||
createDirectories = true;
|
||||
};
|
||||
};
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
|
||||
xdgOpenUsePortal = true;
|
||||
|
||||
extraPortals = [
|
||||
pkgs.xdg-desktop-portal-hyprland
|
||||
];
|
||||
|
||||
config.common.default = "*";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue