diff --git a/user/.config/awesome/core/apps.lua b/user/.config/awesome/core/apps.lua index f8ce3c0a9..72337f302 100644 --- a/user/.config/awesome/core/apps.lua +++ b/user/.config/awesome/core/apps.lua @@ -1,7 +1,7 @@ -- Apps local apps = { terminal = "alacritty", -editor = "alacritty -e nvim", +editor = "emacsclient -c -a emacs", music = "alacritty -t cmus --class cmus,cmus -e cmus", chat = "alacritty -t gomuks --class gomuks,gomuks -e gomuks", game = "retroarch", diff --git a/user/.config/awesome/core/autostart.lua b/user/.config/awesome/core/autostart.lua index 83d9874cd..96074c9dc 100644 --- a/user/.config/awesome/core/autostart.lua +++ b/user/.config/awesome/core/autostart.lua @@ -1,5 +1,6 @@ local awful = require("awful") awful.util.spawn_with_shell("lxpolkit &") +awful.util.spawn_with_shell("/usr/bin/emacs --daemon &") awful.util.spawn_with_shell("$HOME/.fehbg &") awful.util.spawn_with_shell("unclutter --hide-on-touch &") awful.util.spawn_with_shell("picom --experimental-backends --config ~/.config/picom/picom.conf &") diff --git a/user/.config/awesome/core/rules.lua b/user/.config/awesome/core/rules.lua index fe20489ef..399ce562b 100644 --- a/user/.config/awesome/core/rules.lua +++ b/user/.config/awesome/core/rules.lua @@ -26,7 +26,6 @@ ruled.client.connect_signal("request::rules", function() "Blueman-manager", "Gpick", "Kruler", - "Sxiv", "Tor Browser", "Wpa_gui", "veromix", @@ -68,6 +67,7 @@ ruled.client.connect_signal("request::rules", function() "librewolf", "Firefox", "Chromium", + "Bitwarden", "qutebrowser" } }, @@ -114,7 +114,6 @@ ruled.client.connect_signal("request::rules", function() "krita", "Inkscape", "Xournalpp", - "Bitwarden" } }, properties = { tag = "" } @@ -123,14 +122,25 @@ ruled.client.connect_signal("request::rules", function() ruled.client.append_rule { rule_any = { class = { "DesktopEditors", + "libreoffice.*", "Joplin" - } + }, + instance = { + "libreoffice.*" + }, + name = { + "libreoffice.*" + } }, properties = { tag = "" } } -- TAG 9 ruled.client.append_rule { - rule = { class = "retroarch" }, + rule_any = { class = { + "retroarch", + "steam" + } + }, properties = { tag = "" } } --}}} diff --git a/user/.config/awesome/core/signals.lua b/user/.config/awesome/core/signals.lua deleted file mode 100644 index 02fec6bc1..000000000 --- a/user/.config/awesome/core/signals.lua +++ /dev/null @@ -1,7 +0,0 @@ -local gears = require("gears") - -client.connect_signal("manage", function (c) - c.shape = function(cr,w,h) - gears.shape.rounded_rect(cr,w,h,10) - end -end) diff --git a/user/.config/awesome/rc.lua b/user/.config/awesome/rc.lua index 38590935e..a2cdbca1b 100644 --- a/user/.config/awesome/rc.lua +++ b/user/.config/awesome/rc.lua @@ -2,7 +2,6 @@ require("core.error_handling") require("core.apps") require("theme.init") require("core.layouts") -require("core.signals") require("core.bar.bar") require("core.bindings") require("core.rules") diff --git a/user/.config/awesome/theme/gruvbox/theme.lua b/user/.config/awesome/theme/gruvbox/theme.lua index 540559d0e..30eeb3fc1 100644 --- a/user/.config/awesome/theme/gruvbox/theme.lua +++ b/user/.config/awesome/theme/gruvbox/theme.lua @@ -34,8 +34,8 @@ theme.bg_urgent = "#a89984" -- {{{ Borders theme.useless_gap = dpi(5) -theme.border_width = dpi(2) -theme.border_normal = "#665c54" +theme.border_width = dpi(3) +theme.border_normal = "#504945" theme.border_focus = "#9d0006" theme.border_marked = "#9d0006" -- }}} diff --git a/user/.config/picom/picom.conf b/user/.config/picom/picom.conf index 989d4479e..e9876b154 100644 --- a/user/.config/picom/picom.conf +++ b/user/.config/picom/picom.conf @@ -18,35 +18,35 @@ animation-dampening = 16; animation-window-mass = 1; animation-clamping = true; animation-delta = 16; -#animation-force-steps = false; +#animation-force-steps = true; ## Shadows -shadow = true; -shadow-radius = 10; -# shadow-opacity = .75 -shadow-offset-x = -10; -shadow-offset-y = -10; +shadow = false; +#shadow-radius = 8; +#shadow-opacity = .90 +#shadow-offset-x = -10; +#shadow-offset-y = -10; # shadow-red = 0 # shadow-green = 0 # shadow-blue = 0 # shadow-color = "#000000" -shadow-exclude = [ - "name = 'Notification'", - "class_g = 'Conky'", - "class_g ?= 'Notify-osd'", - "class_g = 'Cairo-clock'", - "_GTK_FRAME_EXTENTS@:c" -]; +#shadow-exclude = [ +# "name = 'Notification'", +# "class_g = 'Conky'", +# "class_g ?= 'Notify-osd'", +# "class_g = 'Cairo-clock'", +# "_GTK_FRAME_EXTENTS@:c" +#]; ## Fading -fading = true; -fade-in-step = 0.05; -fade-out-step = 0.05; -fade-delta = 8 -fade-exclude = [] -no-fading-openclose = false -no-fading-destroyed-argb = false +fading = false; +#fade-in-step = 0.05; +#fade-out-step = 0.05; +#fade-delta = 8 +#fade-exclude = [] +#no-fading-openclose = false +#no-fading-destroyed-argb = false ## Transparency and opacity inactive-opacity = 1.00; @@ -55,32 +55,15 @@ inactive-opacity-override = false; focus-exclude = [ "class_g = 'Cairo-clock'" ]; # opaity-rule = [] -## Blur -blur: { - method = "kawase"; - strength = 5; - # deviation = 1.0; - # kernel = "11x11gaussian"; - background = false; - background-frame = false; - background-fixed = false; - kern = "3x3box"; -} -blur-background-exclude = [ - #"window_type = 'dock'", - #"window_type = 'desktop'", - "_GTK_FRAME_EXTENTS@:c" -]; - ## General Settings -backend = "glx"; +backend = "xrender"; vsync = true; dbe = false; detect-client-opacity = true; -refresh-rate = 0; +refresh-rate = 60; detect-transient = true; glx-no-stencil = true; -use-damage = false; +use-damage = true; unredir-if-possible = true; unredir-if-possible-exclude = [ "class_g = 'looking-glass-client' && !focused"