aboutsummaryrefslogtreecommitdiff
path: root/home/rices/cassette-futurism/plasma.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home/rices/cassette-futurism/plasma.nix')
-rw-r--r--home/rices/cassette-futurism/plasma.nix232
1 files changed, 232 insertions, 0 deletions
diff --git a/home/rices/cassette-futurism/plasma.nix b/home/rices/cassette-futurism/plasma.nix
new file mode 100644
index 0000000..ed685c1
--- /dev/null
+++ b/home/rices/cassette-futurism/plasma.nix
@@ -0,0 +1,232 @@
+{
+ config,
+ pkgs,
+ ...
+}: let
+ vars = import ./variables.nix;
+in {
+ # KDE Plasma configuration via xdg config files
+ # This provides basic theming until plasma-manager is available
+
+ xdg.configFile = {
+ # Plasma color scheme - cassette futurism
+ "kdeglobals".text = ''
+ [ColorEffects:Disabled]
+ Color=${vars.colors.gray3}
+ ColorAmount=0
+ ColorEffect=0
+ ContrastAmount=0.65
+ ContrastEffect=1
+ IntensityAmount=0.1
+ IntensityEffect=2
+
+ [ColorEffects:Inactive]
+ ChangeSelectionColor=true
+ Color=${vars.colors.gray4}
+ ColorAmount=0.025
+ ColorEffect=2
+ ContrastAmount=0.1
+ ContrastEffect=2
+ Enable=false
+ IntensityAmount=0
+ IntensityEffect=0
+
+ [Colors:Button]
+ BackgroundAlternate=${vars.colors.backgroundAlt}
+ BackgroundNormal=${vars.colors.background}
+ DecorationFocus=${vars.colors.hotPink}
+ DecorationHover=${vars.colors.cyan}
+ ForegroundActive=${vars.colors.cyan}
+ ForegroundInactive=${vars.colors.gray4}
+ ForegroundLink=${vars.colors.purple}
+ ForegroundNegative=${vars.colors.error}
+ ForegroundNeutral=${vars.colors.warning}
+ ForegroundNormal=${vars.colors.foreground}
+ ForegroundPositive=${vars.colors.success}
+ ForegroundVisited=${vars.colors.magenta}
+
+ [Colors:Selection]
+ BackgroundAlternate=${vars.colors.purple}
+ BackgroundNormal=${vars.colors.hotPink}
+ DecorationFocus=${vars.colors.cyan}
+ DecorationHover=${vars.colors.magenta}
+ ForegroundActive=${vars.colors.background}
+ ForegroundInactive=${vars.colors.gray2}
+ ForegroundLink=${vars.colors.cyan}
+ ForegroundNegative=${vars.colors.error}
+ ForegroundNeutral=${vars.colors.warning}
+ ForegroundNormal=${vars.colors.background}
+ ForegroundPositive=${vars.colors.success}
+ ForegroundVisited=${vars.colors.purple}
+
+ [Colors:Tooltip]
+ BackgroundAlternate=${vars.colors.backgroundAlt}
+ BackgroundNormal=${vars.colors.gray2}
+ DecorationFocus=${vars.colors.hotPink}
+ DecorationHover=${vars.colors.cyan}
+ ForegroundActive=${vars.colors.cyan}
+ ForegroundInactive=${vars.colors.gray4}
+ ForegroundLink=${vars.colors.purple}
+ ForegroundNegative=${vars.colors.error}
+ ForegroundNeutral=${vars.colors.warning}
+ ForegroundNormal=${vars.colors.foreground}
+ ForegroundPositive=${vars.colors.success}
+ ForegroundVisited=${vars.colors.magenta}
+
+ [Colors:View]
+ BackgroundAlternate=${vars.colors.backgroundAlt}
+ BackgroundNormal=${vars.colors.background}
+ DecorationFocus=${vars.colors.hotPink}
+ DecorationHover=${vars.colors.cyan}
+ ForegroundActive=${vars.colors.cyan}
+ ForegroundInactive=${vars.colors.gray4}
+ ForegroundLink=${vars.colors.purple}
+ ForegroundNegative=${vars.colors.error}
+ ForegroundNeutral=${vars.colors.warning}
+ ForegroundNormal=${vars.colors.foreground}
+ ForegroundPositive=${vars.colors.success}
+ ForegroundVisited=${vars.colors.magenta}
+
+ [Colors:Window]
+ BackgroundAlternate=${vars.colors.backgroundAlt}
+ BackgroundNormal=${vars.colors.background}
+ DecorationFocus=${vars.colors.hotPink}
+ DecorationHover=${vars.colors.cyan}
+ ForegroundActive=${vars.colors.cyan}
+ ForegroundInactive=${vars.colors.gray4}
+ ForegroundLink=${vars.colors.purple}
+ ForegroundNegative=${vars.colors.error}
+ ForegroundNeutral=${vars.colors.warning}
+ ForegroundNormal=${vars.colors.foreground}
+ ForegroundPositive=${vars.colors.success}
+ ForegroundVisited=${vars.colors.magenta}
+
+ [General]
+ ColorScheme=CassetteFuturism
+ Name=Cassette Futurism
+ shadeSortColumn=true
+
+ [KDE]
+ contrast=4
+
+ [WM]
+ activeBackground=${vars.colors.background}
+ activeBlend=${vars.colors.foreground}
+ activeForeground=${vars.colors.foreground}
+ inactiveBackground=${vars.colors.backgroundAlt}
+ inactiveBlend=${vars.colors.gray3}
+ inactiveForeground=${vars.colors.gray4}
+ '';
+
+ # KWin effects - enable blur and translucency for that retro-futuristic look
+ "kwinrc".text = ''
+ [Compositing]
+ OpenGLIsUnsafe=false
+ Backend=OpenGL
+
+ [Effect-Blur]
+ BlurStrength=8
+
+ [Effect-translucency]
+ Inactive=90
+ MoveResize=80
+
+ [Plugins]
+ blurEnabled=true
+ contrastEnabled=true
+ kwin4_effect_translucencyEnabled=true
+ slideEnabled=true
+ zoomEnabled=false
+ '';
+
+ # Konsole color scheme
+ "konsole/CassetteFuturism.colorscheme".text = ''
+ [Background]
+ Color=${vars.colors.background}
+
+ [BackgroundIntense]
+ Color=${vars.colors.backgroundAlt}
+
+ [Foreground]
+ Color=${vars.colors.foreground}
+
+ [ForegroundIntense]
+ Color=${vars.colors.cyan}
+
+ [Color0]
+ Color=${vars.colors.gray0}
+
+ [Color0Intense]
+ Color=${vars.colors.gray3}
+
+ [Color1]
+ Color=${vars.colors.error}
+
+ [Color1Intense]
+ Color=${vars.colors.hotPink}
+
+ [Color2]
+ Color=${vars.colors.success}
+
+ [Color2Intense]
+ Color=${vars.colors.foreground}
+
+ [Color3]
+ Color=${vars.colors.warning}
+
+ [Color3Intense]
+ Color=${vars.colors.yellow}
+
+ [Color4]
+ Color=${vars.colors.purple}
+
+ [Color4Intense]
+ Color=${vars.colors.magenta}
+
+ [Color5]
+ Color=${vars.colors.magenta}
+
+ [Color5Intense]
+ Color=${vars.colors.hotPink}
+
+ [Color6]
+ Color=${vars.colors.cyan}
+
+ [Color6Intense]
+ Color=${vars.colors.info}
+
+ [Color7]
+ Color=${vars.colors.gray5}
+
+ [Color7Intense]
+ Color=#FFFFFF
+
+ [General]
+ Description=Cassette Futurism
+ Opacity=0.95
+ Wallpaper=
+ '';
+
+ # Konsole profile
+ "konsole/CassetteFuturism.profile".text = ''
+ [Appearance]
+ ColorScheme=CassetteFuturism
+ Font=JetBrainsMono Nerd Font,11,-1,5,50,0,0,0,0,0
+
+ [General]
+ Name=Cassette Futurism
+ Parent=FALLBACK/
+ '';
+ };
+
+ # Set default Konsole profile
+ home.file.".local/share/konsole/CassetteFuturism.profile".text = ''
+ [Appearance]
+ ColorScheme=CassetteFuturism
+ Font=JetBrainsMono Nerd Font,11,-1,5,50,0,0,0,0,0
+
+ [General]
+ Name=Cassette Futurism
+ Parent=FALLBACK/
+ '';
+}