Add tint2rc + script for basing border colours on pywal
parent
f9b47e21a0
commit
c2497f8152
@ -0,0 +1,196 @@
|
||||
#---- Generated by tint2conf c6cf ----
|
||||
# See https://gitlab.com/o9000/tint2/wikis/Configure for
|
||||
# full documentation of the configuration options.
|
||||
#-------------------------------------
|
||||
# Gradients
|
||||
#-------------------------------------
|
||||
# Backgrounds
|
||||
# Background 1: Systray
|
||||
rounded = 5
|
||||
border_width = 3
|
||||
border_sides = TBLR
|
||||
border_content_tint_weight = 0
|
||||
background_content_tint_weight = 0
|
||||
background_color = #000000 100
|
||||
border_color = #000000 100
|
||||
background_color_hover = #000000 100
|
||||
border_color_hover = #000000 100
|
||||
background_color_pressed = #000000 100
|
||||
border_color_pressed = #000000 100
|
||||
|
||||
# Background 2: Clock
|
||||
rounded = 0
|
||||
border_width = 3
|
||||
border_sides = TBLR
|
||||
border_content_tint_weight = 0
|
||||
background_content_tint_weight = 0
|
||||
background_color = #ffffff 100
|
||||
border_color = #ffffff 100
|
||||
background_color_hover = #ffffff 100
|
||||
border_color_hover = #ffffff 100
|
||||
background_color_pressed = #ffffff 100
|
||||
border_color_pressed = #ffffff 100
|
||||
|
||||
# Background 3: Panel, Tooltip
|
||||
rounded = 0
|
||||
border_width = 5
|
||||
border_sides = TBLR
|
||||
border_content_tint_weight = 0
|
||||
background_content_tint_weight = 0
|
||||
background_color = #ffffff 100
|
||||
border_color = TEMPLATE 100
|
||||
background_color_hover = #ffffff 100
|
||||
border_color_hover = TEMPLATE 100
|
||||
background_color_pressed = #ffffff 100
|
||||
border_color_pressed = TEMPLATE 100
|
||||
|
||||
#-------------------------------------
|
||||
# Panel
|
||||
panel_items = FSC
|
||||
panel_size = 100% 50
|
||||
panel_margin = 5 5
|
||||
panel_padding = 4 2 2
|
||||
panel_background_id = 3
|
||||
wm_menu = 1
|
||||
panel_dock = 0
|
||||
panel_position = bottom right horizontal
|
||||
panel_layer = bottom
|
||||
panel_monitor = all
|
||||
panel_shrink = 1
|
||||
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
|
||||
scale_relative_to_dpi = 0
|
||||
scale_relative_to_screen_height = 0
|
||||
|
||||
#-------------------------------------
|
||||
# Taskbar
|
||||
taskbar_mode = single_desktop
|
||||
taskbar_hide_if_empty = 0
|
||||
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 = 6 3
|
||||
taskbar_name_background_id = 0
|
||||
taskbar_name_active_background_id = 0
|
||||
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 = 1
|
||||
task_centered = 1
|
||||
urgent_nb_of_blink = 100000
|
||||
task_maximum_size = 140 35
|
||||
task_padding = 4 3 4
|
||||
task_font = sans 8
|
||||
task_tooltip = 1
|
||||
task_thumbnail = 0
|
||||
task_thumbnail_size = 210
|
||||
task_font_color = #eeeeee 100
|
||||
task_icon_asb = 100 0 0
|
||||
task_background_id = 0
|
||||
task_active_background_id = 0
|
||||
task_urgent_background_id = 0
|
||||
task_iconified_background_id = 0
|
||||
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 5
|
||||
systray_background_id = 1
|
||||
systray_sort = ascending
|
||||
systray_icon_size = 25
|
||||
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 = %-d/%-m/%y
|
||||
time1_font = InconsolataLGC Nerd Font Mono Bold 10
|
||||
time1_timezone =
|
||||
time2_timezone =
|
||||
time2_font = InconsolataLGC Nerd Font Mono Medium 8
|
||||
clock_font_color = #000000 100
|
||||
clock_padding = 3 3
|
||||
clock_background_id = 2
|
||||
clock_tooltip = %H:%M:%S, %-d %B %Y
|
||||
clock_tooltip_timezone =
|
||||
clock_lclick_command =
|
||||
clock_rclick_command =
|
||||
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 =
|
||||
|
||||
#-------------------------------------
|
||||
# Tooltip
|
||||
tooltip_show_timeout = 0.5
|
||||
tooltip_hide_timeout = 0.1
|
||||
tooltip_padding = 2 2
|
||||
tooltip_background_id = 3
|
||||
tooltip_font_color = #000000 100
|
||||
tooltip_font = InconsolataLGC Nerd Font Mono Medium 8
|
||||
|
@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Get the variable
|
||||
csub=$(sed '2!d' ~/.cache/wal/colors)
|
||||
|
||||
# Create new tint2rc
|
||||
mkdir -p ~/.config/tint2
|
||||
cp ~/.linux/dots/tint2rctemplate ~/.config/tint2/plac
|
||||
sed -i "s/TEMPLATE/${csub}/g" ~/.config/tint2/plac
|
||||
rm ~/.config/tint2/tint2rc
|
||||
mv ~/.config/tint2/plac ~/.config/tint2/tint2rc
|
||||
killall -SIGUSR1 tint2
|
||||
|
||||
# Create new .conkyrc
|
||||
cp ~/.linux/dots/conkytemplate ~/conkyplac
|
||||
sed -i "s/COLOURTEMPLATE/${csub}/g" ~/conkyplac
|
||||
rm ~/.conkyrc
|
||||
mv ~/conkyplac ~/.conkyrc
|
Loading…
Reference in New Issue