123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318 |
- #---- Generated by tint2conf d57a ----
- # See https://gitlab.com/o9000/tint2/wikis/Configure for
- # full documentation of the configuration options.
- # "#9cff00" lime green/yellow main highlight colour
- #-------------------------------------
- # Backgrounds
- # Background 1: Active task, Battery, Clock, Panel, Tooltip
- rounded = 0
- border_width = 1
- background_color = #333333 100
- border_color = #333333 100
- background_color_hover = #666666 100
- border_color_hover = #666666 100
- background_color_pressed = #9cff00 100
- border_color_pressed = #999999 100
- # Background 2: Active desktop name, Active taskbar
- rounded = 0
- border_width = 1
- background_color = #333333 100
- border_color = #9cff00 100
- background_color_hover = #9cff00 100
- border_color_hover = #9cff00 100
- background_color_pressed = #9cff00 100
- border_color_pressed = #999999 100
- # Background 3: Inactive desktop name, Inactive taskbar
- rounded = 0
- border_width = 1
- background_color = #333333 100
- border_color = #666666 100
- background_color_hover = #00ff03 100
- border_color_hover = #00ff03 100
- background_color_pressed = #c9ff00 100
- border_color_pressed = #0aff00 100
- #-------------------------------------
- # Panel
- panel_items = EEEEELTSBC
- panel_size = 100% 28
- panel_margin = 1 1
- panel_padding = 1 1 1
- panel_background_id = 1
- wm_menu = 1
- panel_dock = 0
- panel_position = bottom center horizontal
- panel_layer = top
- panel_monitor = all
- primary_monitor_first = 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 = 0
- mouse_hover_icon_asb = 96 0 50
- mouse_pressed_icon_asb = 96 0 0
- #-------------------------------------
- # Taskbar
- taskbar_mode = multi_desktop
- taskbar_padding = 0 0 0
- taskbar_background_id = 3
- taskbar_active_background_id = 2
- taskbar_name = 0
- taskbar_hide_inactive_tasks = 0
- taskbar_hide_different_monitor = 0
- taskbar_always_show_all_desktop_tasks = 1
- taskbar_name_padding = 0 0
- taskbar_name_background_id = 3
- taskbar_name_active_background_id = 2
- taskbar_name_font = Sans 8
- taskbar_name_font_color = #999999 100
- taskbar_name_active_font_color = #999999 100
- taskbar_distribute_size = 0
- taskbar_sort_order = title
- task_align = left
- #-------------------------------------
- # Task
- task_text = 0
- task_icon = 1
- task_centered = 1
- urgent_nb_of_blink = 100000
- task_maximum_size = 40 20
- task_padding = 0 0 0
- task_font = Sans 8
- task_tooltip = 1
- task_font_color = #999999 100
- task_normal_font_color = #999999 100
- task_active_font_color = #999999 100
- task_urgent_font_color = #ff0000 100
- task_active_icon_asb = 100 0 50
- task_background_id = 0
- task_normal_background_id = 0
- task_active_background_id = 1
- task_urgent_background_id = 0
- task_iconified_background_id = 0
- mouse_left = toggle
- mouse_middle = maximize_restore
- mouse_right = close
- mouse_scroll_up = none
- mouse_scroll_down = none
- #-------------------------------------
- # System tray (notification area)
- systray_padding = 1 1 5
- systray_background_id = 0
- systray_sort = right2left
- systray_icon_size = 24
- systray_icon_asb = 100 0 0
- systray_monitor = 1
- #-------------------------------------
- # Launcher
- launcher_padding = 2 4 2
- launcher_background_id = 0
- launcher_icon_background_id = 0
- launcher_icon_size = 24
- launcher_icon_asb = 100 0 0
- launcher_icon_theme_override = 0
- startup_notifications = 1
- launcher_tooltip = 1
- #-------------------------------------
- # Clock
- time1_format = %T%P
- time2_format = %D
- time1_font = Sans 7
- time1_timezone =
- time2_timezone =
- time2_font = Sans 7
- clock_font_color = #999999 100
- clock_padding = 1 1
- clock_background_id = 1
- clock_tooltip = %l:%M %p %n %A %n %d %B %n %Y %n Day No:%u %n Week No:%U %n %Z %n ########## %n Lmb=Alarm %n Mmb=Calendar %n Rmb=Run %n up=split-h down=split-v
- clock_tooltip_timezone =
- clock_lclick_command = xclock -padding 20 -hands red
- clock_rclick_command = runner -r
- clock_mclick_command = xterm -e calcurse
- clock_uwheel_command = xdotool key ctrl+F10 #split-h last 2 active windows on current desktop
- clock_dwheel_command = xdotool key ctrl+F9 #split-v last 2 active windows on current desktop
- #-------------------------------------
- # Battery
- battery_tooltip = 1
- battery_low_status = 20
- battery_low_cmd = notify-send "battery low"
- bat1_font = Sans 7
- bat2_font = Sans 7
- battery_font_color = #999999 100
- battery_padding = 1 0
- battery_background_id = 1
- battery_hide = 101
- battery_lclick_command = `grep remaining /proc/acpi/battery/S1B5/state | tr -d A-z | tr -d " " | tr -d :`
- battery_rclick_command = `grep "design capacity:" /proc/acpi/battery/S1B5/info | tr -d A-z | tr -d " " | tr -d :`
- battery_mclick_command = `grep "present rate:" /proc/acpi/battery/S1B5/state | tr -d A-z | tr -d " " | tr -d :`
- battery_uwheel_command =
- battery_dwheel_command =
- ac_connected_cmd = xmessage -buttons , -nearmouse "Mains power" #notify-send "Mains power"
- ac_disconnected_cmd = xmessage -buttons , -nearmouse "Battery power" #notify-send "Battery power"
- #-------------------------------------
- # Executor 1
- execp = new
- execp_command = xprop -root -spy | awk '/^_NET_CURRENT_DESKTOP/ { print "" ($3 + 1) ; fflush(); }'
- execp_interval = 1
- execp_has_icon = 0
- execp_cache_icon = 0
- execp_continuous = 1
- execp_markup = 0
- execp_tooltip = lmb=add-desktop, rmb=remove-desktop, up reset tint2, down reset fittstool
- execp_lclick_command = num_of_desk=$(wmctrl -d | wc -l) ; num_of_desk=$(xdotool get_num_desktops) ; num_of_desk=$(wmctrl -d | wc -l) ; xdotool set_num_desktops $(( num_of_desk + 1 ))
- execp_rclick_command = num_of_desk=$(wmctrl -d | wc -l) ; num_of_desk=$(xdotool get_num_desktops) ; wmctrl -n $(( num_of_desk - 1 )) ; xdotool set_num_desktops $(( num_of_desk - 1 ))
- execp_mclick_command =
- execp_uwheel_command = killall tint2; tint2
- execp_dwheel_command = killall fittstool; fittstool
- execp_font = Sans 16
- execp_font_color = #00ff00 100
- execp_padding = 0 0
- execp_background_id = 0
- execp_centered = 0
- execp_icon_w = 0
- execp_icon_h = 0
- #-------------------------------------
- # Executor 2
- execp = new
- execp_command = top -b -n2 -p 1 | fgrep "Cpu(s)" | tail -1 | awk -F'id,' -v prefix="$prefix" '{ split($1, vs, ","); v=vs[length(vs)]; sub("%", "", v); printf "CPU:" "%s%.1f%%\n", prefix, 100 - v } '
- execp_interval = 1
- execp_has_icon = 0
- execp_cache_icon = 0
- execp_continuous = 1
- execp_markup = 0
- execp_tooltip = lmb=htop, mmb=inxi, rmb=hwinfo
- execp_lclick_command = lilyterm -H -t 1 -T htop -e htop & sleep 0.3 && wmctrl -r :ACTIVE: -b add,maximized_vert,maximized_horz
- execp_rclick_command = lilyterm -H -t 1 -T hwinfo -e hwinfo --short & sleep 0.3 && wmctrl -r :ACTIVE: -b add,maximized_vert,maximized_horz
- execp_mclick_command = lilyterm -H -t 1 -T inxi -e inxi -AbCDGimswxxx & sleep 0.3 && wmctrl -r :ACTIVE: -b add,maximized_vert,maximized_horz
- execp_uwheel_command =
- execp_dwheel_command =
- execp_font = Sans 8
- execp_font_color = #ff0000 100
- execp_padding = 0 0
- execp_background_id = 0
- execp_centered = 0
- execp_icon_w = 0
- execp_icon_h = 0
- #-------------------------------------
- # Executor 3
- execp = new
- execp_command = echo ~/.config/tint2/reboot.png
- execp_interval = 1
- execp_has_icon = 1
- execp_cache_icon = 1
- execp_continuous = 1
- execp_markup = 0
- execp_tooltip = lmb=suspend, mmb=shutdown, rmb=reboot
- execp_lclick_command = dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Suspend
- execp_rclick_command = dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Restart
- execp_mclick_command = dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop
- execp_uwheel_command =
- execp_dwheel_command =
- execp_font = Sans 16
- execp_font_color = #00ff00 100
- execp_padding = 0 0
- execp_background_id = 0
- execp_centered = 0
- execp_icon_w = 0
- execp_icon_h = 0
- #-------------------------------------
- # Executor 4
- execp = new
- execp_command = stdbuf -oL bwm-ng -o csv -t 1000 | awk -F ';' '/total/ { printf "Net: %.0f Mb/s\n", ($5*8/1.0e6) }; fflush(stdout)'
- execp_interval = 1
- execp_has_icon = 0
- execp_cache_icon = 0
- execp_continuous = 1
- execp_markup = 0
- execp_tooltip = lmb=ifconfig, mmb=speedtest, rmb=lftp-gungre
- execp_lclick_command = lilyterm -H -t 1 -T ifconfig -e ifconfig & sleep 0.3 && wmctrl -r :ACTIVE: -b add,maximized_vert,maximized_horz
- execp_rclick_command = lilyterm -H -t 1 -T lftp -e lftp http://gungre.ch/dragora/repo/ & sleep 0.3 && wmctrl -r :ACTIVE: -b add,maximized_vert,maximized_horz
- execp_mclick_command = lilyterm -H -t 1 -T speedtest -e speedtest & sleep 0.3 && wmctrl -r :ACTIVE: -b add,maximized_vert,maximized_horz
- execp_uwheel_command =
- execp_dwheel_command =
- execp_font = Sans 8
- execp_font_color = #999999 100
- execp_padding = 0 0
- execp_background_id = 0
- execp_centered = 1
- execp_icon_w = 0
- execp_icon_h = 0
- #-------------------------------------
- # Executor 5
- execp = new
- execp_command = echo ~/.config/tint2/weather.png
- execp_interval = 1
- execp_has_icon = 1
- execp_cache_icon = 1
- execp_continuous = 1
- execp_markup = 0
- execp_tooltip = lmb=weather-uk, rmb=weather-other
- execp_lclick_command = xterm -hold -e curl wttr.in/Bremen ~ wttr.in/London
- execp_rclick_command = xterm -hold -e curl wttr.in/Santiago+del+Estero ~ wttr.in/Umeå
- execp_mclick_command =
- execp_uwheel_command =
- execp_dwheel_command =
- execp_font = Sans 16
- execp_font_color = #00ff00 100
- execp_padding = 0 0
- execp_background_id = 0
- execp_centered = 0
- execp_icon_w = 0
- execp_icon_h = 0
- #-------------------------------------
- # Executor 6
- execp = new
- execp_command = echo ~/.config/tint2/window-move.png
- execp_interval = 1
- execp_has_icon = 1
- execp_cache_icon = 1
- execp_continuous = 1
- execp_markup = 0
- execp_tooltip = lmb=split-h, rmb=split-v ,wheel-up=maxall, wheel-down=minall,
- #openbox#
- #execp_lclick_command = xdotool key ctrl+F10 #split-h last 2 active windows on current desktop
- #execp_rclick_command = xdotool key ctrl+F9 #split-v last 2 active windows on current desktop
- #icewm#
- execp_lclick_command = xdotool key alt+F10 #maximize
- execp_rclick_command = xdotool key alt+F9 #minimize
- execp_mclick_command =
- execp_uwheel_command = maxall
- execp_dwheel_command = minall
- execp_font = Sans 16
- execp_font_color = #00ff00 100
- execp_padding = 0 0
- execp_background_id = 0
- execp_centered = 0
- execp_icon_w = 0
- execp_icon_h = 0
- #-------------------------------------
- # Tooltip
- tooltip_show_timeout = 0.5
- tooltip_hide_timeout = 0.1
- tooltip_padding = 1 1
- tooltip_background_id = 1
- tooltip_font_color = #999999 100
- tooltip_font = Sans 8
|