1
0
Fork 0
mirror of https://github.com/Horhik/dotfiles.git synced 2024-11-26 01:51:35 +00:00

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

View file

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

Binary file not shown.

Binary file not shown.

View file

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