all repos — dotfiles @ 66dbb0a9d095bec2f6a6af923c3c8f8200eeaef1

random configuration files

update POC controller-based desktop config
Iris Lightshard nilix@nilfm.cc
PGP Signature
-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQR2zYvweXfSPsSU6pP1Tg1AaVJx1AUCZWOdPQAKCRD1Tg1AaVJx
1OewAP9wbHXlwSiD1/aUAxYRNEwcN+izgxrSJmUq0zfxyohG/QD+PnwarrbOl4X9
UxHFUqvSQBjfNGYdNWoxhMwXJsqjEQs=
=66Kd
-----END PGP SIGNATURE-----
commit

66dbb0a9d095bec2f6a6af923c3c8f8200eeaef1

parent

557263eaa6492c14374ab90c73721989e2bb7142

4 files changed, 335 insertions(+), 38 deletions(-)

jump to
D compton.conf

@@ -1,25 +0,0 @@

-vsync = "opengl" -unredir-if-possible = true - -frame-opacity = 1 - -opacity-rule = [ - "85:window_type *= 'menu'", - "85:window_type *= 'dock'", - "85:window_type *= 'tooltip'", - "85:window_type *= 'notif'", - "85:name = 'acme'", - "85:class_i *= 'rxvt'", - "85:id = 0x803752", - "85:id = 0x800258", - "85:id = 0x800254", - "85:id = 0x803756", - "85:id = 0x120025a" -]; - -shadow-exclude = [ - "name = 'Notification'", - "name = 'dzen title'", - "window_type *= 'dock'", - "id = 0x120025a" -];
A desktop.controller.amgp

@@ -0,0 +1,270 @@

+<?xml version="1.0" encoding="UTF-8"?> +<gamecontroller configversion="19" appversion="3.3.4"> + <!--The SDL name for a joystick is included for informational purposes only.--> + <sdlname>Afterglow Gamepad for PS3</sdlname> + <!--The Unique ID for a joystick is included for informational purposes only.--> + <uniqueID>0300d3b76f0e000011010000110100003695273</uniqueID> + <stickAxisAssociation index="2" xAxis="3" yAxis="4"/> + <stickAxisAssociation index="1" xAxis="1" yAxis="2"/> + <vdpadButtonAssociations index="1"> + <vdpadButtonAssociation axis="0" button="12" direction="1"/> + <vdpadButtonAssociation axis="0" button="13" direction="4"/> + <vdpadButtonAssociation axis="0" button="14" direction="8"/> + <vdpadButtonAssociation axis="0" button="15" direction="2"/> + </vdpadButtonAssociations> + <names> + <controlstickname index="2">Stick 2</controlstickname> + <controlstickname index="1">Stick 1</controlstickname> + </names> + <sets> + <!-- main set is for general GUI operations --> + <set index="1"> + + <!-- right stick scrolls --> + <stick index="2"> + <stickbutton index="7"> + <slots> + <slot> + <code>6</code> + <mode>mousebutton</mode> + </slot> + </slots> + </stickbutton> + <stickbutton index="5"> + <slots> + <slot> + <code>5</code> + <mode>mousebutton</mode> + </slot> + </slots> + </stickbutton> + <stickbutton index="3"> + <slots> + <slot> + <code>7</code> + <mode>mousebutton</mode> + </slot> + </slots> + </stickbutton> + <stickbutton index="1"> + <slots> + <slot> + <code>4</code> + <mode>mousebutton</mode> + </slot> + </slots> + </stickbutton> + </stick> + + <!-- left stick moves the mouse pointer --> + <stick index="1"> + <stickbutton index="7"> + <slots> + <slot> + <code>3</code> + <mode>mousemovement</mode> + </slot> + </slots> + </stickbutton> + <stickbutton index="5"> + <slots> + <slot> + <code>2</code> + <mode>mousemovement</mode> + </slot> + </slots> + </stickbutton> + <stickbutton index="3"> + <slots> + <slot> + <code>4</code> + <mode>mousemovement</mode> + </slot> + </slots> + </stickbutton> + <stickbutton index="1"> + <slots> + <slot> + <code>1</code> + <mode>mousemovement</mode> + </slot> + </slots> + </stickbutton> + </stick> + + <!-- dpad is mapped to arrow keys --> + <dpad index="1"> + <dpadbutton index="8"> + <slots> + <slot> + <code>0x1000012</code> + <mode>keyboard</mode> + </slot> + </slots> + </dpadbutton> + <dpadbutton index="4"> + <slots> + <slot> + <code>0x1000015</code> + <mode>keyboard</mode> + </slot> + </slots> + </dpadbutton> + <dpadbutton index="2"> + <slots> + <slot> + <code>0x1000014</code> + <mode>keyboard</mode> + </slot> + </slots> + </dpadbutton> + <dpadbutton index="1"> + <slots> + <slot> + <code>0x1000013</code> + <mode>keyboard</mode> + </slot> + </slots> + </dpadbutton> + </dpad> + + + <!-- R&L 1&2 are modbuttons --> + <trigger index="6"> + <deadZone>2000</deadZone> + <throttle>positivehalf</throttle> + <triggerbutton index="2"> + <slots> + <slot> + <code>0x1000023</code> + <mode>keyboard</mode> + </slot> + </slots> + </triggerbutton> + </trigger> + <trigger index="5"> + <deadZone>2000</deadZone> + <throttle>positivehalf</throttle> + <triggerbutton index="2"> + <slots> + <slot> + <code>0x1000020</code> + <mode>keyboard</mode> + </slot> + </slots> + </triggerbutton> + </trigger> + + <button index="11"> + <slots> + <slot> + <code>0x1000021</code> + <mode>keyboard</mode> + </slot> + </slots> + </button> + <button index="10"> + <slots> + <slot> + <code>0x1000022</code> + <mode>keyboard</mode> + </slot> + </slots> + </button> + <!-- face buttons: { sqare: button1, x: button2, circle: button3, triangle: esc } --> + <button index="4"> + <slots> + <slot> + <code>0x1000000</code> + <mode>keyboard</mode> + </slot> + </slots> + </button> + <button index="3"> + <slots> + <slot> + <code>1</code> + <mode>mousebutton</mode> + </slot> + </slots> + </button> + <button index="2"> + <slots> + <slot> + <code>3</code> + <mode>mousebutton</mode> + </slot> + </slots> + </button> + <button index="1"> + <slots> + <slot> + <code>2</code> + <mode>mousebutton</mode> + </slot> + </slots> + </button> + + + <!-- select = tab, start = enter --> + <button index="7"> + <slots> + <slot> + <code>0x1000004</code> + <mode>keyboard</mode> + </slot> + </slots> + </button> + + <button index="5"> + <slots> + <slot> + <code>0x1000001</code> + <mode>keyboard</mode> + </slot> + </slots> + </button> + + + <!-- R3 toggles svkbd --> + <button index="9"> + <slots> + <slot> + <path>/home/nilix/bin/togglekb.sh</path> + <mode>execute</mode> + </slot> + </slots> + </button> + + <!-- guide button changes to set 2 --> + <button index="6"> + <slots> + <slot> + <code>1</code> + <mode>setchange</mode> + </slot> + </slots> + </button> + </set> + + <!-- this set is empty so that game configs can take over the controller bindings --> + <set index="2"> + <trigger index="6"> + <throttle>positivehalf</throttle> + </trigger> + <trigger index="5"> + <throttle>positivehalf</throttle> + </trigger> + + <!-- guide button toggles back to set 1 --> + <button index="6"> + <slots> + <slot> + <code>0</code> + <mode>setchange</mode> + </slot> + </slots> + </button> + </set> + </sets> +</gamecontroller>
M openbox/rc.xmlopenbox/rc.xml

@@ -55,7 +55,7 @@ -->

<keepBorder>yes</keepBorder> <animateIconify>no</animateIconify> <font place="ActiveWindow"> - <name>Literation Sans Nerd Font</name> + <name>LiterationSans Nerd Font</name> <size>10</size> <!-- font size in points --> <weight>Normal</weight>

@@ -64,7 +64,7 @@ <slant>Normal</slant>

<!-- 'italic' or 'normal' --> </font> <font place="InactiveWindow"> - <name>Literation Sans Nerd Font</name> + <name>LiterationSans Nerd Font</name> <size>10</size> <!-- font size in points --> <weight>Normal</weight>

@@ -164,7 +164,7 @@ <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->

<floatingX>906</floatingX> <floatingY>806</floatingY> <noStrut>no</noStrut> - <stacking>Normal</stacking> + <stacking>Below</stacking> <!-- 'Above', 'Normal', or 'Below' --> <direction>Horizontal</direction> <!-- 'Vertical' or 'Horizontal' -->

@@ -233,7 +233,6 @@ </then>

</action> </keybind> <!-- let zentile handle cycling through non-minimized windows --> - <keybind key="A-Tab"> <action name="NextWindow"> <raise>yes</raise>

@@ -243,11 +242,8 @@ <linear>yes</linear>

<interactive>no</interactive> <allDesktops>no</allDesktops> <finalactions> - - <action name="Focus"/> - <action name="Raise"/> - - + <action name="Focus"/> + <action name="Raise"/> </finalactions> </action> </keybind>

@@ -684,7 +680,8 @@ <!-- 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><!-- + <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

@@ -775,6 +772,59 @@ <maximized>true</maximized> # 'Horizontal', 'Vertical' or boolean (yes/no)

</application> # end of the example ---><application class="Audacious"><decor>yes</decor></application><application name="status" class="URxvt"><skip_pager>yes</skip_pager><skip_taskbar>yes</skip_taskbar><desktop>all</desktop><decor>no</decor><layer force="yes">below</layer><position force="yes"><x>-4</x><y>-26</y></position></application><application name="dmesg" class="URxvt"><skip_pager>yes</skip_pager><skip_taskbar>yes</skip_taskbar><desktop>all</desktop><decor>no</decor><layer force="yes">below</layer><position force="yes"><x>-4</x><y>-126</y></position></application><application title="navigator" class="URxvt"><desktop>all</desktop><layer>above</layer><position force="yes"><x>center</x><y>center</y></position></application><application name="xosview"><desktop>all</desktop><skip_pager>yes</skip_pager><skip_taskbar>yes</skip_taskbar><iconic>no</iconic><decor>no</decor><position force="yes"><x>0</x><y>0</y></position></application>s&gt; -</applications> +--> + <application class="Audacious"> + <decor>yes</decor> + </application> + <application name="status" class="URxvt"> + <skip_pager>yes</skip_pager> + <skip_taskbar>yes</skip_taskbar> + <desktop>all</desktop> + <decor>no</decor> + <layer force="yes">below</layer> + <position force="yes"> + <x>-4</x> + <y>-26</y> + </position> + </application> + <application name="dmesg" class="URxvt"> + <skip_pager>yes</skip_pager> + <skip_taskbar>yes</skip_taskbar> + <desktop>all</desktop> + <decor>no</decor> + <layer force="yes">below</layer> + <position force="yes"> + <x>-4</x> + <y>-126</y> + </position> + </application> + <application title="navigator" class="URxvt"> + <desktop>all</desktop> + <layer>above</layer> + <position force="yes"> + <x>center</x> + <y>center</y> + </position> + </application> + <application name="xosview"> + <desktop>all</desktop> + <skip_pager>yes</skip_pager> + <skip_taskbar>yes</skip_taskbar> + <iconic>no</iconic> + <decor>no</decor> + <position force="yes"> + <x>0</x> + <y>0</y> + </position> + </application> + <application class="svkbd"> + <decor>no</decor> + <layer>above</layer> + <position force="yes"> + <x>0</x> + <y>-0</y> + </position> + <desktop>all</desktop> + </application> + </applications> </openbox_config>
M picom.confpicom.conf

@@ -2,7 +2,9 @@ opacity-rule = [

"85:class_g = 'st-256color'", "85:class_g = 'acme'", "85:class_g = 'kate'", - "85:window_type = 'dock'" + "85:window_type = 'dock'", + "85:class_g = 'taro' && (name = 'taro-compose' || name = 'taro-reader')", + "85:class_g = 'svkbd'" ] shadow-exclude = [ "window_type = 'dock'"