mirror of
https://github.com/Moe1369/nix-fleet.git
synced 2026-04-24 15:59:06 +02:00
xdg user dirs
This commit is contained in:
@@ -3,7 +3,20 @@
|
|||||||
flake.homeModules.kde-usr-plasma-deck = { config, ... }:
|
flake.homeModules.kde-usr-plasma-deck = { config, ... }:
|
||||||
{
|
{
|
||||||
|
|
||||||
home.file."Desktop/Spielmodus.desktop".text = ''
|
xdg.userDirs = {
|
||||||
|
enable = true;
|
||||||
|
createDirectories = true;
|
||||||
|
desktop = "${config.home.homeDirectory}/Schreibtisch";
|
||||||
|
download = "${config.home.homeDirectory}/Downloads";
|
||||||
|
templates = "${config.home.homeDirectory}/Vorlagen";
|
||||||
|
publicShare = "${config.home.homeDirectory}/Öffentlich";
|
||||||
|
documents = "${config.home.homeDirectory}/Dokumente";
|
||||||
|
music = "${config.home.homeDirectory}/Musik";
|
||||||
|
pictures = "${config.home.homeDirectory}/Bilder";
|
||||||
|
videos = "${config.home.homeDirectory}/Videos";
|
||||||
|
};
|
||||||
|
|
||||||
|
home.file."Schreibtisch/Spielmodus.desktop".text = ''
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=Spielmodus
|
Name=Spielmodus
|
||||||
Exec=qdbus org.kde.Shutdown /Shutdown org.kde.Shutdown.logout
|
Exec=qdbus org.kde.Shutdown /Shutdown org.kde.Shutdown.logout
|
||||||
@@ -12,6 +25,7 @@
|
|||||||
Type=Application
|
Type=Application
|
||||||
Categories=Game;
|
Categories=Game;
|
||||||
'';
|
'';
|
||||||
|
|
||||||
imports = [ inputs.plasma-manager.homeModules.plasma-manager ];
|
imports = [ inputs.plasma-manager.homeModules.plasma-manager ];
|
||||||
home.file."Code/.directory".source = ./dotfiles/code-folder;
|
home.file."Code/.directory".source = ./dotfiles/code-folder;
|
||||||
home.file.".config/haruna/haruna.conf".source = ./dotfiles/haruna-config;
|
home.file.".config/haruna/haruna.conf".source = ./dotfiles/haruna-config;
|
||||||
@@ -68,7 +82,7 @@
|
|||||||
location = "bottom";
|
location = "bottom";
|
||||||
floating = true;
|
floating = true;
|
||||||
alignment = "center";
|
alignment = "center";
|
||||||
height = 46;
|
height = 48;
|
||||||
lengthMode = "fit";
|
lengthMode = "fit";
|
||||||
hiding = "dodgewindows";
|
hiding = "dodgewindows";
|
||||||
widgets = [
|
widgets = [
|
||||||
|
|||||||
Reference in New Issue
Block a user