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 -- Apps
local apps = { local apps = {
terminal = "alacritty", terminal = "alacritty",
editor = "alacritty -e nvim", editor = "emacsclient -c -a emacs",
music = "alacritty -t cmus --class cmus,cmus -e cmus", music = "alacritty -t cmus --class cmus,cmus -e cmus",
chat = "alacritty -t gomuks --class gomuks,gomuks -e gomuks", chat = "alacritty -t gomuks --class gomuks,gomuks -e gomuks",
game = "retroarch", game = "retroarch",

View file

@ -1,5 +1,6 @@
local awful = require("awful") local awful = require("awful")
awful.util.spawn_with_shell("lxpolkit &") 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("$HOME/.fehbg &")
awful.util.spawn_with_shell("unclutter --hide-on-touch &") awful.util.spawn_with_shell("unclutter --hide-on-touch &")
awful.util.spawn_with_shell("picom --experimental-backends --config ~/.config/picom/picom.conf &") 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", "Blueman-manager",
"Gpick", "Gpick",
"Kruler", "Kruler",
"Sxiv",
"Tor Browser", "Tor Browser",
"Wpa_gui", "Wpa_gui",
"veromix", "veromix",
@ -68,6 +67,7 @@ ruled.client.connect_signal("request::rules", function()
"librewolf", "librewolf",
"Firefox", "Firefox",
"Chromium", "Chromium",
"Bitwarden",
"qutebrowser" "qutebrowser"
} }
}, },
@ -114,7 +114,6 @@ ruled.client.connect_signal("request::rules", function()
"krita", "krita",
"Inkscape", "Inkscape",
"Xournalpp", "Xournalpp",
"Bitwarden"
} }
}, },
properties = { tag = "" } properties = { tag = "" }
@ -123,14 +122,25 @@ ruled.client.connect_signal("request::rules", function()
ruled.client.append_rule { ruled.client.append_rule {
rule_any = { class = { rule_any = { class = {
"DesktopEditors", "DesktopEditors",
"libreoffice.*",
"Joplin" "Joplin"
} },
instance = {
"libreoffice.*"
},
name = {
"libreoffice.*"
}
}, },
properties = { tag = "" } properties = { tag = "" }
} }
-- TAG 9 -- TAG 9
ruled.client.append_rule { ruled.client.append_rule {
rule = { class = "retroarch" }, rule_any = { class = {
"retroarch",
"steam"
}
},
properties = { tag = "" } 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("core.apps")
require("theme.init") require("theme.init")
require("core.layouts") require("core.layouts")
require("core.signals")
require("core.bar.bar") require("core.bar.bar")
require("core.bindings") require("core.bindings")
require("core.rules") require("core.rules")

View file

@ -34,8 +34,8 @@ theme.bg_urgent = "#a89984"
-- {{{ Borders -- {{{ Borders
theme.useless_gap = dpi(5) theme.useless_gap = dpi(5)
theme.border_width = dpi(2) theme.border_width = dpi(3)
theme.border_normal = "#665c54" theme.border_normal = "#504945"
theme.border_focus = "#9d0006" theme.border_focus = "#9d0006"
theme.border_marked = "#9d0006" theme.border_marked = "#9d0006"
-- }}} -- }}}

View file

@ -18,35 +18,35 @@ animation-dampening = 16;
animation-window-mass = 1; animation-window-mass = 1;
animation-clamping = true; animation-clamping = true;
animation-delta = 16; animation-delta = 16;
#animation-force-steps = false; #animation-force-steps = true;
## Shadows ## Shadows
shadow = true; shadow = false;
shadow-radius = 10; #shadow-radius = 8;
# shadow-opacity = .75 #shadow-opacity = .90
shadow-offset-x = -10; #shadow-offset-x = -10;
shadow-offset-y = -10; #shadow-offset-y = -10;
# shadow-red = 0 # shadow-red = 0
# shadow-green = 0 # shadow-green = 0
# shadow-blue = 0 # shadow-blue = 0
# shadow-color = "#000000" # shadow-color = "#000000"
shadow-exclude = [ #shadow-exclude = [
"name = 'Notification'", # "name = 'Notification'",
"class_g = 'Conky'", # "class_g = 'Conky'",
"class_g ?= 'Notify-osd'", # "class_g ?= 'Notify-osd'",
"class_g = 'Cairo-clock'", # "class_g = 'Cairo-clock'",
"_GTK_FRAME_EXTENTS@:c" # "_GTK_FRAME_EXTENTS@:c"
]; #];
## Fading ## Fading
fading = true; fading = false;
fade-in-step = 0.05; #fade-in-step = 0.05;
fade-out-step = 0.05; #fade-out-step = 0.05;
fade-delta = 8 #fade-delta = 8
fade-exclude = [] #fade-exclude = []
no-fading-openclose = false #no-fading-openclose = false
no-fading-destroyed-argb = false #no-fading-destroyed-argb = false
## Transparency and opacity ## Transparency and opacity
inactive-opacity = 1.00; inactive-opacity = 1.00;
@ -55,32 +55,15 @@ inactive-opacity-override = false;
focus-exclude = [ "class_g = 'Cairo-clock'" ]; focus-exclude = [ "class_g = 'Cairo-clock'" ];
# opaity-rule = [] # 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 ## General Settings
backend = "glx"; backend = "xrender";
vsync = true; vsync = true;
dbe = false; dbe = false;
detect-client-opacity = true; detect-client-opacity = true;
refresh-rate = 0; refresh-rate = 60;
detect-transient = true; detect-transient = true;
glx-no-stencil = true; glx-no-stencil = true;
use-damage = false; use-damage = true;
unredir-if-possible = true; unredir-if-possible = true;
unredir-if-possible-exclude = [ unredir-if-possible-exclude = [
"class_g = 'looking-glass-client' && !focused" "class_g = 'looking-glass-client' && !focused"