Update Plasma

This commit is contained in:
albert 2024-09-24 21:58:47 +09:00
parent 2308d28965
commit bcf32b384c
Signed by: albert
GPG key ID: 3895DD267CA11BA9
5 changed files with 28 additions and 11 deletions

View file

@ -63,7 +63,7 @@
# User Machines
nixos-desktop = libx.mkHost { hostname = "nixos-desktop"; unfree = true; desktop = "plasma6"; theme = "gruvbox"; };
nixos-framework = libx.mkHost { hostname = "nixos-framework"; unfree = true; desktop = "plasma6"; theme = "gruvbox"; };
steamdeck = libx.mkDeck { hostname = "steamdeck"; desktop = "plasma6"; theme = "gruvbox"; };
steamdeck = libx.mkDeck { hostname = "steamdeck"; desktop = "plasma6"; };
# Raspberry Pi's
backups-rpi4 = libx.mkHost { hostname = "backups-rpi4"; system = "aarch64-linux"; type = "small"; };
@ -85,7 +85,7 @@
# User Machines
"albert@nixos-desktop" = libx.mkHome { hostname = "nixos-desktop"; desktop = "plasma6"; theme = "gruvbox"; };
"albert@nixos-framework" = libx.mkHome { hostname = "nixos-framework"; desktop = "plasma6"; theme = "gruvbox"; };
"albert@steamdeck" = libx.mkHome { hostname = "steamdeck"; desktop = "plasma6"; theme = "gruvbox"; };
"albert@steamdeck" = libx.mkHome { hostname = "steamdeck"; desktop = "plasma6"; };
# Raspberry Pi's
"albert@backups-rpi4" = libx.mkHome { hostname = "backups-rpi4"; system = "aarch64-linux"; type = "small"; };

View file

@ -1,6 +1,7 @@
{ inputs, pkgs, ... }: {
{ inputs, theme, ... }: {
imports = [
inputs.plasma-manager.homeManagerModules.plasma-manager
../../../../stylix/themes/${theme}/home-manager/plasma6.nix
./plasma-manager.nix
];

View file

@ -26,12 +26,6 @@
};
};
kdeglobals = {
General = {
accentColorFromWallpaper = true;
};
};
kwinrc = {
# Set window border size
"org.kde.kdecoration2" = {
@ -61,7 +55,6 @@
workspace = {
clickItemTo = "select";
# iconTheme = "Breeze";
wallpaper = "/etc/nixos/git/wallpapers/${theme}/wallpaper1.png";
theme = "Arc-Dark";
colorScheme = "Arc";
@ -78,7 +71,8 @@
{
name = "org.kde.plasma.kicker";
config = {
General.icon = "nix-snowflake-white";
General.icon = "draw-circle";
# General.icon = "nix-snowflake-white";
};
}
{

View file

@ -28,6 +28,8 @@
kdePackages.kleopatra # GPG GUI
kdePackages.krdc # K Remote Desktop
kdePackages.kasts # Podcast player
kde-gruvbox
gruvbox-gtk-theme
# Audio button workaround
# plasma-pa

View file

@ -0,0 +1,20 @@
{ lib, ... }: {
programs.bash.sessionVariables = {
GTK_THEME = lib.mkForce "Gruvbox-Dark"; # To set the firefox theme
};
programs.fish.shellInit = lib.mkForce ''
set GTK_THEME "Gruvbox-Dark"
'';
services.darkman = {
darkModeScripts = {
apply-colorscheme-dark = lib.mkForce ''
/run/current-system/sw/bin/plasma-apply-colorscheme Gruvbox
'';
};
lightModeScripts = {
apply-colorscheme-light = lib.mkForce ''
/run/current-system/sw/bin/plasma-apply-colorscheme BreezeLight
'';
};
};
}