fix some bugs

This commit is contained in:
horhik 2020-10-07 22:11:27 +03:00
parent 0f439a1c96
commit 599d7cfd06
5 changed files with 8 additions and 8 deletions

View File

@ -26,8 +26,8 @@ static const char *const autostart[] = {
"redshift", NULL,
"picom", "--experimental-backends", "--detect-rounded-corners", NULL,
"setxkbmap","us,ru,fi",",winkeys","grp:alt_shift_toggle", NULL,
"xrandr", "--output", "HDMI1", "--above", "eDP1", NULL,
"$HOME/.local/scripts/status/launch", NULL,
"enact", "--pos", "top", NULL,
"pulseaudio","-k", NULL,
NULL /* terminate */
};
@ -37,11 +37,11 @@ static const char *tags[] = { "ﳎ ", " ", " ", " ", "", "", "
static const char *tagsalt[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
/* launcher commands (They must be NULL terminated) */
static const char* surf[] = { "surf", "duckduckgo.com", NULL };
static const char* spotify[] = { "spotify", "spotify", NULL };
static const Launcher launchers[] = {
/* command name to display */
{ surf, "surf" },
{ spotify, "spotify" },
};
@ -52,7 +52,7 @@ static const Rule rules[] = {
*/
/* class instance title tags mask isfloating monitor scratch key */
{ "Gimp", NULL, NULL, 0, 1, -1, 0 },
{ "firefox", NULL, NULL, 0 << 2, 0, -1, 0 },
{ "firefox", NULL, NULL, 1 << 1, 0, -1, 0 },
{ NULL, NULL, "scratchpad", 0, 1, -1, 's' },
{ NULL, NULL, "sp_volume", 0, 1, -1, 'v' },

View File

@ -26,8 +26,8 @@ static const char *const autostart[] = {
"redshift", NULL,
"picom", "--experimental-backends", "--detect-rounded-corners", NULL,
"setxkbmap","us,ru,fi",",winkeys","grp:alt_shift_toggle", NULL,
"xrandr", "--output", "HDMI1", "--above", "eDP1", NULL,
"$HOME/.local/scripts/status/launch", NULL,
"enact", "--pos", "top", NULL,
"pulseaudio","-k", NULL,
NULL /* terminate */
};
@ -37,11 +37,11 @@ static const char *tags[] = { "ﳎ ", " ", " ", " ", "", "", "
static const char *tagsalt[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
/* launcher commands (They must be NULL terminated) */
static const char* surf[] = { "surf", "duckduckgo.com", NULL };
static const char* spotify[] = { "spotify", "spotify", NULL };
static const Launcher launchers[] = {
/* command name to display */
{ surf, "surf" },
{ spotify, "spotify" },
};

Binary file not shown.

Binary file not shown.

View File

@ -1,6 +1,6 @@
#!/bin/bash
while true; do
xsetroot -name "$(./statusbar)"
xsetroot -name "$($HOME/.local/scripts/status/statusbar)"
sleep 0.5
done &