Removed slstatus and replaced with a simple xsetroot loop for the date and time
This commit is contained in:
parent
c70c34fcaa
commit
6b2a4d8434
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
while true; do
|
||||
xsetroot -name "$(date '+%I:%M @ %m/%')"
|
||||
sleep 60
|
||||
done
|
4
setup
4
setup
|
@ -123,10 +123,6 @@ setup_builds() {
|
|||
patch $BUILD/dwm/dwm.c $BUILD/dwm/patch_notitles.diff
|
||||
sudo make -C $BUILD/dwm clean install
|
||||
|
||||
git clone --depth 1 git://git.suckless.org/slstatus $BUILD/slstatus
|
||||
wget -O $BUILD/slstatus/config.h $GIT_URL/slstatus/config.h
|
||||
sudo make -C $BUILD/slstatus clean install
|
||||
|
||||
git clone https://github.com/AngelJumbo/lavat.git $BUILD/lavat
|
||||
sudo make -C $BUILD/lavat clean install
|
||||
}
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
const unsigned int interval = 1000;
|
||||
static const char unknown_str[] = "??";
|
||||
|
||||
#define MAXLEN 2048
|
||||
|
||||
static const struct arg args[] = {
|
||||
{ cpu_perc, "Ç %s% | ", NULL},
|
||||
{ ram_perc, "Æ %s% | ", NULL},
|
||||
{ disk_perc, "¨ %s% | ", "/"},
|
||||
{ temp, "± %s°C | ", "/sys/class/thermal/thermal_zone0/temp"},
|
||||
{ battery_perc, "ð %s% | ", "BAT0"},
|
||||
{ vol_perc, "í %s% | ", "/dev/dsp"},
|
||||
{ datetime, "ú %s", "%m/%d | · %I:%M" },
|
||||
};
|
|
@ -3,8 +3,8 @@ xset +fp /usr/share/fonts/local
|
|||
xset fp rehash
|
||||
|
||||
dunst &
|
||||
slstatus &
|
||||
unclutter &
|
||||
$HOME/.scripts/statusbar.sh &
|
||||
|
||||
# Example of dual monitor setup
|
||||
#{ sleep 2; xrandr --output HDMI1 --mode 1920x1080 --output DP1 --mode 1920x1080 --above HDMI1; } &
|
||||
|
|
Loading…
Reference in New Issue