Skip to content

Commit acd7f38

Browse files
author
dotfiles-bot
committed
small update
1 parent 139f361 commit acd7f38

File tree

11 files changed

+175
-51
lines changed

11 files changed

+175
-51
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Este repo incluye módulos específicos diseñados para recrear un sistema de di
7575

7676
## 📂 Estructura y Mapeo
7777

78-
El "cerebro" del sistema es `install-mappings.yml`. El instalador lo utiliza para aplicar reglas declarativas:
78+
El encargado de "decidir" "donde ir" los archivos es `install-mappings.yml`. El instalador lo utiliza para aplicar reglas declarativas:
7979

8080
- `xdg:` → Enlaza a `~/.config/...`
8181
- `home:` → Enlaza directamente a la raíz del `$HOME`.

install-mappings.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ chrome-flags.conf|chrome:
5858
brave-flags.conf|brave: xdg:BraveSoftware/Brave-Browser/brave-flags.conf # modules/browsers/brave
5959
userChrome.css|firefox: ignore # modules/browsers/firefox (manual/profile - copy to Firefox profile directory)
6060
user.js|firefox: ignore # modules/browsers/firefox (manual/profile - copy to Firefox profile directory)
61+
epiphany-settings.sh|epiphany: ignore # modules/browsers/epiphany (aplicar con bash)
62+
falkon-settings.sh|falkon: ignore # modules/browsers/falkon (aplicar con bash)
6163

6264
#########################
6365
# modules/desktop/de & wm
@@ -267,6 +269,8 @@ argv.json|vscode: xdg:Code/User/argv.json # modules/editor/vscode (d
267269
vimrc|vim: xdg:vim/vimrc # modules/editor/vim (XDG_CONFIG_HOME/vim/vimrc)
268270
nanorc|nano: xdg:nano/nanorc # modules/editor/nano (DOS Edit style)
269271
xed-settings.sh|xed: ignore # modules/editor/xed (aplicar con bash - Linux Mint)
272+
styles/Chicago95.xml|xed: xdg_data:xed/styles/Chicago95.xml # modules/editor/xed/styles (GtkSourceView)
273+
xreader-settings.sh|xreader: ignore # modules/editor/xreader (aplicar con bash)
270274
images_chicago95.zip|editor: xdg:libreoffice/4/user/config # modules/editor/libreoffice/libreoffice-chicago95-iconset (Nested)
271275

272276
# Sublime Text

modules/browsers/brave/brave-flags.conf

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@
2727
# Start maximized
2828
--start-maximized
2929

30-
# Dark mode
31-
--force-dark-mode
32-
--enable-features=WebUIDarkMode
30+
# Retro Style (Windows 95/98)
31+
# Prioritize GTK3 and Native Theme
32+
--gtk-version=3
33+
--ozone-platform-hint=auto
3334

3435
# Tab strip compacto
3536
--compact-tab-strip
@@ -47,5 +48,5 @@
4748
--enable-features=DnsOverHttps
4849

4950
# ===== OTROS =====
50-
# GTK version
51-
--gtk-version=4
51+
# GTK version (Prioritize GTK3 for retro themes)
52+
--gtk-version=3

modules/browsers/chrome/chrome-flags.conf

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,13 @@
2727
# Start maximized (aprovechar pantalla)
2828
--start-maximized
2929

30-
# Compact mode (UI más pequeña)
31-
--compact-sidebar
32-
--enable-features=WebUIDarkMode
30+
# Retro Style (Windows 95/98)
31+
# Remove force-dark-mode to allow GTK theme consistency
32+
--gtk-version=3
33+
--ozone-platform-hint=auto
3334

34-
# Dark mode
35-
--force-dark-mode
36-
37-
# Tab strip compacto
35+
# UI settings for 1366x768
36+
--start-maximized
3837
--compact-tab-strip
3938

4039
# ===== PRIVACY & PERFORMANCE =====
@@ -47,6 +46,6 @@
4746
--enable-features=DnsOverHttps
4847

4948
# ===== OTROS =====
50-
# GTK version
51-
--gtk-version=4
49+
# GTK version (Prioritize GTK3 for retro themes)
50+
--gtk-version=3
5251

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Epiphany (GNOME Web) Preferences - Windows 95/98 Retro Style
2+
# Aplicar con: bash modules/browsers/epiphany/epiphany-settings.sh
3+
4+
# Desactivar modo oscuro (usar tema claro del sistema)
5+
gsettings set org.gnome.desktop.interface color-scheme 'prefer-light'
6+
7+
# UI Compacta
8+
gsettings set org.gnome.Epiphany ui-layout 'compact'
9+
gsettings set org.gnome.Epiphany.web enable-popups true
10+
11+
# Página de inicio clásica (blanco o gris)
12+
gsettings set org.gnome.Epiphany homepage-url 'about:blank'
13+
14+
# Fuente (aliased a MS Sans Serif si está disponible)
15+
gsettings set org.gnome.Epiphany.web default-font-family 'DejaVu Sans'
16+
gsettings set org.gnome.Epiphany.web sans-serif-font 'DejaVu Sans'
17+
gsettings set org.gnome.Epiphany.web serif-font 'DejaVu Serif'
18+
19+
echo "✓ Epiphany configurado con enfoque retro."
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Falkon Browser Preferences - Windows 95/98 Retro Style
2+
# Aplicar con: bash modules/browsers/falkon/falkon-settings.sh
3+
4+
# Falkon es Qt, así que heredará el tema Qt (Chicago95/Classic 98)
5+
# Aquí podemos forzar ciertos comportamientos en su archivo settings.ini
6+
7+
FALKON_CONFIG="$HOME/.config/falkon/settings.ini"
8+
9+
if [ -f "$FALKON_CONFIG" ]; then
10+
# Forzar uso de iconos del sistema (retro)
11+
sed -i 's/UseSystemIcons=false/UseSystemIcons=true/g' "$FALKON_CONFIG"
12+
# Forzar barra de herramientas tradicional
13+
sed -i 's/TitlebarCustomAppearance=true/TitlebarCustomAppearance=false/g' "$FALKON_CONFIG"
14+
echo "✓ Falkon configurado para heredar el estilo del sistema."
15+
else
16+
echo "⚠ No se encontró la configuración de Falkon en $FALKON_CONFIG"
17+
echo "Inicia Falkon una vez para generar los archivos base."
18+
fi

modules/desktop/gtk/gtk-3.0/gtk.css

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,38 @@
5151
* {
5252
font-family: "DejaVu Sans", sans-serif;
5353
font-size: 11pt;
54+
}
55+
56+
/* XApps & GNOME Web specific retro tweaks (Windows 95/98) */
57+
XedWindow,
58+
XreaderWindow,
59+
EphyWindow {
60+
background-color: @theme_bg_color;
61+
}
62+
63+
XedWindow .view,
64+
EphyWindow .view {
65+
background-color: @theme_base_color;
66+
color: @theme_text_color;
67+
}
68+
69+
/* Xreader/Evince/Epiphany viewport (Retro dark grey background) */
70+
EvView,
71+
XreaderView,
72+
EphyWebView {
73+
background-color: #7B7B7B;
74+
}
75+
76+
/* Toolbar button adjustments */
77+
XedWindow toolbar button,
78+
XreaderWindow toolbar button,
79+
EphyWindow toolbar button {
80+
border: 1px solid transparent;
81+
}
82+
83+
XedWindow toolbar button:hover,
84+
XreaderWindow toolbar button:hover,
85+
EphyWindow toolbar button:hover {
86+
border: 1px solid @border_color;
87+
background-color: rgba(255, 255, 255, 0.1);
5488
}

modules/desktop/gtk/gtk-4.0/gtk.css

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* GTK 3.0 CSS - Perfect Windows 95/98 Aesthetic Refinement */
1+
/* GTK 4.0 CSS - Perfect Windows 95/98 Aesthetic Refinement */
22

33
/* Global Font */
44
* {
@@ -7,7 +7,6 @@
77
-GtkHTML-cursor-color: #000000;
88
}
99

10-
/* Base Colors */
1110
/* Base Colors */
1211
@define-color retro_grey #d4d0c8;
1312
@define-color retro_blue #0a246a;
@@ -16,7 +15,6 @@
1615
@define-color retro_black #000000;
1716
@define-color retro_light_grey #eaeaea;
1817

19-
/* Global Backgrounds */
2018
/* Global Backgrounds */
2119
window,
2220
.background,
@@ -54,4 +52,24 @@ column-header {
5452
border: 1px solid @retro_black;
5553
box-shadow: inset 1px 1px @retro_white, inset -1px -1px @retro_shadow;
5654
padding: 2px;
55+
}
56+
57+
/* Epiphany (GNOME Web) GTK4 Retro Tweaks */
58+
window.web-browser {
59+
background-color: @retro_grey;
60+
}
61+
62+
/* Viewport / Page container background */
63+
window.web-browser .view {
64+
background-color: @retro_white;
65+
}
66+
67+
/* Toolbar buttons retro style */
68+
window.web-browser toolbar button {
69+
border: 1px solid transparent;
70+
}
71+
72+
window.web-browser toolbar button:hover {
73+
border: 1px solid @retro_shadow;
74+
background-color: rgba(255, 255, 255, 0.1);
5775
}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<style-scheme id="chicago95" _name="Chicago95" version="2.0">
3+
<author>Chicago95 Team / Retro Refinement</author>
4+
<description>Classic Windows 95 style for GtkSourceView</description>
5+
6+
<!-- Global Settings -->
7+
<style name="text" foreground="#000000" background="#FFFFFF"/>
8+
<style name="selection" background="#0A246A" foreground="#FFFFFF"/>
9+
<style name="cursor" foreground="#000000"/>
10+
<style name="current-line" background="#D4D0C8"/>
11+
<style name="line-numbers" foreground="#808080" background="#D4D0C8"/>
12+
<style name="draw-spaces" foreground="#D4D0C8"/>
13+
14+
<!-- Bracket Matching -->
15+
<style name="bracket-match" background="#D4D0C8" bold="true"/>
16+
<style name="bracket-mismatch" background="#FF0000" foreground="#FFFFFF" bold="true"/>
17+
18+
<!-- Syntax Highlighting - Classic Colors -->
19+
<style name="def:comment" foreground="#008000" italic="true"/>
20+
<style name="def:string" foreground="#800000"/>
21+
<style name="def:constant" foreground="#0000FF"/>
22+
<style name="def:keyword" foreground="#000080" bold="true"/>
23+
<style name="def:type" foreground="#000080" bold="true"/>
24+
<style name="def:preprocessor" foreground="#808080"/>
25+
<style name="def:identifier" foreground="#000000"/>
26+
<style name="def:statement" foreground="#000080" bold="true"/>
27+
<style name="def:error" background="#FF0000" foreground="#FFFFFF" bold="true"/>
28+
<style name="def:note" background="#FFFF00" foreground="#000000" bold="true"/>
29+
30+
</style-scheme>

modules/editor/xed/xed-settings.sh

Lines changed: 15 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,28 @@
1-
# Xed Editor Preferences - Optimizado para ThinkPad L420 (1366x768)
2-
# gsettings para Xed (fork de gedit para Linux Mint)
1+
# Xed Editor Preferences - Windows 95/98 Retro Style
2+
# Aplicar con: bash modules/editor/xed/xed-settings.sh
33

4-
# Similar a gedit pero con namespace diferente
5-
# Aplicar con: gsettings set org.x.editor.preferences.editor ...
6-
7-
cat > /tmp/apply-xed-settings.sh << 'EOF'
8-
#!/bin/bash
9-
# Xed config optimizado para 1366x768
10-
11-
# Fuente pequeña
12-
gsettings set org.x.editor.preferences.editor editor-font 'Monospace 9'
4+
# Font: Usar la fuente del sistema (aliased a MS Sans Serif) o Monospace
5+
gsettings set org.x.editor.preferences.editor editor-font 'MS Sans Serif 9'
136
gsettings set org.x.editor.preferences.editor use-default-font false
147

15-
# Números de línea
16-
gsettings set org.x.editor.preferences.editor display-line-numbers true
8+
# Esquema de colores: Chicago95 (el que acabamos de crear)
9+
gsettings set org.x.editor.preferences.editor scheme 'chicago95'
1710

18-
# Resaltar línea actual
11+
# UI Elements
12+
gsettings set org.x.editor.preferences.editor display-line-numbers true
1913
gsettings set org.x.editor.preferences.editor highlight-current-line true
20-
21-
# Resaltar paréntesis
2214
gsettings set org.x.editor.preferences.editor bracket-matching true
15+
gsettings set org.x.editor.preferences.editor display-right-margin false
16+
gsettings set org.x.editor.preferences.editor display-overview-map false
2317

24-
# Tabs a espacios
18+
# Indentación
2519
gsettings set org.x.editor.preferences.editor tabs-size 4
2620
gsettings set org.x.editor.preferences.editor insert-spaces true
27-
28-
# Auto-indent
2921
gsettings set org.x.editor.preferences.editor auto-indent true
3022

31-
# Wrap
23+
# Comportamiento
3224
gsettings set org.x.editor.preferences.editor wrap-mode 'word'
25+
gsettings set org.x.editor.preferences.editor restore-cursor-position true
3326

34-
# Tema oscuro
35-
gsettings set org.x.editor.preferences.editor scheme 'oblivion'
36-
37-
# Sin minimap (ganar espacio horizontal)
38-
gsettings set org.x.editor.preferences.editor display-overview-map false
39-
40-
# Sin right margin (más espacio)
41-
gsettings set org.x.editor.preferences.editor display-right-margin false
42-
43-
echo "Xed configurado para ThinkPad L420 (1366x768)"
44-
EOF
45-
46-
chmod +x /tmp/apply-xed-settings.sh
27+
echo "✓ Xed configurado con estilo Windows 95/98."
28+
echo "Nota: Asegúrate de instalar el archivo Chicago95.xml en ~/.local/share/xed/styles/"

0 commit comments

Comments
 (0)