initial release
This commit is contained in:
1 parent
96ab3df34e
commit
9876e39216
57 files changed
+5301
-1
No files matched your search
@@ -0,0 +1,68 @@
|
||||
#!/bin/sh
|
||||
# labwc – Autostart (wird als Shell-Skript ausgeführt)
|
||||
|
||||
# GTK-, Icon- und Cursor-Werte über GSettings (dconf) setzen. Unter
|
||||
# Wayland liest GTK diese Werte aus dconf; ~/.config/gtk-3.0/settings.ini
|
||||
# wird ignoriert. Der Aufruf steht vor den Programmen, damit Waybar,
|
||||
# Thunar und GTK-Apps von Anfang an das richtige Icon-Theme sehen.
|
||||
if [ -x "$HOME/.local/bin/set-gtk-settings" ]; then
|
||||
if [ -z "${DBUS_SESSION_BUS_ADDRESS:-}" ] && command -v dbus-run-session >/dev/null 2>&1; then
|
||||
dbus-run-session -- "$HOME/.local/bin/set-gtk-settings" dark >/dev/null 2>&1 || true
|
||||
else
|
||||
"$HOME/.local/bin/set-gtk-settings" dark >/dev/null 2>&1 || true
|
||||
fi
|
||||
fi
|
||||
|
||||
# Hintergrundbild
|
||||
if [ -f "$HOME/.local/share/backgrounds/labwc-dark.png" ]; then
|
||||
swaybg -i "$HOME/.local/share/backgrounds/labwc-dark.png" -m fill >/dev/null 2>&1 &
|
||||
else
|
||||
swaybg -c '#1b1e20' >/dev/null 2>&1 &
|
||||
fi
|
||||
|
||||
# Benachrichtigungen
|
||||
mako >/dev/null 2>&1 &
|
||||
|
||||
# Taskleiste
|
||||
waybar >/dev/null 2>&1 &
|
||||
|
||||
# PolicyKit-Agent (Passwortdialog für pkexec, z. B. gparted)
|
||||
if [ -x /usr/libexec/xfce-polkit ]; then
|
||||
/usr/libexec/xfce-polkit >/dev/null 2>&1 &
|
||||
elif command -v xfce-polkit >/dev/null 2>&1; then
|
||||
xfce-polkit >/dev/null 2>&1 &
|
||||
elif command -v lxpolkit >/dev/null 2>&1; then
|
||||
lxpolkit >/dev/null 2>&1 &
|
||||
fi
|
||||
|
||||
# D-Bus-Aktivierungsumgebung aktuell halten (für GTK/Portal-Programme)
|
||||
if command -v dbus-update-activation-environment >/dev/null 2>&1; then
|
||||
dbus-update-activation-environment \
|
||||
WAYLAND_DISPLAY XDG_CURRENT_DESKTOP XDG_SESSION_TYPE \
|
||||
>/dev/null 2>&1
|
||||
fi
|
||||
|
||||
# KDE Connect (Indikator; kdeconnectd wird bei Bedarf per D-Bus gestartet)
|
||||
if command -v kdeconnect-indicator >/dev/null 2>&1; then
|
||||
kdeconnect-indicator >/dev/null 2>&1 &
|
||||
fi
|
||||
|
||||
# Idle-Manager: nach 10 Min sperren, nach 15 Min Monitor aus,
|
||||
# nach 30 Min Ruhezustand (Suspend). Laufende Medienwiedergabe
|
||||
# über PipeWire verhindert die Aktionen.
|
||||
#
|
||||
# "resume" gehört jeweils direkt hinter den zugehörigen "timeout":
|
||||
# Bei Aktivität wird der Monitor wieder eingeschaltet und wartende
|
||||
# Aktionen werden abgebrochen. Ohne diese Zuordnung bliebe der
|
||||
# Bildschirm nach dem Ausschalten schwarz.
|
||||
if command -v swayidle >/dev/null 2>&1; then
|
||||
swayidle -w \
|
||||
timeout 600 'idle-action lock' resume 'idle-action cancel' \
|
||||
timeout 900 'idle-action dpms-off' resume 'idle-action resume' \
|
||||
timeout 1800 'idle-action suspend' resume 'idle-action resume' \
|
||||
after-resume 'idle-action resume' \
|
||||
before-sleep 'idle-action lock-now' \
|
||||
lock 'idle-action lock-now' >/dev/null 2>&1 &
|
||||
fi
|
||||
|
||||
exit 0
|
||||
@@ -0,0 +1,23 @@
|
||||
# labwc – Umgebung
|
||||
# Wird bei jedem Start und bei "Reconfigure" neu eingelesen.
|
||||
|
||||
# Tastatur
|
||||
XKB_DEFAULT_LAYOUT=de
|
||||
|
||||
# Mauszeiger
|
||||
XCURSOR_THEME=Qogir-Manjaro-Dark
|
||||
XCURSOR_SIZE=24
|
||||
|
||||
# Dunkles GTK für alle GTK-Programme
|
||||
GTK_THEME=Arc-Darker
|
||||
|
||||
# Wayland für Firefox / Qt
|
||||
MOZ_ENABLE_WAYLAND=1
|
||||
QT_QPA_PLATFORM=wayland
|
||||
|
||||
# Eigene Skripte (session-menu), opencode, Node.js (nvm) und
|
||||
# Flatpak-Programme auffindbar machen.
|
||||
# Absoluter Pfad, damit kein rekursives $PATH entsteht.
|
||||
# /usr/sbin und /sbin sind enthalten, damit Werkzeuge wie gparted auch aus
|
||||
# GUI-Terminals und von der Leiste gestarteten Programmen gefunden werden.
|
||||
PATH=@NODE_BIN@@HOME@/.opencode/bin:@HOME@/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/var/lib/flatpak/exports/bin:@HOME@/.local/share/flatpak/exports/bin:/usr/local/games:/usr/games
|
||||
@@ -0,0 +1,74 @@
|
||||
# labwc – Breeze-Dark-Farbwelt
|
||||
# Nur Abweichungen vom eingebauten Standard-Theme.
|
||||
|
||||
border.width: 1
|
||||
window.titlebar.padding.width: 6
|
||||
window.titlebar.padding.height: 4
|
||||
|
||||
# Fensterrahmen
|
||||
window.active.border.color: #3daee9
|
||||
window.inactive.border.color: #2f3437
|
||||
window.active.indicator.toggled-keybind.color: #f67400
|
||||
|
||||
# Titelleiste
|
||||
window.active.title.bg.color: #232629
|
||||
window.inactive.title.bg.color: #1b1e20
|
||||
window.active.label.text.color: #eff0f1
|
||||
window.inactive.label.text.color: #7f8c8d
|
||||
window.label.text.justify: center
|
||||
|
||||
# Buttons
|
||||
window.button.width: 24
|
||||
window.button.height: 24
|
||||
window.button.spacing: 2
|
||||
window.button.hover.bg.corner-radius: 6
|
||||
window.active.button.unpressed.image.color: #bdc3c7
|
||||
window.inactive.button.unpressed.image.color: #5f6b73
|
||||
window.active.button.close.unpressed.image.color: #da4453
|
||||
window.active.button.close.hover.image.color: #eff0f1
|
||||
|
||||
# Schatten (pixman-schonend)
|
||||
window.active.shadow.size: 18
|
||||
window.inactive.shadow.size: 10
|
||||
window.active.shadow.color: #00000070
|
||||
window.inactive.shadow.color: #00000040
|
||||
|
||||
# Menü
|
||||
menu.border.width: 1
|
||||
menu.border.color: #2f3437
|
||||
menu.items.bg.color: #232629
|
||||
menu.items.text.color: #eff0f1
|
||||
menu.items.active.bg.color: #3daee9
|
||||
menu.items.active.text.color: #1b1e20
|
||||
menu.items.padding.x: 12
|
||||
menu.items.padding.y: 6
|
||||
menu.separator.width: 1
|
||||
menu.separator.padding.width: 8
|
||||
menu.separator.padding.height: 4
|
||||
menu.separator.color: #2f3437
|
||||
menu.title.bg.color: #1b1e20
|
||||
menu.title.text.color: #7f8c8d
|
||||
menu.title.text.justify: Left
|
||||
|
||||
# Fensterwechsler / OSD
|
||||
osd.bg.color: #232629
|
||||
osd.border.color: #3daee9
|
||||
osd.border.width: 1
|
||||
osd.label.text.color: #eff0f1
|
||||
osd.window-switcher.width: 480
|
||||
osd.window-switcher.padding: 8
|
||||
osd.window-switcher.item.padding.x: 10
|
||||
osd.window-switcher.item.padding.y: 4
|
||||
osd.window-switcher.item.active.border.width: 2
|
||||
osd.window-switcher.preview.border.width: 1
|
||||
osd.window-switcher.preview.border.color: #3daee9
|
||||
osd.workspace-switcher.boxes.width: 16
|
||||
osd.workspace-switcher.boxes.height: 16
|
||||
|
||||
# Andock-Vorschau
|
||||
snapping.overlay.region.bg.color: #3daee940
|
||||
snapping.overlay.edge.bg.color: #3daee940
|
||||
snapping.overlay.region.border.width: 1
|
||||
snapping.overlay.edge.border.width: 1
|
||||
snapping.overlay.region.border.color: #3daee9
|
||||
snapping.overlay.edge.border.color: #3daee9
|
||||
Reference in new issue
Block a user