blob: 3f920d889d382060a348b994ea9f65d5d035ef2e (
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
|
{
config,
pkgs,
...
}: let
vars = import ./variables.nix;
in {
# XFCE configuration via xfconf
# Cassette futurism aesthetic with hidden menubars and retro settings
xfconf.settings = {
# Panel configuration
xfce4-panel = {
panels = [{
position = "p=8;x=0;y=0"; # Top panel
size = 32;
length = 100;
autohide = false;
background-style = 0; # System style
}];
};
# Window Manager (xfwm4)
xfwm4 = {
general = {
# Disable built-in compositor (picom handles effects)
use_compositing = false;
# Window snapping
snap_to_border = true;
snap_to_windows = true;
snap_width = 10;
# Font
title_font = "JetBrainsMono Nerd Font 11";
# Opacity
inactive_opacity = 90;
move_opacity = 90;
resize_opacity = 90;
popup_opacity = 90;
};
};
# Desktop settings
xfce4-desktop = {
backdrop = {
screen0 = {
monitor0 = {
workspace0 = {
# Wallpaper is handled by Stylix
image-style = 3; # Scaled
};
};
};
};
desktop-icons = {
# Hide all desktop icons
file-icons = {
show-filesystem = false;
show-home = false;
show-trash = false;
show-removable = false;
};
};
};
# Thunar file manager
thunar = {
# Hide menubar
last-menubar-visible = false;
# Show hidden files by default
last-show-hidden = true;
# Icon view as default
last-view = "ThunarIconView";
# Misc settings
misc-single-click = false;
misc-folders-first = true;
};
# xfce4-terminal
xfce4-terminal = {
# Hide menubar
misc-menubar-default = false;
# Unlimited scrolling
scrolling-unlimited = true;
# Font (Stylix handles this, but set fallback)
font-name = "JetBrainsMono Nerd Font 11";
# Misc
misc-bell = false;
misc-cursor-blinks = true;
misc-cursor-shape = "TERMINAL_CURSOR_SHAPE_BLOCK";
};
# GTK settings
xsettings = {
# Dark theme preference
"Net/ThemeName" = "Adwaita-dark";
"Gtk/ApplicationPreferDarkTheme" = 1;
# Toolbar icons only (no text)
"Gtk/ToolbarStyle" = 3; # Icons only
"Gtk/ToolbarIconSize" = 3; # Large icons
# Font rendering
"Xft/Antialias" = 1;
"Xft/Hinting" = 1;
"Xft/HintStyle" = "hintslight";
"Xft/RGBA" = "rgb";
"Xft/DPI" = 96;
};
};
# Additional GTK settings for menubar hiding
gtk.gtk3.extraCss = ''
/* Hide menubars globally in GTK3 applications */
.menubar {
opacity: 0;
min-height: 0;
padding: 0;
margin: 0;
}
'';
# Session variables
home.sessionVariables = {
# Ensure GTK uses dark theme
GTK_THEME = "Adwaita-dark";
};
}
|