Move from Somebar to waybar in DWL config

Signed-off-by: Mahesh Asolkar <mahesh@mahesha.com>
This commit is contained in:
2026-03-01 09:16:40 -08:00
parent 21f6d55c0b
commit 88616569bb
3 changed files with 21 additions and 15 deletions

View File

@@ -35,8 +35,10 @@ source ~/bin/dwl.notification_setup
log_this "Entourage: Setting up MPD support"
source ~/bin/dwl.mpd_support_setup
log_this "Entourage: Starting somebar using $SOMEBAR_FIFO"
# SOMEBAR # log_this "Entourage: Starting somebar using $SOMEBAR_FIFO"
log_this "Entourage: Starting waybar"
source ~/bin/dwl.bar_setup
pipewire &
wireplumber &
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &

View File

@@ -7,10 +7,10 @@ export WLR_LIBINPUT_NO_DEVICES=1
export DWL_PATH=/usr/local/bin
# export DWL_PATH=/home/mahesh/git/heshapps_codeberg_dwl
export DWL_BAR_PATH=/usr/local/bin
# export DWL_BAR_PATH=/home/mahesh/git/somebar_20240217/build
export DWL_BAR=$DWL_BAR_PATH/somebar
export SOMEBAR_FIFO=$XDG_RUNTIME_DIR/somebar.fifo
# SOMEBAR # export DWL_BAR_PATH=/usr/local/bin
# SOMEBAR # export DWL_BAR=$DWL_BAR_PATH/somebar
# SOMEBAR # export SOMEBAR_FIFO=$XDG_RUNTIME_DIR/somebar.fifo
export DWL_BAR=waybar
# export DWLTAGS_SHOW_MON=1
export PATH=~/bin:$PATH

View File

@@ -1,12 +1,16 @@
# killall conky
killall unibar
killall somebar
SOMEBAR_INST_FIFO=$(mktemp --dry-run --suffix=.fifo --tmpdir=$XDG_RUNTIME_DIR somebar_XXXXXX)
mkfifo $SOMEBAR_INST_FIFO -m666
# conky -c ~/.conkyrc > $SOMEBAR_INST_FIFO &
nohup unibar --music-progress > $SOMEBAR_INST_FIFO &
dbus-launch --exit-with-session -- $DWL_BAR -s $SOMEBAR_INST_FIFO > $SOMEBAR_INST_FIFO.log 2>&1
# SOMEBAR # # killall conky
# SOMEBAR # killall unibar
# SOMEBAR # killall somebar
# SOMEBAR # SOMEBAR_INST_FIFO=$(mktemp --dry-run --suffix=.fifo --tmpdir=$XDG_RUNTIME_DIR somebar_XXXXXX)
# SOMEBAR #
# SOMEBAR # mkfifo $SOMEBAR_INST_FIFO -m666
# SOMEBAR # # conky -c ~/.conkyrc > $SOMEBAR_INST_FIFO &
# SOMEBAR # nohup unibar --music-progress > $SOMEBAR_INST_FIFO &
# SOMEBAR #
# SOMEBAR # dbus-launch --exit-with-session -- $DWL_BAR -s $SOMEBAR_INST_FIFO > $SOMEBAR_INST_FIFO.log 2>&1
# Waybar
#dbus-launch --exit-with-session -- $DWL_BAR
killall waybar
waybar &