updates for awesome
This commit is contained in:
parent
bef2f4ab4a
commit
2af53d34de
|
@ -704,7 +704,7 @@
|
||||||
|
|
||||||
;; MPV wasn't centering right
|
;; MPV wasn't centering right
|
||||||
(when (= c.class "mpv") (if laptop (set c.height (dpi 900))
|
(when (= c.class "mpv") (if laptop (set c.height (dpi 900))
|
||||||
(set c.height (dpi 1100))))
|
(set c.height (dpi 1800))))
|
||||||
(when (= c.class "mpv") (awful.placement.centered c))
|
(when (= c.class "mpv") (awful.placement.centered c))
|
||||||
(when (= c.class "imv") (awful.placement.centered c))
|
(when (= c.class "imv") (awful.placement.centered c))
|
||||||
(when (= c.class "Sxiv") (awful.placement.centered c))
|
(when (= c.class "Sxiv") (awful.placement.centered c))
|
||||||
|
|
|
@ -5,6 +5,13 @@
|
||||||
(local xresources (require "beautiful.xresources"))
|
(local xresources (require "beautiful.xresources"))
|
||||||
(local dpi xresources.apply_dpi)
|
(local dpi xresources.apply_dpi)
|
||||||
|
|
||||||
|
(local file (io.open "/etc/hostname"))
|
||||||
|
(io.input file)
|
||||||
|
(local laptop (if (= (io.read) "syl")
|
||||||
|
true
|
||||||
|
false))
|
||||||
|
(io.close file)
|
||||||
|
|
||||||
(local rules [
|
(local rules [
|
||||||
;; All clients match this rule
|
;; All clients match this rule
|
||||||
{
|
{
|
||||||
|
@ -41,7 +48,8 @@
|
||||||
:floating true
|
:floating true
|
||||||
:raise true
|
:raise true
|
||||||
;; :height (dpi 1200)
|
;; :height (dpi 1200)
|
||||||
:width (dpi 1400)
|
:width (if laptop (dpi 1400)
|
||||||
|
(dpi 2000))
|
||||||
:screen 1
|
:screen 1
|
||||||
:sticky true
|
:sticky true
|
||||||
:placement awful.placement.centered
|
:placement awful.placement.centered
|
||||||
|
|
|
@ -8,7 +8,7 @@ size-transition = true
|
||||||
spawn-center = true
|
spawn-center = true
|
||||||
|
|
||||||
# Corners
|
# Corners
|
||||||
corner-radius = 18.0;
|
corner-radius = 12.0;
|
||||||
rounded-corners-exclude = [
|
rounded-corners-exclude = [
|
||||||
#"window_type = 'normal'",
|
#"window_type = 'normal'",
|
||||||
"class_g = 'awesome'",
|
"class_g = 'awesome'",
|
||||||
|
@ -19,7 +19,7 @@ rounded-corners-exclude = [
|
||||||
"class_g = 'Thunderbird'",
|
"class_g = 'Thunderbird'",
|
||||||
# "_NET_WM_STATE@[0]:32a *= '_NET_WM_STATE_FULLSCREEN'",
|
# "_NET_WM_STATE@[0]:32a *= '_NET_WM_STATE_FULLSCREEN'",
|
||||||
];
|
];
|
||||||
round-borders = 18;
|
round-borders = 12;
|
||||||
round-borders-exclude = [
|
round-borders-exclude = [
|
||||||
"class_g = 'Eww'",
|
"class_g = 'Eww'",
|
||||||
#"class_g = 'TelegramDesktop'",
|
#"class_g = 'TelegramDesktop'",
|
||||||
|
|
Loading…
Reference in a new issue