Compare commits

..

No commits in common. "937e2c648a7ab8a9448f6d8e4e115ed43b0b61a5" and "ca80f73ef21aca8459382f13091f67c37c943b79" have entirely different histories.

4 changed files with 7 additions and 8 deletions

View File

@ -11,6 +11,11 @@ super + r
pkill -USR1 -x sxhkd; \
bspc wm -r
# reinitialize ancillary services
super + w
disp && keyboard
# control the national weather service
super + {_,shift + }n
nws {local,national}
@ -34,10 +39,6 @@ super + shift + e
super + z
passmenu
# start a browser
super + b
chromium
# manipulate a node
super + {_,ctrl +,shift + }{h,j,k,l}
bspc node -{f,p,s} {west,south,north,east}

View File

@ -25,7 +25,6 @@
ffmpeg
thunderbird
ledger
ranger
];
hardware.bluetooth = {

View File

@ -24,7 +24,7 @@ struct module mods[] = {
{mod_battstatus, "battstatus", "BAT0", { '\0' }},
{mod_time, "time", "", { '\0' }},
{mod_bspwm, "bspwm", "", { '\0' }},
/* {mod_message, "message", "/home/usr/.cache/statusbar_notification", { '\0' }}, */
{mod_message, "message", "/home/usr/.cache/statusbar_notification", { '\0' }},
};
void create_module_proc(int index, char *pipename) {

View File

@ -17,8 +17,7 @@ int mod_message(char *config, char *name, char *pipename) {
for(;;) {
int watchdesc = inotify_add_watch(fd, config, IN_MODIFY);
read:
int watchread = read(fd, &buf, sizeof(struct inotify_event));
read(fd, &buf, sizeof(struct inotify_event));
/* the file's changed, so reread it */
int filefd = open(config, O_RDONLY, 0);