From 5dec7f49e6365d4ef9b3c9287c7e3c1ece9ee499 Mon Sep 17 00:00:00 2001 From: Clay Gomera Date: Tue, 4 Jan 2022 22:00:42 -0400 Subject: [PATCH] fixed some stuff added support for picom-jonaburg-fix and did some fixes in the awesome config --- config/awesome/config.org | 4 ++-- config/awesome/rc.lua | 4 ++-- config/picom.conf | 12 ++++++++++++ 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/config/awesome/config.org b/config/awesome/config.org index 810230ffe..05255b866 100644 --- a/config/awesome/config.org +++ b/config/awesome/config.org @@ -340,7 +340,7 @@ globalkeys = my_table.join( {description = "show rofi run menu", group = "hotkeys"}), awful.key({ modkey }, "Tab", function () awful.spawn(string.format("rofi -show window", beautiful.bg_normal, beautiful.fg_normal, beautiful.bg_focus, beautiful.fg_focus)) end, {description = "show rofi window menu", group = "hotkeys"}), - awful.key({ modkey }, "w", function () awful.util.spawn("~/.shell-scripts/./rofi-wifi-menu.sh") end, + awful.key({ modkey }, "w", function () awful.util.spawn("/home/drk/.shell-scripts/./rofi-wifi-menu.sh") end, {description = "show rofi wifi menu", group = "hotkeys"}), -- Keyboard Layouts @@ -652,6 +652,6 @@ You know what is this, the things that will open with you sign in. Like setting #+begin_src lua awful.util.spawn_with_shell("nitrogen --restore") awful.util.spawn_with_shell("lxpolkit") -awful.util.spawn_with_shell("picom") +awful.util.spawn_with_shell("picom --experimental-backend --config ~/.config/picom.conf") awful.util.spawn_with_shell("/usr/bin/emacs --daemon &") #+end_src diff --git a/config/awesome/rc.lua b/config/awesome/rc.lua index 30006a9dc..0237259c8 100644 --- a/config/awesome/rc.lua +++ b/config/awesome/rc.lua @@ -255,7 +255,7 @@ globalkeys = my_table.join( {description = "show rofi run menu", group = "hotkeys"}), awful.key({ modkey }, "Tab", function () awful.spawn(string.format("rofi -show window", beautiful.bg_normal, beautiful.fg_normal, beautiful.bg_focus, beautiful.fg_focus)) end, {description = "show rofi window menu", group = "hotkeys"}), - awful.key({ modkey }, "w", function () awful.util.spawn("~/.shell-scripts/./rofi-wifi-menu.sh") end, + awful.key({ modkey }, "w", function () awful.util.spawn("/home/drk/.shell-scripts/./rofi-wifi-menu.sh") end, {description = "show rofi wifi menu", group = "hotkeys"}), -- Keyboard Layouts @@ -551,5 +551,5 @@ client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_n awful.util.spawn_with_shell("nitrogen --restore") awful.util.spawn_with_shell("lxpolkit") -awful.util.spawn_with_shell("picom") +awful.util.spawn_with_shell("picom --experimental-backend --config ~/.config/picom.conf") awful.util.spawn_with_shell("/usr/bin/emacs --daemon &") diff --git a/config/picom.conf b/config/picom.conf index 3787ad9ea..f8a1907ca 100755 --- a/config/picom.conf +++ b/config/picom.conf @@ -5,6 +5,18 @@ ## |____/|_| \_\_|\_\ ## +################################# +# Animations # +################################# +# requires https://github.com/jonaburg/picom +# (These are also the default values) +transition-length = 300 +transition-pow-x = 0.1 +transition-pow-y = 0.1 +transition-pow-w = 0.1 +transition-pow-h = 0.1 +size-transition = true + ################################# # Shadows # #################################