switched back to emacs

This commit is contained in:
Clay Gomera 2022-09-15 19:21:05 -04:00
parent ef793f2585
commit 5abc9bf5be
7 changed files with 41 additions and 55 deletions

View file

@ -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",

View file

@ -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 &")

View file

@ -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 = "" }
}
--}}}

View file

@ -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)

View file

@ -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")

View file

@ -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"
-- }}}

View file

@ -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"