diff options
| Commit | 25a6ea575ee9069f758595cab270a8c9445fa846 (patch) | |
|---|---|---|
| Author | 2025-06-18 14:47:17 +0300 | |
| Committer | 2025-06-18 14:47:17 +0300 | |
| Files | 2aa0b9670ccc1e8f915241325cba4cb7d4a6ad8b | |
| .files-25a6ea575ee9069f758595cab270a8c9445fa846.tar .files-25a6ea575ee9069f758595cab270a8c9445fa846.tar.gz .files-25a6ea575ee9069f758595cab270a8c9445fa846.zip | ||
| Parent | ef9da6c68f05de9fab18434cd6a216a6ecf5147a (diff) | |
feat: Add multiple workspace with multiple panels setup
- Add multiple tint2 configs
- Add tint2 panels launcher script
- Launch panel on autostart
- Add virtual desktops
- Remove binding to switch desktop on mouse scroll
8 files changed, 1201 insertions, 37 deletions
| -rw-r--r-- | .config/openbox/rc.xml | 43 | ||||
| -rw-r--r-- | .config/tint2/gaming.tint2rc | 287 | ||||
| -rw-r--r-- | .config/tint2/programmer.tint2rc | 287 | ||||
| -rw-r--r-- | .config/tint2/switcher.tint2rc | 313 | ||||
| -rw-r--r-- | .config/tint2/tint2rc | 2 | ||||
| -rw-r--r-- | .config/tint2/work.tint2rc | 277 | ||||
| -rwxr-xr-x | .scripts/autostart | 2 | ||||
| -rwxr-xr-x | .scripts/start-panels | 27 |
diff --git a/.config/openbox/rc.xml b/.config/openbox/rc.xml index 9bb5907..d92531c 100644 --- a/.config/openbox/rc.xml +++ b/.config/openbox/rc.xml @@ -30,7 +30,7 @@ <center>yes</center> <!-- whether to place windows in the center of the free area found or the top left corner --> - <monitor>Primary</monitor> + <monitor>Mouse</monitor> <!-- with Smart placement on a multi-monitor system, try to place new windows on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where the active window is, 'Primary' - only on the primary monitor --> @@ -120,17 +120,20 @@ use obconf if you want to change these without having to log out and back in --> - <number>1</number> + <number>4</number> <firstdesk>1</firstdesk> <names> - <name>Desktop</name> + <name>Enjoy</name> + <name>Programming</name> + <name>Work</name> + <name>Gaming</name> </names> <popupTime>875</popupTime> <!-- The number of milliseconds to show the popup for when switching desktops. Set this to 0 to disable the popup. --> </desktops> <resize> - <drawContents>no</drawContents> + <drawContents>yes</drawContents> <popupShow>Nonpixel</popupShow> <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) --> <popupPosition>Center</popupPosition> @@ -222,7 +225,7 @@ <enabled>false</enabled> <name>Brightness up</name> </startupnotify> - <command>~/.scripts/brightness-control +</command> + <command>~/.scripts/brightness-control +</command> </action> </keybind> <keybind key="XF86MonBrightnessDown"> @@ -701,36 +704,6 @@ </mousebind> </context> <context name="Desktop"> - <mousebind button="Up" action="Click"> - <action name="GoToDesktop"> - <to>previous</to> - </action> - </mousebind> - <mousebind button="Down" action="Click"> - <action name="GoToDesktop"> - <to>next</to> - </action> - </mousebind> - <mousebind button="A-Up" action="Click"> - <action name="GoToDesktop"> - <to>previous</to> - </action> - </mousebind> - <mousebind button="A-Down" action="Click"> - <action name="GoToDesktop"> - <to>next</to> - </action> - </mousebind> - <mousebind button="C-A-Up" action="Click"> - <action name="GoToDesktop"> - <to>previous</to> - </action> - </mousebind> - <mousebind button="C-A-Down" action="Click"> - <action name="GoToDesktop"> - <to>next</to> - </action> - </mousebind> <mousebind button="Left" action="Press"> <action name="Focus"/> <action name="Raise"/> diff --git a/.config/tint2/gaming.tint2rc b/.config/tint2/gaming.tint2rc new file mode 100644 index 0000000..306d450 --- /dev/null +++ b/.config/tint2/gaming.tint2rc @@ -0,0 +1,287 @@ +#---- Generated by tint2conf 7dfa ---- +# See https://gitlab.com/o9000/tint2/wikis/Configure for +# full documentation of the configuration options. +#------------------------------------- +# Gradients +#------------------------------------- +# Backgrounds +# Background 1: +rounded = 8 +border_width = 0 +border_sides = +border_content_tint_weight = 0 +background_content_tint_weight = 0 +background_color = #ffffff 20 +border_color = #000000 0 +background_color_hover = #ffffff 20 +border_color_hover = #000000 0 +background_color_pressed = #ffffff 20 +border_color_pressed = #000000 0 + +# Background 2: Active task +rounded = 0 +border_width = 2 +border_sides = B +border_content_tint_weight = 0 +background_content_tint_weight = 0 +background_color = #808080 80 +border_color = #b3b3b3 100 +background_color_hover = #808080 80 +border_color_hover = #555555 80 +background_color_pressed = #808080 80 +border_color_pressed = #555555 80 + +# Background 3: Default task +rounded = 0 +border_width = 2 +border_sides = B +border_content_tint_weight = 0 +background_content_tint_weight = 0 +background_color = #ffffff 0 +border_color = #ffffff 0 +background_color_hover = #808080 80 +border_color_hover = #ffffff 100 +background_color_pressed = #ffffff 0 +border_color_pressed = #ffffff 0 + +# Background 4: Panel +rounded = 0 +border_width = 2 +border_sides = +border_content_tint_weight = 0 +background_content_tint_weight = 0 +background_color = #282828 85 +border_color = #868686 0 +background_color_hover = #ffffff 0 +border_color_hover = #ffffff 0 +background_color_pressed = #ffffff 0 +border_color_pressed = #ffffff 0 + +# Background 5: Tooltip +rounded = 0 +border_width = 2 +border_sides = TBLR +border_content_tint_weight = 0 +background_content_tint_weight = 0 +background_color = #282828 76 +border_color = #868686 76 +background_color_hover = #ffffff 0 +border_color_hover = #ffffff 0 +background_color_pressed = #ffffff 0 +border_color_pressed = #ffffff 0 + +#------------------------------------- +# Panel +panel_items = L:T:EE:C +panel_size = 100% 50 +panel_margin = 0 0 +panel_padding = 8 4 4 +panel_background_id = 4 +wm_menu = 1 +panel_dock = 0 +panel_pivot_struts = 0 +panel_position = bottom center horizontal +panel_layer = bottom +panel_monitor = all +panel_shrink = 0 +autohide = 0 +autohide_show_timeout = 0.125 +autohide_hide_timeout = 0.125 +autohide_height = 1 +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 4 +taskbar_background_id = 0 +taskbar_active_background_id = 0 +taskbar_name = 0 +taskbar_hide_inactive_tasks = 0 +taskbar_hide_different_monitor = 1 +taskbar_hide_different_desktop = 1 +taskbar_always_show_all_desktop_tasks = 0 +taskbar_name_padding = 0 0 +taskbar_name_background_id = 0 +taskbar_name_active_background_id = 0 +taskbar_name_font_color = #000000 100 +taskbar_name_active_font_color = #000000 100 +taskbar_distribute_size = 0 +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 = 200 42 +task_padding = 0 2 1 +task_tooltip = 1 +task_thumbnail = 1 +task_thumbnail_size = 210 +task_iconified_icon_asb = 70 0 0 +task_background_id = 3 +task_active_background_id = 2 +mouse_left = toggle_iconify +mouse_middle = close +mouse_right = none +mouse_scroll_up = none +mouse_scroll_down = none + +#------------------------------------- +# System tray (notification area) +systray_padding = 2 0 4 +systray_background_id = 0 +systray_sort = ascending +systray_icon_size = 26 +systray_icon_asb = 100 0 0 +systray_monitor = 1 +systray_name_filter = + +#------------------------------------- +# Launcher +launcher_padding = 0 0 4 +launcher_background_id = 0 +launcher_icon_background_id = 0 +launcher_icon_size = 42 +launcher_icon_asb = 100 0 0 +launcher_icon_theme = Mint-Y-Dark-Blue +launcher_icon_theme_override = 0 +startup_notifications = 1 +launcher_tooltip = 1 +launcher_item_app = /run/current-system/sw/share/applications/steam.desktop +launcher_item_app = /run/current-system/sw/share/applications/net.lutris.Lutris.desktop + +#------------------------------------- +# Clock +time1_format = %H:%M - %d.%m.%Y +time2_format = +time1_font = Sans 11 +time1_timezone = +time2_timezone = +clock_font_color = #eeeeee 100 +clock_padding = 0 0 +clock_background_id = 0 +clock_tooltip = +clock_tooltip_timezone = +clock_lclick_command = zenity --calendar --text "" +clock_rclick_command = +clock_mclick_command = +clock_uwheel_command = +clock_dwheel_command = + +#------------------------------------- +# Battery +battery_tooltip = 1 +battery_low_status = 0 +battery_low_cmd = +battery_full_cmd = +bat1_font = sans 10 +bat2_font = sans 6 +battery_font_color = #eeeeee 100 +bat1_format = $(/home/kamen/battery-status.sh) +bat2_format = +battery_padding = 0 3 +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 = notify-send -u low -i ac-adapter 'AC Connected' +ac_disconnected_cmd = notify-send -u low -i battery 'AC Disconnected' + +#------------------------------------- +# Separator 1 +separator = new +separator_background_id = 0 +separator_color = #777777 80 +separator_style = line +separator_size = 1 +separator_padding = 4 0 + +#------------------------------------- +# Separator 2 +separator = new +separator_background_id = 0 +separator_color = #777777 80 +separator_style = line +separator_size = 1 +separator_padding = 4 0 + +#------------------------------------- +# Separator 3 +separator = new +separator_background_id = 0 +separator_color = #777777 80 +separator_style = line +separator_size = 1 +separator_padding = 4 0 + +#------------------------------------- +# Executor 1 +execp = new +execp_command = while true; do xkbmon -u -o | colrm 3; sleep 0.1; done +execp_interval = 0 +execp_has_icon = 0 +execp_cache_icon = 1 +execp_continuous = 1 +execp_markup = 0 +execp_monitor = all +execp_lclick_command = +execp_rclick_command = +execp_mclick_command = +execp_uwheel_command = +execp_dwheel_command = +execp_font = Sans 11 +execp_font_color = #ffffff 100 +execp_padding = 0 3 +execp_background_id = 0 +execp_centered = 1 +execp_icon_w = 0 +execp_icon_h = 0 + +#------------------------------------- +# Executor 2 +execp = new +execp_command = /home/kamen/.scripts/battery-status +execp_interval = 10 +execp_has_icon = 0 +execp_cache_icon = 1 +execp_continuous = 1 +execp_markup = 0 +execp_monitor = all +execp_lclick_command = +execp_rclick_command = +execp_mclick_command = +execp_uwheel_command = +execp_dwheel_command = +execp_font = Sans 11 +execp_font_color = #ffbe6f 100 +execp_padding = 0 3 +execp_background_id = 0 +execp_centered = 1 +execp_icon_w = 0 +execp_icon_h = 0 + +#------------------------------------- +# Tooltip +tooltip_show_timeout = 0.5 +tooltip_hide_timeout = 0.1 +tooltip_padding = 6 6 +tooltip_background_id = 5 +tooltip_font_color = #ffffff 100 +tooltip_font = Sans 10 + diff --git a/.config/tint2/programmer.tint2rc b/.config/tint2/programmer.tint2rc new file mode 100644 index 0000000..3a4a0a5 --- /dev/null +++ b/.config/tint2/programmer.tint2rc @@ -0,0 +1,287 @@ +#---- Generated by tint2conf a76d ---- +# See https://gitlab.com/o9000/tint2/wikis/Configure for +# full documentation of the configuration options. +#------------------------------------- +# Gradients +#------------------------------------- +# Backgrounds +# Background 1: +rounded = 8 +border_width = 0 +border_sides = +border_content_tint_weight = 0 +background_content_tint_weight = 0 +background_color = #ffffff 20 +border_color = #000000 0 +background_color_hover = #ffffff 20 +border_color_hover = #000000 0 +background_color_pressed = #ffffff 20 +border_color_pressed = #000000 0 + +# Background 2: Active task +rounded = 0 +border_width = 2 +border_sides = B +border_content_tint_weight = 0 +background_content_tint_weight = 0 +background_color = #808080 80 +border_color = #b3b3b3 100 +background_color_hover = #808080 80 +border_color_hover = #555555 80 +background_color_pressed = #808080 80 +border_color_pressed = #555555 80 + +# Background 3: Default task +rounded = 0 +border_width = 2 +border_sides = B +border_content_tint_weight = 0 +background_content_tint_weight = 0 +background_color = #ffffff 0 +border_color = #ffffff 0 +background_color_hover = #808080 80 +border_color_hover = #ffffff 100 +background_color_pressed = #ffffff 0 +border_color_pressed = #ffffff 0 + +# Background 4: +rounded = 0 +border_width = 4 +border_sides = B +border_content_tint_weight = 0 +background_content_tint_weight = 0 +background_color = #282828 89 +border_color = #868686 0 +background_color_hover = #ffffff 0 +border_color_hover = #ffffff 0 +background_color_pressed = #ffffff 0 +border_color_pressed = #ffffff 0 + +# Background 5: Panel, Tooltip +rounded = 0 +border_width = 2 +border_sides = +border_content_tint_weight = 0 +background_content_tint_weight = 0 +background_color = #282828 85 +border_color = #868686 76 +background_color_hover = #ffffff 0 +border_color_hover = #ffffff 0 +background_color_pressed = #ffffff 0 +border_color_pressed = #ffffff 0 + +#------------------------------------- +# Panel +panel_items = L:T:EE:C +panel_size = 100% 32 +panel_margin = 0 0 +panel_padding = 8 4 4 +panel_background_id = 5 +wm_menu = 1 +panel_dock = 0 +panel_pivot_struts = 0 +panel_position = top center horizontal +panel_layer = bottom +panel_monitor = all +panel_shrink = 0 +autohide = 0 +autohide_show_timeout = 0.125 +autohide_hide_timeout = 0.125 +autohide_height = 1 +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 4 +taskbar_background_id = 0 +taskbar_active_background_id = 0 +taskbar_name = 0 +taskbar_hide_inactive_tasks = 0 +taskbar_hide_different_monitor = 1 +taskbar_hide_different_desktop = 1 +taskbar_always_show_all_desktop_tasks = 0 +taskbar_name_padding = 0 0 +taskbar_name_background_id = 0 +taskbar_name_active_background_id = 0 +taskbar_name_font_color = #000000 100 +taskbar_name_active_font_color = #000000 100 +taskbar_distribute_size = 0 +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 = 200 32 +task_padding = 6 2 6 +task_tooltip = 1 +task_thumbnail = 1 +task_thumbnail_size = 210 +task_iconified_icon_asb = 70 0 0 +task_background_id = 3 +task_active_background_id = 2 +mouse_left = toggle_iconify +mouse_middle = close +mouse_right = none +mouse_scroll_up = none +mouse_scroll_down = none + +#------------------------------------- +# System tray (notification area) +systray_padding = 2 0 4 +systray_background_id = 0 +systray_sort = ascending +systray_icon_size = 26 +systray_icon_asb = 100 0 0 +systray_monitor = 1 +systray_name_filter = + +#------------------------------------- +# Launcher +launcher_padding = 0 0 4 +launcher_background_id = 0 +launcher_icon_background_id = 0 +launcher_icon_size = 32 +launcher_icon_asb = 100 0 0 +launcher_icon_theme = Mint-Y-Dark-Blue +launcher_icon_theme_override = 0 +startup_notifications = 1 +launcher_tooltip = 1 +launcher_item_app = /run/current-system/sw/share/applications/firefox.desktop +launcher_item_app = ~/.local/share/applications/terminator.desktop + +#------------------------------------- +# Clock +time1_format = %H:%M - %d.%m.%Y +time2_format = +time1_font = Sans 11 +time1_timezone = +time2_timezone = +clock_font_color = #eeeeee 100 +clock_padding = 0 0 +clock_background_id = 0 +clock_tooltip = +clock_tooltip_timezone = +clock_lclick_command = zenity --calendar --text "" +clock_rclick_command = +clock_mclick_command = +clock_uwheel_command = +clock_dwheel_command = + +#------------------------------------- +# Battery +battery_tooltip = 1 +battery_low_status = 0 +battery_low_cmd = +battery_full_cmd = +bat1_font = sans 10 +bat2_font = sans 6 +battery_font_color = #eeeeee 100 +bat1_format = $(/home/kamen/battery-status.sh) +bat2_format = +battery_padding = 0 3 +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 = notify-send -u low -i ac-adapter 'AC Connected' +ac_disconnected_cmd = notify-send -u low -i battery 'AC Disconnected' + +#------------------------------------- +# Separator 1 +separator = new +separator_background_id = 0 +separator_color = #777777 80 +separator_style = line +separator_size = 1 +separator_padding = 8 0 + +#------------------------------------- +# Separator 2 +separator = new +separator_background_id = 0 +separator_color = #777777 80 +separator_style = line +separator_size = 1 +separator_padding = 4 0 + +#------------------------------------- +# Separator 3 +separator = new +separator_background_id = 0 +separator_color = #777777 80 +separator_style = line +separator_size = 1 +separator_padding = 4 0 + +#------------------------------------- +# Executor 1 +execp = new +execp_command = while true; do xkbmon -u -o | colrm 3; sleep 0.1; done +execp_interval = 0 +execp_has_icon = 0 +execp_cache_icon = 1 +execp_continuous = 1 +execp_markup = 0 +execp_monitor = all +execp_lclick_command = +execp_rclick_command = +execp_mclick_command = +execp_uwheel_command = +execp_dwheel_command = +execp_font = Sans 11 +execp_font_color = #ffffff 100 +execp_padding = 0 3 +execp_background_id = 0 +execp_centered = 1 +execp_icon_w = 0 +execp_icon_h = 0 + +#------------------------------------- +# Executor 2 +execp = new +execp_command = /home/kamen/.scripts/battery-status +execp_interval = 10 +execp_has_icon = 0 +execp_cache_icon = 1 +execp_continuous = 1 +execp_markup = 0 +execp_monitor = all +execp_lclick_command = +execp_rclick_command = +execp_mclick_command = +execp_uwheel_command = +execp_dwheel_command = +execp_font = Sans 11 +execp_font_color = #ffbe6f 100 +execp_padding = 0 3 +execp_background_id = 0 +execp_centered = 1 +execp_icon_w = 0 +execp_icon_h = 0 + +#------------------------------------- +# Tooltip +tooltip_show_timeout = 0.5 +tooltip_hide_timeout = 0.1 +tooltip_padding = 6 6 +tooltip_background_id = 5 +tooltip_font_color = #ffffff 100 +tooltip_font = Sans 10 + diff --git a/.config/tint2/switcher.tint2rc b/.config/tint2/switcher.tint2rc new file mode 100644 index 0000000..bdbc422 --- /dev/null +++ b/.config/tint2/switcher.tint2rc @@ -0,0 +1,313 @@ +#---- Generated by tint2conf d25c ---- +# See https://gitlab.com/o9000/tint2/wikis/Configure for +# full documentation of the configuration options. +#------------------------------------- +# Gradients +#------------------------------------- +# Backgrounds +# Background 1: Button +rounded = 8 +border_width = 0 +border_sides = +border_content_tint_weight = 0 +background_content_tint_weight = 0 +background_color = #ffffff 20 +border_color = #000000 0 +background_color_hover = #ffffff 20 +border_color_hover = #000000 0 +background_color_pressed = #ffffff 20 +border_color_pressed = #000000 0 + +# Background 2: Active task +rounded = 0 +border_width = 2 +border_sides = B +border_content_tint_weight = 0 +background_content_tint_weight = 0 +background_color = #808080 80 +border_color = #b3b3b3 100 +background_color_hover = #808080 80 +border_color_hover = #555555 80 +background_color_pressed = #808080 80 +border_color_pressed = #555555 80 + +# Background 3: Default task +rounded = 0 +border_width = 2 +border_sides = B +border_content_tint_weight = 0 +background_content_tint_weight = 0 +background_color = #ffffff 0 +border_color = #ffffff 0 +background_color_hover = #808080 80 +border_color_hover = #ffffff 100 +background_color_pressed = #ffffff 0 +border_color_pressed = #ffffff 0 + +# Background 4: Panel +rounded = 0 +border_width = 2 +border_sides = TBLR +border_content_tint_weight = 0 +background_content_tint_weight = 0 +background_color = #282828 89 +border_color = #868686 0 +background_color_hover = #ffffff 0 +border_color_hover = #ffffff 0 +background_color_pressed = #ffffff 0 +border_color_pressed = #ffffff 0 + +# Background 5: Tooltip +rounded = 0 +border_width = 2 +border_sides = TBLR +border_content_tint_weight = 0 +background_content_tint_weight = 0 +background_color = #282828 76 +border_color = #868686 76 +background_color_hover = #ffffff 0 +border_color_hover = #ffffff 0 +background_color_pressed = #ffffff 0 +border_color_pressed = #ffffff 0 + +#------------------------------------- +# Panel +panel_items = E:PPPP +panel_size = 100% 60 +panel_margin = 0 0 +panel_padding = 8 4 4 +panel_background_id = 4 +wm_menu = 1 +panel_dock = 0 +panel_pivot_struts = 0 +panel_position = bottom right horizontal +panel_layer = top +panel_monitor = all +panel_shrink = 1 +autohide = 1 +autohide_show_timeout = 0.125 +autohide_hide_timeout = 0.125 +autohide_height = 1 +strut_policy = none +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 4 +taskbar_background_id = 0 +taskbar_active_background_id = 0 +taskbar_name = 1 +taskbar_hide_inactive_tasks = 0 +taskbar_hide_different_monitor = 1 +taskbar_hide_different_desktop = 1 +taskbar_always_show_all_desktop_tasks = 0 +taskbar_name_padding = 0 0 +taskbar_name_background_id = 0 +taskbar_name_active_background_id = 0 +taskbar_name_font_color = #000000 100 +taskbar_name_active_font_color = #000000 100 +taskbar_distribute_size = 0 +taskbar_sort_order = none +task_align = left + +#------------------------------------- +# Task +task_text = 0 +task_icon = 0 +task_centered = 0 +urgent_nb_of_blink = 100000 +task_maximum_size = 42 42 +task_padding = 0 2 1 +task_tooltip = 0 +task_thumbnail = 0 +task_thumbnail_size = 210 +task_iconified_icon_asb = 70 0 0 +task_background_id = 3 +task_active_background_id = 2 +mouse_left = toggle_iconify +mouse_middle = close +mouse_right = none +mouse_scroll_up = none +mouse_scroll_down = none + +#------------------------------------- +# System tray (notification area) +systray_padding = 2 0 4 +systray_background_id = 0 +systray_sort = ascending +systray_icon_size = 26 +systray_icon_asb = 100 0 0 +systray_monitor = 1 +systray_name_filter = + +#------------------------------------- +# Launcher +launcher_padding = 0 0 4 +launcher_background_id = 0 +launcher_icon_background_id = 0 +launcher_icon_size = 42 +launcher_icon_asb = 100 0 0 +launcher_icon_theme = Mint-Y-Dark-Blue +launcher_icon_theme_override = 0 +startup_notifications = 1 +launcher_tooltip = 1 +launcher_item_app = ~/.local/share/applications/jgmenu.desktop + +#------------------------------------- +# Clock +time1_format = %H:%M - %d.%m.%Y +time2_format = +time1_font = Sans 11 +time1_timezone = +time2_timezone = +clock_font_color = #eeeeee 100 +clock_padding = 0 0 +clock_background_id = 0 +clock_tooltip = +clock_tooltip_timezone = +clock_lclick_command = zenity --calendar --text "" +clock_rclick_command = +clock_mclick_command = +clock_uwheel_command = +clock_dwheel_command = + +#------------------------------------- +# Battery +battery_tooltip = 1 +battery_low_status = 0 +battery_low_cmd = +battery_full_cmd = +bat1_font = sans 10 +bat2_font = sans 6 +battery_font_color = #eeeeee 100 +bat1_format = $(/home/kamen/battery-status.sh) +bat2_format = +battery_padding = 0 3 +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 = notify-send -u low -i ac-adapter 'AC Connected' +ac_disconnected_cmd = notify-send -u low -i battery 'AC Disconnected' + +#------------------------------------- +# Separator 1 +separator = new +separator_background_id = 0 +separator_color = #777777 82 +separator_style = dots +separator_size = 2 +separator_padding = 3 0 + +#------------------------------------- +# Executor 1 +execp = new +execp_command = while true; do wmctrl -d | awk '$2 == "*" { print $10 }'; sleep 0.1; done +execp_interval = 0 +execp_has_icon = 0 +execp_cache_icon = 0 +execp_continuous = 1 +execp_markup = 1 +execp_monitor = all +execp_lclick_command = +execp_rclick_command = +execp_mclick_command = +execp_uwheel_command = +execp_dwheel_command = +execp_font = Noto Sans 12 +execp_font_color = #ffffff 100 +execp_padding = 0 0 +execp_background_id = 0 +execp_centered = 1 +execp_icon_w = 0 +execp_icon_h = 0 + +#------------------------------------- +# Button 1 +button = new +button_icon = hypnotix +button_text = +button_tooltip = Enjoy | Desktop 1 +button_lclick_command = wmctrl -s 0 +button_rclick_command = +button_mclick_command = +button_uwheel_command = +button_dwheel_command = +button_font_color = #fef9c3 100 +button_padding = 0 0 +button_background_id = 1 +button_centered = 0 +button_max_icon_size = 0 + +#------------------------------------- +# Button 2 +button = new +button_icon = gedit +button_text = +button_tooltip = Programming | Desktop 2 +button_lclick_command = wmctrl -s 1 +button_rclick_command = +button_mclick_command = +button_uwheel_command = +button_dwheel_command = +button_font_color = #000000 100 +button_padding = 0 0 +button_background_id = 1 +button_centered = 0 +button_max_icon_size = 0 + +#------------------------------------- +# Button 3 +button = new +button_icon = cmake +button_text = +button_tooltip = Work | Desktop 3 +button_lclick_command = wmctrl -s 2 +button_rclick_command = +button_mclick_command = +button_uwheel_command = +button_dwheel_command = +button_font_color = #000000 100 +button_padding = 0 0 +button_background_id = 1 +button_centered = 0 +button_max_icon_size = 0 + +#------------------------------------- +# Button 4 +button = new +button_icon = steam +button_text = +button_tooltip = Gaming | Desktop 4 +button_lclick_command = wmctrl -s 3 +button_rclick_command = +button_mclick_command = +button_uwheel_command = +button_dwheel_command = +button_font_color = #000000 100 +button_padding = 0 0 +button_background_id = 1 +button_centered = 0 +button_max_icon_size = 0 + +#------------------------------------- +# Tooltip +tooltip_show_timeout = 0.5 +tooltip_hide_timeout = 0.1 +tooltip_padding = 6 6 +tooltip_background_id = 5 +tooltip_font_color = #ffffff 100 +tooltip_font = Sans 10 + diff --git a/.config/tint2/tint2rc b/.config/tint2/tint2rc index 13e2ecd..96c853b 100644 --- a/.config/tint2/tint2rc +++ b/.config/tint2/tint2rc @@ -1,4 +1,4 @@ -#---- Generated by tint2conf 78a8 ---- +#---- Generated by tint2conf 41a9 ---- # See https://gitlab.com/o9000/tint2/wikis/Configure for # full documentation of the configuration options. #------------------------------------- diff --git a/.config/tint2/work.tint2rc b/.config/tint2/work.tint2rc new file mode 100644 index 0000000..3d12e30 --- /dev/null +++ b/.config/tint2/work.tint2rc @@ -0,0 +1,277 @@ +#---- Generated by tint2conf 986c ---- +# See https://gitlab.com/o9000/tint2/wikis/Configure for +# full documentation of the configuration options. +#------------------------------------- +# Gradients +#------------------------------------- +# Backgrounds +# Background 1: +rounded = 8 +border_width = 0 +border_sides = +border_content_tint_weight = 0 +background_content_tint_weight = 0 +background_color = #ffffff 20 +border_color = #000000 0 +background_color_hover = #ffffff 20 +border_color_hover = #000000 0 +background_color_pressed = #ffffff 20 +border_color_pressed = #000000 0 + +# Background 2: Active task +rounded = 0 +border_width = 2 +border_sides = B +border_content_tint_weight = 0 +background_content_tint_weight = 0 +background_color = #808080 80 +border_color = #b3b3b3 100 +background_color_hover = #808080 80 +border_color_hover = #555555 80 +background_color_pressed = #808080 80 +border_color_pressed = #555555 80 + +# Background 3: Default task +rounded = 0 +border_width = 2 +border_sides = B +border_content_tint_weight = 0 +background_content_tint_weight = 0 +background_color = #ffffff 0 +border_color = #ffffff 0 +background_color_hover = #808080 80 +border_color_hover = #ffffff 100 +background_color_pressed = #ffffff 0 +border_color_pressed = #ffffff 0 + +# Background 4: +rounded = 0 +border_width = 0 +border_sides = TBLR +border_content_tint_weight = 0 +background_content_tint_weight = 0 +background_color = #282828 89 +border_color = #868686 0 +background_color_hover = #ffffff 0 +border_color_hover = #ffffff 0 +background_color_pressed = #ffffff 0 +border_color_pressed = #ffffff 0 + +# Background 5: Panel, Tooltip +rounded = 0 +border_width = 2 +border_sides = R +border_content_tint_weight = 0 +background_content_tint_weight = 0 +background_color = #282828 85 +border_color = #868686 76 +background_color_hover = #ffffff 0 +border_color_hover = #ffffff 0 +background_color_pressed = #ffffff 0 +border_color_pressed = #ffffff 0 + +#------------------------------------- +# Panel +panel_items = T:EE:C +panel_size = 100% 60 +panel_margin = 0 0 +panel_padding = 8 4 4 +panel_background_id = 5 +wm_menu = 1 +panel_dock = 0 +panel_pivot_struts = 0 +panel_position = center left vertical +panel_layer = bottom +panel_monitor = all +panel_shrink = 0 +autohide = 0 +autohide_show_timeout = 0.125 +autohide_hide_timeout = 0.1 +autohide_height = 1 +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 4 +taskbar_background_id = 0 +taskbar_active_background_id = 0 +taskbar_name = 0 +taskbar_hide_inactive_tasks = 0 +taskbar_hide_different_monitor = 1 +taskbar_hide_different_desktop = 1 +taskbar_always_show_all_desktop_tasks = 0 +taskbar_name_padding = 0 0 +taskbar_name_background_id = 0 +taskbar_name_active_background_id = 0 +taskbar_name_font_color = #000000 100 +taskbar_name_active_font_color = #000000 100 +taskbar_distribute_size = 0 +taskbar_sort_order = none +task_align = left + +#------------------------------------- +# Task +task_text = 0 +task_icon = 1 +task_centered = 1 +urgent_nb_of_blink = 100000 +task_maximum_size = 42 42 +task_padding = 0 2 1 +task_tooltip = 1 +task_thumbnail = 1 +task_thumbnail_size = 210 +task_iconified_icon_asb = 70 0 0 +task_background_id = 3 +task_active_background_id = 2 +mouse_left = toggle_iconify +mouse_middle = close +mouse_right = none +mouse_scroll_up = none +mouse_scroll_down = none + +#------------------------------------- +# System tray (notification area) +systray_padding = 2 0 4 +systray_background_id = 0 +systray_sort = ascending +systray_icon_size = 26 +systray_icon_asb = 100 0 0 +systray_monitor = 1 +systray_name_filter = + +#------------------------------------- +# Launcher +launcher_padding = 0 0 4 +launcher_background_id = 0 +launcher_icon_background_id = 0 +launcher_icon_size = 42 +launcher_icon_asb = 100 0 0 +launcher_icon_theme = Mint-Y-Dark-Blue +launcher_icon_theme_override = 0 +startup_notifications = 1 +launcher_tooltip = 1 +launcher_item_app = ~/.local/share/applications/jgmenu.desktop + +#------------------------------------- +# Clock +time1_format = %H:%M - %d.%m.%Y +time2_format = +time1_font = Sans 11 +time1_timezone = +time2_timezone = +clock_font_color = #eeeeee 100 +clock_padding = 0 0 +clock_background_id = 0 +clock_tooltip = +clock_tooltip_timezone = +clock_lclick_command = zenity --calendar --text "" +clock_rclick_command = +clock_mclick_command = +clock_uwheel_command = +clock_dwheel_command = + +#------------------------------------- +# Battery +battery_tooltip = 1 +battery_low_status = 0 +battery_low_cmd = +battery_full_cmd = +bat1_font = sans 10 +bat2_font = sans 6 +battery_font_color = #eeeeee 100 +bat1_format = $(/home/kamen/battery-status.sh) +bat2_format = +battery_padding = 0 3 +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 = notify-send -u low -i ac-adapter 'AC Connected' +ac_disconnected_cmd = notify-send -u low -i battery 'AC Disconnected' + +#------------------------------------- +# Separator 1 +separator = new +separator_background_id = 0 +separator_color = #777777 80 +separator_style = dots +separator_size = 3 +separator_padding = 7 0 + +#------------------------------------- +# Separator 2 +separator = new +separator_background_id = 0 +separator_color = #777777 81 +separator_style = empty +separator_size = 7 +separator_padding = 1 0 + +#------------------------------------- +# Executor 1 +execp = new +execp_command = while true; do xkbmon -u -o | colrm 3; sleep 0.1; done +execp_interval = 0 +execp_has_icon = 0 +execp_cache_icon = 1 +execp_continuous = 1 +execp_markup = 0 +execp_monitor = all +execp_lclick_command = +execp_rclick_command = +execp_mclick_command = +execp_uwheel_command = +execp_dwheel_command = +execp_font = Sans 11 +execp_font_color = #ffffff 100 +execp_padding = 0 3 +execp_background_id = 0 +execp_centered = 1 +execp_icon_w = 0 +execp_icon_h = 0 + +#------------------------------------- +# Executor 2 +execp = new +execp_command = /home/kamen/.scripts/battery-status +execp_interval = 10 +execp_has_icon = 0 +execp_cache_icon = 1 +execp_continuous = 1 +execp_markup = 0 +execp_monitor = all +execp_lclick_command = +execp_rclick_command = +execp_mclick_command = +execp_uwheel_command = +execp_dwheel_command = +execp_font = Sans 11 +execp_font_color = #ffbe6f 100 +execp_padding = 0 3 +execp_background_id = 0 +execp_centered = 1 +execp_icon_w = 0 +execp_icon_h = 0 + +#------------------------------------- +# Tooltip +tooltip_show_timeout = 0.5 +tooltip_hide_timeout = 0.1 +tooltip_padding = 6 6 +tooltip_background_id = 5 +tooltip_font_color = #ffffff 100 +tooltip_font = Sans 10 + diff --git a/.scripts/autostart b/.scripts/autostart index bee1aa4..0473e7b 100755 --- a/.scripts/autostart +++ b/.scripts/autostart @@ -10,7 +10,7 @@ xhost +local: xcape -e 'Super_L=Super_L|P' & # used for the "windows" menu rm -rf ~/.tmp/* -tint2 & # taskbar +$HOME/.scripts/start-panels & picom & # compositor if [[ $device == "desktop" ]]; then diff --git a/.scripts/start-panels b/.scripts/start-panels new file mode 100755 index 0000000..9184f6c --- /dev/null +++ b/.scripts/start-panels @@ -0,0 +1,27 @@ +#!/bin/bash + +pkill tint2 >/dev/null 2>&1 || true + +local_tint2() { + workspace="$1" + shift + + tint2 "$@" >/dev/null 2>&1 & + + wid="" + while [ -z "$wid" ] + do + wid="$(wmctrl -l | awk '$2 == -1 && $4 == "tint2" && $5 == "" { print $1 }')" + sleep 0.2 + done + + sleep 0.1 + wmctrl -i -r "$wid" -t "$workspace" +} + +local_tint2 0 -c $HOME/.config/tint2/tint2rc +local_tint2 1 -c $HOME/.config/tint2/programmer.tint2rc +local_tint2 2 -c $HOME/.config/tint2/work.tint2rc +local_tint2 3 -c $HOME/.config/tint2/gaming.tint2rc + +tint2 -c $HOME/.config/tint2/switcher.tint2rc >/dev/null 2>&1 & |
