1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2025-07-04 04:09:26 +00:00

[polybar] Add polywins and remove task_manager

This commit is contained in:
2021-07-13 16:10:58 +02:00
parent 8e109bef56
commit cd25d92ac2
5 changed files with 294 additions and 230 deletions

View File

@ -4,7 +4,6 @@
export TERMINAL_CMD=${TERMINAL_CMD:-"tilix --profile orange --new-process -e"}
export WM_CONTROL=${WM_CONTROL:-"~/.config/polybar/scripts/switch_window_state"}
export TASKMANAGER_MAX_TASKS=${TASKMANAGER_MAX_TASKS:-20}
export ROFI_THEME=${ROFI_THEME:-orange}
function wait_for_polybar
@ -22,7 +21,6 @@ function wait_for_polybar
function kill_polybar
{
pkill polybar
pkill -f "task_manager --daemon"
wait_for_polybar stopped
}
@ -36,6 +34,4 @@ function launch_polybar
}
kill_polybar
~/.config/polybar/scripts/task_manager --generate-config "$TASKMANAGER_MAX_TASKS"
launch_polybar
~/.config/polybar/scripts/task_manager --daemon &