Remove Waybar from autostart (now handles with systemd)
This is also removes the ability to substitute system-wide Waybar config with our own, because Waybar's systemd unit file doesn't provide such functional. Default Waybar config is now placed in ~/.config/waybar/
This commit is contained in:
parent
06644fe9c6
commit
f34cc51559
6 changed files with 0 additions and 30 deletions
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"include": [
|
||||
"/etc/xdg/xdg-ubuntusway/waybar/config.jsonc"
|
||||
]
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
@import "/etc/xdg/xdg-ubuntusway/waybar/style.css";
|
|
@ -1,9 +0,0 @@
|
|||
#
|
||||
# Status Bar:
|
||||
#
|
||||
# Read `man 5 sway-bar` for more information about this section.
|
||||
bar {
|
||||
id default
|
||||
swaybar_command /usr/share/sway/scripts/waybar.sh
|
||||
position top
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
#!/bin/sh
|
||||
# wrapper script for waybar with args, see https://github.com/swaywm/sway/issues/5724
|
||||
|
||||
USER_CONFIG_PATH=$HOME/.config/waybar/config.jsonc
|
||||
USER_STYLE_PATH=$HOME/.config/waybar/style.css
|
||||
|
||||
if [ -f "$USER_CONFIG_PATH" ]; then
|
||||
USER_CONFIG=$USER_CONFIG_PATH
|
||||
fi
|
||||
|
||||
if [ -f "$USER_STYLE_PATH" ]; then
|
||||
USER_STYLE=$USER_STYLE_PATH
|
||||
fi
|
||||
|
||||
waybar -c "${USER_CONFIG:-"/etc/xdg/xdg-tileos/waybar/config.jsonc"}" -s "${USER_STYLE:-"/etc/xdg/xdg-tileos/waybar/style.css"}" &
|
Loading…
Add table
Reference in a new issue