Asahi: Tastatur de+mac, gammastep, window-list deaktiviert
setup-base-asahi.sh: - gammastep in Paketliste aufgenommen setup-desktop-asahi.sh: - Tastatur auf deutsches Mac-Layout (de+mac) - window-list Extension deaktiviert (Dash to Panel ersetzt sie) - gammastep als Blaulichtfilter (Night Light nicht verfuegbar auf Asahi) - gammastep Autostart eingerichtet
This commit is contained in:
parent
3f33bdf776
commit
f91383b927
2 changed files with 36 additions and 0 deletions
|
|
@ -73,6 +73,7 @@ dnf install -y \
|
|||
zoxide \
|
||||
htop btop \
|
||||
fastfetch \
|
||||
gammastep \
|
||||
|| warn "Einige Terminal-Tools konnten nicht installiert werden"
|
||||
|
||||
# Spass-Tools
|
||||
|
|
|
|||
|
|
@ -187,10 +187,17 @@ if gnome-extensions list 2>/dev/null | grep -q dash-to-panel; then
|
|||
dconf write /org/gnome/shell/extensions/dash-to-panel/panel-positions '"{\"0\":\"TOP\"}"'
|
||||
dconf write /org/gnome/shell/extensions/dash-to-panel/panel-sizes '"{\"0\":32}"'
|
||||
ok "Dash to Panel aktiviert (oben, 32px)"
|
||||
# window-list deaktivieren (untere Leiste, wird durch Dash to Panel ersetzt)
|
||||
gnome-extensions disable window-list@gnome-shell-extensions.gcampax.github.com 2>/dev/null || true
|
||||
ok "window-list deaktiviert (keine doppelte Leiste)"
|
||||
else
|
||||
warn "Dash to Panel nicht installiert — mit 'sudo dnf install gnome-shell-extension-dash-to-panel' nachinstallieren"
|
||||
fi
|
||||
|
||||
# Tastatur: deutsches Mac-Layout (Option+N=~, Option+L=@, Option+7=|)
|
||||
gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'de+mac')]"
|
||||
ok "Tastatur: deutsches Mac-Layout"
|
||||
|
||||
# Energieeinstellungen: am Netzteil nicht dimmen/ausschalten
|
||||
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type 'nothing'
|
||||
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout 900
|
||||
|
|
@ -215,6 +222,34 @@ if [[ -n "$GNOME_TERM_PROFILE" ]]; then
|
|||
ok "GNOME Terminal: MesloLGS NF 11"
|
||||
fi
|
||||
|
||||
# Gammastep (Blaulichtfilter, Night Light nicht verfuegbar auf Asahi)
|
||||
mkdir -p ~/.config/gammastep
|
||||
if [[ ! -f ~/.config/gammastep/config.ini ]]; then
|
||||
cat > ~/.config/gammastep/config.ini <<'GAMMAEOF'
|
||||
[general]
|
||||
temp-day=6500
|
||||
temp-night=4000
|
||||
location-provider=manual
|
||||
|
||||
[manual]
|
||||
lat=48.1
|
||||
lon=11.6
|
||||
GAMMAEOF
|
||||
ok "Gammastep konfiguriert (6500K Tag, 4000K Nacht)"
|
||||
else
|
||||
ok "Gammastep bereits konfiguriert"
|
||||
fi
|
||||
mkdir -p ~/.config/autostart
|
||||
cat > ~/.config/autostart/gammastep.desktop <<'AUTOEOF'
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Gammastep
|
||||
Exec=gammastep
|
||||
NoDisplay=true
|
||||
X-GNOME-Autostart-enabled=true
|
||||
AUTOEOF
|
||||
ok "Gammastep Autostart eingerichtet"
|
||||
|
||||
# ── Autostart entfernen ─────────────────────────────────────────────────
|
||||
AUTOSTART_FILE="$HOME/.config/autostart/macbook-setup-desktop.desktop"
|
||||
if [[ -f "$AUTOSTART_FILE" ]]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue