Split up configs into seperate packages

This commit is contained in:
natemaia 2018-12-13 22:02:16 -08:00
parent 98ae5d737b
commit ccdab4657c
67 changed files with 6 additions and 1570 deletions

View File

@ -1,7 +1,10 @@
# Skeleton Configuration Files
Skeleton configs for ArchLabs user home creation
Skeleton configurations for ArchLabs user home directory creation
Contents of the `home` folder should be copied to `/home/USER/` for existing users
or `/etc/skel/` for new users and/or system builders
The `base/` directory contains generic application configuration
used across all installs, while the `*-home/` directories contain
environment specific configuration. These directories' contents __must__
be able to be copied over one another into `/etc/skel/`
__without__ overlapping files.

View File

Before

Width:  |  Height:  |  Size: 3.6 MiB

After

Width:  |  Height:  |  Size: 3.6 MiB

View File

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB

View File

Before

Width:  |  Height:  |  Size: 7.7 KiB

After

Width:  |  Height:  |  Size: 7.7 KiB

View File

@ -1,20 +0,0 @@
# compton
al-compositor --start &
# enable numlock, commented out for laptop users
# numlockx &
# restore wallpaper
nitrogen --restore &
# required for xfce settings to work
xfsettingsd &
# fancy window switcher
skippy-xd --config ~/.config/skippy-xd/skippy-xd.rc --start-daemon &
# start the panel
al-polybar-session &
# start conky
al-conky-session --autostart &

View File

@ -1,5 +0,0 @@
# environment
# vim:ft=sh
# To set your language for displaying messages and time/date formats, use the following:
# LANG=en_US.UTF8

View File

@ -1,130 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<openbox_menu xmlns="http://openbox.org/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://openbox.org/ file:///usr/share/openbox/menu.xsd">
<menu id="root-menu" label="Openbox 3">
<separator label="ArchLabs"/>
<item label="Terminal">
<action name="Execute">
<command>exo-open --launch TerminalEmulator</command>
</action>
</item>
<item label="Web Browser">
<action name="Execute">
<command>exo-open --launch WebBrowser</command>
</action>
</item>
<item label="File Manager">
<action name="Execute">
<command>exo-open --launch FileManager</command>
</action>
</item>
<separator/>
<menu id="screenshot" label="Screenshot">
<item label="Screenshot Now">
<action name="Execute">
<command>scrot 'ArchLabs_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; feh $$(xdg-user-dir PICTURES)/$f'</command>
</action>
</item>
<item label="Screenshot in 5">
<action name="Execute">
<command>scrot -d 5 'ArchLabs_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; feh $$(xdg-user-dir PICTURES)/$f'</command>
</action>
</item>
</menu>
<separator/>
<menu execute="al-places-pipemenu --recent ~/" id="pipe-placesmenu" label="Places"/>
<separator/>
<menu id="preferences" label="Preferences">
<menu id="obConfig" label="Openbox">
<item label="Settings GUI">
<action name="Execute">
<command>obconf</command>
</action>
</item>
<item label="Menu GUI">
<action name="Execute">
<command>kickshaw</command>
</action>
</item>
<item label="Keybind GUI">
<action name="Execute">
<command>obkey</command>
</action>
</item>
<separator/>
<item label="Edit menu.xml">
<action name="Execute">
<command>exo-open ~/.config/openbox/menu.xml</command>
</action>
</item>
<item label="Edit rc.xml">
<action name="Execute">
<command>exo-open ~/.config/openbox/rc.xml</command>
</action>
</item>
<item label="Edit autostart">
<action name="Execute">
<command>exo-open ~/.config/openbox/autostart</command>
</action>
</item>
<separator/>
<item label="Openbox Reconfigure">
<action name="Reconfigure"/>
</item>
<item label="Openbox Restart">
<action name="Restart"/>
</item>
</menu>
<menu execute="al-compositor" id="CompositingPipeMenu" label="Compton"/>
<menu execute="al-conky-pipemenu" id="ConkyPipeMenu" label="Conky"/>
<menu execute="al-polybar-pipemenu" id="PolybarPipeMenu" label="Polybar"/>
<menu execute="al-tint2-pipemenu" id="TintPipeMenu" label="Tint2"/>
<item label="Change Panel/Dock">
<action name="Execute">
<command>al-panel-chooser</command>
</action>
</item>
<separator/>
<item label="Wallpaper/Background">
<action name="Execute">
<command>nitrogen</command>
</action>
</item>
<item label="Appearance Settings">
<action name="Execute">
<command>xfce4-appearance-settings</command>
</action>
</item>
<separator/>
<item label="Power Settings">
<action name="Execute">
<command>xfce4-power-manager</command>
</action>
</item>
<item label="Audio Settings">
<action name="Execute">
<command>pavucontrol</command>
</action>
</item>
<item label="Settings Manager">
<action name="Execute">
<command>xfce4-settings-manager</command>
</action>
</item>
</menu>
<menu execute="al-help-pipemenu" id="help" label="Help and Info"/>
<menu execute="al-kb-pipemenu" id="keybinds" label="Keybinds"/>
<separator/>
<item label="Lock Screen">
<action name="Execute">
<command>i3lock-fancy -p</command>
</action>
</item>
<item label="Exit Openbox">
<action name="Execute">
<command>rofi_run -l</command>
</action>
</item>
</menu>
</openbox_menu>
<!-- vim:sw=2
-->

View File

@ -1,761 +0,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>
<followMouse>no</followMouse>
<focusLast>yes</focusLast>
<underMouse>no</underMouse>
<focusDelay>200</focusDelay>
<raiseOnFocus>no</raiseOnFocus>
</focus>
<placement>
<policy>Smart</policy>
<center>yes</center>
<monitor>Mouse</monitor>
<primaryMonitor>Mouse</primaryMonitor>
</placement>
<theme>
<name>ArchLabs-dARK</name>
<titleLayout>NLMC</titleLayout>
<keepBorder>yes</keepBorder>
<animateIconify>no</animateIconify>
<font place="ActiveWindow">
<name>sans</name>
<size>11</size>
<weight>Normal</weight>
<slant>Normal</slant>
</font>
<font place="InactiveWindow">
<name>sans</name>
<size>11</size>
<weight>Normal</weight>
<slant>Italic</slant>
</font>
<font place="MenuHeader">
<name>sans</name>
<size>11</size>
<weight>Normal</weight>
<slant>Normal</slant>
</font>
<font place="MenuItem">
<name>sans</name>
<size>10</size>
<weight>Normal</weight>
<slant>Normal</slant>
</font>
<font place="ActiveOnScreenDisplay">
<name>sans</name>
<size>10</size>
<weight>Normal</weight>
<slant>Normal</slant>
</font>
<font place="InactiveOnScreenDisplay">
<name>sans</name>
<size>10</size>
<weight>Normal</weight>
<slant>Normal</slant>
</font>
</theme>
<desktops>
<number>4</number>
<firstdesk>0</firstdesk>
<names>
<name>1</name>
<name>2</name>
<name>3</name>
<name>4</name>
</names>
<popupTime>800</popupTime>
</desktops>
<resize>
<drawContents>yes</drawContents>
<popupShow>Never</popupShow>
<popupPosition>Center</popupPosition>
<popupFixedPosition>
<x>10</x>
<y>10</y>
</popupFixedPosition>
</resize>
<margins>
<top>0</top>
<bottom>0</bottom>
<left>0</left>
<right>0</right>
</margins>
<dock>
<position>Floating</position>
<floatingX>0</floatingX>
<floatingY>0</floatingY>
<noStrut>no</noStrut>
<stacking>Above</stacking>
<direction>Vertical</direction>
<autoHide>no</autoHide>
<hideDelay>300</hideDelay>
<showDelay>300</showDelay>
<moveButton>Middle</moveButton>
</dock>
<keyboard>
<chainQuitKey/>
<keybind key="W-1">
<action name="GoToDesktop">
<to>1</to>
</action>
</keybind>
<keybind key="W-2">
<action name="GoToDesktop">
<to>2</to>
</action>
</keybind>
<keybind key="W-3">
<action name="GoToDesktop">
<to>3</to>
</action>
</keybind>
<keybind key="W-4">
<action name="GoToDesktop">
<to>4</to>
</action>
</keybind>
<keybind key="S-W-1">
<action name="SendToDesktop">
<desktop>1</desktop>
</action>
</keybind>
<keybind key="S-W-2">
<action name="SendToDesktop">
<desktop>2</desktop>
</action>
</keybind>
<keybind key="S-W-3">
<action name="SendToDesktop">
<desktop>3</desktop>
</action>
</keybind>
<keybind key="S-W-4">
<action name="SendToDesktop">
<desktop>4</desktop>
</action>
</keybind>
<keybind key="A-Tab">
<action name="NextWindow">
<allDesktops>yes</allDesktops>
<raise>yes</raise>
<finalactions>
<action name="Focus"/>
<action name="UnshadeRaise"/>
</finalactions>
</action>
</keybind>
<keybind key="W-Tab">
<action name="NextWindow">
<allDesktops>yes</allDesktops>
<finalactions>
<action name="SendToDesktop"><to>current</to></action>
<action name="focus"/>
<action name="raise"/>
</finalactions>
</action>
</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="S-W-Left">
<action name="SendToDesktopLeft"/>
</keybind>
<keybind key="S-W-Right">
<action name="SendToDesktopRight"/>
</keybind>
<keybind key="S-W-Up">
<action name="SendToDesktopUp"/>
</keybind>
<keybind key="S-W-Down">
<action name="SendToDesktopDown"/>
</keybind>
<keybind key="A-Escape">
<action name="Lower"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
</keybind>
<keybind key="XF86AudioRaiseVolume">
<action name="Execute">
<command>pamixer -i 2</command>
</action>
</keybind>
<keybind key="XF86AudioLowerVolume">
<action name="Execute">
<command>pamixer -d 2</command>
</action>
</keybind>
<keybind key="XF86AudioMute">
<action name="Execute">
<command>pamixer -t</command>
</action>
</keybind>
<keybind key="XF86AudioStop">
<action name="Execute">
<command>playerctl stop</command>
</action>
</keybind>
<keybind key="XF86AudioPlay">
<action name="Execute">
<command>playerctl play-pause</command>
</action>
</keybind>
<keybind key="XF86AudioPrev">
<action name="Execute">
<command>playerctl previous</command>
</action>
</keybind>
<keybind key="XF86AudioNext">
<action name="Execute">
<command>playerctl next</command>
</action>
</keybind>
<keybind key="XF86MonBrightnessUp">
<action name="Execute">
<command>xbacklight +10</command>
</action>
</keybind>
<keybind key="XF86MonBrightnessDown">
<action name="Execute">
<command>xbacklight -10</command>
</action>
</keybind>
<keybind key="Print">
<action name="Execute">
<command>scrot 'ArchLabs_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f'</command>
</action>
</keybind>
<keybind key="A-Print">
<action name="Execute">
<command>scrot -d 5 'ArchLabs_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f'</command>
</action>
</keybind>
<keybind key="W-f">
<action name="Execute">
<command>exo-open --launch FileManager</command>
</action>
</keybind>
<keybind key="W-t">
<action name="Execute">
<command>exo-open --launch TerminalEmulator</command>
</action>
</keybind>
<keybind key="C-A-t">
<action name="Execute">
<command>exo-open --launch TerminalEmulator</command>
</action>
</keybind>
<keybind key="W-Return">
<action name="Execute">
<command>exo-open --launch TerminalEmulator</command>
</action>
</keybind>
<keybind key="W-w">
<action name="Execute">
<command>exo-open --launch WebBrowser</command>
</action>
</keybind>
<keybind key="W-e">
<action name="Execute">
<command>geany</command>
</action>
</keybind>
<keybind key="W-a">
<action name="Execute">
<command>xfce4-settings-manager</command>
</action>
</keybind>
<keybind key="W-m">
<action name="Execute">
<command>audacious</command>
</action>
</keybind>
<keybind key="W-v">
<action name="Execute">
<command>pavucontrol</command>
</action>
</keybind>
<keybind key="W-s">
<action name="Execute">
<command>skippy-xd</command>
</action>
</keybind>
<keybind key="A-F1">
<action name="Execute">
<command>rofi_run -r</command>
</action>
</keybind>
<keybind key="C-space">
<action name="Execute">
<command>rofi_run -r</command>
</action>
</keybind>
<keybind key="W-x">
<action name="Execute">
<command>rofi_run -l</command>
</action>
</keybind>
<keybind key="C-A-Delete">
<action name="Execute">
<command>rofi_run -l</command>
</action>
</keybind>
<keybind key="W-S-Escape">
<action name="Exit"/>
</keybind>
<keybind key="C-S-BackSpace">
<action name="Restart"/>
</keybind>
<keybind key="C-S-Return">
<action name="Reconfigure"/>
</keybind>
<keybind key="W-Escape">
<action name="Execute">
<command>xkill</command>
</action>
</keybind>
<keybind key="A-F4">
<action name="Close"/>
</keybind>
<keybind key="A-F5">
<action name="Iconify"/>
</keybind>
<keybind key="A-F6">
<action name="ToggleMaximize"/>
</keybind>
<keybind key="A-F8">
<action name="ToggleDecorations"/>
</keybind>
<keybind key="W-d">
<action name="ToggleShowDesktop"/>
</keybind>
<keybind key="W-b">
<action name="ToggleDecorations"/>
</keybind>
<keybind key="A-r">
<action name="Resize"/>
</keybind>
<keybind key="A-m">
<action name="Move"/>
</keybind>
<keybind key="W-q">
<action name="Close"/>
</keybind>
<keybind key="W-space">
<action name="ShowMenu">
<menu>root-menu</menu>
</action>
</keybind>
<keybind key="A-space">
<action name="ShowMenu">
<menu>client-menu</menu>
</action>
</keybind>
<keybind key="W-KP_1">
<action name="UnmaximizeFull"/>
<action name="MoveResizeTo">
<x>0</x>
<y>-0</y>
<width>50%</width>
<height>50%</height>
</action>
</keybind>
<keybind key="W-KP_2">
<action name="UnmaximizeFull"/>
<action name="MoveResizeTo">
<x>0</x>
<y>-0</y>
<width>100%</width>
<height>50%</height>
</action>
</keybind>
<keybind key="W-KP_3">
<action name="UnmaximizeFull"/>
<action name="MoveResizeTo">
<x>-0</x>
<y>-0</y>
<width>50%</width>
<height>50%</height>
</action>
</keybind>
<keybind key="W-KP_4">
<action name="UnmaximizeFull"/>
<action name="MoveResizeTo">
<x>0</x>
<y>0</y>
<width>50%</width>
<height>100%</height>
</action>
</keybind>
<keybind key="W-KP_5">
<action name="MaximizeFull"/>
</keybind>
<keybind key="W-KP_6">
<action name="UnmaximizeFull"/>
<action name="MoveResizeTo">
<x>-0</x>
<y>0</y>
<width>50%</width>
<height>100%</height>
</action>
</keybind>
<keybind key="W-KP_7">
<action name="UnmaximizeFull"/>
<action name="MoveResizeTo">
<x>0</x>
<y>0</y>
<width>50%</width>
<height>50%</height>
</action>
</keybind>
<keybind key="W-KP_8">
<action name="UnmaximizeFull"/>
<action name="MoveResizeTo">
<x>0</x>
<y>0</y>
<width>100%</width>
<height>50%</height>
</action>
</keybind>
<keybind key="W-KP_9">
<action name="UnmaximizeFull"/>
<action name="MoveResizeTo">
<x>-0</x>
<y>0</y>
<width>50%</width>
<height>50%</height>
</action>
</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-Left">
<action name="UnmaximizeFull"/>
<action name="MaximizeVert"/>
<action name="MoveResizeTo">
<width>50%</width>
</action>
<action name="MoveToEdgeWest"/>
</keybind>
<keybind key="W-Up">
<action name="MaximizeFull"/>
</keybind>
<keybind key="W-Down">
<action name="UnmaximizeFull"/>
<action name="MoveResizeTo">
<width>80%</width>
<height>80%</height>
</action>
<action name="MoveToCenter"/>
</keybind>
<keybind key="W-A-Left">
<action name="UnmaximizeFull"/>
<action name="MaximizeVert"/>
<action name="MoveResizeTo">
<x>0</x>
<y>0</y>
<width>50%</width>
</action>
</keybind>
<keybind key="W-A-Right">
<action name="UnmaximizeFull"/>
<action name="MaximizeVert"/>
<action name="MoveResizeTo">
<x>-0</x>
<y>0</y>
<width>50%</width>
</action>
</keybind>
</keyboard>
<mouse>
<dragThreshold>4</dragThreshold>
<doubleClickTime>400</doubleClickTime>
<screenEdgeWarpTime>600</screenEdgeWarpTime>
<screenEdgeWarpMouse>false</screenEdgeWarpMouse>
<context name="Frame">
<mousebind action="Press" button="A-Left">
<action name="Focus"/>
<action name="Raise"/>
</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>
</context>
<context name="Titlebar">
<mousebind action="Press" button="A-Left">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind action="Drag" button="A-Left">
<action name="Move"/>
</mousebind>
<mousebind action="Press" button="Left">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind action="Drag" button="Left">
<action name="if">
<maximizedvertical>yes</maximizedvertical>
<then>
<action name="Unmaximize"/>
<action name="MoveResizeTo">
<x>center</x>
<y>current</y>
</action>
<action name="Move"/>
</then>
<else>
<action name="Move"/>
</else>
</action>
</mousebind>
<mousebind action="DoubleClick" button="Left">
<action name="ToggleMaximizeFull"/>
</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="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>
</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="A-Left">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind action="Drag" button="A-Left">
<action name="Move"/>
</mousebind>
<mousebind action="Press" button="Left">
<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="Right">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
<action name="ShowMenu">
<menu>client-menu</menu>
</action>
</mousebind>
</context>
<context name="AllDesktops">
<mousebind action="Click" button="Left">
<action name="ToggleOmnipresent"/>
</mousebind>
</context>
<context name="Shade">
<mousebind action="Click" button="Left">
<action name="ToggleShade"/>
</mousebind>
</context>
<context name="Iconify">
<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="Right">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind action="Click" button="Left">
<action name="ToggleMaximize"/>
</mousebind>
<mousebind action="Click" button="Right">
<action name="ToggleMaximize">
<direction>horizontal</direction>
</action>
</mousebind>
</context>
<context name="Close">
<mousebind action="Click" button="Left">
<action name="Close"/>
</mousebind>
</context>
<context name="Desktop">
<mousebind action="Click" button="Left">
<action name="Focus"/>
</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>
<context name="Root">
<mousebind action="Press" button="Middle">
<action name="ShowMenu">
<menu>client-list-combined-menu</menu>
</action>
</mousebind>
<mousebind action="Press" button="A-Right">
<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>
</mouse>
<menu>
<file>menu.xml</file>
<hideDelay>400</hideDelay>
<middle>no</middle>
<submenuShowDelay>100</submenuShowDelay>
<submenuHideDelay>200</submenuHideDelay>
<applicationIcons>no</applicationIcons>
<manageDesktops>yes</manageDesktops>
</menu>
<applications>
<application name="oblogout">
<position force="no">
<monitor>1</monitor>
</position>
<fullscreen>yes</fullscreen>
</application>
</applications>
</openbox_config>
<!-- vim:sw=2
-->

View File

@ -1,52 +0,0 @@
;=====================================================
; File Includes
;=====================================================
[section/base]
include-file = /root/.config/polybar/master.conf
include-file = /root/.config/polybar/modules.conf
;=====================================================
; Openbox Bars
;=====================================================
[bar/openbox-bar]
inherit = bar/master
; Use $ xrandr -q | grep " connected" | cut -d ' ' -f1
monitor =
modules-left = jgmenu workspaces
modules-center = window_switch clock
modules-right = ${env:POLYBAR_MODULES:temperature pkg network volume}
;=====================================================
; i3 Bars
;=====================================================
[bar/i3-bar]
inherit = bar/master
; Use $ xrandr -q | grep " connected" | cut -d ' ' -f1
monitor =
modules-left = i3 menu
modules-center = clock
modules-right = ${env:POLYBAR_MODULES:coreuse temperature memory pkg network volume}
;=====================================================
; Bspwm Bars
;=====================================================
[bar/bspwm-bar]
inherit = bar/master
; Use $ xrandr -q | grep " connected" | cut -d ' ' -f1
monitor =
modules-left = bspwm menu
modules-center = clock
modules-right = ${env:POLYBAR_MODULES:coreuse temperature memory pkg network volume}

View File

@ -1,69 +0,0 @@
;=====================================================
; Colors & Settings
;=====================================================
[colors]
background = #1c2023
foreground = #a4a4a4
moderate = #ebcb8b
urgent = #bf616a
trim = #919ba0
blue = #a2d1ec
purple = #b48ead
border = #c0c5ce
[settings]
throttle-output = 5
throttle-output-for = 10
throttle-input-for = 30
compositing-background = source
compositing-foreground = source
compositing-overline = source
compositing-underline = source
compositing-border = source
screenchange-reload = true
format-foreground = ${colors.foreground}
format-background = ${colors.background}
;=====================================================
; Master Bar
;=====================================================
[bar/master]
width = 100%
height = 24
border-size = 0
border-top-size = 0
border-bottom-size = 1
radius = 0
bottom = false
line-size = 3
font-0 = "monospace:size=10:antialias=false;2"
font-1 = "Font Awesome 5 Brands:pixelsize=11;1"
font-2 = "MaterialIcons:size=10:antialias=false;2"
font-3 = "icomoon:size=10:antialias=false;2"
font-4 = "Ubuntu Mono Nerd Font:size=10:antialias=false;2"
offset-x = 0
offset-y = 0
fixed-center = true
border-color = ${colors.border}
background = ${colors.background}
foreground = ${colors.foreground}
module-margin = 0
padding-right = 0
padding-left = 0
separator = │
; shows which modules have click actions
cursor-click = pointer
; with cursor-click = pointer' these cause the entire bar to have click actions
; essentially defeating the purpose, so they are commented out
; scroll-up = pamixer -i 2
; scroll-down = pamixer -d 2
; click-middle = skippy-xd --activate-window-picker
; double-click-left = networkmanager_dmenu
; double-click-middle = skippy-xd --activate-window-picker
; double-click-right = pavucontrol &

View File

@ -1,502 +0,0 @@
;=====================================================
; Modules
;=====================================================
;;;;;;;;;;;;;;;
;; Jgmenu ;;
;;;;;;;;;;;;;;;
[module/jgmenu]
type = custom/script
label = %output%
label-padding = 2
interval = 10
exec = echo ""
click-left = "jgmenu_run >/dev/null 2>&1 &"
click-right = exo-open $HOME/.config/jgmenu/jgmenurc
;;;;;;;;;;;;;;;;;;;;;;;;
;; Openbox Workspaces ;;
;;;;;;;;;;;;;;;;;;;;;;;;
[module/workspaces]
type = internal/xworkspaces
pin-workspaces = false
enable-click = true
enable-scroll = true
format-padding = 0
icon-0 = 1;
icon-1 = 2;
icon-2 = 3;
icon-3 = 4;
icon-4 = 5;
icon-5 = 6;
icon-6 = 7;
icon-7 = 8;
icon-8 = 9;
icon-9 = 10;
icon-default =
format = <label-state>
label-active = %icon% %name%
label-occupied = %icon% %name%
label-urgent = %icon% %name%
label-empty = %icon% %name%
label-occupied-padding = 1
label-empty-padding = 1
label-urgent-padding = 1
label-active-padding = 1
label-active-foreground = ${colors.blue}
label-active-underline = ${colors.blue}
label-occupied-underline = ${colors.moderate}
label-urgent-foreground = ${colors.urgent}
label-urgent-underline = ${colors.urgent}
label-empty-foreground = ${colors.foreground}
;;;;;;;;;;;;;;;;;;;
;; i3 Workspaces ;;
;;;;;;;;;;;;;;;;;;;
[module/i3]
type = internal/i3
pin-workspaces = true
strip-wsnumbers = true
index-sort = true
enable-click = true
fuzzy-match = true
ws-icon-default = 
format = <label-state><label-mode>
label-mode = %mode%
label-mode-padding = 2
label-focused = %index% %name%
label-focused-padding = 2
label-unfocused = %index% %name%
label-unfocused-padding = 2
label-visible = %index% %name%
label-visible-padding = 2
label-urgent = %index% %name%
label-urgent-padding = 2
label-mode-underline = ${colors.urgent}
label-focused-underline = ${colors.blue}
label-visible-underline = ${colors.purple}
label-urgent-underline = ${colors.urgent}
;;;;;;;;;;;;;;;;;;;;
;;Bspwm Workspaces;;
;;;;;;;;;;;;;;;;;;;;
[module/bspwm]
type = internal/bspwm
pin-workspaces = true
inline-mode = false
enable-click = true
enable-scroll = false
reverse-scroll = false
fuzzy-match = false
; ws-icon-[0-9]+ = label;icon
; Note that the label needs to correspond with the bspwm workspace name
ws-icon-0 = I;
ws-icon-1 = II;
ws-icon-2 = III;
ws-icon-3 = IV;
ws-icon-4 = V;
ws-icon-5 = VI;
ws-icon-6 = VII;
ws-icon-7 = VIII;
ws-icon-8 = IX;
ws-icon-9 = X;
;ws-icon-default = ♟
format = <label-state> <label-mode>
label-monitor = %name%
label-mode-padding = 1
label-focused = %icon% %name%
label-focused-padding = 1
label-occupied = %icon% %name%
label-occupied-padding = 1
label-urgent = %icon% %name%
label-urgent-padding = 1
label-empty = %icon% %name%
label-empty-padding = 1
label-dimmed-foreground = ${colors.purple}
label-dimmed-underline = ${colors.purple}
label-dimmed-focused-background = ${colors.purple}
label-focused-foreground = ${colors.blue}
label-focused-underline = ${colors.blue}
label-occupied-underline = ${colors.purple}
label-urgent-foreground = ${colors.urgent}
label-urgent-underline = ${colors.urgent}
; The following labels will be used to indicate the layout/mode
; for the focused workspace. Requires <label-mode>
label-monocle = 
label-tiled = 
label-fullscreen = 
label-floating = 
label-pseudotiled = P
label-locked = 
label-sticky = 
label-private = 
label-sticky-foreground = ${colors.purple}
label-locked-foreground = ${colors.moderate}
label-private-foreground = ${colors.urgent}
;;;;;;;;;;;;;
;; Network ;;
;;;;;;;;;;;;;
[module/network]
type = custom/script
exec = check-network
click-left = networkmanager_dmenu &
click-right = networkmanager_dmenu &
label-padding = 1
tail = true
;;;;;;;;;;;;;;;;;;;
;; Window Switch ;;
;;;;;;;;;;;;;;;;;;;
[module/window_switch]
type = custom/script
interval = 5
label = %output%
click-left = skippy-xd
click-right = skippy-xd
exec = echo "  "
format = <label>
;;;;;;;;;
;; CPU ;;
;;;;;;;;;
[module/coreuse]
type = internal/cpu
interval = 3
format-padding = 1
format = <label> <ramp-coreload>
label = %{A1:termite -e "htop -s PERCENT_CPU" & disown:} %percentage:2%% %{A}
ramp-coreload-0 = ▂
ramp-coreload-1 = ▃
ramp-coreload-2 = ▄
ramp-coreload-3 = ▅
ramp-coreload-4 = ▆
ramp-coreload-5 = ▇
ramp-coreload-0-foreground = ${colors.blue}
ramp-coreload-1-foreground = ${colors.blue}
ramp-coreload-2-foreground = ${colors.moderate}
ramp-coreload-3-foreground = ${colors.moderate}
ramp-coreload-4-foreground = ${colors.urgent}
ramp-coreload-5-foreground = ${colors.urgent}
;;;;;;;;;
;; MEM ;;
;;;;;;;;;
[module/memory]
type = internal/memory
interval = 3
format = <label>
label-padding = 1
label = %{A1:termite -e "htop -s PERCENT_MEM" & disown:} %percentage_used%%%{A}
;;;;;;;;;
;; PKG ;;
;;;;;;;;;
[module/pkg]
type = custom/script
exec = updates.sh
exec-if = "ping -q -w 2 -c 1 176.34.135.167 > /dev/null"
label = %{A1:termite -e "sudo pacman -Syyu" & disown:} %{A3:termite -e "sudo pacman -Syyu" & disown:}%output%%{A} %{A}
tail = true
;;;;;;;;;;;
;; Clock ;;
;;;;;;;;;;;
[module/clock]
type = internal/date
format = <label>
interval = 5
time = %R
label = %{A1:gsimplecal & disown:} %{A3:gsimplecal & disown:} %time%%{A} %{A}
;;;;;;;;;;;;;;;;;
;; TEMPERATURE ;;
;;;;;;;;;;;;;;;;;
[module/temperature]
type = internal/temperature
interval = 3
thermal-zone = 0
warn-temperature = 70
format = <ramp><label>
format-padding = 1
label = %{A1:termite -e "watch sensors" & disown:} %temperature-c%%{A}
ramp-0 = ""
ramp-1 = ""
ramp-2 = ""
ramp-3 = ""
ramp-4 = ""
ramp-0-foreground = ${colors.blue}
ramp-1-foreground = ${colors.blue}
ramp-2-foreground = ${colors.moderate}
ramp-3-foreground = ${colors.moderate}
ramp-4-foreground = ${colors.urgent}
format-warn = <label-warn>
label-warn = " %temperature-c%"
label-warn-padding = 1
label-warn-foreground = ${colors.urgent}
;;;;;;;;;;;;
;; Volume ;;
;;;;;;;;;;;;
[module/volume]
type = internal/alsa
master-mixer = Master
format-volume-padding = 1
label-volume-foreground = ${colors.foreground}
label-volume = %{A3:pavucontrol & disown:}%percentage:2%% %{A}
format-volume = <ramp-volume> <label-volume>
label-muted = " muted "
ramp-volume-0 = 
ramp-volume-1 = 
ramp-volume-2 = 
ramp-volume-3 = 
label-muted-foreground = #888
ramp-volume-0-foreground = ${colors.trim}
ramp-volume-1-foreground = ${colors.blue}
ramp-volume-2-foreground = ${colors.moderate}
ramp-volume-3-foreground = ${colors.urgent}
;;;;;;;;;;;;;
;; BATTERY ;;
;;;;;;;;;;;;;
[module/battery]
type = internal/battery
; Use $ ls -1 /sys/class/power_supply/
battery = ${env:LAPTOP_BATTERY:BAT1}
adapter = ${env:LAPTOP_ADAPTER:ACAD}
full-at = 99
poll-interval = 5
time-format = %H:%M
format-charging = <animation-charging> <label-charging>
format-discharging = <ramp-capacity> <label-discharging>
format-full = <ramp-capacity> <label-full>
label-charging = %{A1:xfce4-power-manager-settings & disown:}%percentage%% %{A}
label-discharging = %{A1:xfce4-power-manager-settings & disown:}%percentage%% %{A}
label-full = %{A1:xfce4-power-manager-settings & disown:}%percentage%% %{A}
ramp-capacity-0 = 
ramp-capacity-1 = 
ramp-capacity-2 = 
ramp-capacity-3 = 
ramp-capacity-4 = 
ramp-capacity-0-foreground = ${colors.urgent}
ramp-capacity-1-foreground = ${colors.moderate}
ramp-capacity-foreground = ${colors.blue}
bar-capacity-width = 10
animation-charging-0 = " "
animation-charging-1 = " "
animation-charging-2 = " "
animation-charging-3 = " "
animation-charging-4 = " "
animation-charging-framerate = 750
;;;;;;;;;;
;; MENU ;;
;;;;;;;;;;
[module/menu]
type = custom/menu
format-spacing = 1
label-open = "  "
label-close = "  "
label-close-foreground = ${colors.urgent}
label-separator = " | "
# Top level
menu-0-0 = "  "
menu-0-0-exec = menu-open-1
menu-0-1 = "  "
menu-0-1-exec = menu-open-2
menu-0-2 = "  |"
menu-0-2-exec = menu-open-3
# 1
menu-1-0 = "  "
menu-1-0-exec = menu-open-0
menu-1-0-foreground = ${colors.urgent}
menu-1-1 = "  "
menu-1-1-exec = exo-open --launch WebBrowser
menu-1-2 = "  "
menu-1-2-exec = exo-open --launch TerminalEmulator
menu-1-3 = "  |"
menu-1-3-exec = exo-open --launch FileManager
# 2
menu-2-0 = "  "
menu-2-0-exec = menu-open-0
menu-2-0-foreground = ${colors.urgent}
menu-2-1 = "  "
menu-2-1-exec = xfce4-settings-manager &
menu-2-2 = "  |"
menu-2-2-exec = pavucontrol &
# 3
menu-3-0 = "  "
menu-3-0-exec = menu-open-0
menu-3-0-foreground = ${colors.urgent}
menu-3-1 = "  "
menu-3-1-exec = i3lock-fancy -p -f Ubuntu &
menu-3-2 = "  "
menu-3-2-exec = systemctl -i reboot
menu-3-3 = "  |"
menu-3-3-exec = systemctl -i poweroff
;;;;;;;;;;;;;;;;;;;;
;; Compton Toggle ;;
;;;;;;;;;;;;;;;;;;;;
[module/compton_toggle]
type = custom/script
tail = true
label = %output%
click-left = toggle.sh -c -t &
exec = toggle.sh -c
format = <label>
;;;;;;;;;;;;;;;
;; KEYBOARD ;;
;;;;;;;;;;;;;;;
[module/keyboard]
type = internal/xkeyboard
blacklist-0 = scroll lock
format = <label-layout> <label-indicator>
format-spacing = 0
label-layout =  %layout%
label-indicator = %name%
label-indicator-padding = 2
label-indicator-background = ${colors.purple}
;;;;;;;;;;;;;;
;; ETHERNET ;;
;;;;;;;;;;;;;;
[module/wired-network]
type = internal/network
interface =
format-connected = <label-connected>
format-disconnected = <label-disconnected>
label-connected =  %local_ip%
format-connected-foreground = ${colors.purple}
;;;;;;;;;;;;;;
;; REDSHIFT ;;
;;;;;;;;;;;;;;
[module/redshift]
type = custom/script
tail = true
exec = toggle.sh -r
label = %output%
click-left = toggle.sh -r -t &
;;;;;;;;;;;;;;;;
;; FILESYSTEM ;;
;;;;;;;;;;;;;;;;
[module/filesystem]
type = internal/fs
format-mounted = <label-mounted>
label-mounted = %mountpoint% : %percentage_free%%
mount-0 = /
interval = 1200
fixed-values = false
spacing = 2
label-mounted-foreground = ${colors.moderate}
;;;;;;;;;
;; MPD ;;
;;;;;;;;;
[module/mpd]
type = internal/mpd
format-online = <bar-progress> <icon-prev> <icon-stop> <toggle> <icon-next> <label-song>
format-offline = <label-offline>
bar-progress-format = %{+o +u}%fill%%{-o -u}%indicator%%{+o +u}%empty%%{-u -o}
label-offline = mpd is off
format-online-prefix = " "
icon-play = 
icon-pause = 
icon-stop = 
icon-prev = 
icon-next = 
icon-random = 
icon-repeat = 
toggle-on-foreground =
toggle-off-foreground = #55
bar-progress-width = 35
bar-progress-indicator = █
bar-progress-fill = █
bar-progress-empty = ▒
bar-progress-empty-font = 2
bar-progress-indicator-font = 2
bar-progress-fill-font = 2
bar-progress-fill-foreground = #bb
bar-progress-empty-foreground = #44
bar-progress-indicator-foreground = #A85659
;;;;;;;;;;
;; WIFI ;;
;;;;;;;;;;
[module/wireless-network]
type = internal/network
interface =
format-connected = <ramp-signal> <label-connected>
format-packetloss = <animation-packetloss>
label-connected = %local_ip%
ramp-signal-0 = 
ramp-signal-1 = 
ramp-signal-2 = 
ramp-signal-3 = 
ramp-signal-4 = 
ramp-signal-5 = 
ramp-signal-0-foreground = ${colors.urgent}
ramp-signal-1-foreground = ${colors.purple}
ramp-signal-2-foreground = ${colors.moderate}
ramp-signal-3-foreground = ${colors.moderate}
ramp-signal-4-foreground = ${colors.blue}
ramp-signal-5-foreground = ${colors.blue}
animation-packetloss-0 = ⚠
animation-packetloss-1 = !
animation-packetloss-0-foreground = ${colors.moderate}
animation-packetloss-1-foreground = ${colors.urgent}
animation-packetloss-framerate = 500
;;;;;;;;;;;;;;;;
;; VOLUME BAR ;;
;;;;;;;;;;;;;;;;
[module/volume-bar]
type = internal/volume
bar-volume-font = 2
bar-volume-width = 20
format-volume = <label-volume><bar-volume>
label-volume = "  "
label-muted = "  mute"
label-volume-foreground = #B6C2E7
format-muted-foreground = #E76BB4
bar-volume-foreground-0 = #92A3F7
bar-volume-foreground-1 = #92A3F7
bar-volume-foreground-2 = #6BB3E7
bar-volume-foreground-3 = #6BB3E7
bar-volume-foreground-4 = #6BB3E7
bar-volume-foreground-5 = #6BE7D8
bar-volume-foreground-6 = #6BE7D8
bar-volume-gradient = true
bar-volume-indicator = |
bar-volume-fill = •
bar-volume-empty = ·
bar-volume-empty-foreground = #666666

View File

@ -1,7 +0,0 @@
# Polybar bspwm Sessionfile
# DO NO edit this file, it will be overwritten by al-polyzen
# Instead make a custom sessionfile and use the -z FILE or --session FILE option
# To load session at startup use the following line
# sleep 1; al-polybar-session &
/root/.config/polybar/config bspwm-bar

View File

@ -1,7 +0,0 @@
# Polybar i3 Sessionfile
# DO NO edit this file, it will be overwritten by al-polyzen
# Instead make a custom sessionfile and use the -z FILE or --session FILE option
# To load session at startup use the following line
# sleep 1; al-polybar-session &
/root/.config/polybar/config i3-bar

View File

@ -1,7 +0,0 @@
# Polybar openbox Sessionfile
# DO NO edit this file, it will be overwritten by al-polyzen
# Instead make a custom sessionfile and use the -z FILE or --session FILE option
# To load session at startup use the following line
# sleep 1; al-polybar-session &
/root/.config/polybar/config openbox-bar

View File

@ -1,7 +0,0 @@
# Polybar base sessionfile
# DO NO edit this file, it will be overwritten by al-polyzen
# Instead make a custom sessionfile and use the -z FILE or --session FILE option
# To load session at startup use the following line
# sleep 1; al-polybar-session &
/root/.config/polybar/config openbox-bar