diff --git a/tint2/.config/wal/templates/tint2rc b/tint2/.config/wal/templates/tint2rc new file mode 100644 index 00000000..6fa650fd --- /dev/null +++ b/tint2/.config/wal/templates/tint2rc @@ -0,0 +1,175 @@ +#------------------------------------- +# Gradients +#------------------------------------- +# Backgrounds +# Background 1: Panel +rounded = 0 +border_width = 0 +border_sides = TBLR +border_content_tint_weight = 0 +background_content_tint_weight = 0 +background_color = {background} 90 +border_color = {background} 60 +background_color_hover = {background} 90 +border_color_hover = {background} 60 +background_color_pressed = {background} 90 +border_color_pressed = {background} 60 + +# Background 2: Default task, Iconified task +rounded = 4 +border_width = 1 +border_sides = TBLR +border_content_tint_weight = 0 +background_content_tint_weight = 0 +background_color = #777777 20 +border_color = #777777 30 +background_color_hover = #aaaaaa 22 +border_color_hover = #eaeaea 44 +background_color_pressed = #555555 4 +border_color_pressed = #eaeaea 44 + +# Background 3: Active task +rounded = 4 +border_width = 1 +border_sides = TBLR +border_content_tint_weight = 0 +background_content_tint_weight = 0 +background_color = #777777 20 +border_color = {foreground} 40 +background_color_hover = #aaaaaa 22 +border_color_hover = #eaeaea 44 +background_color_pressed = #555555 4 +border_color_pressed = #eaeaea 44 + +# Background 4: Urgent task +rounded = 4 +border_width = 1 +border_sides = TBLR +border_content_tint_weight = 0 +background_content_tint_weight = 0 +background_color = #aa4400 100 +border_color = #aa7733 100 +background_color_hover = #cc7700 100 +border_color_hover = #aa7733 100 +background_color_pressed = #555555 4 +border_color_pressed = #aa7733 100 + +# Background 5: Tooltip +rounded = 1 +border_width = 1 +border_sides = TBLR +border_content_tint_weight = 0 +background_content_tint_weight = 0 +background_color = #222222 100 +border_color = #333333 100 +background_color_hover = #ffffaa 100 +border_color_hover = {background} 100 +background_color_pressed = #ffffaa 100 +border_color_pressed = {background} 100 + +#------------------------------------- +# Panel +panel_items = TSC +panel_size = 100% 30 +panel_margin = 0 0 +panel_padding = 2 0 2 +font_shadow = 0 +panel_background_id = 1 +wm_menu = 1 +panel_dock = 1 +panel_pivot_struts = 0 +panel_position = bottom center horizontal +panel_layer = normal +panel_monitor = all +panel_shrink = 0 +autohide = 0 +autohide_show_timeout = 0 +autohide_hide_timeout = 0.5 +autohide_height = 2 +strut_policy = follow_size +panel_window_name = tint2 +disable_transparency = 1 +mouse_effects = 1 +font_shadow = 1 +mouse_hover_icon_asb = 100 0 10 +mouse_pressed_icon_asb = 100 0 0 +scale_relative_to_dpi = 0 +scale_relative_to_screen_height = 0 + +#------------------------------------- +# Taskbar +taskbar_mode = multi_desktop +taskbar_hide_if_empty = 1 +taskbar_padding = 0 0 2 +taskbar_background_id = 0 +taskbar_active_background_id = 0 +taskbar_name = 1 +taskbar_hide_inactive_tasks = 0 +taskbar_hide_different_monitor = 0 +taskbar_hide_different_desktop = 0 +taskbar_always_show_all_desktop_tasks = 0 +taskbar_name_padding = 4 2 +taskbar_name_background_id = 0 +taskbar_name_active_background_id = 0 +taskbar_name_font_color = #e3e3e3 100 +taskbar_name_active_font_color = {foreground} 100 +taskbar_distribute_size = 1 +taskbar_sort_order = none +task_align = left + +#------------------------------------- +# Task +task_text = 1 +task_icon = 1 +task_centered = 1 +urgent_nb_of_blink = 100000 +task_maximum_size = 200 35 +task_padding = 2 2 4 +task_tooltip = 1 +task_thumbnail = 0 +task_thumbnail_size = 210 +task_font_color = {foreground} 100 +task_background_id = 2 +task_active_background_id = 3 +task_urgent_background_id = 4 +task_iconified_background_id = 2 +mouse_left = toggle +mouse_middle = none +mouse_right = none +mouse_scroll_up = none +mouse_scroll_down = none + +#------------------------------------- +# System tray (notification area) +systray_padding = 0 4 2 +systray_background_id = 0 +systray_sort = ascending +systray_icon_size = 24 +systray_icon_asb = 100 0 0 +systray_monitor = 1 +systray_name_filter = + +#------------------------------------- +# Clock +time1_format = %H:%M +time2_format = %A %d %B +time1_timezone = +time2_timezone = +clock_font_color = {foreground} 100 +clock_padding = 2 0 +clock_background_id = 0 +clock_tooltip = +clock_tooltip_timezone = +clock_lclick_command = bspc desktop -f next.local.occupied +clock_rclick_command = bspc desktop -f next.local.!occupied +clock_mclick_command = ~/.config/sxhkd/kitty.sh +clock_uwheel_command = bspc desktop -f next.local.occupied +clock_dwheel_command = bspc desktop -f prev.local.occupied + +#------------------------------------- +# Tooltip +tooltip_show_timeout = 0.5 +tooltip_hide_timeout = 0.1 +tooltip_padding = 4 4 +tooltip_background_id = 5 +tooltip_font_color = #dddddd 100 diff --git a/tint2/README.md b/tint2/README.md new file mode 100644 index 00000000..06cac236 --- /dev/null +++ b/tint2/README.md @@ -0,0 +1,16 @@ +# tint2 + +[tint2][tint2] is a simple panel/taskbar made for modern X window managers. + +## Use Cases + +tint2 can be used to: + +- Have a taskbar that automatically shows individual programs on each desktop, without having to perform polybar shenanigans. + +You should not use tint2 if: + +- You require functionality that would be easier to implement with other bars. +- You are not using an X window manager. + +[tint2]: https://gitlab.com/o9000/tint2