From 66dbb0a9d095bec2f6a6af923c3c8f8200eeaef1 Mon Sep 17 00:00:00 2001 From: Derek Stevens Date: Sun, 26 Nov 2023 12:32:13 -0700 Subject: [PATCH] update POC controller-based desktop config --- compton.conf | 25 ---- desktop.controller.amgp | 270 ++++++++++++++++++++++++++++++++++++++++ openbox/rc.xml | 74 +++++++++-- picom.conf | 4 +- 4 files changed, 335 insertions(+), 38 deletions(-) delete mode 100644 compton.conf create mode 100644 desktop.controller.amgp diff --git a/compton.conf b/compton.conf deleted file mode 100644 index 73ed5c9..0000000 --- a/compton.conf +++ /dev/null @@ -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" -]; diff --git a/desktop.controller.amgp b/desktop.controller.amgp new file mode 100644 index 0000000..9ac13b2 --- /dev/null +++ b/desktop.controller.amgp @@ -0,0 +1,270 @@ + + + + Afterglow Gamepad for PS3 + + 0300d3b76f0e000011010000110100003695273 + + + + + + + + + + Stick 2 + Stick 1 + + + + + + + + + + + 6 + mousebutton + + + + + + + 5 + mousebutton + + + + + + + 7 + mousebutton + + + + + + + 4 + mousebutton + + + + + + + + + + + 3 + mousemovement + + + + + + + 2 + mousemovement + + + + + + + 4 + mousemovement + + + + + + + 1 + mousemovement + + + + + + + + + + + 0x1000012 + keyboard + + + + + + + 0x1000015 + keyboard + + + + + + + 0x1000014 + keyboard + + + + + + + 0x1000013 + keyboard + + + + + + + + + 2000 + positivehalf + + + + 0x1000023 + keyboard + + + + + + 2000 + positivehalf + + + + 0x1000020 + keyboard + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + positivehalf + + + positivehalf + + + + + + + diff --git a/openbox/rc.xml b/openbox/rc.xml index 11ee56d..493fbd9 100755 --- a/openbox/rc.xml +++ b/openbox/rc.xml @@ -55,7 +55,7 @@ yes no - Literation Sans Nerd Font + LiterationSans Nerd Font 10 Normal @@ -64,7 +64,7 @@ - Literation Sans Nerd Font + LiterationSans Nerd Font 10 Normal @@ -164,7 +164,7 @@ 906 806 no - Normal + Below Horizontal @@ -233,7 +233,6 @@ - yes @@ -243,11 +242,8 @@ no no - - - - - + + @@ -684,7 +680,8 @@ yes - yesyesyesallnobelow-4-26yesyesallnobelow-4-126allabovecentercenterallyesyesnono00s> - +--> + + yes + + + yes + yes + all + no + below + + -4 + -26 + + + + yes + yes + all + no + below + + -4 + -126 + + + + all + above + + center + center + + + + all + yes + yes + no + no + + 0 + 0 + + + + no + above + + 0 + -0 + + all + + diff --git a/picom.conf b/picom.conf index 184ed98..f4858a6 100644 --- a/picom.conf +++ b/picom.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'"