From 97c6078b16c865bfb25d93fb936145a4b7ba513e Mon Sep 17 00:00:00 2001 From: frosty Date: Sun, 26 May 2024 11:16:28 -0400 Subject: [PATCH] add openbox,tint2,sxhkd and notice on README --- .gitmodules | 3 + README.md | 2 + openbox/.config/openbox/menu.xml | 190 +++++++ openbox/.config/openbox/rc.xml | 503 +++++++++++++++++++ openbox/.config/openbox/scripts/screenlayout | 11 + openbox/.local/share/themes/icecubes | 1 + sxhkd/.config/sxhkd/sxhkdrc | 21 + tint2/.config/tint2/tint2rc | 221 ++++++++ 8 files changed, 952 insertions(+) create mode 100644 openbox/.config/openbox/menu.xml create mode 100644 openbox/.config/openbox/rc.xml create mode 100755 openbox/.config/openbox/scripts/screenlayout create mode 160000 openbox/.local/share/themes/icecubes create mode 100644 sxhkd/.config/sxhkd/sxhkdrc create mode 100644 tint2/.config/tint2/tint2rc diff --git a/.gitmodules b/.gitmodules index dbc06f6..65748f9 100644 --- a/.gitmodules +++ b/.gitmodules @@ -16,3 +16,6 @@ [submodule "emacs/.config/emacs/scripts/buffer-move"] path = emacs/.config/emacs/scripts/buffer-move url = https://github.com/lukhas/buffer-move +[submodule "openbox/.local/share/themes/icecubes"] + path = openbox/.local/share/themes/icecubes + url = https://gitlab.com/frostalicious/icecubes diff --git a/README.md b/README.md index 63e3edc..30c6273 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,8 @@ This is my collection of configuration and setup data for all of my Linux machin You'll probably want to take a look at my [dwm](https://gitlab.com/frostalicious/dwm), [dwmblocks](https://gitlab.com/frostalicious/dwmblocks), [dmenu](https://gitlab.com/frostalicious/dmenu), and [st](https://gitlab.com/frostalicious/st) repositories as well. +I have multiple desktops configured, such as [dwm](https://dwm.suckless.org/), [Openbox](http://openbox.org/wiki/Main_Page), [awesome](https://awesomewm.org/), [xmonad](https://xmonad.org/), and [Qtile](https://qtile.org/). Some are more complete than others, but I consider **dwm** to be the most fleshed out. + ## Installation ``` diff --git a/openbox/.config/openbox/menu.xml b/openbox/.config/openbox/menu.xml new file mode 100644 index 0000000..c6a849e --- /dev/null +++ b/openbox/.config/openbox/menu.xml @@ -0,0 +1,190 @@ + + + + + + + + + st + + + + + thunar + + + + + firefox + + + + + codium + + + + + + + + + sh -c 'killall tint2; tint2' + + + + + gimp + + + + + + + + steam steam://run/400 + + + + + steam steam://run/22380 + + + + + steam steam://run/105600 + + + + + steam steam://run/223470 + + + + + steam steam://run/213670 + + + + + steam steam://run/322170 + + + + + + + + firefox + + + + + thunderbird + + + + + deluge + + + + + filezilla + + + + + discord + + + + + + + + thunar ~ + + + + + thunar ~/documents + + + + + thunar ~downloads + + + + + thunar ~/music + + + + + thunar ~/pictures + + + + + thunar ~/videos + + + + + + thunar ~/.config + + + + + thunar ~/.local/share + + + + + thunar ~/.local/bin + + + + + + + + pavucontrol + + + + + connman-gtk + + + + + lxappearance + + + + + + wallpaper view + + + + + + + + + + + + + + + + diff --git a/openbox/.config/openbox/rc.xml b/openbox/.config/openbox/rc.xml new file mode 100644 index 0000000..ff2c625 --- /dev/null +++ b/openbox/.config/openbox/rc.xml @@ -0,0 +1,503 @@ + + + + + + yes + no + yes + 0 + no + no + + + + Smart +
yes
+ Active + 1 +
+ + + icecubes + CDIML + yes + no + + Sans + 8 + bold + normal + + + Sans + 8 + bold + normal + + + Sans + 8 + bold + normal + + + Sans + 8 + normal + normal + + + sans + 9 + bold + normal + + + Sans + 9 + normal + normal + + + + + 4 + 1 + 475 + + 1 + 2 + 3 + 4 + + + + + yes + Never + + + + Escape + + + + 1 + + + + + 2 + + + + + 3 + + + + + 4 + + + + + + left + + + + + right + + + + + + + + + + 1 + false + + + + + 2 + false + + + + + 3 + false + + + + + 4 + false + + + + + + + 0 + 0 + 50% + 50% + + + + + + 0 + -0 + 50% + 50% + + + + + + -0 + -0 + 50% + 50% + + + + + + -0 + 0 + 50% + 50% + + + + + + + 0 + 0 + 50% + 100% + + + + + + -0 + 0 + 50% + 100% + + + + + + 0 + 0 + 100% + 50% + + + + + + -0 + -0 + 100% + 50% + + + + + + + prev + + + + + + next + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + none + no + yes + yes + no + + + + + + + + + none + no + yes + yes + no + + + + + + + + + + root-menu + + + + + + + + + yes + + + + + + 1 + 400 + 300 + false + + + + + + + + + + + + + + + + + + + + bottomright + + + + + + + + + + previous + + + + + next + + + + + + + + + + + + + + + + + + + + + + + + + + + + + client-send-to-menu + + + + + + + + top + + + + + + + left + + + + + + + right + + + + + + + bottom + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + client-list-combined-menu + + + + + root-menu + + + + + + + menu.xml + 200 + no + 100 + 400 + yes + no + + + + + + center + center + + + + +
diff --git a/openbox/.config/openbox/scripts/screenlayout b/openbox/.config/openbox/scripts/screenlayout new file mode 100755 index 0000000..698d8c7 --- /dev/null +++ b/openbox/.config/openbox/scripts/screenlayout @@ -0,0 +1,11 @@ +#!/bin/sh + +printf '\n' +for layout in "$HOME"/.local/bin/screenlayouts/*; do + printf ' \n' "${layout##*/}" + printf ' \n' + printf ' %s\n' "$layout" + printf ' \n' + printf ' \n' +done +printf '\n' diff --git a/openbox/.local/share/themes/icecubes b/openbox/.local/share/themes/icecubes new file mode 160000 index 0000000..14229e4 --- /dev/null +++ b/openbox/.local/share/themes/icecubes @@ -0,0 +1 @@ +Subproject commit 14229e4aa741cf13e25b459ed383de40edc565e4 diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc new file mode 100644 index 0000000..f5920b9 --- /dev/null +++ b/sxhkd/.config/sxhkd/sxhkdrc @@ -0,0 +1,21 @@ +super + {F1,F2,F3,F4} + {thunar,qutebrowser,thunderbird,spotify} + +super + control + F9 + wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle + +super + control + {F10,F11} + wpctl set-mute @DEFAULT_AUDIO_SINK@ 0; \ + wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%{-,+} + +super + control + F12 + run-i3lock + +super + p + dmenu_run + +super + Return + st + +{_, shift +} Print + flameshot {gui,full} diff --git a/tint2/.config/tint2/tint2rc b/tint2/.config/tint2/tint2rc new file mode 100644 index 0000000..6e83934 --- /dev/null +++ b/tint2/.config/tint2/tint2rc @@ -0,0 +1,221 @@ +#---- Generated by tint2conf 6ae3 ---- +# See https://gitlab.com/o9000/tint2/wikis/Configure for +# full documentation of the configuration options. +#------------------------------------- +# Gradients +#------------------------------------- +# Backgrounds +# Background 1: Panel +rounded = 0 +border_width = 1 +background_color = #eeeeee 0 +border_color = #bbbbbb 10 +background_color_hover = #eeeeee 0 +border_color_hover = #bbbbbb 10 +background_color_pressed = #eeeeee 0 +border_color_pressed = #bbbbbb 10 + +# Background 2: Default task, Iconified task +rounded = 5 +border_width = 1 +background_color = #eeeeee 4 +border_color = #cccccc 44 +background_color_hover = #eeeeee 22 +border_color_hover = #eaeaea 44 +background_color_pressed = #dddddd 4 +border_color_pressed = #eaeaea 44 + +# Background 3: Active task +rounded = 5 +border_width = 1 +background_color = #222222 35 +border_color = #aaaaaa 100 +background_color_hover = #eeeeee 22 +border_color_hover = #999999 100 +background_color_pressed = #dddddd 4 +border_color_pressed = #999999 100 + +# Background 4: Urgent task +rounded = 5 +border_width = 1 +background_color = #aa4400 100 +border_color = #aa7733 100 +background_color_hover = #aa4400 100 +border_color_hover = #aa7733 100 +background_color_pressed = #aa4400 100 +border_color_pressed = #aa7733 100 + +# Background 5: Tooltip +rounded = 2 +border_width = 1 +background_color = #ffffaa 100 +border_color = #999999 100 +background_color_hover = #ffffaa 100 +border_color_hover = #999999 100 +background_color_pressed = #ffffaa 100 +border_color_pressed = #999999 100 + +# Background 6: Inactive desktop name +rounded = 5 +border_width = 1 +background_color = #eeeeee 4 +border_color = #cccccc 30 +background_color_hover = #eeeeee 22 +border_color_hover = #999999 30 +background_color_pressed = #dddddd 4 +border_color_pressed = #999999 30 + +# Background 7: Active desktop name +rounded = 5 +border_width = 1 +background_color = #dddddd 3 +border_color = #999999 100 +background_color_hover = #dddddd 3 +border_color_hover = #999999 100 +background_color_pressed = #dddddd 3 +border_color_pressed = #999999 100 + +#------------------------------------- +# Panel +panel_items = LTSEC +panel_size = 100% 32 +panel_margin = 0 0 +panel_padding = 4 2 4 +panel_background_id = 1 +wm_menu = 1 +panel_dock = 0 +panel_position = bottom center horizontal +panel_layer = normal +panel_monitor = all +panel_shrink = 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 = 0 +mouse_effects = 1 +font_shadow = 0 +mouse_hover_icon_asb = 100 0 10 +mouse_pressed_icon_asb = 100 0 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 = 6 +taskbar_name_active_background_id = 7 +taskbar_name_font = sans bold 9 +taskbar_name_font_color = #ffffff 100 +taskbar_name_active_font_color = #ffffff 100 +taskbar_distribute_size = 1 +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 = 140 35 +task_padding = 4 3 4 +task_font = sans 8 +task_tooltip = 1 +task_font_color = #ffffff 100 +task_icon_asb = 100 0 0 +task_background_id = 2 +task_active_background_id = 3 +task_urgent_background_id = 4 +task_iconified_background_id = 2 +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 = 4 0 2 +systray_background_id = 0 +systray_sort = ascending +systray_icon_size = 22 +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 = terminal.desktop +launcher_item_app = file.desktop +launcher_item_app = browser.desktop +launcher_item_app = editor.desktop + +#------------------------------------- +# Clock +time1_format = %H:%M +time2_format = %A %d %B +time1_font = sans bold 8 +time1_timezone = +time2_timezone = +time2_font = sans 7 +clock_font_color = #ffffff 100 +clock_padding = 1 0 +clock_background_id = 0 +clock_tooltip = +clock_tooltip_timezone = +clock_lclick_command = zenity --calendar --text "" +clock_rclick_command = orage +clock_mclick_command = +clock_uwheel_command = +clock_dwheel_command = + +#------------------------------------- +# Tooltip +tooltip_show_timeout = 0.5 +tooltip_hide_timeout = 0.1 +tooltip_padding = 2 2 +tooltip_background_id = 5 +tooltip_font_color = #222222 100 +tooltip_font = sans 9 + +#------------------------------------- +# Executor 2 +execp = new +execp_command = ~/.local/bin/statusbar/sb-memory +execp_interval = 1 +execp_has_icon = 1 +execp_cache_icon = 1 +execp_continuous = 0 +execp_markup = 1 +execp_tooltip = +execp_lclick_command = +execp_rclick_command = +execp_mclick_command = +execp_uwheel_command = +execp_dwheel_command = +execp_font = Sans 10 +execp_font_color = #ffffff 100 +execp_padding = 5 0 +execp_background_id = 2 +execp_centered = 0 +execp_icon_w = 24 +execp_icon_h = 24