diff --git a/src/config.h b/src/config.h index 5710f39..4eeab6f 100644 --- a/src/config.h +++ b/src/config.h @@ -6,12 +6,12 @@ static const unsigned int snap = 16; /* snap pixel (32)*/ static const unsigned int gappx = 40; static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ -static const int usealtbar = 1; /* 1 means use non-dwm status bar */ +static const int usealtbar = 0; /* 1 means use non-dwm status bar */ static const char *altbarclass = "Polybar"; /* Alternate bar class name */ static const char *alttrayname = "tray"; /* Polybar tray instance name */ -static const char *altbarcmd = "$HOME/.config/polybar/launch"; /* Alternate bar launch command */ - +static const char *altbarcmd = ""; /* Alternate bar launch command */ +/*$HOME/.config/polybar/launch*/ static const char *fonts[] = { "Fira Code:size=10" }; static const char dmenufont[] = "Fira Code:size=12"; @@ -74,16 +74,11 @@ static const Layout layouts[] = { #define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } } /* commands */ - static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ -static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", bg_color, "-nf", text_color, "-sb", col_cyan, "-sf", col_gray4, "-p", "Run:", "-i", NULL }; - +static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", bg_color, "-nf", text_color, "-sb", col_cyan, "-sf", col_gray4, "-p", ">", "-i", "-l", "4", NULL }; static const char *termcmd[] = { "st", NULL }; - static const char *betterlockscreencmd[] = { "betterlockscreen", "--lock", "blur", NULL }; - static const char *spectaclecmd[] = { "spectacle", "-r", "-c", "-b", NULL }; - static const char *cmuspausecmd[] = { "cmus-remote", "--pause", NULL }; static Key keys[] = { diff --git a/src/scripts/autostart.sh b/src/scripts/autostart.sh new file mode 100755 index 0000000..9111bb8 --- /dev/null +++ b/src/scripts/autostart.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +while true; do + xsetroot -name "$(date +"%H:%M:%S (%A) %Y-%m-%d")" + sleep 1s +done