aboutsummaryrefslogtreecommitdiff
path: root/home/rices/cassette-futurism/plasma.nix
blob: 8e838923b579de46eace2fb616847bb108b549a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
{
  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
      LookAndFeelPackage=org.kde.breezedark.desktop
      widgetStyle=Breeze

      [Icons]
      Theme=breeze-dark

      [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/
  '';
}