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