dotfiles

configuration files for different softwares
git clone git://z3bra.org/dotfiles
Log | Files | Refs

commit c309ef6f954c15cdfe94ef18d8bc36504387bac7
parent 837d46b3d15d49bf5d8bbaf46f85cb9c40bcbb1a
Author: Willy Goiffon <w.goiffon@gmail.com>
Date:   Wed May 29 16:03:12 2013

Merge branch 'master' of gitorious.org:z3bra/dotfiles

Diffstat:
 copy.sh                       |   4 +-
 openbox/autostart             |   8 +-
 openbox/environment           |  10 +-
 openbox/menu.xml              | 264 ++++++++++++-
 openbox/pipemenus/calendar.sh |  34 ++-
 openbox/pipemenus/gweather.py | 139 ++++++-
 openbox/pipemenus/ob-mpd.sh   | 119 +++++-
 openbox/rc.xml                | 931 +++++++++++++++++++++++++++++++++++++++++++-
 tint2/tint2-vert              | 141 +++++++-
 tint2/tint2rc                 | 111 +++++-
 10 files changed, 1759 insertions(+), 2 deletions(-)

diff --git a/copy.sh b/copy.sh @@ -36,9 +36,9 @@ read -p "Hit <Enter> to continue, <Ctrl-C> to abort..." for f in $(grep -v '^#' $TMPFILE); do ln -s $PWD/$f ~/.$f if [ -L ~/.$f ] ; then - echo $OK -> $f + echo "$OK -> $f" else - echo $NOPE -> $f + echo "$NOPE -> $f" fi done diff --git a/openbox/autostart b/openbox/autostart @@ -0,0 +1,8 @@ +# +# These things are run when an Openbox X Session is started. +# You may place a similar script in $HOME/.config/openbox/autostart +# to run user-specific things. +# + +# taskbar +tint2 & diff --git a/openbox/environment b/openbox/environment @@ -0,0 +1,10 @@ +# +# Set system-wide environment variables here for Openbox +# User-specific variables should be placed in $HOME/.config/openbox/environment +# + +# To set your language for displaying messages and time/date formats, use the following: +#LANG=en_CA.UTF8 + +# To set your keyboard layout, you need to modify your X config: +# http://www.google.com/search?q=how+to+set+keyboard+layout+xorg diff --git a/openbox/menu.xml b/openbox/menu.xml @@ -0,0 +1,264 @@ +<?xml version="1.0" encoding="utf-8"?> +<openbox_menu xmlns="http://openbox.org/3.4/menu"> + <showIcons>yes</showIcons> + +<!-- applications menus --> + <!-- games --> + <menu id="apps-game-menu" label="games"> + <item label="zero" icon="/usr/share/icons/Personnal/Quake-Live.png"> + <action name="Execute"> + <command> + ~/.qlprism/qlprism.sh + </command> + </action> + </item> + <item label="ioq3" icon="/usr/share/icons/Personnal/Quake-III-Arena.png"> + <action name="Execute"> + <command> + ioquake3 + </command> + </action> + </item> + <item label="q3df" icon="/usr/share/icons/Personnal/defrag.png"> + <action name="Execute"> + <command> + ioquake3 +set fs_game "defrag" + </command> + </action> + </item> + </menu> + <!-- file managers --> + <menu id="apps-fileman-menu" label="file manager"> + <item label="thunar"> + <action name="Execute"> + <command> + thunar + </command> + <startupnotify> + <enabled> + yes + </enabled> + </startupnotify> + </action> + </item> + </menu> + <!-- terminal emulators --> + <menu id="apps-term-menu" label="terminal"> + <item label="URxvt"> + <action name="Execute"> + <command> + urxvtc + </command> + </action> + </item> + <item label="xterm"> + <action name="Execute"> + <command> + xterm + </command> + </action> + </item> + </menu> + <!-- editors --> + <menu id="apps-edit-menu" label="editor"> + <item label="leafPad"> + <action name="Execute"> + <command> + leafpad + </command> + </action> + </item> + </menu> + <!-- web navigators --> + <menu id="apps-net-menu" label="web browser"> + <item label="dwb"> + <action name="Execute"> + <execute> + dwb + </execute> + </action> + </item> + <item label="chromium"> + <action name="Execute"> + <execute> + chromium + </execute> + </action> + </item> + </menu> + <!-- chats --> + <menu id="apps-chat-menu" label="chat"> + <item label="mails"> + <action name="Execute"> + <command> + urxvtc -e mutt + </command> + </action> + </item> + <item label="irssi"> + <action name="Execute"> + <command> + urxvtc -e irssi + </command> + </action> + </item> + <item label="mumble"> + <action name="Execute"> + <execute> + mumble + </execute> + </action> + </item> + <item label="teamspeak"> + <action name="Execute"> + <execute> + teamspeak3 + </execute> + </action> + </item> + </menu> + <!-- multimedia --> + <menu id="apps-multimedia-menu" label="Multimedia"> + <item label="smplayer"> + <action name="Execute"> + <command> + smplayer + </command> + <startupnotify> + <enabled> + yes + </enabled> + <wmclass> + MPlayer + </wmclass> + </startupnotify> + </action> + </item> + <item label="ncmpcpp"> + <action name="Execute"> + <command> + urxvtc -e ncmpcpp --screen clock + </command> + <startupnotify> + <enabled> + yes + </enabled> + <wmclass> + ncmpcpp + </wmclass> + </startupnotify> + </action> + </item> + </menu>zo + <!-- image/video managing --> + <menu id="apps-graphics-menu" label="image editing"> + <item label="gimp"> + <action name="Execute"> + <command> + gimp + </command> + <startupnotify> + <enabled> + yes + </enabled> + </startupnotify> + </action> + </item> + </menu> + <!-- office --> + <menu id="apps-desk-menu" label="office"> + <item label="writer"> + <action name="Execute"> + <command> + abiword + </command> + <startupnotify> + <enabled> + yes + </enabled> + </startupnotify> + </action> + </item> + <item label="scheme"> + <action name="Execute"> + <command> + umlet + </command> + <startupnotify> + <enabled> + yes + </enabled> + </startupnotify> + </action> + </item> + </menu> + <!-- customisation --> + <menu id="apps-custom-menu" label="custom"> + <item label="GTK"> + <action name="Execute"> + <command> + lxappearance + </command> + </action> + </item> + <item label="openbox"> + <action name="Execute"> + <command> + obconf + </command> + </action> + </item> + <item label="reconfigure"> + <action name="Reconfigure"/> + </item> + </menu> + +<!-- Global application menu --> +<menu id="apps-menu" label="applications"> + <menu id="apps-chat-menu"/> + <menu id="apps-edit-menu"/> + <menu id="apps-fileman-menu"/> + <menu id="apps-game-menu"/> + <menu id="apps-graphics-menu"/> + <menu id="apps-multimedia-menu"/> + <menu id="apps-desk-menu"/> + <menu id="apps-term-menu"/> + <menu id="apps-net-menu"/> +</menu> +<!-- root menu --> + <menu id="root-menu" label="Openbox 3"> + <!-- <separator label="archlinux"/> --> + <item label="file browsing"> + <action name="Execute"> + <command> + thunar + </command> + </action> + </item> + <item label="web browsing"> + <action name="Execute"> + <command> + dwb + </command> + </action> + </item> + <item label="terminal"> + <action name="Execute"> + <command> + urxvtc + </command> + </action> + </item> + <separator/> + <menu id="apps-menu"/> + <separator/> + <menu id="apps-custom-menu"/> + <item label="log off"> + <action name="Exit"> + <prompt> + yes + </prompt> + </action> + </item> + </menu> +</openbox_menu> diff --git a/openbox/pipemenus/calendar.sh b/openbox/pipemenus/calendar.sh @@ -0,0 +1,34 @@ +#!/bin/sh +# +# date-menu.sh +# +# This is in the public domain. Honestly, how can you claim anything to something +# this simple? +# +# Outputs a simple openbox pipe menu to display the date, time, and calendar. +# You need 'date' and 'cal'. You should have these. Additionally, the calendar +# only appears properly formated if you use a mono spaced font. + +# Outputs the selected row from the calender output. +# If you don't use a mono spaced font, you would have to play with spacing here. +# It would probably involve a very complicated mess. Is there a way to force a +# different font per menu? +function calRow() { + cal | gawk -v row=$1 '{ if (NR==row) { print $0 } }' +} + +# Build the menu +cat << EOFMENU +<openbox_pipe_menu> + <separator label="`date +%A\ \ \ \ \ \ \ \ \ \ \ \ %I\:%M\ %p`" /> + <item label="`date +%B\ %d,\ %Y`" /> + <separator /> + <item label="`calRow 2`" /> + <item label="`calRow 3`" /> + <item label="`calRow 4`" /> + <item label="`calRow 5`" /> + <item label="`calRow 6`" /> + <item label="`calRow 7`" /> + <item label="`calRow 8`" /> +</openbox_pipe_menu> +EOFMENU diff --git a/openbox/pipemenus/gweather.py b/openbox/pipemenus/gweather.py @@ -0,0 +1,139 @@ +#!/usr/bin/python -o +# -*- coding: utf-8 -*- + +from urllib import urlopen, quote +from xml.etree.cElementTree import parse +from datetime import datetime, timedelta +import os +from os.path import join +from sys import argv +try: + import cPickle as pickle +except ImportError: + import pickle + + +TRANSLATED_TEXT = { + 'en': { + 'current': 'Current conditions', + 'weather': 'Weather', + 'temp': 'Temperature', + 'humidity': 'Humidity', + 'wind': 'Wind', + 'forecast': 'Forecast', + 'mintemp': 'Minimun Temperature', + 'maxtemp': 'Maximun Temperature' + }, + 'es': { + 'current': u'Actualmente', + 'weather': u'Tiempo', + 'temp': u'Temperatura', + 'humidity': u'Humedad', + 'wind': u'Viento', + 'forecast': u'Previsión', + 'mintemp': u'Temperatura Mínima', + 'maxtemp': u'Temperatura Máxima' + }, + 'fr': { + 'current': u'Actuel', + 'weather': u'Météo', + 'temp': u'Température', + 'humidity': u'Humidité', + 'wind': u'Vent', + 'forecast': u'Prévision', + 'mintemp': u'Température minimale', + 'maxtemp': u'Température maximale' + }, + 'de': { + 'current': u'Aktuell', + 'weather': u'Wetter', + 'temp': u'Temperatur', + 'humidity': u'Luftfeuchtigkeit', + 'wind': u'Wind', + 'forecast': u'Prognostizieren', + 'mintemp': u'Minimale Temperatur', + 'maxtemp': u'Höchste Temperatur' + } +} + + +if len(argv) != 3: + raise Exception('Usage: gweather.py city language.') +else: + city = argv[1] + lang = argv[2] + + + +CACHE_HOURS = 1 + +WEATHER_URL = 'http://www.google.com/ig/api?weather=%s&hl=%s&oe=UTF-8' + + +def get_weather(city, lang): + url = WEATHER_URL % (quote(city), quote(lang)) + data = parse(urlopen(url)) + + forecasts = [] + for forecast in data.findall('weather/forecast_conditions'): + forecasts.append( + dict([(element.tag, element.get("data")) for element in forecast.getchildren()])) + + return { + 'forecast_information': dict([(element.tag, element.get("data")) for element in data.find('weather/forecast_information').getchildren()]), + 'current_conditions': dict([(element.tag, element.get("data")) for element in data.find('weather/current_conditions').getchildren()]), + 'forecasts': forecasts + } + +def get_openbox_pipe_menu(lang, forecast_information, current_conditions, forecasts): + if lang == 'en-US': + lang = 'en' + + tt = TRANSLATED_TEXT[lang] + + temp_var, temp_unit = ("temp_c", u"\u00b0C") if forecast_information['unit_system'] == "SI" else ("temp_f", "F") + + output = '<openbox_pipe_menu>' + output += '\n<separator label="%s (%s)" />' % (weather['forecast_information']['city'],forecast_information['forecast_date']) + output += '\n<separator label="%s" />' % tt['current'] + output += '<item label="%s: %s" />' % (tt['weather'], current_conditions['condition']) + output += '<item label="%s: %s %s" />' % (tt['temp'], current_conditions[temp_var], temp_unit) + output += '<item label="%s: %s" />' % (tt['humidity'], current_conditions['humidity']) + output += '<item label="%s: %s" />' % (tt['wind'], current_conditions['wind_condition']) + for forecast in forecasts: + output += '\n<separator label="%s: %s" />' % (tt['forecast'], forecast['day_of_week']) + output += '<item label="%s: %s" />' % (tt['weather'], forecast['condition']) + output += '<item label="%s: %s %s" />' % ( tt['mintemp'], forecast['low'], temp_unit ) + output += '<item label="%s: %s %s" />' % ( tt['maxtemp'], forecast['high'], temp_unit ) + output += '\n</openbox_pipe_menu>' + + return output.encode('utf-8') + +cache_file = join(os.getenv("HOME"), '.gweather.cache') + +try: + f = open(cache_file,'rb') + cache = pickle.load(f) + f.close() +except IOError: + cache = None + +if cache == None or (city, lang) not in cache or ( + cache[(city, lang)]['date'] + timedelta(hours=CACHE_HOURS) < datetime.utcnow()): + # The cache is outdated + weather = get_weather(city, lang) + ob_pipe_menu = get_openbox_pipe_menu(lang, **weather) + print ob_pipe_menu + if cache == None: + cache = dict() + cache[(city, lang)] = {'date': datetime.utcnow(), 'ob_pipe_menu': ob_pipe_menu} + + #Save the data in the cache + try: + f = open(cache_file, 'wb') + cache = pickle.dump(cache, f, -1) + f.close() + except IOError: + raise +else: + print cache[(city, lang)]['ob_pipe_menu'] diff --git a/openbox/pipemenus/ob-mpd.sh b/openbox/pipemenus/ob-mpd.sh @@ -0,0 +1,119 @@ +#!/bin/bash + +pgrep ^mpd >> /dev/null +retour=$? +if [ "$retour" = 0 ]; then + +CURRENT=`ncmpcpp --now-playing "[ {%a - %t}|{%f} ]"` +cat << EOFMPD +<openbox_pipe_menu> + <separator label="$CURRENT"/> + <item label="Play / Pause"> + <action name="Execute"> + <execute>mpc toggle</execute> + </action> + </item> + <item label="Stop"> + <action name="Execute"> + <execute>mpc stop</execute> + </action> + </item> + <item label="Suivante"> + <action name="Execute"> + <execute>mpc next</execute> + </action> + </item> + <item label="Précédente"> + <action name="Execute"> + <execute>mpc prev</execute> + </action> + </item> + <separator/> + <menu id="volume" label="volume"> + <item label="10"> + <action name="Execute"> + <execute>mpc volume 10</execute> + </action> + </item> + <item label="20"> + <action name="Execute"> + <execute>mpc volume 20</execute> + </action> + </item> + <item label="30"> + <action name="Execute"> + <execute>mpc volume 30</execute> + </action> + </item> + <item label="40"> + <action name="Execute"> + <execute>mpc volume 40</execute> + </action> + </item> + <item label="50"> + <action name="Execute"> + <execute>mpc volume 50</execute> + </action> + </item> + <item label="60"> + <action name="Execute"> + <execute>mpc volume 60</execute> + </action> + </item> + <item label="70"> + <action name="Execute"> + <execute>mpc volume 70</execute> + </action> + </item> + <item label="80"> + <action name="Execute"> + <execute>mpc volume 80</execute> + </action> + </item> + <item label="90"> + <action name="Execute"> + <execute>mpc volume 90</execute> + </action> + </item> + <item label="100"> + <action name="Execute"> + <execute>mpc volume 100</execute> + </action> + </item> + </menu> + <item label="Répétition"> + <action name="Execute"> + <execute>mpc repeat</execute> + </action> + </item> + <item label="Aléatoire"> + <action name="Execute"> + <execute>mpc random</execute> + </action> + </item> + <separator/> + <item label="Mise à jour"> + <action name="Execute"> + <execute>mpc update</execute> + </action> + </item> + <item label="Kill mpd"> + <action name="Execute"> + <execute>mpd --kill</execute> + </action> + </item> +</openbox_pipe_menu> +EOFMPD + +else +cat << EOFNOMPD +<openbox_pipe_menu> + <separator label="MPD est inactif"/> + <item label="Lancer MPD"> + <action name="Execute"> + <execute>mpd</execute> + </action> + </item> +</openbox_pipe_menu> +EOFNOMPD +fi diff --git a/openbox/rc.xml b/openbox/rc.xml @@ -0,0 +1,931 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Do not edit this file, it will be overwritten on install. + Copy the file to $HOME/.config/openbox/ instead. --> +<openbox_config xmlns="http://openbox.org/3.4/rc" xmlns:xi="http://www.w3.org/2001/XInclude"> + <resistance> + <strength>10</strength> + <screen_edge_strength>20</screen_edge_strength> + </resistance> + <focus> + <focusNew>yes</focusNew> + <!-- always try to focus new windows when they appear. other rules do + apply --> + <followMouse>yes</followMouse> + <!-- move focus to a window when you move the mouse into it --> + <focusLast>no</focusLast> + <!-- focus the last used window when changing desktops, instead of the one + under the mouse pointer. when followMouse is enabled --> + <underMouse>yes</underMouse> + <!-- move focus under the mouse, even when the mouse is not moving --> + <focusDelay>250</focusDelay> + <!-- when followMouse is enabled, the mouse must be inside the window for + this many milliseconds (1000 = 1 sec) before moving focus to it --> + <raiseOnFocus>no</raiseOnFocus> + <!-- when followMouse is enabled, and a window is given focus by moving the + mouse into it, also raise the window --> + </focus> + <placement> + <policy>Smart</policy> + <!-- 'Smart' or 'UnderMouse' --> + <center>yes</center> + <!-- whether to place windows in the center of the free area found or + the top left corner --> + <monitor>Active</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 --> + <primaryMonitor>Mouse</primaryMonitor> + <!-- The monitor where Openbox should place popup dialogs such as the + focus cycling popup, or the desktop switch popup. It can be an index + from 1, specifying a particular monitor. Or it can be one of the + following: 'Mouse' - where the mouse is, or + 'Active' - where the active window is --> + </placement> + <theme> + <name>Dyne</name> + <titleLayout>CMILSD</titleLayout> + <!-- + available characters are NDSLIMC, each can occur at most once. + N: window icon + L: window label (AKA title). + I: iconify + M: maximize + C: close + S: shade (roll up/down) + D: omnipresent (on all desktops). + --> + <keepBorder>yes</keepBorder> + <animateIconify>yes</animateIconify> + <font place="ActiveWindow"> + <name>mintsmild</name> + <size>14</size> + <!-- font size in points --> + <weight>Normal</weight> + <!-- 'bold' or 'normal' --> + <slant>Normal</slant> + <!-- 'italic' or 'normal' --> + </font> + <font place="InactiveWindow"> + <name>mintsmild</name> + <size>12</size> + <weight>Normal</weight> + <slant>Normal</slant> + </font> + <font place="MenuHeader"> + <name>mintsmild</name> + <size>14</size> + <weight>Normal</weight> + <slant>Normal</slant> + </font> + <font place="MenuItem"> + <name>mintsmild</name> + <size>12</size> + <weight>Normal</weight> + <slant>Normal</slant> + </font> + <font place="ActiveOnScreenDisplay"> + <name>mintsmild</name> + <size>12</size> + <weight>Normal</weight> + <slant>Normal</slant> + </font> + <font place="InactiveOnScreenDisplay"> + <name>mintsmild</name> + <size>10</size> + <!-- font size in points --> + <weight>Normal</weight> + <!-- 'bold' or 'normal' --> + <slant>Normal</slant> + <!-- 'italic' or 'normal' --> + </font> + <animateIconify>yes</animateIconify> + </theme> + <desktops> + <!-- this stuff is only used at startup, pagers allow you to change them + during a session + + these are default values to use when other ones are not already set + by other applications, or saved in your session + + use obconf if you want to change these without having to log out + and back in --> + <number>5</number> + <firstdesk>1</firstdesk> + <names> + <name>chill</name> + <name>web</name> + <name>chat</name> + <name>games</name> + <name>stuff</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>yes</drawContents> + <popupShow>Always</popupShow> + <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) --> + <popupPosition>Top</popupPosition> + <!-- 'Center', 'Top', or 'Fixed' --> + <popupFixedPosition> + <!-- these are used if popupPosition is set to 'Fixed' --> + <x>10</x> + <!-- positive number for distance from left edge, negative number for + distance from right edge, or 'Center' --> + <y>10</y> + <!-- positive number for distance from top edge, negative number for + distance from bottom edge, or 'Center' --> + </popupFixedPosition> + </resize> + <margins> + <top>4</top> + <bottom>44</bottom> + <left>4</left> + <right>4</right> + </margins> + <dock> + <position>BottomLeft</position> + <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating --> + <floatingX>0</floatingX> + <floatingY>0</floatingY> + <noStrut>no</noStrut> + <stacking>Above</stacking> + <!-- 'Above', 'Normal', or 'Below' --> + <direction>Vertical</direction> + <!-- 'Vertical' or 'Horizontal' --> + <autoHide>no</autoHide> + <hideDelay>300</hideDelay> + <!-- in milliseconds (1000 = 1 second) --> + <showDelay>300</showDelay> + <!-- in milliseconds (1000 = 1 second) --> + <moveButton>Middle</moveButton> + <!-- 'Left', 'Middle', 'Right' --> + </dock> + <keyboard> + <chainQuitKey>C-g</chainQuitKey> + <!-- Keybindings for window managing --> + <keybind key="F11"> + <action name="ToggleFullScreen"/> + </keybind> + <keybind key="A-F4"> + <action name="Close"/> + </keybind> + <keybind key="W-x"> + <action name="ToggleMaximize"/> + </keybind> + <keybind key="W-y"> + <action name="MoveResizeTo"> + <x>0</x> + <y>0</y> + <width>50%</width> + <height>50%</height> + </action> + </keybind> + <keybind key="W-b"> + <action name="MoveResizeTo"> + <x>0</x> + <y>402</y> + <width>50%</width> + <height>50%</height> + </action> + </keybind> + <keybind key="W-n"> + <action name="MoveResizeTo"> + <x>716</x> + <y>402</y> + <width>50%</width> + <height>50%</height> + </action> + </keybind> + <keybind key="W-u"> + <action name="MoveResizeTo"> + <x>716</x> + <y>0</y> + <width>50%</width> + <height>50%</height> + </action> + </keybind> + <keybind key="W-h"> + <action name="MoveRelative"> + <x>-32</x> + </action> + </keybind> + <keybind key="W-j"> + <action name="MoveRelative"> + <y>32</y> + </action> + </keybind> + <keybind key="W-k"> + <action name="MoveRelative"> + <y>-32</y> + </action> + </keybind> + <keybind key="W-l"> + <action name="MoveRelative"> + <x>32</x> + </action> + </keybind> + <keybind key="W-Left"> + <action name="NextWindow"/> + </keybind> + <keybind key="W-Right"> + <action name="PreviousWindow"/> + </keybind> + <!-- keybindings for desktop switching --> + <keybind key="W-F1"> + <action name="GoToDesktop"> + <to>1</to> + </action> + </keybind> + <keybind key="W-F2"> + <action name="GoToDesktop"> + <to>2</to> + </action> + </keybind> + <keybind key="W-F3"> + <action name="GoToDesktop"> + <to>3</to> + </action> + </keybind> + <keybind key="W-F4"> + <action name="GoToDesktop"> + <to>4</to> + </action> + </keybind> + <keybind key="W-F5"> + <action name="GoToDesktop"> + <to>5</to> + </action> + </keybind> + <keybind key="W-F6"> + <action name="GoToDesktop"> + <to>6</to> + </action> + </keybind> + <keybind key="C-A-Down"> + <action name="GoToDesktop"> + <to>right</to> + <wrap>yes</wrap> + </action> + </keybind> + <keybind key="C-A-Up"> + <action name="GoToDesktop"> + <to>left</to> + <wrap>yes</wrap> + </action> + </keybind> + <keybind key="C-A-Left"> + <action name="GoToDesktop"> + <to>left</to> + <wrap>yes</wrap> + </action> + </keybind> + <keybind key="C-A-Right"> + <action name="GoToDesktop"> + <to>right</to> + <wrap>yes</wrap> + </action> + </keybind> + <keybind key="C-S-A-Left"> + <action name="SendToDesktop"> + <to>left</to> + <wrap>yes</wrap> + </action> + </keybind> + <keybind key="C-S-A-Right"> + <action name="SendToDesktop"> + <to>right</to> + <wrap>no</wrap> + </action> + </keybind> + <keybind key="C-S-A-Up"> + <action name="SendToDesktop"> + <to>left</to> + <wrap>yes</wrap> + </action> + </keybind> + <keybind key="C-S-A-Down"> + <action name="SendToDesktop"> + <to>right</to> + <wrap>yes</wrap> + </action> + </keybind> + <keybind key="W-d"> + <action name="ToggleShowDesktop"/> + </keybind> + <!-- Keybindings for window switching --> + <keybind key="A-Tab"> + <action name="NextWindow"> + <allDesktops>yes</allDesktops> + <dialog>icons</dialog> + <finalactions> + <action name="Focus"/> + <action name="Raise"/> + <action name="Unshade"/> + </finalactions> + </action> + </keybind> + <keybind key="A-S-Tab"> + <action name="PreviousWindow"> + <allDesktops>yes</allDesktops> + <dialog>icons</dialog> + <finalactions> + <action name="Focus"/> + <action name="Raise"/> + <action name="Unshade"/> + </finalactions> + </action> + </keybind> + <!-- Keybindings for launching applications --> + <keybind key="F12"> + <action name="Execute"> + <command>~/.config/openbox/scripts/urxvtq</command> + </action> + </keybind> + <keybind key="W-space"> + <action name="Execute"> + <command>urxvtc</command> + </action> + </keybind> + <keybind key="W-f"> + <action name="Execute"> + <command>thunar</command> + </action> + </keybind> + <keybind key="W-t"> + <action name="Execute"> + <command>urxvtc</command> + </action> + </keybind> + <keybind key="W-w"> + <action name="Execute"> + <command>dwb</command> + </action> + </keybind> + <keybind key="W-q"> + <action name="Execute"> + <command>~/.qlprism/qlprism.sh</command> + </action> + </keybind> + <keybind key="W-v"> + <action name="Execute"> + <command>~/.wolfcamql/wolfcamql.i386</command> + </action> + </keybind> + <!-- Keybidings for desktop management --> + <keybind key="Print"> + <action name="Execute"> + <command> + scrot ~/pictures/scrnsht/ + </command> + </action> + </keybind> + <keybind key="A-F2"> + <action name="Execute"> + <command>bashrun2</command> + </action> + </keybind> + <!-- Keybindings for media keys --> + <keybind key="XF86AudioRaiseVolume"> + <action name="Execute"> + <command>amixer set Master 5%+ unmute</command> + </action> + </keybind> + <keybind key="XF86AudioLowerVolume"> + <action name="Execute"> + <command>amixer set Master 5%- unmute</command> + </action> + </keybind> + <keybind key="XF86AudioMute"> + <action name="Execute"> + <command>amixer set Master toggle</command> + </action> + </keybind> + <keybind key="XF86AudioPlay"> + <action name="Execute"> + <command>mpc toggle</command> + </action> + </keybind> + <keybind key="XF86AudioStop"> + <action name="Execute"> + <command>mpc stop</command> + </action> + </keybind> + <keybind key="XF86AudioPrev"> + <action name="Execute"> + <command>mpc prev</command> + </action> + </keybind> + <keybind key="XF86AudioNext"> + <action name="Execute"> + <command>mpc next</command> + </action> + </keybind> + <keybind key="C-XF86AudioRaiseVolume"> + <action name="Execute"> + <command>mpc volume +10</command> + </action> + </keybind> + <keybind key="C-XF86AudioLowerVolume"> + <action name="Execute"> + <command>mpc volume -10</command> + </action> + </keybind> + </keyboard> + <mouse> + <dragThreshold>1</dragThreshold> + <!-- number of pixels the mouse must move before a drag begins --> + <doubleClickTime>200</doubleClickTime> + <!-- in milliseconds (1000 = 1 second) --> + <screenEdgeWarpTime>0</screenEdgeWarpTime> + <!-- Time before changing desktops when the pointer touches the edge of the + screen while moving a window, in milliseconds (1000 = 1 second). + Set this to 0 to disable warping --> + <screenEdgeWarpMouse>false</screenEdgeWarpMouse> + <!-- Set this to TRUE to move the mouse pointer across the desktop when + switching due to hitting the edge of the screen --> + <context name="Frame"> + <mousebind button="A-Left" action="Press"> + <action name="Focus"/> + <action name="Raise"/> + </mousebind> + <mousebind button="A-Left" action="Click"> + <action name="Unshade"/> + <action name="ToggleMaximize"/> + </mousebind> + <mousebind button="A-Left" action="Drag"> + <action name="Move"/> + </mousebind> + <mousebind button="W-Left" action="Click"> + <action name="Execute"> + <execute>transset-df -ta 0.5</execute> + </action> + </mousebind> + <mousebind button="W-Up" action="Click"> + <action name="Execute"> + <execute>transset-df -p --inc 0.2 </execute> + </action> + </mousebind> + <mousebind button="W-Down" action="Click"> + <action name="Execute"> + <execute>transset-df -p --min 0.1 --dec 0.2</execute> + </action> + </mousebind> + <mousebind button="C-S-Left" action="Drag"> + <action name="Resize"/> + </mousebind> + <mousebind button="A-Middle" action="Press"> + <action name="Lower"/> + <action name="FocusToBottom"/> + <action name="Unfocus"/> + </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="C-A-S-Up" action="Click"> + <action name="SendToDesktop"> + <to>next</to> + </action> + </mousebind> + <mousebind button="C-A-S-Down" action="Click"> + <action name="SendToDesktop"> + <to>previous</to> + </action> + </mousebind> + </context> + <context name="Titlebar"> + <mousebind button="Left" action="Drag"> + <action name="Move"/> + </mousebind> + <mousebind button="Left" action="DoubleClick"> + <action name="ToggleMaximize"/> + </mousebind> + <mousebind button="Up" action="Click"> + <action name="if"> + <shaded>no</shaded> + <then> + <action name="Shade"/> + <action name="FocusToBottom"/> + <action name="Unfocus"/> + <action name="Lower"/> + </then> + </action> + </mousebind> + <mousebind button="Down" action="Click"> + <action name="if"> + <shaded>yes</shaded> + <then> + <action name="Unshade"/> + <action name="Raise"/> + </then> + </action> + </mousebind> + <mousebind button="Middle" action="Click"> + <action name="Execute"> + <execute>transset-df -ta 0.4</execute> + </action> + </mousebind> + </context> + <context name="Titlebar Top Right Bottom Left TLCorner TRCorner BRCorner BLCorner"> + <mousebind button="Left" action="Press"> + <action name="Focus"/> + <action name="Raise"/> + <action name="Unshade"/> + </mousebind> + <mousebind button="Middle" action="Press"> + <action name="Lower"/> + <action name="FocusToBottom"/> + <action name="Unfocus"/> + </mousebind> + <mousebind button="Right" action="Press"> + <action name="Focus"/> + <action name="Raise"/> + <action name="ShowMenu"> + <menu>client-menu</menu> + </action> + </mousebind> + </context> + <context name="Top"> + <mousebind button="Left" action="Drag"> + <action name="Resize"> + <edge>top</edge> + </action> + </mousebind> + </context> + <context name="Left"> + <mousebind button="Left" action="Drag"> + <action name="Resize"> + <edge>left</edge> + </action> + </mousebind> + </context> + <context name="Right"> + <mousebind button="Left" action="Drag"> + <action name="Resize"> + <edge>right</edge> + </action> + </mousebind> + </context> + <context name="Bottom"> + <mousebind button="Left" action="Drag"> + <action name="Resize"> + <edge>bottom</edge> + </action> + </mousebind> + <mousebind button="Right" action="Press"> + <action name="Focus"/> + <action name="Raise"/> + <action name="ShowMenu"> + <menu>client-menu</menu> + </action> + </mousebind> + </context> + <context name="TRCorner BRCorner TLCorner BLCorner"> + <mousebind button="Left" action="Press"> + <action name="Focus"/> + <action name="Raise"/> + <action name="Unshade"/> + </mousebind> + <mousebind button="Left" action="Drag"> + <action name="Resize"/> + </mousebind> + </context> + <context name="Client"> + <mousebind button="Left" action="Press"> + <action name="Focus"/> + <action name="Raise"/> + </mousebind> + <mousebind button="Middle" action="Press"> + <action name="Focus"/> + <action name="Raise"/> + </mousebind> + <mousebind button="Right" action="Press"> + <action name="Focus"/> + <action name="Raise"/> + </mousebind> + </context> + <context name="Icon"> + <mousebind button="Left" action="Press"> + <action name="Focus"/> + <action name="Raise"/> + <action name="Unshade"/> + <action name="ShowMenu"> + <menu>client-menu</menu> + </action> + </mousebind> + <mousebind button="Right" action="Press"> + <action name="Focus"/> + <action name="Raise"/> + <action name="ShowMenu"> + <menu>client-menu</menu> + </action> + </mousebind> + </context> + <context name="AllDesktops"> + <mousebind button="Left" action="Press"> + <action name="Focus"/> + <action name="Raise"/> + <action name="Unshade"/> + </mousebind> + <position force="yes"> + <x>1000</x> + </position> + <mousebind button="Left" action="Click"> + <action name="ToggleOmnipresent"/> + </mousebind> + </context> + <context name="Shade"> + <mousebind button="Left" action="Press"> + <action name="Focus"/> + <action name="Raise"/> + </mousebind> + <mousebind button="Left" action="Click"> + <action name="ToggleShade"/> + </mousebind> + </context> + <context name="Iconify"> + <mousebind button="Left" action="Press"> + <action name="Focus"/> + <action name="Raise"/> + </mousebind> + <mousebind button="Left" action="Click"> + <action name="Iconify"/> + </mousebind> + </context> + <context name="Maximize"> + <mousebind button="Left" action="Press"> + <action name="Focus"/> + <action name="Raise"/> + <action name="Unshade"/> + </mousebind> + <mousebind button="Middle" action="Press"> + <action name="Focus"/> + <action name="Raise"/> + <action name="Unshade"/> + </mousebind> + <mousebind button="Right" action="Press"> + <action name="Focus"/> + <action name="Raise"/> + <action name="Unshade"/> + </mousebind> + <mousebind button="Left" action="Click"> + <action name="ToggleMaximize"/> + </mousebind> + <mousebind button="Middle" action="Click"> + <action name="ToggleMaximize"> + <direction>vertical</direction> + </action> + </mousebind> + <mousebind button="Right" action="Click"> + <action name="ToggleMaximize"> + <direction>horizontal</direction> + </action> + </mousebind> + </context> + <context name="Close"> + <mousebind button="Left" action="Press"> + <action name="Focus"/> + <action name="Raise"/> + <action name="Unshade"/> + </mousebind> + <mousebind button="Left" action="Click"> + <action name="Close"/> + </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"/> + </mousebind> + <mousebind button="Right" action="Press"> + <action name="Focus"/> + <action name="Raise"/> + </mousebind> + </context> + <context name="Root"> + <!-- Menus --> + <mousebind button="Middle" action="Press"> + <action name="ShowMenu"> + <menu>client-list-combined-menu</menu> + </action> + </mousebind> + <mousebind button="Right" action="Press"> + <action name="ShowMenu"> + <menu>root-menu</menu> + </action> + </mousebind> + </context> + <context name="MoveResize"> + <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> + </context> + </mouse> + <menu> + <!-- You can specify more than one menu file in here and they are all loaded, + just don't make menu ids clash or, well, it'll be kind of pointless --> + <!-- default menu file (or custom one in $HOME/.config/openbox/) --> + <file>menu.xml</file> + <hideDelay>200</hideDelay> + <!-- if a press-release lasts longer than this setting (in milliseconds), the + menu is hidden again --> + <middle>no</middle> + <!-- center submenus vertically about the parent entry --> + <submenuShowDelay>100</submenuShowDelay> + <!-- time to delay before showing a submenu after hovering over the parent + entry. + if this is a negative value, then the delay is infinite and the + submenu will not be shown until it is clicked on --> + <submenuHideDelay>400</submenuHideDelay> + <!-- time to delay before hiding a submenu when selecting another + entry in parent menu --> + <!-- if this is a negative value, then the delay is infinite and the + submenu will not be hidden until a different submenu is opened --> + <applicationIcons>yes</applicationIcons> + <!-- controls if icons appear in the client-list-(combined-)menu --> + <manageDesktops>yes</manageDesktops> + <!-- show the manage desktops section in the client-list-(combined-)menu --> + </menu> + <applications> + <!-- + # this is an example with comments through out. use these to make your + # own rules, but without the comments of course. + # you may use one or more of the name/class/role/title/type rules to specify + # windows to match + + <application name="the window's _OB_APP_NAME property (see obxprop)" + class="the window's _OB_APP_CLASS property (see obxprop)" + role="the window's _OB_APP_ROLE property (see obxprop)" + title="the window's _OB_APP_TITLE property (see obxprop)" + type="the window's _OB_APP_TYPE property (see obxprob).. + (if unspecified, then it is 'dialog' for child windows)"> + # you may set only one of name/class/role/title/type, or you may use more + # than one together to restrict your matches. + + # the name, class, role, and title use simple wildcard matching such as those + # used by a shell. you can use * to match any characters and ? to match + # any single character. + + # the type is one of: normal, dialog, splash, utility, menu, toolbar, dock, + # or desktop + + # when multiple rules match a window, they will all be applied, in the + # order that they appear in this list + + + # each rule element can be left out or set to 'default' to specify to not + # change that attribute of the window + + <decor>yes</decor> + # enable or disable window decorations + + <shade>no</shade> + # make the window shaded when it appears, or not + + <position force="no"> + # the position is only used if both an x and y coordinate are provided + # (and not set to 'default') + # when force is "yes", then the window will be placed here even if it + # says you want it placed elsewhere. this is to override buggy + # applications who refuse to behave + <x>center</x> + # a number like 50, or 'center' to center on screen. use a negative number + # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the + # right edge (or bottom). + <y>200</y> + <monitor>1</monitor> + # specifies the monitor in a xinerama setup. + # 1 is the first head, or 'mouse' for wherever the mouse is + </position> + + <focus>yes</focus> + # if the window should try be given focus when it appears. if this is set + # to yes it doesn't guarantee the window will be given focus. some + # restrictions may apply, but Openbox will try to + + <desktop>1</desktop> + # 1 is the first desktop, 'all' for all desktops + + <layer>normal</layer> + # 'above', 'normal', or 'below' + + <iconic>no</iconic> + # make the window iconified when it appears, or not + + <skip_pager>no</skip_pager> + # asks to not be shown in pagers + + <skip_taskbar>no</skip_taskbar> + # asks to not be shown in taskbars. window cycling actions will also + # skip past such windows + + <fullscreen>yes</fullscreen> + # make the window in fullscreen mode when it appears + + <maximized>true</maximized> + # 'Horizontal', 'Vertical' or boolean (yes/no) + </application> + + # end of the example +--> + <application class="URxvt"> + <decor>yes</decor> + <focus>yes</focus> + </application> + <application name="urxvtq"> + <decor>no</decor> + <position force="yes"> + <x>0</x> + <y>0</y> + </position> + <desktop>all</desktop> + <layer>above</layer> + <skip_pager>yes</skip_pager> + <skip_taskbar>yes</skip_taskbar> + </application> + <application title="Quake Live"> + <maximized>yes</maximized> + <focus>yes</focus> + </application> + <application name="chromium"> + <maximized>yes</maximized> + <focus>yes</focus> + </application> + <application name="dwb"> + <focus>yes</focus> + </application> + <application title="screenshot"> + <position force="yes"> + <x>780</x> + <y>128</y> + </position> + </application> + <application name="bashrun2-run-dialog"> + <desktop>all</desktop> + <decor>no</decor> + <focus>yes</focus> + <skip_pager>yes</skip_pager> + <skip_taskbar>yes</skip_taskbar> + <layer>above</layer> + <position force="yes"> + <x>0</x> + <y>834</y> + </position> + </application> + </applications> +</openbox_config> diff --git a/tint2/tint2-vert b/tint2/tint2-vert @@ -0,0 +1,141 @@ +# Tint2 config file +# Generated by tintwizard (http://code.google.com/p/tintwizard/) +# For information on manually configuring tint2 see http://code.google.com/p/tint2/wiki/Configure + +# Background definitions +# ID 1 +rounded = 0 +border_width = 0 +background_color = #000000 75 +border_color = #ffffff 28 + +# ID 2 +rounded = 4 +border_width = 4 +background_color = #2484ff 20 +border_color = #000000 0 + +# ID 3 +rounded = 4 +border_width = 2 +background_color = #ffffff 28 +border_color = #000000 28 + +# Panel +panel_monitor = all +panel_position = bottom center horizontal +panel_size = 100% 32 +panel_margin = 0 0 +panel_padding = 4 2 8 +panel_dock = 0 +wm_menu = 0 +panel_layer = normal +panel_background_id = 1 +panel_items = LTSBC# taskbar +tint2 -c ~/.config/tint2/tint2rc + + +# Panel Autohide +autohide = 0 +autohide_show_timeout = 0.3 +autohide_hide_timeout = 2 +autohide_height = 2 +strut_policy = follow_size + +# Taskbar +taskbar_mode = multi_desktop +taskbar_padding = 4 2 4 +taskbar_background_id = 0 +taskbar_active_background_id = 3 + +# Taskbar Name +taskbar_name = 1 +taskbar_name_background_id = 0 +taskbar_name_padding = 8 8 +taskbar_name_active_background_id = 0 +taskbar_name_font = URW Gothic L Bold 12 +taskbar_name_font_color = #84dd24 80 +taskbar_name_active_font_color = #ffffff 100 + +# Tasks +task_icon = 1 +task_text = 0 +task_centered = 0 +task_maximum_size = 128 35 +task_padding = 4 4 +task_background_id = 0 +task_active_background_id = 0 +task_urgent_background_id = 3 +task_iconified_background_id = 0 +urgent_nb_of_blink = 100 + +# Task Icons +task_icon_asb = 70 -50 -50 +task_active_icon_asb = 100 0 0 +task_urgent_icon_asb = 100 0 0 +task_iconified_icon_asb = 30 0 0 + +# Fonts +task_font = Balker Bold 10 +task_font_color = #ffffff 80 +task_active_font_color = #2484ff 100 +task_urgent_font_color = #ff8024 80 +task_iconified_font_color = #ffffff 80 +font_shadow = 1 + +# System Tray +systray = 1 +systray_padding = 4 4 50 +systray_sort = ascending +systray_background_id = 0 +systray_icon_size = 0 +systray_icon_asb = 70 0 0 + +# Clock +time1_format = %H:%M +time1_font = URW Gothic L Bold 10 +time2_format = %d %B +time2_font = URW Gothic L Bold 8 +clock_font_color = #ffffff 70 +clock_padding = 1 0 +clock_background_id = 0 +# clock_lclick_command = xclock +# clock_rclick_command = orage + +# Tooltips +tooltip = 0 +tooltip_padding = 2 2 +tooltip_show_timeout = 0.7 +tooltip_hide_timeout = 0.3 +tooltip_background_id = 1 +tooltip_font = sans 10 +tooltip_font_color = #000000 80 + +# Launchers +launcher_icon_theme = tok-tok +launcher_icon_asb = 100 -10 -32 +launcher_icon_size = 128 +launcher_background_id = 0 +launcher_padding = 4 4 +launcher_item_app = /usr/share/applications/chromium.desktop +launcher_item_app = /usr/share/applications/qlprism.desktop +launcher_item_app = /usr/share/applications/ioquake3.desktop + +# Mouse +mouse_middle = close +mouse_right = none +mouse_scroll_up = toggle +mouse_scroll_down = iconify + +# Battery +battery = 1 +battery_low_status = 10 +battery_low_cmd = notify-send "batterie faible. Veuillez la brancher" +battery_hide = 0 +bat1_font = URW Gothic L Bold 10 +bat2_font = URW Gothic L Bold 8 +battery_font_color = #ffffff 70 +battery_padding = 5 0 +battery_background_id = 0 + +# End of config diff --git a/tint2/tint2rc b/tint2/tint2rc @@ -0,0 +1,111 @@ +# Tint2 config file +# Generated by tintwizard (http://code.google.com/p/tintwizard/) +# For information on manually configuring tint2 see http://code.google.com/p/tint2/wiki/Configure + +# Background definitions +# ID 1 +rounded = 0 +border_width = 0 +background_color = #000000 74 +border_color = #FFFFFF 0 + +# ID 2 +rounded = 0 +border_width = 1 +background_color = #000000 0 +border_color = #FFFFFF 49 + +# Panel +panel_monitor = all +panel_position = bottom center horizontal +panel_size = 100% 40 +panel_margin = 0 0 +panel_padding = 0 0 16 +panel_dock = 0 +wm_menu = 0 +panel_layer = normal +panel_background_id = 1 + +# Panel Autohide +autohide = 0 +autohide_show_timeout = 0.3 +autohide_hide_timeout = 2 +autohide_height = 2 +strut_policy = follow_size + +# Taskbar +taskbar_mode = single_desktop +taskbar_padding = 4 2 4 +taskbar_background_id = 0 +taskbar_active_background_id = 0 + +# Tasks +urgent_nb_of_blink = 100 +task_icon = 1 +task_text = 0 +task_centered = 0 +task_maximum_size = 196 35 +task_padding = 16 4 +task_background_id = 2 +task_active_background_id = 0 +task_urgent_background_id = -1 +task_iconified_background_id = 0 + +# Task Icons +task_icon_asb = 70 -50 -50 +task_active_icon_asb = 100 0 0 +task_urgent_icon_asb = 100 0 0 +task_iconified_icon_asb = 30 0 0 + +# Fonts +task_font = mintsmild 10 +task_font_color = #FFFFFF 74 +task_active_font_color = #FFFFFF 100 +task_urgent_font_color = #00FFFF 80 +task_iconified_font_color = #FFFFFF 80 +font_shadow = 0 + +# System Tray +systray = 1 +systray_padding = 4 4 50 +systray_sort = ascending +systray_background_id = 0 +systray_icon_size = 32 +systray_icon_asb = 100 0 0 + +# Clock +time1_format = %H:%M +time1_font = URW Gothic L 10 +time2_format = %d %B +time2_font = URW Gothic L 8 +clock_font_color = #FFFFFF 100 +clock_padding = 16 0 +clock_background_id = 0 + +# Tooltips +tooltip = 0 +tooltip_padding = 0 0 +tooltip_show_timeout = 0 +tooltip_hide_timeout = 0 +tooltip_background_id = 0 +tooltip_font = Sans 12 +tooltip_font_color = #FFFFFF 100 + +# Mouse +mouse_middle = close +mouse_right = none +mouse_scroll_up = toggle +mouse_scroll_down = iconify + +# Battery +battery = 1 +battery_low_status = 10 +battery_low_cmd = notify-send "battery low" +battery_hide = 0 +bat1_font = URW Gothic L Bold 10 +bat2_font = URW Gothic L Bold 8 +battery_font_color = #FFFFFF 69 +battery_padding = 5 0 +battery_background_id = 0 + +# End of config+ \ No newline at end of file