setup_wayland_jarvis.sh aktualisiert
This commit is contained in:
@@ -115,6 +115,7 @@ if [ "$(tty)" = "/dev/tty1" ]; then
|
||||
export LIBGL_ALWAYS_SOFTWARE=1
|
||||
|
||||
dbus-run-session labwc > ~/labwc.log 2>&1
|
||||
logout
|
||||
fi
|
||||
EOF
|
||||
fi
|
||||
@@ -130,7 +131,7 @@ cat << 'EOF' > "$REAL_HOME/.config/waybar/config"
|
||||
"position": "bottom",
|
||||
"height": 34,
|
||||
"modules-left": ["custom/terminal", "custom/browser", "wlr/taskbar"],
|
||||
"modules-right": ["clock"],
|
||||
"modules-right": ["clock", "custom/logout"],
|
||||
|
||||
"custom/terminal": {
|
||||
"format": "📁 Term",
|
||||
@@ -151,6 +152,11 @@ cat << 'EOF' > "$REAL_HOME/.config/waybar/config"
|
||||
"clock": {
|
||||
"format": "🕒 {:%H:%M:%S}",
|
||||
"interval": 1
|
||||
},
|
||||
"custom/logout": {
|
||||
"format": "🚪 Logout ",
|
||||
"on-click": "labwc --exit",
|
||||
"tooltip": false
|
||||
}
|
||||
}
|
||||
EOF
|
||||
@@ -164,6 +170,8 @@ window#waybar { background-color: #1e293b; color: white; border-top: 1px solid #
|
||||
#taskbar button { padding: 0 10px; color: #94a3b8; }
|
||||
#taskbar button.active { background-color: #0f172a; color: #38bdf8; }
|
||||
#clock { padding: 0 15px; background-color: #0f172a; }
|
||||
#custom-logout { padding: 0 12px; background-color: #ef4444; color: white; }
|
||||
#custom-logout:hover { background-color: #dc2626; }
|
||||
EOF
|
||||
|
||||
# Autostart erweitern, falls waybar noch nicht drin steht
|
||||
|
||||
Reference in New Issue
Block a user