You are not logged in.

#76 2017-07-16 09:52:19

o9000
tint2 developer
From: Network Neighborhood
Registered: 2015-10-24
Posts: 398
Website

Re: My tint2 config

Should probably be broken into a different thread.

The best I can think of is:

strace -e open REPLACE-WITH-APPLICATION-HERE 2>&1 | grep -E '\.(png|xpm|svg)"'

But you will have to figure out which one is the tray icon.

If the icon is embedded in the executable (as it is for vlc) or it is generated programatically (as it might be for a graph icon), it won't show up.

Offline

#77 2017-07-16 13:18:08

DustyB
Member
Registered: 2017-07-02
Posts: 61

Re: My tint2 config

here is mine ...



# Tint2 config file - D Brahmi

# Background definitions
# ID 1 - panel
rounded = 2
border_width = 0
background_color = #000000 80
border_color = #000000 40

# ID 2 - task
rounded = 2
border_width = 0
background_color = #000000 60
border_color = #686868 40

# ID 3 - task active
rounded = 2
border_width = 1
background_color = #000000 60
border_color = #355564 60

# ID 4 - task urgent
rounded = 2
border_width = 1
background_color = #FF7900 10
border_color = #FF7900 30

# ID 5 - task iconified
rounded = 2
border_width = 0
background_color = #000000 50
border_color = #000000 40

# ID 6 - taskbar
rounded = 2
border_width = 0
background_color = #000000 0
border_color = #000000 0

# ID 7 - active taskbar
rounded = 2
border_width = 0
background_color = #000000 0
border_color = #000000 0

# ID 8 - tooltip
rounded = 2
border_width = 0
background_color = #EBF1F2 60
border_color = #EBF1F2 60

# ID 9 - clock
rounded = 2
border_width = 0
background_color = #000000 0
border_color = #FFFFFF 0

# Panel
panel_monitor = all
panel_position = top center horizontal
panel_size = 99% 20
panel_margin = 1 0
panel_padding = 1 1 1
panel_dock = 0
panel_items = LTSC
wm_menu = 0
panel_layer = top
panel_background_id = 1

# Panel Autohide
autohide = 0
autohide_show_timeout = 0.3
autohide_hide_timeout = 2
autohide_height = 2
strut_policy = follow_size

# Launcher
launcher_padding = 1 1 1
launcher_background_id = 1
launcher_icon_size = 16
launcher_icon_theme = Moka
launcher_item_app = /usr/share/applications/exo-web-browser.desktop
launcher_item_app = /usr/share/applications/bl-file-manager.desktop 
launcher_item_app = /usr/share/applications/bl-text-editor.desktop
launcher_item_app = /usr/share/applications/bl-terminal-emulator.desktop
launcher_item_app = /usr/share/applications/deluge.desktop
launcher_icon_asb = 70 0 0

# Taskbar
taskbar_mode = single_desktop
taskbar_padding = 0 0 2
taskbar_background_id = 6
taskbar_active_background_id = 7

# Tasks
urgent_nb_of_blink = 10
task_icon = 0
task_text = 1
task_centered = 1
task_maximum_size = 100 19
task_padding = 2 2
task_background_id = 2
task_active_background_id = 3
task_urgent_background_id = 4
task_iconified_background_id = 5

# Task Icons
task_icon_asb = 70 0 0
task_active_icon_asb = 100 0 0
task_urgent_icon_asb = 100 0 0
task_iconified_icon_asb = 70 0 0

# Fonts
task_font = Droid Sans 8
task_font_color = #999999 60
task_active_font_color = #E6E6E6 100
task_urgent_font_color = #0066FD 80
task_iconified_font_color = #6E6E6E 60
font_shadow = 0

# System Tray
systray = 1
systray_padding = 1 0 1
systray_sort = ascending
systray_background_id = 0
systray_icon_theme = Faenza-Bunsen
systray_icon_size = 16
systray_icon_asb = 70 0 100

# Clock
time1_format = %A %d %b | %H:%M
time1_font = Droid Sans 8
clock_font_color = #FFFFFF 80
clock_padding = 2 0
clock_background_id = 9
clock_lclick_command = gsimplecal
clock_rclick_command = xpad

# Tooltips
tooltip = 0
tooltip_padding = 2 2
tooltip_show_timeout = 0.7
tooltip_hide_timeout = 0.3
tooltip_background_id = 8
tooltip_font = sans 10
tooltip_font_color = #000000 80

# Mouse
mouse_middle = none
mouse_right = close
mouse_scroll_up = none
mouse_scroll_down = none

# Battery
battery = 0
battery_low_status = 10
battery_low_cmd = notify-send "battery low"
battery_hide = 98
bat1_font = sans 8
bat2_font = sans 6
battery_font_color = #FFFFFF 64
battery_padding = 1 0
battery_background_id = 0

# End of config

Offline

#78 2017-09-30 23:43:06

obscurant
Member
Registered: 2017-08-06
Posts: 107

Re: My tint2 config

Controls for audacious. Could this be adapted to be used on tint2?

Offline

#79 2017-10-01 05:47:49

ohnonot
...again
Registered: 2015-09-29
Posts: 3,419
Website

Re: My tint2 config

^ easily.
multiple executors and/or launcher buttons to accomodate some or maybe even all (!) of audacious' command line functions.

maybe currently playing song added to tint2 panel.

i did something similar for mocp, but it is in sore
need of an overhaul ... :-(

Offline

#80 2017-10-02 00:44:29

obscurant
Member
Registered: 2017-08-06
Posts: 107

Re: My tint2 config

ohnonot wrote:

^ easily.
multiple executors and/or launcher buttons to accomodate some or maybe even all (!) of audacious' command line functions.

maybe currently playing song added to tint2 panel.

i did something similar for mocp, but it is in sore
need of an overhaul ... :-(

I'll try that, though my bash scripting is embarrassingly hacky.

Offline

#81 2017-10-02 06:28:39

ohnonot
...again
Registered: 2015-09-29
Posts: 3,419
Website

Re: My tint2 config

^ so is mine big_smile

Offline

#82 2017-12-20 14:19:53

satellite03
New Member
Registered: 2017-12-20
Posts: 2

Re: My tint2 config

Hiya!

This is what I'm using, found the basis on the forums and poked around with it until it felt personal. I have installed ProFont but I don't see why this couldn't work with roboto 10pt either.



#---- Generated by tint2conf f101 ----
#---- modified by hand by ike ----
# See https://gitlab.com/o9000/tint2/wikis/Configure for 
# full documentation of the configuration options.
#-------------------------------------
# Gradients
#-------------------------------------
# Backgrounds
# Background 1: Panel
rounded = 0
border_width = 1
border_sides = TBLR9
background_color = #dcdad5 100
border_color = #787878 100
background_color_hoactive_taskver = #dcdad5 100
border_color_hover = #787878 100
background_color_pressed = #dcdad5 100
border_color_pressed = #787878 100

# Background 2: Default task, Iconified task
rounded = 1
border_width = 1
border_sides = TBLR
background_color = #dcdad5 100
border_color = #dcdad5 100
background_color_hover = #dcdad5 100
border_color_hover = #cccccc 100
background_color_pressed = #4A6882 100
border_color_pressed = #cccccc 100
999999
# Background 3: Active task
rounded = 1
border_width = 1
border_sides = TBLR
background_color = #4A6882 100
border_color = #0B2E45 100
background_color_hover = #dcdad5 100
border_color_hover = #aaaaaa 100
background_color_pressed = #cccccc 100
border_color_pressed = #999999 100

# Background 4: Urgent task
rounded = 1
border_width = 1
border_sides = TBLR
background_color = #a91600 100
border_color = #ffd416 100
background_color_hover = #a91600 100
border_color_hover = #ffd416 100
background_color_pressed = #a91600 100
border_color_pressed = #ffd416 100

# Background 5: Tooltip
rounded = 1
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 = 1
border_width = 1
border_sides = TBLR
background_color = #C4C2BD 100
border_color = #999999 100
background_color_hover = #C4C2BD 100
border_color_hover = #999999 100
background_color_pressed = #C4C2BD 100
border_color_pressed = #999999 100

# Background 7: Active desktop name
rounded = 1
border_width = 1
border_sides = TBLR
background_color = #4A6882 100
border_color = #0B2E45 100
background_color_hover = #C4C2BD 100
border_color_hover = #999999 100
background_color_pressed = #C4C2BD 100
border_color_pressed = #999999 100


# Background 8: Systray
rounded = 1
border_width = 0
border_sides = TBLR
background_color = #dddddd 100
border_color = #cccccc 100
background_color_hover = #dddddd 100
border_color_hover = #cccccc 100
background_color_pressed = #dddddd 100
border_color_pressed = #cccccc 100

# Background 9: Clock
rounded = 1
border_width = 1
border_sides = TBLR
background_color = #C4C2BD 100
border_color = #999999 100
background_color_hover = #C4C2BD 100
border_color_hover = #999999 100
background_color_pressed = #C4C2BD 100
border_color_pressed = #999999 100
#-------------------------------------
# Panel
panel_items = T:S:C
panel_size = 100% 30
panel_margin = 0 0
panel_padding = 4 2 4
panel_background_id = 1
wm_menu = 1
panel_dock = 0
panel_position = top right hotizontal
panel_layer = bottom
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 2
taskbar_background_id = 0
taskbar_active_background_id = 9
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 = 6 3
taskbar_name_background_id = 6
taskbar_name_active_background_id = 7
taskbar_name_font = Roboto 10
taskbar_name_font_color = #53534F 70
taskbar_name_active_font_color = #F6F8FB 100
taskbar_distribute_size = 1
taskbar_sort_order = none
task_align = left

#-------------------------------------
# Task
task_text = 1
task_icon = 1
task_centered = 0
urgent_nb_of_blink = 100000
task_maximum_size = 175 35
task_padding = 4 3 4
task_font = Roboto 10
task_tooltip = 1
task_font_color = #53534F 70
task_active_font_color = #F6F8FB 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 = shade
mouse_right = close
mouse_scroll_up = prev_task
mouse_scroll_down = next_task
#-------------------------------------
# Separator for system tray
separator = 1
separator_background_id = 9
separator_color = #787878 100
separator_style = line
separator_size = 2
separator_padding = 4 0 2
#-------------------------------------
# System tray (notification area)
systray_padding = 4 0 2
systray_background_id = 9
systray_sort = ascending
systray_icon_size = 22
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 = tint2conf.desktop
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 = %A %d %B
time1_font = Roboto 10
time1_timezone = :Continent/City
time2_timezone = 
time2_font = Profont 7
clock_font_color = #222222 100
clock_padding = 1 0
clock_background_id = 9
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 = #222222 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 = 

#-------------------------------------
# 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 = Profont 10

screenshot

Offline

#83 2019-01-20 18:46:31

THX1138
Member
Registered: 2019-01-14
Posts: 158

Re: My tint2 config

Just a little tint2 I made

Tint2 screenshot

# 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
border_content_tint_weight = 0
background_content_tint_weight = 0
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
border_content_tint_weight = 100
background_content_tint_weight = 25
background_color = #777777 0
border_color = #777777 100
background_color_hover = #464646 100
border_color_hover = #cccccc 30
background_color_pressed = #1e1e1e 100
border_color_pressed = #777777 30

# Background 3: Active task
rounded = 0
border_width = 2
border_sides = B
border_content_tint_weight = 100
background_content_tint_weight = 100
background_color = #ffffff 100
border_color = #d9d9d9 100
background_color_hover = #ffffff 73
border_color_hover = #d9d9d9 100
background_color_pressed = #989898 73
border_color_pressed = #d9d9d9 100

# Background 4: Urgent task
rounded = 0
border_width = 0
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
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
border_content_tint_weight = 0
background_content_tint_weight = 0
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
border_content_tint_weight = 0
background_content_tint_weight = 0
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
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #ffffff 21
border_color = #d9d9d9 100
background_color_hover = #ffffff 21
border_color_hover = #d9d9d9 100
background_color_pressed = #a9a9a9 21
border_color_pressed = #d9d9d9 100

#-------------------------------------
# Panel
panel_items = LTSC
panel_size = 100% 32
panel_margin = 0 0
panel_padding = 1 0 4
panel_background_id = 1
wm_menu = 1
panel_dock = 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 = 0
mouse_effects = 1
font_shadow = 0
mouse_hover_icon_asb = 100 -3 10
mouse_pressed_icon_asb = 100 0 -2
scale_relative_to_dpi = 0
scale_relative_to_screen_height = 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 = 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 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 = 4 3 4
task_font = Sans 8
task_tooltip = 0
task_thumbnail = 0
task_thumbnail_size = 210
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 = 22
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 = ePapirus
launcher_icon_theme_override = 0
startup_notifications = 1
launcher_tooltip = 1
launcher_item_app = tint2conf.desktop
launcher_item_app = /usr/share/applications/firefox-esr.desktop
launcher_item_app = /usr/share/applications/thunderbird.desktop
launcher_item_app = /usr/share/applications/geany.desktop
launcher_item_app = /usr/share/applications/catfish.desktop
launcher_item_app = /usr/share/applications/Thunar.desktop
launcher_item_app = /usr/share/applications/org.gnome.DiskUtility.desktop
launcher_item_app = /usr/share/applications/synaptic.desktop
launcher_item_app = /usr/share/applications/terminator.desktop
launcher_item_app = /usr/share/applications/warzone2100.desktop

#-------------------------------------
# Clock
time1_format = %H:%M
time2_format = 
time1_font = sans bold 8
time1_timezone = 
time2_timezone = 
time2_font = sans 7
clock_font_color = #eeeeee 100
clock_padding = 1 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 = 0
battery_low_cmd = 
battery_full_cmd = 
battery_font_color = #000000 100
bat1_format = 
bat2_format = 
battery_padding = 0 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 = 

#-------------------------------------
# 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

you can see the tint2 bar better here robotic santa on deviantart

I use the icon set called epapirus

Last edited by THX1138 (2019-01-20 18:53:24)


I did not attend his funeral, but I sent a nice letter saying I approved of it. (Mark Twain)

Offline

Board footer

Powered by FluxBB