You are not logged in.
Pages: 1
Not sure how to ask this but will give it my best shot.
Ive created 4 desktop buttons that i want to have active backgrounds for, similar to active tasks so when you are working inside the desktop the active buttons background has the blue line under, at present it doesnt look like there is that functionality for the buttons?
# Button 1
button = new
button_icon = /home/sc/Pictures/tint2 icons/home-5-24.png
button_text = 1
button_lclick_command = wmctrl -s 0
button_rclick_command =
button_mclick_command =
button_uwheel_command =
button_dwheel_command =
button_font = Liberation Sans Narrow Bold Condensed 12
button_font_color = #ffffff 100
button_padding = 7 0
button_background_id = 8
button_centered = 1
button_max_icon_size = 22
button_active_background_id = 3
I used quotes instead of code box to highlight in red what i mean.
Scrot.
Taking some inspiration from Archlabs Minimo Polybar here
Offline
update in my tint2 config.Button usage etc.
#---- Generated by tint2conf 02f7 ----
# See https://gitlab.com/o9000/tint2/wikis/Configure for
# full documentation of the configuration options.
#-------------------------------------
# Gradients
# Gradient 1
gradient = vertical
start_color = #2d2d2d 80
end_color = #000000 80
color_stop = 70.000000 #1c1c1c 80
#-------------------------------------
# Backgrounds
# Background 1: Panel
rounded = 0
border_width = 1
border_sides = T
background_color = #000000 80
border_color = #333333 80
gradient_id = 1
background_color_hover = #000000 80
border_color_hover = #555555 80
background_color_pressed = #000000 80
border_color_pressed = #555555 80
# Background 2: Default task, Iconified task
rounded = 0
border_width = 2
border_sides = B
background_color = #777777 0
border_color = #777777 0
background_color_hover = #777777 21
border_color_hover = #cccccc 30
background_color_pressed = #5a5a5a 21
border_color_pressed = #777777 30
# Background 3: Active task
rounded = 0
border_width = 2
border_sides = B
background_color = #ffffff 0
border_color = #4d75ff 100
background_color_hover = #ffffff 21
border_color_hover = #4c73ff 100
background_color_pressed = #989898 21
border_color_pressed = #4c73ff 100
# Background 4: Urgent task
rounded = 0
border_width = 0
border_sides = TBLR
background_color = #aa4400 100
border_color = #aa7733 100
background_color_hover = #aa4400 100
border_color_hover = #aa7733 100
background_color_pressed = #aa4400 100
border_color_pressed = #aa7733 100
# Background 5: Tooltip
rounded = 2
border_width = 1
border_sides = TBLR
background_color = #ffffaa 100
border_color = #999999 100
background_color_hover = #ffffaa 100
border_color_hover = #999999 100
background_color_pressed = #ffffaa 100
border_color_pressed = #999999 100
# Background 6: Inactive desktop name
rounded = 0
border_width = 2
border_sides = B
background_color = #777777 0
border_color = #777777 0
background_color_hover = #bdbdbd 21
border_color_hover = #cccccc 100
background_color_pressed = #777777 21
border_color_pressed = #777777 100
# Background 7: Active desktop name
rounded = 0
border_width = 2
border_sides = B
background_color = #ffffff 21
border_color = #4c73ff 100
background_color_hover = #ffffff 21
border_color_hover = #4d73ff 100
background_color_pressed = #a9a9a9 21
border_color_pressed = #4d73ff 100
gradient_id_pressed = 1
# Background 8: Button
rounded = 0
border_width = 2
border_sides = B
background_color = #ffffff 0
border_color = #4c73ff 0
background_color_hover = #ffffff 0
border_color_hover = #4d73ff 100
background_color_pressed = #a9a9a9 0
border_color_pressed = #4d73ff 100
gradient_id_pressed = 1
#-------------------------------------
# Panel
panel_items = PPPPPLFSC
panel_size = 100% 32
panel_margin = 0 0
panel_padding = 4 0 4
panel_background_id = 1
wm_menu = 1
panel_dock = 0
panel_position = top 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 = 0
mouse_effects = 1
font_shadow = 0
mouse_hover_icon_asb = 100 0 10
mouse_pressed_icon_asb = 100 0 0
#-------------------------------------
# Taskbar
taskbar_mode = multi_desktop
taskbar_hide_if_empty = 0
taskbar_padding = 0 0 0
taskbar_background_id = 0
taskbar_active_background_id = 0
taskbar_name = 0
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 0
taskbar_name_background_id = 6
taskbar_name_active_background_id = 7
taskbar_name_font = sans bold 9
taskbar_name_font_color = #dddddd 100
taskbar_name_active_font_color = #dddddd 100
taskbar_distribute_size = 1
taskbar_sort_order = none
task_align = left
#-------------------------------------
# Task
task_text = 1
task_icon = 0
task_centered = 1
urgent_nb_of_blink = 100000
task_maximum_size = 120 35
task_padding = 8 3 4
task_font = Sans 8
task_tooltip = 1
task_font_color = #c6c6c6 100
task_active_font_color = #ffffff 100
task_icon_asb = 100 0 0
task_background_id = 2
task_active_background_id = 3
task_urgent_background_id = 4
task_iconified_background_id = 2
mouse_left = toggle_iconify
mouse_middle = none
mouse_right = close
mouse_scroll_up = prev_task
mouse_scroll_down = next_task
#-------------------------------------
# System tray (notification area)
systray_padding = 0 0 2
systray_background_id = 0
systray_sort = ascending
systray_icon_size = 24
systray_icon_asb = 100 0 0
systray_monitor = 1
systray_name_filter =
#-------------------------------------
# Launcher
launcher_padding = 0 0 2
launcher_background_id = 0
launcher_icon_background_id = 0
launcher_icon_size = 22
launcher_icon_asb = 100 0 0
launcher_icon_theme_override = 0
startup_notifications = 1
launcher_tooltip = 1
launcher_item_app = firefox.desktop
launcher_item_app = iceweasel.desktop
launcher_item_app = chromium-browser.desktop
launcher_item_app = google-chrome.desktop
launcher_item_app = x-terminal-emulator.desktop
#-------------------------------------
# Clock
time1_format = %H:%M
time2_format =
time1_font = Liberation Sans Narrow Bold Condensed 12
time1_timezone =
time2_timezone =
time2_font = sans 7
clock_font_color = #eeeeee 100
clock_padding = 8 0
clock_background_id = 0
clock_tooltip =
clock_tooltip_timezone =
clock_lclick_command = zenity --calendar --text ""
clock_rclick_command = orage
clock_mclick_command =
clock_uwheel_command =
clock_dwheel_command =
#-------------------------------------
# Battery
battery_tooltip = 1
battery_low_status = 10
battery_low_cmd = notify-send "battery low"
battery_full_cmd =
bat1_font = sans 8
bat2_font = sans 6
battery_font_color = #eeeeee 100
bat1_format =
bat2_format =
battery_padding = 1 0
battery_background_id = 0
battery_hide = 101
battery_lclick_command =
battery_rclick_command =
battery_mclick_command =
battery_uwheel_command =
battery_dwheel_command =
ac_connected_cmd =
ac_disconnected_cmd =
#-------------------------------------
# Button 1
button = new
button_icon = /home/sc/Pictures/tint2 icons/settings-10-24.png
button_text = 1
button_lclick_command = wmctrl -s 0
button_rclick_command =
button_mclick_command =
button_uwheel_command =
button_dwheel_command =
button_font = Liberation Sans Narrow Bold Condensed 12
button_font_color = #ffffff 100
button_padding = 5 5
button_background_id = 8
button_centered = 1
button_max_icon_size = 22
#-------------------------------------
# Button 2
button = new
button_icon = /home/sc/Pictures/tint2 icons/globe-7-24.png
button_text = 2
button_lclick_command = wmctrl -s 1
button_rclick_command = wmctrl -s 1 && firefox
button_mclick_command =
button_uwheel_command =
button_dwheel_command =
button_font = Liberation Sans Narrow Bold Condensed 12
button_font_color = #ffffff 100
button_padding = 5 5
button_background_id = 8
button_centered = 0
button_max_icon_size = 22
#-------------------------------------
# Button 3
button = new
button_icon = /home/sc/Pictures/tint2 icons/documents-24.png
button_text = 3
button_lclick_command = wmctrl -s 2
button_rclick_command = wmctrl -s 2 && thunar
button_mclick_command = thunar
button_uwheel_command =
button_dwheel_command =
button_font = Liberation Sans Narrow Bold Condensed 12
button_font_color = #ffffff 100
button_padding = 5 5
button_background_id = 8
button_centered = 0
button_max_icon_size = 22
#-------------------------------------
# Button 4
button = new
button_icon = /home/sc/Pictures/tint2 icons/edit-11-24.png
button_text = 4
button_lclick_command = wmctrl -s 3
button_rclick_command = wmctrl -s 3 && geany
button_mclick_command =
button_uwheel_command =
button_dwheel_command =
button_font = Liberation Sans Narrow Bold Condensed 12
button_font_color = #ffffff 100
button_padding = 5 5
button_background_id = 8
button_centered = 0
button_max_icon_size = 22
#-------------------------------------
# Button 5
button = new
button_icon = /home/sc/Pictures/tint2 icons/monitor-24.png
button_text = 5
button_lclick_command = wmctrl -s 4
button_rclick_command = wmctrl -s 4 && terminator
button_mclick_command = terminator
button_uwheel_command =
button_dwheel_command =
button_font = Liberation Sans Narrow Bold Condensed 12
button_font_color = #ffffff 100
button_padding = 5 5
button_background_id = 8
button_centered = 0
button_max_icon_size = 22
#-------------------------------------
# Tooltip
tooltip_show_timeout = 0.5
tooltip_hide_timeout = 0.1
tooltip_padding = 2 2
tooltip_background_id = 5
tooltip_font_color = #222222 100
tooltip_font = sans 9
Using no taskbar here, getting more in touch with the keyboard shortcuts and mouse shortcuts.
Last edited by Steve (2017-10-01 14:17:50)
Offline
Pages: 1