diff options
Diffstat (limited to 'dwmblocks/config.def.h')
| -rw-r--r-- | dwmblocks/config.def.h | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/dwmblocks/config.def.h b/dwmblocks/config.def.h index cffa5ab..93fda0d 100644 --- a/dwmblocks/config.def.h +++ b/dwmblocks/config.def.h @@ -41,14 +41,25 @@ X("", "sb-ecrypt", 0, 2) \ X("", "sb-help-icon", 0, 1) - /* X("", "sb-price xmr-btc \"Monero to Bitcoin\" 🔒 30", 9000, 31) \ */ - /* X("", "sb-price xmr Monero 🔒 29", 9000, 30) \ */ - /* X("", "sb-price bnb Binance 🫧 28", 9000, 29) \ */ - /* X("", "sb-price xrp XRP 🪓 27", 9000, 28) \ */ - /* X("", "sb-price usdt Tether ⛺ 26", 9000, 27) \ */ - /* X("", "sb-price eth Ethereum 🍸 25", 9000, 26) \ */ - /* X("", "sb-price btc Bitcoin 💰 24", 9000, 25) \ */ - /* X("", "sb-iplocate", 0, 6) \ */ + /* X("", "sb-price xmr-btc \"Monero to Bitcoin\" 🔒 30", 9000, 31) \ */ + /* X("", "sb-price xmr Monero 🔒 29", 9000, 30) \ */ + /* X("", "sb-price bnb Binance 🫧 28", 9000, 29) \ */ + /* X("", "sb-price xrp XRP 🪓 27", 9000, 28) \ */ + /* X("", "sb-price usdt Tether ⛺ 26", 9000, 27) \ */ + /* X("", "sb-price eth Ethereum 🍸 25", 9000, 26) \ */ + /* X("", "sb-price btc Bitcoin 💰 24", 9000, 25) \ */ + /* X("", "sb-ticker", 0, 25) \ */ + /* X("", "sb-iplocate", 0, 6) \ */ #endif // CONFIG_H +// Have dwmblocks automatically recompile and run when you edit this file in +// vim with the following line in your vimrc/init.vim: + +// autocmd BufWritePost ~/.local/src/suckless/dwmblocks/config.def.h !cd ~/.local/src/suckless/dwmblocks/; sudo make install && { killall -q dwmblocks;setsid -f dwmblocks } + +// Although, pkill is slightly slower than the command kill, which can +// make a big difference if we are making semi-frequent changes in a script. +// To signal with kill, we must send the value plus 34. Just remember 34. +// So, 10 + 34 = 44, so we use this command: kill -44 $(pidof dwmblocks) + |
