implemented pull request from original project to handle all otherwise unhandled signals, prevents crash
This commit is contained in:
10
config.h
10
config.h
@@ -4,19 +4,13 @@ static const Block blocks[] = {
|
||||
{"", "music", 3600, 11},
|
||||
{"", "getpomminutesft", 100, 3},
|
||||
{"", "getpomminutes", 100, 3},
|
||||
/* {"", {"weather", 3600, 5},*/
|
||||
/* {"", "weather", 3600, 5},*/
|
||||
{"", "cpu", 5, 0},
|
||||
/* { "", "sync_status", 4, 0},*/
|
||||
{"", "getmail", 20, 13},
|
||||
/* {"", "btstatus", 2, 17},*/
|
||||
/* {"", "memory", 5, 0},*/
|
||||
{"", "news", 600, 13},
|
||||
{"", "getbright", 4, 2},
|
||||
{"", "volume", 1, 10},
|
||||
/* { "", "amixer get Master | grep -o \"\\(\\[off\\]\\|[0-9]*%\\)\"", 0, 10}*/
|
||||
/* {"", "sed \"s/$/%/\" /sys/class/power_supply/BAT?/capacity", 5, 12},*/
|
||||
/* {"", "echo $( battery_dwm BAT0)", 5, 12},*/
|
||||
{"", "clock", 10, 12}, //divert RTMIN update to clock since dwmblocks seems to crash if it's unhandled
|
||||
{"", "clock", 10, 0},
|
||||
{"", "internet", 10, 0},
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user