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 = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
#package = pkgs.hyprland-patched;
|
#package = pkgs.hyprland-patched;
|
||||||
|
|
@ -41,7 +42,6 @@
|
||||||
"col.active_border" = "rgba(33ccffee) rgba(00ff99ee) 45deg";
|
"col.active_border" = "rgba(33ccffee) rgba(00ff99ee) 45deg";
|
||||||
"col.inactive_border" = "rgba(595959aa)";
|
"col.inactive_border" = "rgba(595959aa)";
|
||||||
|
|
||||||
|
|
||||||
layout = "dwindle";
|
layout = "dwindle";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -108,7 +108,17 @@
|
||||||
hyprshot = lib.getExe pkgs.hyprshot;
|
hyprshot = lib.getExe pkgs.hyprshot;
|
||||||
wofi = lib.getExe pkgs.wofi;
|
wofi = lib.getExe pkgs.wofi;
|
||||||
swaylock = lib.getExe pkgs.swaylock;
|
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
|
in
|
||||||
[
|
[
|
||||||
# Main binds
|
# Main binds
|
||||||
|
|
@ -194,12 +204,22 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
xdg = {
|
||||||
|
userDirs = {
|
||||||
|
enable = true;
|
||||||
|
createDirectories = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
xdgOpenUsePortal = true;
|
xdgOpenUsePortal = true;
|
||||||
|
|
||||||
extraPortals = [
|
extraPortals = [
|
||||||
pkgs.xdg-desktop-portal-hyprland
|
pkgs.xdg-desktop-portal-hyprland
|
||||||
];
|
];
|
||||||
|
|
||||||
config.common.default = "*";
|
config.common.default = "*";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue