Re: MX Fluxbox Screenshots
Posted: Tue Jun 08, 2021 5:47 pm
God, you people--terrific stuff!
Support for MX and antiX Linux distros
http://www.forum.mxlinux.org/
Double side bars, I love it! Think I now need to come up with a centrally focused background so I can play around with the idea...ceeslans wrote: Tue Jun 08, 2021 5:36 pm ... Seeing your screenshot with the rounded buttons, made me investigate the possibilities to capture executors in the very same round shapes. The vertical tint2 dock on the right is autohiding. Will likely tinker further with adding a few more executors - and subsequently smaller sizes...
The origin of executors is a mix of lecorbeau's and own creations, including some other commands and code I found on the web. The diskspace button uses your store-perc scriptMelber wrote: Tue Jun 08, 2021 7:07 pm The executor buttons look great, are they the ones from the tint2 executors thread with the lecorbeau icons?
I started off with smaller buttons in the main side panel, can't remember the values, but it's just a matter of fiddling around with the panel width and corner rounding. Hooray for fiddling!
Code: Select all
#-------------------------------------
#---- Tint2 SysInfo Dock -------------
#-------------------------------------
# Background 1: Panel
rounded = 5
border_width = 0
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #444444 0
border_color = #000000 50
background_color_hover = #444444 0
border_color_hover = #000000 0
background_color_pressed = #444444 0
border_color_pressed = #000000 0
# Background 2: Rounded Button
rounded = 42
border_width = 3
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #555555 75
border_color = #000000 75
background_color_hover = #666666 75
border_color_hover = #000000 75
background_color_pressed = #444444 75
border_color_pressed = #000000 75
# Background 3: Tooltip
rounded = 3
border_width = 2
border_sides = TBLR
border_content_tint_weight = 0
background_content_tint_weight = 0
background_color = #555555 75
border_color = #000000 50
background_color_hover = #666666 75
border_color_hover = #000000 50
background_color_pressed = #444444 75
border_color_pressed = #000000 50
#-------------------------------------
# Panel
panel_items = EEEEEE
panel_size = 100% 100
panel_margin = 5 0
panel_padding = 5 5 10
panel_background_id = 1
wm_menu = 0
panel_dock = 0
panel_position = center right vertical
panel_layer = top
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 15
mouse_pressed_icon_asb = 100 0 0
scale_relative_to_dpi = 0
scale_relative_to_screen_height = 0
#-------------------------------------
# Button 1
button = new
button_icon = ~/.config/tint2/icons/buttons/launch.png
button_text =
button_tooltip = Start...
button_lclick_command = rofi -modi drun,run,calc -show drun -show-icons -location 0 -width 300 -xoffset 0 -yoffset -0
button_rclick_command =
button_mclick_command =
button_uwheel_command =
button_dwheel_command =
button_font_color = #eeeeee 100
button_padding = 20 20
button_background_id = 2
button_centered = 1
button_max_icon_size = 0
#-------------------------------------
# Button 2
button = new
button_icon = ~/.config/tint2/icons/buttons/shutdown.png
button_text =
button_tooltip = Exit...
button_lclick_command = ~/bin/fb-exit/fbexit-ico
button_rclick_command =
button_mclick_command =
button_uwheel_command =
button_dwheel_command =
button_font_color = #eeeeee 100
button_padding = 20 20
button_background_id = 2
button_centered = 1
button_max_icon_size = 0
#-------------------------------------
# Executor (Active Workspace)
execp = new
execp_command = xprop -root -spy | awk '/^_NET_CURRENT_DESKTOP/ { print "@Desk" ($3 + 1) ; fflush(); }'
execp_interval = 1
execp_has_icon = 0
execp_cache_icon = 1
execp_continuous = 1
execp_markup = 1
execp_tooltip = Workspace pager
execp_lclick_command = fluxbox-remote NextWorkspace
execp_rclick_command = fluxbox-remote PrevWorkspace
execp_uwheel_command = fluxbox-remote NextWorkspace
execp_dwheel_command = fluxbox-remote PrevWorkspace
execp_mclick_command = fluxbox-remote ShowDesktop
execp_font = DejaVu Sans Condensed 11
execp_font_color = #eeeeee 100
execp_padding = 32 0 0
execp_background_id = 2
execp_centered = 1
execp_icon_w = 0
execp_icon_h = 0
#-------------------------------------
# Executor (Memory -in use)
execp = new
execp_command = ~/.config/tint2/executors/mem
execp_interval = 3
execp_has_icon = 1
execp_cache_icon = 0
execp_continuous = 0
execp_markup = 1
execp_tooltip = RAM in use
execp_lclick_command =
execp_rclick_command =
execp_mclick_command =
execp_uwheel_command =
execp_dwheel_command =
execp_font = DejaVu Sans Condensed 9
execp_font_color = #eeeeee 100
execp_padding = 11 0 -3
execp_background_id = 2
execp_centered = 1
execp_icon_w = 0
execp_icon_h = 0
#-------------------------------------
# Executor (CPU -in use)
execp = new
execp_command = ~/.config/tint2/executors/cpu
execp_interval = 3
execp_has_icon = 1
execp_cache_icon = 0
execp_continuous = 0
execp_markup = 1
execp_tooltip = CPU in use
execp_lclick_command =
execp_rclick_command =
execp_mclick_command =
execp_uwheel_command =
execp_dwheel_command =
execp_font = DejaVu Sans Condensed 9
execp_font_color = #eeeeee 100
execp_padding = 11 0 -3
execp_background_id = 2
execp_centered = 1
execp_icon_w = 0
execp_icon_h = 0
#-------------------------------------
# Executor (Storage)
execp = new
execp_command = ~/.config/tint2/executors/store-perc
execp_interval = 30
execp_has_icon = 0
execp_cache_icon = 1
execp_continuous = 1
execp_markup = 1
execp_tooltip = Disk usage
execp_lclick_command =
execp_rclick_command =
execp_uwheel_command =
execp_dwheel_command =
execp_mclick_command =
execp_font = DejaVu Sans Condensed 8
execp_font_color = #eeeeee 100
execp_padding = 15 8 0
execp_background_id = 2
execp_centered = 1
execp_icon_w = 0
execp_icon_h = 0
#-------------------------------------
# Executor (volume control)
execp = new
execp_command = ~/.config/tint2/executors/volume
execp_interval = 0
execp_has_icon = 1
execp_cache_icon = 0
execp_continuous = 0
execp_markup = 1
execp_tooltip = Volume
execp_lclick_command = amixer set -q Master toggle
execp_rclick_command = x-terminal-emulator -e alsamixer
execp_mclick_command = amixer set -q Master toggle
execp_uwheel_command = amixer -q set Master 2%+ unmute
execp_dwheel_command = amixer -q set Master 5%- unmute
execp_font = DejaVu Sans Condensed 9
execp_font_color = #eeeeee 100
execp_padding = 11 0 -3
execp_background_id = 2
execp_centered = 1
execp_icon_w = 0
execp_icon_h = 0
#-------------------------------------
# Executor (weather local)
execp = new
execp_command = ~/.config/tint2/executors/weather
execp_interval = 240
execp_has_icon = 1
execp_cache_icon = 0
execp_continuous = 0
execp_markup = 1
execp_tooltip = Current weather
execp_lclick_command = notify-send -t 8000 "$($HOME/.config/tint2/executors/weather-current)" -i $HOME/.config/tint2/executors/icons/weather/weather48.png
execp_mclick_command = xfce4-terminal --hide-menubar --title "Weather Graph [wttr.in]" --geometry 75x45 -x bash -c "curl 'http://v2.wttr.in/'; read -N1;"
execp_rclick_command = exo-open https://openweathermap.org/city/2747596
execp_uwheel_command =
execp_dwheel_command =
execp_font = DejaVu Sans Condensed 9
execp_font_color = #eeeeee 100
execp_padding = 11 0 -3
execp_background_id = 2
execp_centered = 1
execp_icon_w = 0
execp_icon_h = 0
#-------------------------------------
# Tooltip
tooltip_show_timeout = 0.5
tooltip_hide_timeout = 0.1
tooltip_padding = 4 4
tooltip_background_id = 3
tooltip_font = DejaVu Sans Condensed 8
tooltip_font_color = #eeeeee 100
Have attached the archive.Melber wrote: Wed Jun 09, 2021 9:13 am @ceeslans Those buttons just keep getting better. Thanks, a zip with the executors and icons would be great