diff --git a/assets/wallpapers/kde.png b/assets/wallpapers/kde.png index f5f6b01..d67050f 100644 Binary files a/assets/wallpapers/kde.png and b/assets/wallpapers/kde.png differ diff --git a/dotfiles/zsh/conf.d/nix.zsh b/dotfiles/zsh/conf.d/nix.zsh index b828b58..8caaafc 100644 --- a/dotfiles/zsh/conf.d/nix.zsh +++ b/dotfiles/zsh/conf.d/nix.zsh @@ -2,6 +2,10 @@ # Nix specific zsh configuration if [ -x "$(command -v nix)" ]; then - source "$NIX_SHELL_PLUGIN" + source "$NIX_SHELL_PLUGIN" + if [ -f "$HOME/.config/user-dirs.dirs" ]; then + source "$HOME/.config/user-dirs.dirs" + fi fi + diff --git a/home/default.nix b/home/default.nix index 547ccc6..30ba60d 100644 --- a/home/default.nix +++ b/home/default.nix @@ -14,6 +14,21 @@ home.username = "hu"; home.homeDirectory = "/home/hu"; home.stateVersion = config.system.stateVersion; + + xdg = { + enable = true; + userDirs = { + documents = "/home/hu/documents"; + download = "/home/hu/download"; + music = "/home/hu/music"; + pictures = "/home/hu/images"; + videos = "/home/hu/videos"; + + # I will never need this so they're getting hidden + publicShare = "/home/hu/.local/share/xdg/public"; + templates = "/home/hu/.local/share/xdg/templates"; + }; + }; }; }; diff --git a/modules/desktop/environments/kde.nix b/modules/desktop/environments/kde.nix index 3a89ad0..ea7bd62 100644 --- a/modules/desktop/environments/kde.nix +++ b/modules/desktop/environments/kde.nix @@ -19,14 +19,12 @@ in { ]; environment.persistence."/nix/persist".users.hu.directories = [ - ".local/share/konsole" ".local/share/kwalletd" ".local/share/baloo" ".local/share/dolphin" ]; environment.persistence."/nix/persist".users.hu.files = [ - ".config/konsolerc" ".config/kwinoutputconfig.json" # https://github.com/nix-community/plasma-manager/issues/172 ".local/state/konsolestaterc" ]; @@ -82,6 +80,24 @@ in { }; }; + programs.konsole = { + enable = true; + defaultProfile = "custom"; + customColorSchemes = { + "custom" = ../../packages/konsole/custom.colorscheme; + }; + profiles = { + custom = { + name = "custom"; + colorScheme = "custom"; + font = { + name = "Go Mono Nerd Font"; + size = 12; + }; + }; + }; + }; + programs.plasma = { enable = true; workspace = { @@ -99,7 +115,6 @@ in { icon = "nix-snowflake-white"; }; } - "org.kde.plasma.pager" { iconTasks = { launchers = [ @@ -110,7 +125,13 @@ in { }; } "org.kde.plasma.marginsseparator" - "org.kde.plasma.systemtray" + { + systemTray = { + icons = { + spacing = "small"; + }; + }; + } { digitalClock = { calendar.firstDayOfWeek = "monday"; @@ -118,7 +139,7 @@ in { date.enable = false; }; } - "org.kde.plasma.showdesktop" + "org.kde.plasma.pager" ]; } ]; diff --git a/modules/packages/konsole/custom.colorscheme b/modules/packages/konsole/custom.colorscheme new file mode 100644 index 0000000..f1a3bcf --- /dev/null +++ b/modules/packages/konsole/custom.colorscheme @@ -0,0 +1,100 @@ +[Background] +Color=35,38,39 + +[BackgroundFaint] +Color=49,54,59 + +[BackgroundIntense] +Color=0,0,0 + +[Color0] +Color=35,38,39 + +[Color0Faint] +Color=49,54,59 + +[Color0Intense] +Color=127,140,141 + +[Color1] +Color=237,21,21 + +[Color1Faint] +Color=120,50,40 + +[Color1Intense] +Color=192,57,43 + +[Color2] +Color=17,209,22 + +[Color2Faint] +Color=23,162,98 + +[Color2Intense] +Color=28,220,154 + +[Color3] +Color=246,116,0 + +[Color3Faint] +Color=182,86,25 + +[Color3Intense] +Color=253,188,75 + +[Color4] +Color=29,153,243 + +[Color4Faint] +Color=27,102,143 + +[Color4Intense] +Color=61,174,233 + +[Color5] +Color=155,89,182 + +[Color5Faint] +Color=97,74,115 + +[Color5Intense] +Color=142,68,173 + +[Color6] +Color=26,188,156 + +[Color6Faint] +Color=24,108,96 + +[Color6Intense] +Color=22,160,133 + +[Color7] +Color=252,252,252 + +[Color7Faint] +Color=99,104,109 + +[Color7Intense] +Color=255,255,255 + +[Foreground] +Color=252,252,252 + +[ForegroundFaint] +Color=239,240,241 + +[ForegroundIntense] +Color=61,174,233 + +[General] +Anchor=0.5,0.5 +Blur=false +ColorRandomization=false +Description=Custom +FillStyle=Tile +Opacity=0.9 +Wallpaper= +WallpaperFlipType=NoFlip +WallpaperOpacity=1 diff --git a/modules/packages/konsole/konsolestaterc b/modules/packages/konsole/konsolestaterc new file mode 100644 index 0000000..8eac825 --- /dev/null +++ b/modules/packages/konsole/konsolestaterc @@ -0,0 +1,4 @@ +[MainWindow] +1920x1080 screen: Height=640 +1920x1080 screen: Width=1138 +State=AAAA/wAAAAD9AAAAAQAAAAAAAAAAAAAAAPwCAAAAAvsAAAAiAFEAdQBpAGMAawBDAG8AbQBtAGEAbgBkAHMARABvAGMAawAAAAAA/////wAAAXIA////+wAAABwAUwBTAEgATQBhAG4AYQBnAGUAcgBEAG8AYwBrAAAAAAD/////AAABEQD///8AAARyAAACgAAAAAQAAAAEAAAACAAAAAj8AAAAAQAAAAIAAAACAAAAFgBtAGEAaQBuAFQAbwBvAGwAQgBhAHIAAAAAAP////8AAAAAAAAAAAAAABwAcwBlAHMAcwBpAG8AbgBUAG8AbwBsAGIAYQByAAAAAAD/////AAAAAAAAAAA=