Author Topic: Tint2 Configs and scrots  (Read 16403 times)

PackRat

  • Posts: 2213
    • View Profile
    • PackRat configs on github
Re: Tint2 Configs and scrots
« Reply #15 on: May 04, 2019, 08:22:02 PM »
   
tint2 without taskbar/pager since Fvwm has built-in IconBox, FvwmIconMan, or FvwmPager if I want those.

tint2 being used for jgmenu launcher (the void logo), system information using psuinfo executors, battery, system tray and clock. Using the extensible spacer panel item to center the system information.

Code: [Select]
# Tint2 config file
# Generated by tintwizard (http://code.google.com/p/tintwizard/)
# For information on manually configuring tint2 see http://code.google.com/p/tint2/wiki/Configure

# Background definitions
# ID 1
rounded = 0
border_width = 0
border_sides = T
background_color = #212121 100
border_color = #4B6EB3 100

# urgent background
# ID 2
rounded = 1
border_width = 1
background_color = #A43949 100
border_color = #DDDDDD 100

# tooltip background
# ID 3
rounded = 4
border_width = 1
background_color = #F7F7F7 100
border_color = #F3F3F3 100

# ID 4
rounded = 1
border_width = 0
background_color = #34393B 100
border_color = #171717 100

# separators define all used

separator=new
separator_background_id = 0
separator_color = #101010
separator_style = line
separator_size = 1
separator_padding = 0 0

separator=new
separator_background_id = 0
separator_color = #101010
separator_style = line
separator_size = 1
separator_padding = 0 0

separator=new
separator_background_id = 0
separator_color = 0
separator_style = empty
separator_size = 1
separator_padding = 0 0

# executor sysinfo
execp = new
execp_font = Roboto Mono Regular 11
execp_font_color = #CF9A34 100
execp_background_id = 0
execp_centered = 1
execp_padding = 12 0 0
execp_command = psuinfo -Cuack -N -S3
# execp_command = psuinfo -Cuac -N -S3
execp_interval = 2
execp_rclick_command = urxvt -e htop --sort-key PERCENT_MEM

# buttons P
button = new
button_icon = /home/doug/.config/tint2/void-trlogo.png
#button_text =
button_tooltip = Application Menu
#button_font =
button_font_color = #FFFFFF 100
button_background_id = 0
button_centered = 1
button_padding = 6 1 1
button_max_icon_size = 64
button_lclick_command = jgmenu --config-file=/home/doug/.config/jgmenu/tint2menurc
# button_lclick_command = jgmenu_run
# button_mclick_command = text
button_rclick_command = session-exit
#button_uwheel_command = text
#button_dwheel_command = text

# Panel
# panel_items = PFSFBC
panel_items = PFEBFSC
panel_monitor = all
panel_position = bottom center horizontal
panel_size = 0 30
panel_margin = 0 0
panel_padding = 0 2 0
panel_dock = 0
wm_menu = 1
panel_layer = normal
panel_background_id = 1

# Panel Autohide
autohide = 0
autohide_show_timeout = 0.7
autohide_hide_timeout = 1.5
autohide_height = 2
## strut_policy = follow_size/minimum/none
strut_policy = follow_size

# Taskbar
taskbar_mode = multi_desktop
taskbar_hide_if_empty = 0
taskbar_padding = 1 1 8
taskbar_background_id = 0
taskbar_active_background_id = 4
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 2
taskbar_name_background_id = 0
taskbar_name_active_background_id = 0
taskbar_name_font_color = #e3e3e3 100
taskbar_name_active_font_color = #ffffff 100
taskbar_distribute_size = 0
taskbar_sort_order = none
task_align = left

# Tasks
task_text = 0
task_icon = 1
task_centered = 1
urgent_nb_of_blink = 100000
task_maximum_size = 36 36
task_padding = 4 1
task_tooltip = 1
task_thumbnail = 0
task_thumbnail_size = 210
task_background_id = 0
task_active_background_id = 0
task_urgent_background_id = 2
task_iconified_background_id = 0
mouse_left = toggle_iconify
mouse_middle = none
mouse_right = close
mouse_scroll_up = toggle
mouse_scroll_down = iconify

# Task Icons
task_icon_asb = 100 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 = Roboto Regular 10
task_font_color = #DFDFDF 80
task_active_font_color = #DFDFDF 80
task_urgent_font_color = #DFDFDF 100
task_iconified_font_color = #999999 80
font_shadow = 0

# System Tray
systray = 1
systray_padding = 1 0 4
systray_sort = ascending
systray_background_id = 0
systray_icon_size = 20
systray_icon_asb = 100 0 0

# Clock
time1_format = %k:%M
time1_font = Roboto Mono Regular 11
time2_format =
time2_font =
clock_font_color = #DDDDDD 100
clock_tooltip =
clock_padding = 12 0
clock_background_id = 0
clock_rclick_command = yad --calendar --class="fbox_cal" --title="`date "+%A %e %B %Y   %k:%M"`" --width=368 --height=240 --skip-taskbar --sticky --text ""
time1_timezone = :US/Eastern
time2_timezone =

# Tooltips
tooltip_padding = 2 2
tooltip_show_timeout = 0.8
tooltip_hide_timeout = 0.3
tooltip_background_id = 3
tooltip_font = Monospace 11
tooltip_font_color = #050314 100

# Battery
battery = 1
battery_hide = never
battery_low_status = 20
battery_low_cmd = notify-send "battery low"
# battery_full_cmd = notify-send "battery full"
bat1_font = Roboto Mono Regular 11
bat2_font = Sans Regular 0
battery_font_color = #CF9A34 100
#
#==============================================#
#
# %s: State (charging, discharging, full, unknown).
# %m: Minutes left until completely charged/discharged (estimated).
# %h: Hours left until completely charged/discharged (estimated).
# %t: Time left. Shows "hrs:mins" when charging/discharging, or "Ful\" when full.
# %p: Percentage. Includes the % sign.

bat1_format = BAT0: %p
bat2_format =
battery_padding = 8 0
battery_background_id = 0
battery_tooltip_enabled = 0
# these options don't seem to work ======================================#
# battery_lclick_command =
# battery_rclick_command =
# battery_mclick_command = "pkill -s -SIGUSR1 tint2"
# battery_uwheel_command = text : Command to execute on wheel scroll up. (since 0.12.1)
# battery_dwheel_command = text : Command to execute on wheel scroll down. (since 0.12.1)
#=========================================================================#
ac_connected_cmd = notify-send "AC Power Connected"
ac_disconnected_cmd = notify-send "AC Power Disconnected"

# End of config
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo