diff options
Diffstat (limited to 'pkgs/dwmblocks')
-rw-r--r-- | pkgs/dwmblocks/config.h | 36 | ||||
-rw-r--r-- | pkgs/dwmblocks/default.nix | 8 | ||||
-rw-r--r-- | pkgs/dwmblocks/dwmblocks-todo.diff | 12 | ||||
-rw-r--r-- | pkgs/dwmblocks/dwmblocks.diff | 24 | ||||
-rw-r--r-- | pkgs/dwmblocks/dwmblocks.diff.old | 26 | ||||
-rw-r--r-- | pkgs/dwmblocks/todos.nix | 10 |
6 files changed, 0 insertions, 116 deletions
diff --git a/pkgs/dwmblocks/config.h b/pkgs/dwmblocks/config.h deleted file mode 100644 index 68a6705..0000000 --- a/pkgs/dwmblocks/config.h +++ /dev/null @@ -1,36 +0,0 @@ -//Modify this file to change what commands output to your statusbar, and recompile using the make command. -static const Block blocks[] = { - /*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/ - /* {"⌨", "sb-kbselect", 0, 30}, */ - {"", "cat /tmp/recordingicon 2>/dev/null", 0, 9}, - {"", "sb-tasks", 10, 26}, - {"", "sb-music", 0, 11}, - /* {"", "sb-pacpackages", 0, 8}, */ - /* {"", "sb-news", 0, 6}, */ - {"", "sb-price lbc \"LBRY Token\" 📚", 9000, 22}, - {"", "sb-price bat \"Basic Attention Token\" 🦁", 9000, 20}, - /* {"", "sb-price link \"Chainlink\" 🔗", 300, 25}, */ - {"", "sb-price xmr \"Monero\" 🔒", 9000, 24}, - /* {"", "sb-price eth Ethereum 🍸", 9000, 23}, */ - /* {"", "sb-price btc Bitcoin 💰", 9000, 21}, */ - {"", "sb-torrent", 20, 7}, - {"", "sb-memory", 10, 14}, - {"", "sb-cpu", 10, 18}, - /* {"", "sb-moonphase", 18000, 17}, */ - /* {"", "sb-forecast", 18000, 5}, */ - {"", "sb-mailbox", 180, 12}, - {"", "sb-nettraf", 1, 16}, - {"", "sb-volume", 0, 10}, - {"", "sb-battery", 5, 3}, - {"", "sb-clock", 10, 1}, - {"", "sb-internet", 5, 4}, - /* {"", "sb-help-icon", 0, 15}, */ -}; - -//Sets delimiter between status commands. NULL character ('\0') means no delimiter. -static char *delim = " "; - -// 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/dwmblocks/config.h !cd ~/.local/src/dwmblocks/; sudo make install && { killall -q dwmblocks;setsid dwmblocks & } diff --git a/pkgs/dwmblocks/default.nix b/pkgs/dwmblocks/default.nix deleted file mode 100644 index ecc3b5b..0000000 --- a/pkgs/dwmblocks/default.nix +++ /dev/null @@ -1,8 +0,0 @@ -pkgs: - pkgs.nur.repos.pn.dwmblocks.override { - patches = [ - #./dwmblocks.diff - # ./dwmblocks-todo.diff - ]; - config_h = ./config.h; - } diff --git a/pkgs/dwmblocks/dwmblocks-todo.diff b/pkgs/dwmblocks/dwmblocks-todo.diff deleted file mode 100644 index 8615cf8..0000000 --- a/pkgs/dwmblocks/dwmblocks-todo.diff +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/config.h b/config.h -index cc9281b..7242149 100644 ---- a/config.h -+++ b/config.h -@@ -1,6 +1,7 @@ - //Modify this file to change what commands output to your statusbar, and recompile using the make command. - static const Block blocks[] = { - /*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/ -+ {"", "todos", 800, 19}, - {"", "cat /tmp/recordingicon 2>/dev/null", 0, 9}, - /* {"", "music", 0, 11},*/ - {"", "pacpackages", 0, 8}, diff --git a/pkgs/dwmblocks/dwmblocks.diff b/pkgs/dwmblocks/dwmblocks.diff deleted file mode 100644 index f205133..0000000 --- a/pkgs/dwmblocks/dwmblocks.diff +++ /dev/null @@ -1,24 +0,0 @@ -diff --git a/config.h b/config.h -index 18b287b..9361f4a 100644 ---- a/config.h -+++ b/config.h -@@ -3,7 +3,7 @@ static const Block blocks[] = { - /*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/ - /* {"⌨", "kbselect", 0, 30}, */ - {"", "cat /tmp/recordingicon 2>/dev/null", 0, 9}, -- /* {"", "music", 0, 11}, */ -+ {"", "music", 0, 11}, - {"", "pacpackages", 0, 8}, - {"", "news", 0, 6}, - /* {"", "crypto", 0, 13}, */ -@@ -14,8 +14,8 @@ static const Block blocks[] = { - /* {"", "price eth Ethereum 🍸", 9000, 23}, */ - /* {"", "price btc Bitcoin 💰", 9000, 21}, */ - /* {"", "torrent", 20, 7}, */ -- /* {"", "memory", 10, 14}, */ -- /* {"", "cpu", 10, 18}, */ -+ {"", "memory", 10, 14}, -+ {"", "cpu", 10, 18}, - /* {"", "moonphase", 18000, 17}, */ - {"", "forecast", 18000, 5}, - {"", "mailbox", 180, 12}, diff --git a/pkgs/dwmblocks/dwmblocks.diff.old b/pkgs/dwmblocks/dwmblocks.diff.old deleted file mode 100644 index ad22dac..0000000 --- a/pkgs/dwmblocks/dwmblocks.diff.old +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/config.h b/config.h -index cc9281b..3df46fc 100644 ---- a/config.h -+++ b/config.h -@@ -10,17 +10,17 @@ static const Block blocks[] = { - /* {"", "price btc Bitcoin 💰", 0, 21}, */ - /* {"", "price lbc \"LBRY Token\" 📚", 0, 22}, */ - {"", "torrent", 20, 7}, -- /* {"", "memory", 10, 14}, */ -- /* {"", "cpu", 10, 18}, */ -+ {"", "memory", 10, 14}, -+ {"", "cpu", 10, 18}, - /* {"", "moonphase", 18000, 17}, */ - {"", "weather", 18000, 5}, - {"", "mailbox", 180, 12}, -- /* {"", "nettraf", 1, 16}, */ -+ {"", "nettraf", 1, 16}, - {"", "volume", 0, 10}, - {"", "battery", 5, 3}, - {"", "clock", 60, 1}, - {"", "internet", 5, 4}, -- {"", "help-icon", 0, 15}, -+ /* {"", "help-icon", 0, 15}, */ - }; - - //Sets delimiter between status commands. NULL character ('\0') means no delimiter. diff --git a/pkgs/dwmblocks/todos.nix b/pkgs/dwmblocks/todos.nix deleted file mode 100644 index 510ff7e..0000000 --- a/pkgs/dwmblocks/todos.nix +++ /dev/null @@ -1,10 +0,0 @@ -pkgs: - pkgs.writeScriptBin "todos" '' - #!${pkgs.stdenv.shell} - case $BLOCK_BUTTON in - 1) notify-send "Tasks" "\n$(todoist l | cut -d\ -f5- | sed 's/^/* /')" ;; - 6) "$TERMINAL" -e "$EDITOR" "$0" ;; - esac - - echo "✅$(todoist list | wc -l)" - '' |