Populate dotfiles repository

This commit is contained in:
2019-03-24 15:03:56 +01:00
commit 9aae1daa1c
158 changed files with 19135 additions and 0 deletions

View File

@@ -0,0 +1,49 @@
## Set keyboard layout
setxkbmap -layout es &
## Start compositor
compton -cCb --config ~/.config/compton.conf &
#
## Set background image
nitrogen --restore &
## Turn off/on System Beep
set b off &
## Xorg settings
xrdb ~/.Xresources &
## Clipboard manager
(sleep 2; anamnesis --start) &
## Start desktop visualizer (eyecandy)
(sleep 3; conky) &
## Bluelight filter
(sleep 4; redshift) &
## Bar with invisible tray
(sleep 2; stalonetray --dockapp-mode simple --kludges force_icons_size -i 15) &
(sleep 3; polybar main) &
## Urxvt daemon
urxvtd -q -f -o &
## Create musicpd temporary log
touch /tmp/mpd-log &
## KeepassXC
(sleep 2; bash -c "secret-tool lookup 'keepass' 'login' | keepassxc --pw-stdin ~/Nextcloud/Documents/IT/MDP.kbdx") &
## GPG
(sleep 3; bash -c "secret-tool lookup 'gpg' 'login' | gpg --no-tty --pinentry-mode loopback --passphrase-fd 0 -d ~/.password-store/mail/uni.gpg") &
## Nextcloud
(sleep 5; nextcloud) &
## Spacemacs daemon
(sleep 7; emacs --daemon=instance1) &
## Imap IDLE
(sleep 10; imapnotify -c ~/.config/imapnotify/gmail.js) &
(sleep 10; imapnotify -c ~/.config/imapnotify/uni.js) &

View File

@@ -0,0 +1,2 @@
## GNOME Keyring
eval $(/usr/local/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)

103
openbox/.config/openbox/menu.xml Executable file
View File

@@ -0,0 +1,103 @@
<?xml version="1.0" encoding="utf-8"?>
<openbox_menu>
<menu id="Office" label="Office">
<separator label="OFFICE"/>
<item label="LibreOffice Base">
<action name="Execute">
<command>libreoffice --base</command>
</action>
</item>
<item label="LibreOffice Calc">
<action name="Execute">
<command>libreoffice --calc</command>
</action>
</item>
<item label="LibreOffice Draw">
<action name="Execute">
<command>libreoffice --draw</command>
</action>
</item>
<item label="LibreOffice Impress">
<action name="Execute">
<command>libreoffice --impress</command>
</action>
</item>
<item label="LibreOffice Math">
<action name="Execute">
<command>libreoffice --math</command>
</action>
</item>
<item label="LibreOffice Writer">
<action name="Execute">
<command>libreoffice --writer</command>
</action>
</item>
<item label="LibreOffice">
<action name="Execute">
<command>libreoffice</command>
</action>
</item>
</menu>
<menu id="root-menu" label="Openbox 3">
<separator label="MAIN MENU"/>
<item label="Run Program">
<action name="Execute">
<command>rofi -show drun -config /home/coolneng/.config/rofi/config</command>
</action>
</item>
<separator/>
<item label="Terminal">
<action name="Execute">
<command>exo-open --launch TerminalEmulator</command>
</action>
</item>
<item label="Web Browser">
<action name="Execute">
<command>firefox</command>
</action>
</item>
<item label="File Manager">
<action name="Execute">
<command>exo-open --launch FileManager</command>
</action>
</item>
<separator/>
<menu id="Multimedia"/>
<menu id="Network"/>
<menu id="Office"/>
<separator/>
<menu id="Preferences"/>
<separator/>
<separator/>
<item label="Change Wallpaper">
<action name="Execute">
<execute>nitrogen</execute>
</action>
</item>
<item label="Restart Openbox">
<action name="Execute">
<execute>openbox --restart</execute>
</action>
</item>
<item label="Reboot">
<action name="Execute">
<execute>shutdown -r now</execute>
</action>
</item>
<item label="Lock">
<action name="Execute">
<command>i3lock -i ~/Pictures/Wallpapers/wallhaven-638719.png</command>
</action>
</item>
<item label="Logout">
<action name="Exit">
<execute>kill -9 -1</execute>
</action>
</item>
<item label="Shutdown">
<action name="Execute">
<execute>shutdown -p now</execute>
</action>
</item>
</menu>
</openbox_menu>

830
openbox/.config/openbox/rc.xml Executable file
View File

@@ -0,0 +1,830 @@
<?xml version="1.0"?>
<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>no</followMouse>
<!-- move focus to a window when you move the mouse into it -->
<focusLast>yes</focusLast>
<!-- focus the last used window when changing desktops, instead of the one
under the mouse pointer. when followMouse is enabled -->
<underMouse>no</underMouse>
<!-- move focus under the mouse, even when the mouse is not moving -->
<focusDelay>200</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>UnderMouse</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>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 -->
<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>Aesthetic</name>
<titleLayout>IMC</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).
-->
<!--
<cornerRadius>4</cornerRadius>
-->
<keepBorder>yes</keepBorder>
<animateIconify>yes</animateIconify>
<font place="ActiveWindow">
<name>Roboto Condensed, Condensed</name>
<size>9</size>
<!-- font size in points -->
<weight>Normal</weight>
<!-- 'bold' or 'normal' -->
<slant>Normal</slant>
<!-- 'italic' or 'normal' -->
</font>
<font place="InactiveWindow">
<name>Roboto Condensed, Condensed</name>
<size>9</size>
<!-- font size in points -->
<weight>Normal</weight>
<!-- 'bold' or 'normal' -->
<slant>Normal</slant>
<!-- 'italic' or 'normal' -->
</font>
<font place="MenuHeader">
<name>Roboto Condensed, Condensed</name>
<size>9</size>
<!-- font size in points -->
<weight>Normal</weight>
<!-- 'bold' or 'normal' -->
<slant>Normal</slant>
<!-- 'italic' or 'normal' -->
</font>
<font place="MenuItem">
<name>Roboto Condensed, Condensed</name>
<size>9</size>
<!-- font size in points -->
<weight>Normal</weight>
<!-- 'bold' or 'normal' -->
<slant>Normal</slant>
<!-- 'italic' or 'normal' -->
</font>
<font place="ActiveOnScreenDisplay">
<name>Roboto Condensed, Condensed</name>
<size>9</size>
<!-- font size in points -->
<weight>Normal</weight>
<!-- 'bold' or 'normal' -->
<slant>Normal</slant>
<!-- 'italic' or 'normal' -->
</font>
<font place="InactiveOnScreenDisplay">
<name>Roboto Condensed, Condensed</name>
<size>9</size>
<!-- font size in points -->
<weight>Normal</weight>
<!-- 'bold' or 'normal' -->
<slant>Normal</slant>
<!-- 'italic' or 'normal' -->
</font>
</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>4</number>
<firstdesk>1</firstdesk>
<names>
<name>1</name>
<name>2</name>
<name>3</name>
<name>4</name>
<name>5</name>
<name>6</name>
<name>7</name>
<name>8</name>
</names>
<popupTime>0</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>Nonpixel</popupShow>
<!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
<popupPosition>Center</popupPosition>
<!-- 'Center' or 'Top' -->
<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>
<!-- You can reserve a portion of your screen where windows will not cover when
they are maximized, or when they are initially placed.
Many programs reserve space automatically, but you can use this in other
cases. -->
<margins>
<top>0</top>
<bottom>0</bottom>
<left>0</left>
<right>0</right>
</margins>
<dock>
<position>Floating</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>
<keybind key="C-A-Right">
<action name="DesktopRight"/>
</keybind>
<keybind key="W-t">
<action name="UnmaximizeFull"/>
<action name="MaximizeVert"/>
<action name="MoveResizeTo">
<width>29%</width>
</action>
<action name="MoveToEdgeWest"/>
</keybind>
<keybind key="W-y">
<action name="UnmaximizeFull"/>
<action name="MaximizeVert"/>
<action name="MoveResizeTo">
<width>71%</width>
</action>
<action name="MoveToEdgeEast"/>
</keybind>
<keybind key="W-c">
<action name="Execute">
<command>anamnesis -b</command>
</action>
</keybind>
<keybind key="C-S-Right">
<action name="SendToDesktopRight"/>
</keybind>
<keybind key="C-S-Left">
<action name="SendToDesktopPrevious"/>
</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="S-W-d">
<action name="Execute">
<command>xdg-open "$(locate home media | rofi -threads 0 -width 100 -color-window "#000000, #000000, #000000" -color-normal "#000000, #b3e774, #000000, #b3e774, #000000" -color-active "#000000, #b3e774, #000000, #b3e774, #000000" -color-urgent "#000000, #b3e774, #000000, #b3e774, #000000" -dmenu -i -p "locate:")"</command>
</action>
</keybind>
<keybind key="W-f">
<action name="Execute">
<command>firefox</command>
</action>
</keybind>
<keybind key="W-e">
<action name="Execute">
<command>emacsclient -nc -s instance1</command>
</action>
</keybind>
<keybind key="XF86AudioRaiseVolume">
<action name="Execute">
<command>mixer vol +5</command>
</action>
</keybind>
<keybind key="XF86AudioLowerVolume">
<action name="Execute">
<command>mixer vol -5</command>
</action>
</keybind>
<keybind key="XF86AudioMute">
<action name="Execute">
<command>mixer vol mute</command>
</action>
</keybind>
<keybind key="Menu">
<action name="ShowMenu"/>
</keybind>
<keybind key="A-Tab">
<action name="NextWindow"/>
</keybind>
<keybind key="C-A-Left">
<action name="DesktopLeft"/>
</keybind>
<keybind key="XF86AudioStop">
<action name="Execute">
<command>mpc --host=/home/coolneng/.mpd/socket stop</command>
</action>
</keybind>
<keybind key="XF86AudioPlay">
<action name="Execute">
<command>mpc --host=/home/coolneng/.mpd/socket toggle</command>
</action>
</keybind>
<keybind key="XF86AudioPrev">
<action name="Execute">
<command>mpc --host=/home/coolneng/.mpd/socket prev</command>
</action>
</keybind>
<keybind key="XF86AudioNext">
<action name="Execute">
<command>mpc --host=/home/coolneng/.mpd/socket next</command>
</action>
</keybind>
<keybind key="Print">
<action name="Execute">
<command>scrot -e 'mv $f ~/Nextcloud/Photos/Screenshots'</command>
</action>
</keybind>
<keybind key="W-d">
<action name="Execute">
<command>rofi -show drun</command>
</action>
</keybind>
<keybind key="W-space">
<action name="Iconify"/>
</keybind>
<keybind key="W-Up">
<action name="MaximizeFull"/>
</keybind>
<keybind key="W-Down">
<action name="UnmaximizeFull"/>
<action name="MoveResizeTo">
<width>50%</width>
<height>50%</height>
</action>
<action name="MoveToCenter"/>
</keybind>
<keybind key="W-Left">
<action name="UnmaximizeFull"/>
<action name="MaximizeVert"/>
<action name="MoveResizeTo">
<width>50%</width>
</action>
<action name="MoveToEdgeWest"/>
</keybind>
<keybind key="W-Right">
<action name="UnmaximizeFull"/>
<action name="MaximizeVert"/>
<action name="MoveResizeTo">
<width>50%</width>
</action>
<action name="MoveToEdgeEast"/>
</keybind>
<keybind key="W-Return">
<action name="Execute">
<command>urxvtc</command>
</action>
</keybind>
<keybind key="W-w">
<action name="Close"/>
</keybind>
</keyboard>
<mouse>
<dragThreshold>8</dragThreshold>
<!-- number of pixels the mouse must move before a drag begins -->
<doubleClickTime>400</doubleClickTime>
<!-- in milliseconds (1000 = 1 second) -->
<screenEdgeWarpTime>400</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 action="Press" button="A-Left">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind action="Click" button="A-Left">
<action name="Unshade"/>
</mousebind>
<mousebind action="Drag" button="A-Left">
<action name="Move"/>
</mousebind>
<mousebind action="Press" button="A-Right">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind action="Drag" button="A-Right">
<action name="Resize"/>
</mousebind>
<mousebind action="Press" button="A-Middle">
<action name="Lower"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
</mousebind>
<mousebind action="Click" button="A-Up">
<action name="GoToDesktop">
<to>previous</to>
</action>
</mousebind>
<mousebind action="Click" button="A-Down">
<action name="GoToDesktop">
<to>next</to>
</action>
</mousebind>
<mousebind action="Click" button="C-A-Up">
<action name="GoToDesktop">
<to>previous</to>
</action>
</mousebind>
<mousebind action="Click" button="C-A-Down">
<action name="GoToDesktop">
<to>next</to>
</action>
</mousebind>
<mousebind action="Click" button="A-S-Up">
<action name="SendToDesktop">
<to>previous</to>
</action>
</mousebind>
<mousebind action="Click" button="A-S-Down">
<action name="SendToDesktop">
<to>next</to>
</action>
</mousebind>
</context>
<context name="Titlebar">
<mousebind action="Press" button="Left">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind action="Drag" button="Left">
<action name="Move"/>
</mousebind>
<mousebind action="DoubleClick" button="Left">
<action name="ToggleMaximizeFull"/>
</mousebind>
<mousebind action="Press" button="Middle">
<action name="Lower"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
</mousebind>
<mousebind action="Click" button="Up">
<action name="if">
<shaded>no</shaded>
<then>
<action name="Shade"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
<action name="Lower"/>
</then>
</action>
</mousebind>
<mousebind action="Click" button="Down">
<action name="if">
<shaded>yes</shaded>
<then>
<action name="Unshade"/>
<action name="Raise"/>
</then>
</action>
</mousebind>
<mousebind action="Press" button="Right">
<action name="Focus"/>
<action name="Raise"/>
<action name="ShowMenu">
<menu>client-menu</menu>
</action>
</mousebind>
</context>
<context name="Titlebar Top Right Bottom Left TLCorner TRCorner BRCorner BLCorner">
<mousebind action="Press" button="Left">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind action="Press" button="Middle">
<action name="Lower"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
</mousebind>
<mousebind action="Press" button="Right">
<action name="Focus"/>
<action name="Raise"/>
<action name="ShowMenu">
<menu>client-menu</menu>
</action>
</mousebind>
</context>
<context name="Top">
<mousebind action="Press" button="Left">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind action="Drag" button="Left">
<action name="Resize">
<edge>top</edge>
</action>
</mousebind>
</context>
<context name="Left">
<mousebind action="Press" button="Left">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind action="Drag" button="Left">
<action name="Resize">
<edge>left</edge>
</action>
</mousebind>
</context>
<context name="Right">
<mousebind action="Press" button="Left">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind action="Drag" button="Left">
<action name="Resize">
<edge>right</edge>
</action>
</mousebind>
</context>
<context name="Bottom">
<mousebind action="Press" button="Left">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind action="Drag" button="Left">
<action name="Resize">
<edge>bottom</edge>
</action>
</mousebind>
<mousebind action="Press" button="Middle">
<action name="Lower"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
</mousebind>
<mousebind action="Press" button="Right">
<action name="Focus"/>
<action name="Raise"/>
<action name="ShowMenu">
<menu>client-menu</menu>
</action>
</mousebind>
</context>
<context name="TRCorner BRCorner TLCorner BLCorner">
<mousebind action="Press" button="Left">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind action="Drag" button="Left">
<action name="Resize"/>
</mousebind>
</context>
<context name="Client">
<mousebind action="Press" button="Left">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind action="Press" button="Middle">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind action="Press" button="Right">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
</context>
<context name="Icon">
<mousebind action="Press" button="Left">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
<action name="ShowMenu">
<menu>client-menu</menu>
</action>
</mousebind>
<mousebind action="Press" button="Right">
<action name="Focus"/>
<action name="Raise"/>
<action name="ShowMenu">
<menu>client-menu</menu>
</action>
</mousebind>
</context>
<context name="AllDesktops">
<mousebind action="Press" button="Left">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind action="Click" button="Left">
<action name="ToggleOmnipresent"/>
</mousebind>
</context>
<context name="Shade">
<mousebind action="Press" button="Left">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind action="Click" button="Left">
<action name="ToggleShade"/>
</mousebind>
</context>
<context name="Iconify">
<mousebind action="Press" button="Left">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind action="Click" button="Left">
<action name="Iconify"/>
</mousebind>
</context>
<context name="Maximize">
<mousebind action="Press" button="Left">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind action="Press" button="Middle">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind action="Press" button="Right">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind action="Click" button="Left">
<action name="ToggleMaximize"/>
</mousebind>
<mousebind action="Click" button="Middle">
<action name="ToggleMaximize">
<direction>vertical</direction>
</action>
</mousebind>
<mousebind action="Click" button="Right">
<action name="ToggleMaximize">
<direction>horizontal</direction>
</action>
</mousebind>
</context>
<context name="Close">
<mousebind action="Press" button="Left">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind action="Click" button="Left">
<action name="Close"/>
</mousebind>
</context>
<context name="Desktop">
<mousebind action="Click" button="A-Up">
<action name="GoToDesktop">
<to>previous</to>
</action>
</mousebind>
<mousebind action="Click" button="A-Down">
<action name="GoToDesktop">
<to>next</to>
</action>
</mousebind>
<mousebind action="Click" button="C-A-Up">
<action name="GoToDesktop">
<to>previous</to>
</action>
</mousebind>
<mousebind action="Click" button="C-A-Down">
<action name="GoToDesktop">
<to>next</to>
</action>
</mousebind>
<mousebind action="Press" button="Left">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
</context>
<context name="Root">
<!-- Menus -->
<mousebind action="Press" button="Middle">
<action name="ShowMenu">
<menu>client-list-combined-menu</menu>
</action>
</mousebind>
<mousebind action="Press" button="Right">
<action name="ShowMenu">
<menu>root-menu</menu>
</action>
</mousebind>
</context>
<context name="MoveResize">
<mousebind action="Click" button="Up">
<action name="GoToDesktop">
<to>previous</to>
</action>
</mousebind>
<mousebind action="Click" button="Down">
<action name="GoToDesktop">
<to>next</to>
</action>
</mousebind>
<mousebind action="Click" button="A-Up">
<action name="GoToDesktop">
<to>previous</to>
</action>
</mousebind>
<mousebind action="Click" button="A-Down">
<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/) -->
<!-- system menu files on Debian systems
<file>/var/lib/openbox/debian-menu.xml</file>
<file>debian-menu.xml</file> -->
<file>menu.xml</file>
<hideDelay>200</hideDelay>
<!-- if a press-release lasts longer than this setting (in milliseconds), the
menu is hidden again -->
<middle>yes</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="Gimp" name="gimp" role="gimp-toolbox" type="utility">
<maximized>vertical</maximized>
</application>
<application class="Gimp" name="gimp" role="gimp-dock" type="utility">
<maximized>vertical</maximized>
</application>
<application class="Gimp" name="gimp" role="gimp-image-window" type="normal">
<position force="no">
<x>center</x>
<y>center</y>
</position>
</application>
<application class="Gimp" name="gimp-2.8" role="gimp-toolbox" type="utility">
<maximized>vertical</maximized>
</application>
<application class="Gimp" name="gimp-2.8" role="gimp-dock" type="utility">
<maximized>vertical</maximized>
</application>
<application class="Gimp" name="gimp-2.8" role="gimp-image-window" type="normal">
<position force="no">
<x>center</x>
<y>center</y>
</position>
</application>
-->
</applications>
</openbox_config>

View File

@@ -0,0 +1,4 @@
#define bullet_width 6
#define bullet_height 6
static unsigned char bullet_bits[] = {
0x06, 0x0c, 0x18, 0x18, 0x0c, 0x06 };

View File

@@ -0,0 +1,4 @@
#define close_width 6
#define close_height 6
static unsigned char close_bits[] = {
0x3f, 0x3f, 0x3f, 0x3f, 0x3f, 0x3f };

View File

@@ -0,0 +1,4 @@
#define desk_toggled_width 8
#define desk_toggled_height 8
static unsigned char desk_toggled_bits[] = {
0xe7, 0xe7, 0xe7, 0x00, 0x00, 0xe7, 0xe7, 0xe7 };

View File

@@ -0,0 +1,4 @@
#define desk_width 8
#define desk_height 8
static unsigned char desk_bits[] = {
0x04, 0x0e, 0x3f, 0x1e, 0x1c, 0x24, 0x40, 0x80 };

View File

@@ -0,0 +1,4 @@
#define iconify_width 6
#define iconify_height 6
static unsigned char iconify_bits[] = {
0x00, 0x00, 0x00, 0x1e, 0x00, 0x00 };

View File

@@ -0,0 +1,4 @@
#define max_width 6
#define max_height 6
static unsigned char max_bits[] = {
0x3f, 0x21, 0x21, 0x21, 0x21, 0x3f };

View File

@@ -0,0 +1,4 @@
#define max_toggled_width 6
#define max_toggled_height 6
static unsigned char max_toggled_bits[] = {
0x28, 0x18, 0x38, 0x07, 0x06, 0x05 };

View File

@@ -0,0 +1,4 @@
#define shade_width 8
#define shade_height 8
static unsigned char shade_bits[] = {
0x18, 0x3c, 0x7e, 0xff, 0xdb, 0x18, 0x18, 0x18 };

View File

@@ -0,0 +1,4 @@
#define shade_toggled_width 8
#define shade_toggled_height 8
static unsigned char shade_toggled_bits[] = {
0x18, 0x18, 0x18, 0xdb, 0xff, 0x7e, 0x3c, 0x18 };

View File

@@ -0,0 +1,127 @@
# Menu
menu.border.width: 16
menu.overlap.x: -20
menu.overlap.y: 8
menu.border.color: #181A28
menu.title.bg: flat solid
menu.title.bg.color: #181A28
menu.title.text.color: #af4c6d
menu.separator.color: #181A28
menu.items.bg: flat solid
menu.items.bg.color: #181A28
menu.items.text.color: #ffffff
menu.items.disabled.text.color: #181A28
menu.items.active.bg: flat solid
menu.items.active.bg.color: #181A28
menu.items.active.text.color: #af4c6d
# Active window
window.active.border.color: #181A28
window.active.title.bg: flat solid
window.active.title.bg.color: #181A28
window.active.title.separator.color: #181A28
window.active.text.justify: left
window.active.label.bg: parentrelative
window.active.label.text.color: #ffffff
window.active.handle.bg: flat solid
window.active.handle.bg.color: #181A28
window.active.grip.bg: flat solid
window.active.grip.bg.color: #181A28
window.active.button.unpressed.bg: flat solid
window.active.button.unpressed.bg.color: #181A28
window.active.button.unpressed.image.color: #ffffff
window.active.button.pressed.bg: flat solid
window.active.button.pressed.bg.color: #181A28
window.active.button.pressed.image.color: #ffffff
window.active.button.disabled.bg: flat solid
window.active.button.disabled.bg.color: #181A28
window.active.button.disabled.image.color: #dcdcdc
# Inactive window
window.inactive.border.color: #181A28
window.inactive.title.bg: flat solid
window.inactive.title.bg.color: #181A28
window.inactive.title.separator.color: #181A28
window.inactive.text.justify: center
window.inactive.label.bg: parentrelative
window.inactive.label.text.color: #ffffff
window.inactive.handle.bg: flat solid
window.inactive.handle.bg.color: #181A28
window.inactive.grip.bg: flat solid
window.inactive.grip.bg.color: #181A28
window.inactive.button.unpressed.bg: flat solid
window.inactive.button.unpressed.bg.color: #181A28
window.inactive.button.unpressed.image.color: #ffffff
window.inactive.button.pressed.bg: flat solid
window.inactive.button.pressed.bg.color: #181A28
window.inactive.button.pressed.image.color: #ffffff
window.inactive.button.disabled.bg: flat solid
window.inactive.button.disabled.bg.color: #181A28
window.inactive.button.disabled.image.color: #181A28
# OSD
osd.border.width: 1
osd.border.color: #181A28
osd.bg: flat solid
osd.bg.color: #fff
osd.label.bg: flat solid
osd.label.bg.color: #dedede
osd.label.text.color: #555555
osd.hilight.bg: flat solid
osd.hilight.bg.color: #af4c6d
osd.unhilight.bg: flat solid
osd.unhilight.bg.color: #888888
osd.button.unpressed.bg: flat border
osd.button.unpressed.bg.color: #f0f0f0
osd.button.unpressed.*.border.color: #b2b2b2
osd.button.pressed.bg: flat border
osd.button.pressed.bg.color: #d3d3d3
osd.button.pressed.*.border.color: #b2b2b2
osd.button.focused.bg: flat solid border
osd.button.focused.bg.color: #f0f0f0
osd.button.focused.*.border.color: #9c9c9c
osd.button.focused.box.color: #af4c6d
# Fonts
window.active.label.text.font:shadow=n
window.inactive.label.text.font:shadow=n
menu.items.font:shadow=n
menu.title.text.font:shadow=n
# Everything else
border.width: 0
#padding.width: 10
#padding.height: 5
window.handle.width: 0
window.client.padding.width: 0
window.label.text.justify: center

21
openbox/.themes/build.xml Normal file
View File

@@ -0,0 +1,21 @@
<!--
This file is part of GtkSourceView
Copyright (C) 2014 Joe Collins <joe@draw.academy>
GtkSourceView is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
GtkSourceView is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
--><style-scheme id="build" _name="Build" version="1.0"><author>Joe Collins</author><author>Vale Collins</author><_description>Emphasis on readability.</_description><!-- Build Palette --><color name="cardinal" value="#be2e19"/><color name="grass" value="#5C944A"/><color name="nautica" value="#3B637A"/><color name="fuschia" value="#B858A0"/><color name="base" value="#444"/><color name="sand" value="#F7E2C6"/><color name="muslin" value="#f8f4ed"/><color name="cobalt" value="#373ab0"/><color name="latte" value="#DEC5A6"/><color name="brick" value="#AD5F53"/><color name="reef" value="#4C9EA8"/><color name="charcoal" value="#38312f"/><color name="mesa" value="#b5684e"/><color name="heather" value="#D1829C"/><color name="concrete" value="#AB9E8E"/><color name="plum" value="#8A536A"/><!-- Global Settings --><style name="text" foreground="base" background="muslin"/><style name="selection" foreground="base" background="latte"/><style name="cursor" foreground="charcoal"/><style name="current-line" background="sand"/><style name="line-numbers" foreground="mesa" background="charcoal"/><style name="draw-spaces" foreground="base"/><!-- Bracket Matching --><style name="bracket-match" foreground="base" background="sand" bold="true"/><style name="bracket-mismatch" foreground="cardinal" bold="true"/><!-- Right Margin --><style name="right-margin" foreground="base" background="sand"/><!-- Search Matching --><style name="search-match" foreground="plum" background="latte"/><!-- Comments --><style name="def:comment" foreground="concrete"/><style name="def:shebang" foreground="reef" bold="true"/><style name="def:doc-comment-element" italic="true"/><!-- Constants --><style name="def:constant" foreground="plum"/><style name="def:string" foreground="grass"/><style name="def:special-char" foreground="heather"/><style name="def:special-constant" foreground="heather"/><style name="def:floating-point" foreground="heather"/><!-- Identifiers --><style name="def:identifier" foreground="brick"/><!-- Statements --><style name="def:statement" foreground="nautica"/><!-- Types --><style name="def:type" foreground="reef"/><!-- Others --><style name="def:preprocessor" foreground="fuschia"/><style name="def:error" foreground="cardinal" bold="true"/><style name="def:warning" foreground="brick"/><style name="def:note" background="heather" bold="true"/><style name="def:underlined" italic="true" underline="true"/><!-- Language specific --><style name="diff:added-line" foreground="grass"/><style name="diff:removed-line" foreground="brick"/><style name="diff:changed-line" foreground="plum"/><style name="diff:diff-file" foreground="nautica"/><style name="diff:location" foreground="fuschia"/><style name="diff:special-case" foreground="reef"/><style name="latex:display-math" foreground="fuschia"/><style name="latex:command" foreground="nautica" bold="true"/><style name="latex:include" use-style="def:preprocessor"/></style-scheme>