...
 
Commits (50)
......@@ -2,6 +2,11 @@
# These things are run when an Openbox X Session is started.
#
# Load global autostart
# shellcheck source=/dev/null
[ -r "${XDG_CONFIG_HOME:-$HOME/.config}/autostart.sh" ] && \
. "${XDG_CONFIG_HOME:-$HOME/.config}/autostart.sh"
# Use different git branch depending on screen height
if [ "$(xdpyinfo | awk '/dimensions/ {print $2}' | awk -Fx '{print $2}')" -lt 800 ]; then
(cd "${XDG_CONFIG_HOME:-$HOME/.config}/openbox" && \
......@@ -11,46 +16,8 @@ else
git checkout master 2>/dev/null && openbox --reconfigure)
fi
# Configure monitors
disper --resolution=auto --extend
# Set X Server properties
xrdb ~/.Xdefaults
# Load color profile
xcalib -d :0 ~/.color/icc/screen0.icm 2>/dev/null
xcalib -d :1 ~/.color/icc/screen1.icm 2>/dev/null
# Load custom Xmodmap
[ -f "$HOME/.Xmodmap" ] && xmodmap "$HOME/.Xmodmap"
# Bind Caps Lock to Ctrl
setxkbmap -option ctrl:nocaps
# Enable trackpad tapping, edgescrolling and disable while typing
synclient TapButton1=1 TapButton2=2 TapButton3=3 HorizEdgeScroll=1 VertEdgeScroll=1 PalmDetect=1
# Hide mouse cursor when not used
unclutter -root -visible -noevents &
# Start sxhkd
sxhkd -c "${XDG_CONFIG_HOME:-$HOME/.config}/sxhkd/sxhkdrc" &
# Start Terminal daemon
pgrep -xu "$USER" urxvtd >/dev/null || urxvtd -q -o -f
# Generate color files
getXcolor.sh --generate all
# Set background
bgcolor="$(getXcolor.sh -c white 2>/dev/null)" || bgcolor='1c1c1c'
fgcolor="$(getXcolor.sh -c brightblack 2>/dev/null)" || fgcolor='7f7f7f'
xsetroot -bg "#$bgcolor" -fg "#$fgcolor" -mod 2 2
# Launch panel
tint2 -c "${XDG_CONFIG_HOME:-$HOME/.config}/tint2/ob_taskbar" &
# Launch systray
tint2 -c "${XDG_CONFIG_HOME:-$HOME/.config}/tint2/ob_systray" &
xsetroot -solid '#406080'
# Set DPMS (Energy Star) features
xset dpms 630 700 760
......@@ -63,6 +30,11 @@ if [ -z "$XRDP_SESSION" ]; then
xss-lock -- i3lock.sh -efI 5 &
fi
# Launch panel
tint2 -c "${XDG_CONFIG_HOME:-$HOME/.config}/tint2/ob_taskbar" &
# Launch systray
tint2 -c "${XDG_CONFIG_HOME:-$HOME/.config}/tint2/ob_systray" &
# Start udiskie for device automonting
pgrep -xu "$USER" udiskie >/dev/null || udiskie --smart-tray &
......@@ -72,6 +44,9 @@ amixer -q sset Master 50%
# Start fdpowermon
fdpowermon &
# Start Terminal daemon
pgrep -xu "$USER" urxvtd >/dev/null || urxvtd -q -o -f
# Load local configuration
# shellcheck source=/dev/null
[ -r "${XDG_CONFIG_HOME:-$HOME/.config}/openbox/autostart.local" ] && \
......
......@@ -4,6 +4,3 @@
# Set Openbox config directory
export OBOX_CONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/openbox"
# Openbox GTK fix
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
......@@ -7,14 +7,14 @@
<menu id="root-menu" label="Openbox 3">
<item label="_Run...">
<action name="Execute"><command>dmenu_run -p 'Run:'</command></action>
<action name="Execute"><command>sh -c 'rofi -show run -display-run Run: || dmenu_run -p Run:'</command></action>
</item>
<separator />
<!-- This requires the presence of the 'menu' package to work -->
<menu id="/Debian" />
<item label="_URxvt">
<action name="Execute"><command>sh -c 'urxvtc || urxvt'</command></action>
</item>
<item label="_URxvt">
<action name="Execute"><command>sh -c 'urxvtc || urxvt'</command></action>
</item>
<menu id="inet-menu" label="_Internet">
<item label="_Chromium">
<action name="Execute"><command>chromium</command></action>
......@@ -51,7 +51,7 @@
<action name="Execute"><command>surf</command></action>
</item>
<item label="Surf (_no-cookies)">
<action name="Execute"><command>surf -c /dev/null</command></action>
<action name="Execute"><command>surf -c /dev/null -d</command></action>
</item>
<item label="_Tor Browser">
<action name="Execute"><command>torbrowser-launcher</command></action>
......@@ -74,20 +74,42 @@
</item>
<item label="_Logout">
<action name="Execute">
<command>sh -c 'zenity --question --title "Exit" --text "Are you sure you want to exit?" &amp;&amp; openbox --exit'</command>
<command>sh -c 'zenity --width=300 --question --title "Exit" --text "Are you sure you want to exit?" &amp;&amp; openbox --exit'</command>
</action>
</item>
<item label="Re_boot">
<action name="Execute">
<command>sh -c 'zenity --question --title "Reboot" --text "Are you sure you want to reboot the system?" &amp;&amp; { systemctl reboot || gksudo -- reboot; }'</command>
<command>sh -c 'zenity --width=300 --question --title "Reboot" --text "Are you sure you want to reboot the system?" &amp;&amp; { systemctl reboot || gksudo -- reboot; }'</command>
</action>
</item>
<item label="Power_Off">
<action name="Execute">
<command>sh -c 'zenity --question --title "Power Off" --text "Are you sure you want to power off the system?" &amp;&amp; { systemctl poweroff || gksudo -- halt -p; }'</command>
<command>sh -c 'zenity --width=300 --question --title "Power Off" --text "Are you sure you want to power off the system?" &amp;&amp; { systemctl poweroff || gksudo -- halt -p; }'</command>
</action>
</item>
</menu>
</menu>
<menu id="options-menu" label="_Options">
<item label="_New">
<action name="Execute"><command>sizewin.sh urxvt</command></action>
</item>
<item label="_Resize">
<action name="Execute"><command>sizewin.sh --select</command></action>
</item>
<item label="_Delete">
<action name="Execute"><command>xdotool selectwindow windowclose</command></action>
</item>
<item label="_Hide">
<action name="Execute"><command>xdotool selectwindow windowminimize</command></action>
</item>
<separator />
<item label="_Snarf">
<action name="Execute"><command>sh -c 'xsel -p -o | xsel -b -i'</command></action>
</item>
<item label="_Plumb">
<action name="Execute"><command>sh -c 'plumb.sh --auto $(xsel -o)'</command></action>
</item>
</menu>
</openbox_menu>
......@@ -19,45 +19,45 @@
<primaryMonitor>1</primaryMonitor>
</placement>
<theme>
<name>Greybird</name>
<titleLayout>SDLMC</titleLayout>
<name>MyWindowLab</name>
<titleLayout>LIMC</titleLayout>
<keepBorder>yes</keepBorder>
<animateIconify>no</animateIconify>
<font place="ActiveWindow">
<name>Terminus</name>
<size>10</size>
<weight>Normal</weight>
<size>12</size>
<weight>Bold</weight>
<slant>Normal</slant>
</font>
<font place="InactiveWindow">
<name>Terminus</name>
<size>10</size>
<weight>Normal</weight>
<size>12</size>
<weight>Bold</weight>
<slant>Normal</slant>
</font>
<font place="MenuHeader">
<name>Terminus</name>
<size>12</size>
<weight>normal</weight>
<slant>normal</slant>
<weight>Bold</weight>
<slant>Normal</slant>
</font>
<font place="MenuItem">
<name>Terminus</name>
<size>12</size>
<weight>normal</weight>
<slant>normal</slant>
<weight>Normal</weight>
<slant>Normal</slant>
</font>
<font place="ActiveOnScreenDisplay">
<name>Terminus</name>
<size>12</size>
<weight>bold</weight>
<slant>normal</slant>
<weight>Bold</weight>
<slant>Normal</slant>
</font>
<font place="InactiveOnScreenDisplay">
<name>Terminus</name>
<size>12</size>
<weight>bold</weight>
<slant>normal</slant>
<weight>Normal</weight>
<slant>Normal</slant>
</font>
</theme>
<desktops>
......@@ -102,8 +102,8 @@
<keyboard>
<chainQuitKey>Escape</chainQuitKey>
<!-- Key quoting -->
<keybind key="W-A-q" chroot="true">
<keybind key="W-A-q">
<keybind key="W-Escape" chroot="true">
<keybind key="W-Escape">
<action name="BreakChroot"/>
</keybind>
</keybind>
......@@ -305,7 +305,7 @@
</keybind>
<keybind key="A-Tab">
<action name="NextWindow">
<bar>no</bar>
<bar>yes</bar>
<dialog>list</dialog>
<raise>yes</raise>
<finalactions>
......@@ -317,7 +317,7 @@
</keybind>
<keybind key="A-S-Tab">
<action name="PreviousWindow">
<bar>no</bar>
<bar>yes</bar>
<dialog>list</dialog>
<raise>yes</raise>
<finalactions>
......@@ -328,8 +328,34 @@
</action>
</keybind>
<keybind key="W-Tab">
<action name="GoToDesktop">
<to>last</to>
<action name="NextWindow">
<bar>none</bar>
<dialog>none</dialog>
<allDesktops>yes</allDesktops>
<finalactions>
<action name="If">
<query>
<desktop>current</desktop>
</query>
<then>
<action name="GoToDesktop">
<to>last</to>
</action>
</then>
<else>
<action name="If">
<query>
<title>*</title>
</query>
<then>
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</then>
</action>
</else>
</action>
</finalactions>
</action>
</keybind>
<keybind key="W-h">
......@@ -536,7 +562,6 @@
<else>
<action name="Focus"/>
<action name="Unshade"/>
<action name="Undecorate"/>
</else>
</action>
</keybind>
......@@ -558,7 +583,19 @@
</keybind>
<!-- Toggle maximize -->
<keybind key="W-m">
<action name="ToggleMaximizeFull"/>
<action name="If">
<query>
<maximized>yes</maximized>
</query>
<then>
<action name="Decorate"/>
<action name="Unmaximize"/>
</then>
<else>
<action name="Undecorate"/>
<action name="Maximize"/>
</else>
</action>
</keybind>
<!-- Open menu -->
<keybind key="A-F1">
......@@ -566,12 +603,6 @@
<menu>root-menu</menu>
</action>
</keybind>
<!-- Open window list menu -->
<keybind key="W-w">
<action name="ShowMenu">
<menu>client-list-combined-menu</menu>
</action>
</keybind>
<!-- Launch URxvt client -->
<keybind key="W-Return">
<action name="Execute">
......@@ -581,10 +612,10 @@
<!-- Launch dmenu -->
<keybind key="A-r">
<action name="Execute">
<command>dmenu_run -p 'Run:'</command>
<command>sh -c 'rofi -show run -display-run Run: || dmenu_run -p Run:'</command>
</action>
</keybind>
<keybind key="W-A-Escape">
<keybind key="W-S-q">
<action name="ShowMenu">
<menu>exit-menu</menu>
</action>
......@@ -865,6 +896,11 @@
</context>
<context name="Root">
<!-- Menus -->
<mousebind button="Left" action="Press">
<action name="ShowMenu">
<menu>options-menu</menu>
</action>
</mousebind>
<mousebind button="Middle" action="Press">
<action name="ShowMenu">
<menu>client-list-combined-menu</menu>
......@@ -913,11 +949,10 @@
<!-- Normal windows -->
<application type="normal">
<decor>no</decor>
<maximized>no</maximized>
<maximized>yes</maximized>
</application>
<!-- Popup windows -->
<application name="popup">
<decor>no</decor>
<shade>no</shade>
<fullscreen>no</fullscreen>
<maximized>no</maximized>
......@@ -928,7 +963,6 @@
</position>
</application>
<application class="?message">
<decor>no</decor>
<shade>no</shade>
<fullscreen>no</fullscreen>
<maximized>no</maximized>
......@@ -992,8 +1026,22 @@
<application class="Steam">
<maximized>no</maximized>
</application>
<!-- Firefox windows -->
<application class="Firefox" type="normal">
<size>
<width>1026</width>
<height>1027</height>
</size>
</application>
<application class="Firefox-esr" type="normal">
<size>
<width>1026</width>
<height>1027</height>
</size>
</application>
<!-- Surf windows -->
<application class="Surf">
<decor>no</decor>
<size>
<width>1000</width>
<height>1000</height>
......@@ -1001,6 +1049,7 @@
</application>
<!-- Tabbed surf windows -->
<application class="tabbed">
<decor>no</decor>
<size>
<width>1000</width>
<height>1016</height>
......
ob_systray.greybird
\ No newline at end of file
ob_systray.windowlab
\ No newline at end of file
......@@ -58,7 +58,7 @@ systray_monitor = 1
#-------------------------------------
execp = new
execp_command = staty.sh mpd
execp_command = /bin/sh -c "staty.sh mpd | sed 's/&/\&amp;/g'"
execp_interval = 1
execp_has_icon = 0
execp_tooltip =
......
......@@ -58,7 +58,7 @@ systray_monitor = 1
#-------------------------------------
execp = new
execp_command = staty.sh mpd
execp_command = /bin/sh -c "staty.sh mpd | sed 's/&/\&amp;/g'"
execp_interval = 1
execp_has_icon = 0
execp_tooltip =
......
#-------------------------------------
# Backgrounds
#-------------------------------------
# Background 1
rounded = 0
border_width = 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
#-------------------------------------
# Panel
#-------------------------------------
panel_items = EFS
panel_size = 100% 22
panel_margin = 0 0
panel_padding = 0 0 0
panel_background_id = 1
wm_menu = 0
panel_dock = 1
panel_position = bottom center horizontal
panel_layer = bottom
panel_monitor = 1
primary_monitor_first = 1
autohide = 0
autohide_show_timeout = 0.1
autohide_hide_timeout = 0
autohide_height = 1
strut_policy = none
panel_window_name = tint2_systray
disable_transparency = 0
mouse_effects = 0
font_shadow = 0
mouse_hover_icon_asb = 100 0 10
mouse_pressed_icon_asb = 100 0 0
#-------------------------------------
# System tray (notification area)
#-------------------------------------
systray_padding = 8 2 15
systray_background_id = 0
systray_sort = ascending
systray_icon_size = 16
systray_icon_asb = 90 -100 0
systray_monitor = 1
#-------------------------------------
# Executors
#-------------------------------------
execp = new
execp_command = /bin/sh -c "staty.sh mpd | sed 's/&/\&amp;/g'"
execp_interval = 1
execp_has_icon = 0
execp_tooltip =
execp_font = Terminus 12
execp_font_color = #e1e1e1 100
execp_markup = 1
execp_background_id = 0
execp_padding = 8 2 8
execp_lclick_command = staty.sh mpd toggle
execp_mclick_command =
execp_rclick_command = sh -c 'urxvtc -name popup -e ncmpcpp || urxvt -name popup -e ncmpcpp'
execp_uwheel_command = staty.sh mpd prev
execp_dwheel_command = staty.sh mpd next
ob_taskbar.greybird
\ No newline at end of file
ob_taskbar.windowlab
\ No newline at end of file
......@@ -85,11 +85,11 @@ urgent_nb_of_blink = 7
task_maximum_size = 0 0
task_padding = 8 2 15
task_font = Terminus 12
task_tooltip = 0
task_tooltip = 1
task_font_color = #787c7d 100
task_active_font_color = #2e3436 100
task_urgent_font_color = #4a90d9 100
task_iconified_font_color = #787c7d 100
task_iconified_font_color = #787c7d 50
task_icon_asb = 100 0 0
task_active_icon_asb = 100 0 0
task_urgent_icon_asb = 100 0 0
......@@ -136,4 +136,4 @@ tooltip_show_timeout = 1
tooltip_hide_timeout = 0
tooltip_background_id = 2
tooltip_font_color = #cbd2d9 100
tooltip_font = Terminus 10
tooltip_font = Terminus 12
......@@ -85,11 +85,11 @@ urgent_nb_of_blink = 7
task_maximum_size = 0 0
task_padding = 8 2 15
task_font = Terminus 12
task_tooltip = 0
task_tooltip = 1
task_font_color = #898b8b 100
task_active_font_color = #f4f4f4 100
task_urgent_font_color = #215d9c 100
task_iconified_font_color = #898b8b 100
task_iconified_font_color = #898b8b 50
task_icon_asb = 100 0 0
task_active_icon_asb = 100 0 0
task_urgent_icon_asb = 100 0 0
......@@ -136,4 +136,4 @@ tooltip_show_timeout = 1
tooltip_hide_timeout = 0
tooltip_background_id = 2
tooltip_font_color = #cbd2d9 100
tooltip_font = Terminus 10
tooltip_font = Terminus 12
......@@ -86,11 +86,11 @@ urgent_nb_of_blink = 7
task_maximum_size = 0 0
task_padding = 8 2 15
task_font = Terminus 12
task_tooltip = 0
task_tooltip = 1
task_font_color = #686868 100
task_active_font_color = #212121 100
task_urgent_font_color = #398ee7 100
task_iconified_font_color = #686868 100
task_iconified_font_color = #686868 50
task_icon_asb = 100 0 0
task_active_icon_asb = 100 0 0
task_urgent_icon_asb = 100 0 0
......@@ -137,4 +137,4 @@ tooltip_show_timeout = 1
tooltip_hide_timeout = 0
tooltip_background_id = 2
tooltip_font_color = #cbd2d9 100
tooltip_font = Terminus 10
tooltip_font = Terminus 12
#-------------------------------------
# Backgrounds
#-------------------------------------
# Background 1
rounded = 0
border_width = 2
border_sides = TB
background_color = #cecece 100
border_color = #000000 100
background_color_hover = #cecece 100
border_color_hover = #000000 100
background_color_pressed = #cecece 100
border_color_pressed = #000000 100
# Background 2
rounded = 0
border_width = 0
background_color = #cecece 100
border_color = #000000 100
background_color_hover = #cecece 100
border_color_hover = #000000 100
background_color_pressed = #cecece 100
border_color_pressed = #000000 100
# Background 3
rounded = 0
border_width = 2
border_sides = R
background_color = #cecece 100
border_color = #000000 100
background_color_hover = #cecece 100
border_color_hover = #000000 100
background_color_pressed = #cecece 100
border_color_pressed = #000000 100
# Background 4
rounded = 0
border_width = 2
border_sides = R
background_color = #f0d000 100
border_color = #000000 100
background_color_hover = #f0d000 100
border_color_hover = #000000 100
background_color_pressed = #f0d000 100
border_color_pressed = #000000 100
# Background 5
rounded = 0
border_width = 2
border_sides = R
background_color = #398ee7 100
border_color = #000000 100
background_color_hover = #398ee7 100
border_color_hover = #000000 100
background_color_pressed = #398ee7 100
border_color_pressed = #000000 100
#-------------------------------------
# Panel
#-------------------------------------
panel_items = TC
panel_size = 100% 26
panel_margin = 0 0
panel_padding = 0 0 0
panel_background_id = 1
wm_menu = 1
panel_dock = 0
panel_position = top center horizontal
panel_layer = bottom
panel_monitor = 1
primary_monitor_first = 1
autohide = 0
autohide_show_timeout = 0
autohide_hide_timeout = 0
autohide_height = 1
strut_policy = follow_size
panel_window_name = tint2
disable_transparency = 0
mouse_effects = 0
font_shadow = 0
mouse_hover_icon_asb = 100 0 10
mouse_pressed_icon_asb = 100 0 0
#-------------------------------------
# Taskbar
#-------------------------------------
taskbar_mode = single_desktop
taskbar_padding = 0 0 0
taskbar_background_id = 2
taskbar_active_background_id = 2
taskbar_name = 1
taskbar_hide_inactive_tasks = 0
taskbar_hide_different_monitor = 0
taskbar_always_show_all_desktop_tasks = 0
taskbar_name_padding = 5 0 0
taskbar_name_background_id = 3
taskbar_name_active_background_id = 3
taskbar_name_font = Terminus Bold 12
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 = 0
task_centered = 1
urgent_nb_of_blink = 7
task_maximum_size = 200 0
task_padding = 5 0 0
task_font = Terminus Bold 12
task_tooltip = 1
task_font_color = #000000 100
task_iconified_font_color = #000000 50
task_icon_asb = 100 0 0
task_active_icon_asb = 100 0 0
task_urgent_icon_asb = 100 0 0
task_iconified_icon_asb = 98 0 0
task_background_id = 3
task_active_background_id = 4
task_urgent_background_id = 5
task_iconified_background_id = 3
mouse_left = toggle_iconify
mouse_middle = maximize_restore
mouse_right = shade
mouse_scroll_up = none
mouse_scroll_down = none
#-------------------------------------
# Clock
#-------------------------------------
time1_format = %T
time2_format =
time1_font = Terminus Bold 12
time1_timezone =
time2_timezone =
time2_font = Terminus 12
clock_font_color = #000000 100
clock_padding = 5 0
clock_background_id = 2
clock_tooltip = %A, %d %B %Y
clock_tooltip_timezone =
clock_lclick_command = gsimplecal
clock_rclick_command =
clock_mclick_command =
clock_uwheel_command =
clock_dwheel_command =
#-------------------------------------
# Tooltip
#-------------------------------------
tooltip_padding = 8 8
tooltip_show_timeout = 1
tooltip_hide_timeout = 0
tooltip_background_id = 1
tooltip_font_color = #000000 100
tooltip_font = Terminus Bold 12
#define close_width 8
#define close_height 8
static unsigned char close_bits[] = {
0xc3, 0xe7, 0x7e, 0x3c, 0x3c, 0x7e, 0xe7, 0xc3 };
#define close_pressed_width 10
#define close_pressed_height 10
static unsigned char close_pressed_bits[] = {
0x00, 0x00, 0x00, 0x00, 0x0c, 0x03, 0x9c, 0x03, 0xf8, 0x01, 0xf0, 0x00,
0xf0, 0x00, 0xf8, 0x01, 0x9c, 0x03, 0x0c, 0x03 };
#define desk_width 8
#define desk_height 8
static unsigned char desk_bits[] = {
0x00, 0x00, 0x48, 0x78, 0x7f, 0x78, 0x48, 0x00 };
#define desk_toggled_width 8
#define desk_toggled_height 8
static unsigned char desk_toggled_bits[] = {
0x00, 0x66, 0x66, 0x00, 0x00, 0x66, 0x66, 0x00 };
#define iconify_width 8
#define iconify_height 8
static unsigned char iconify_bits[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff };
#define iconify_pressed_width 10
#define iconify_pressed_height 10
static unsigned char iconify_pressed_bits[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0xfc, 0x03, 0xfc, 0x03 };
#define max_width 8
#define max_height 8
static unsigned char max_bits[] = {
0xff, 0xff, 0x81, 0x81, 0x81, 0x81, 0x81, 0xff };
#define max_pressed_width 10
#define max_pressed_height 10
static unsigned char max_pressed_bits[] = {
0x00, 0x00, 0x00, 0x00, 0xfc, 0x03, 0xfc, 0x03, 0x04, 0x02, 0x04, 0x02,
0x04, 0x02, 0x04, 0x02, 0x04, 0x02, 0xfc, 0x03 };
#define max_toggled_width 8
#define max_toggled_height 8
static unsigned char max_toggled_bits[] = {
0xfc, 0xfc, 0x84, 0x9f, 0x91, 0xf1, 0x11, 0x1f };
#define shade_width 8
#define shade_height 8
static unsigned char shade_bits[] = {
0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
#define shade_pressed_width 10
#define shade_pressed_height 10
static unsigned char shade_pressed_bits[] = {
0x00, 0x00, 0x00, 0x00, 0xfc, 0x03, 0xfc, 0x03, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
# Name: MyWindowLab
# Authoer: aguslr
# Based on windowlab from Xavier Benderitter <[email protected]>
# https://www.box-look.org/p/1017202/
# Menu settings
menu.title.bg: Flat Solid
menu.title.bg.color: #F0D000
menu.title.text.color: #000000
menu.title.text.justify: Left
menu.items.bg: Flat Solid
menu.items.bg.color: #CECECE
menu.items.text.color: #000000
menu.items.disabled.text.color: #000000
menu.items.active.bg: Flat Vertical
menu.items.active.bg.color: #F0D000
menu.items.active.text.color: #000000
menu.separator.width: 2
menu.separator.padding.height: 0
menu.separator.padding.width: 0
menu.separator.color: #000000
# OSD settings
osd.bg: Flat
osd.bg.color: #CECECE
osd.label.bg: Flat Solid
osd.label.bg.color: #F0D000
osd.label.text.color: #000000
osd.hilight.bg: Flat Solid
osd.hilight.bg.color: #F0D000
osd.border.width: 2
# Window settings (focused)
window.active.title.bg: Flat Vertical
window.active.title.bg.color: #F0D000
window.active.label.bg: Parentrelative
window.active.label.text.color: #000000
window.active.handle.bg: Flat Vertical
window.active.handle.bg.color: #000000
window.active.grip.bg: Flat Vertical
window.active.grip.bg.color: #000000
window.active.button.unpressed.bg: Flat Vertical
window.active.button.unpressed.bg.color: #F0D000
window.active.button.unpressed.image.color: #000000
window.active.button.pressed.bg: Flat Vertical
window.active.button.pressed.bg.color: #F0D000
window.active.button.pressed.image.color: #BDA400
window.active.button.disabled.bg: Flat Vertical
window.active.button.disabled.bg.color: #F0D000
window.active.button.disabled.image.color: #000000
window.active.button.toggled.bg: Flat Vertical
window.active.button.toggled.bg.color: #F0D000
window.active.button.toggled.image.color: #000000
# Window settings (unfocused)
window.inactive.title.bg: Flat Vertical
window.inactive.title.bg.color: #CECECE
window.inactive.label.bg: Parentrelative
window.inactive.label.text.color: #000000
window.inactive.handle.bg: Flat Vertical
window.inactive.handle.bg.color: #000000
window.inactive.grip.bg: Flat Vertical
window.inactive.grip.bg.color: #000000
window.inactive.button.unpressed.bg: Flat Vertical
window.inactive.button.unpressed.bg.color: #CECECE
window.inactive.button.unpressed.image.color: #000000
window.inactive.button.pressed.bg: Flat Vertical
window.inactive.button.pressed.bg.color: #CECECE
window.inactive.button.pressed.image.color: #BDA400
window.inactive.button.disabled.bg: Flat Vertical
window.inactive.button.disabled.bg.color: #CECECE
window.inactive.button.disabled.image.color: #000000
window.inactive.button.toggled.bg: Flat Vertical
window.inactive.button.toggled.bg.color: #CECECE
window.inactive.button.toggled.image.color: #000000
### Window geometry
border.width: 2
padding.height: 4
padding.width: 4
window.handle.width: 0
window.client.padding.width: 0
border.color: #000000
menu.overlap: 0
### Fonts
window.active.label.text.font:shadow=n
window.inactive.label.text.font:shadow=n
menu.items.font:
menu.title.text.font:shadow=n
......@@ -32,3 +32,4 @@ _darcs
.+old
^/demo.gif
^/screenshot.png
......@@ -13,7 +13,7 @@ If we have Git installed on the system, we can get the files directly from the
repository:
```sh
git clone https://github.com/aguslr/openbox-config
git clone https://gitlab.com/aguslr/openbox-config
```
After this, every time we want to update the files we do:
......@@ -28,10 +28,10 @@ If Git is not installed, we can still get the files as long as we have a basic
Unix environment available:
```sh
wget https://github.com/aguslr/openbox-config/tarball/master -O - | tar -xzv --strip-components 1 --exclude={README.md}
wget https://gitlab.com/aguslr/openbox-config/-/archive/master/openbox-config-master.tar.gz -O - | tar -xzv --strip-components 1 --exclude={README.md,screenshot.png}
```
### Installing with Stow
## Installing with Stow
To easily create and manage links to the files we can use [GNU Stow][stow] as
follows:
......@@ -46,6 +46,9 @@ Or simply, using [Make][]:
make install
```
## Screenshot
![Screenshot](https://gitlab.com/aguslr/openbox-config/raw/master/screenshot.png "Screenshot")
[make]: https://www.gnu.org/software/make/
[openbox]: http://openbox.org/
......