Dotfiles config update (2022-12-03)
This commit is contained in:
parent
4575f7307a
commit
5ec52be261
|
@ -2,9 +2,10 @@
|
||||||
|
|
||||||
# Load status bar
|
# Load status bar
|
||||||
#yambar --backend=wayland &
|
#yambar --backend=wayland &
|
||||||
waybar_config=~/.config/dwl/waybar/config
|
#waybar_config=~/.config/dwl/waybar/config
|
||||||
waybar_styles=~/.config/dwl/waybar/styles.css
|
#waybar_styles=~/.config/dwl/waybar/styles.css
|
||||||
waybar --config=${waybar_config} --style=${waybar_styles} &
|
#waybar --config=${waybar_config} --style=${waybar_styles} &
|
||||||
|
~/.config/dwl/scripts/status_bar.sh &
|
||||||
|
|
||||||
# Network applet
|
# Network applet
|
||||||
#connman-gtk --tray &
|
#connman-gtk --tray &
|
||||||
|
|
6
.config/dwl/build-install.sh
Executable file
6
.config/dwl/build-install.sh
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd ~/.config/dwl
|
||||||
|
sudo make install clean
|
||||||
|
cd somebar
|
||||||
|
sudo ./install.sh
|
|
@ -7,5 +7,5 @@ LANG=es # Spanish
|
||||||
|
|
||||||
# Run DWL
|
# Run DWL
|
||||||
export XKB_DEFAULT_LAYOUT=${LANG}
|
export XKB_DEFAULT_LAYOUT=${LANG}
|
||||||
#dwl -s "somebar"
|
dwl -s "somebar"
|
||||||
dwl > ~/.cache/dwltags
|
#dwl > ~/.cache/dwltags
|
||||||
|
|
|
@ -2,13 +2,14 @@
|
||||||
|
|
||||||
status_bar=0
|
status_bar=0
|
||||||
|
|
||||||
#while [ ${status_bar} -eq 0 ] ; do
|
while [ ${status_bar} -eq 0 ] ; do
|
||||||
updates=$(~/.config/dwl/scripts/checkUpdates.sh)
|
updates=$(~/.config/dwl/scripts/checkUpdates.sh)
|
||||||
kernel=$(~/.config/dwl/scripts/kernel_version.sh)
|
kernel=$(~/.config/dwl/scripts/kernel_version.sh)
|
||||||
cpuinfo=$(~/.config/dwl/scripts/cpu_info.sh)
|
cpuinfo=$(~/.config/dwl/scripts/cpu_info.sh)
|
||||||
meminfo=$(~/.config/dwl/scripts/mem_info.sh)
|
meminfo=$(~/.config/dwl/scripts/mem_info.sh)
|
||||||
volume=$(~/.config/dwl/scripts/get_volume.sh)
|
volume=$(~/.config/dwl/scripts/get_volume.sh)
|
||||||
date=$(~/.config/dwl/scripts/current_date.sh)
|
date=$(~/.config/dwl/scripts/current_date.sh)
|
||||||
echo "${updates} ${kernel} ${cpuinfo} ${meminfo} ${volume} ${date}"
|
#echo "${updates} ${kernel} ${cpuinfo} ${meminfo} ${volume} ${date}"
|
||||||
# sleep 2
|
somebar -c status "${updates} ${kernel} ${cpuinfo} ${meminfo} ${volume} ${date}"
|
||||||
#done
|
sleep 2
|
||||||
|
done
|
||||||
|
|
Loading…
Reference in New Issue
Block a user