diff options
author | zachir <zachir@librem.one> | 2023-02-21 13:15:46 -0600 |
---|---|---|
committer | zachir <zachir@librem.one> | 2023-02-21 13:15:46 -0600 |
commit | 8d7bb4e84f06957c0f5f4b882193e5d36a31af1c (patch) | |
tree | c84ad73096907ab72e4f9fe229dfe1ac80e034ba /awesome | |
parent | 703a211294f8a2bdbd7f94ca40efec2bc1a230d2 (diff) |
resize scratchpads and spawn in center; spawn windows as master by default
Diffstat (limited to 'awesome')
-rw-r--r-- | awesome/rc.lua | 31 |
1 files changed, 21 insertions, 10 deletions
diff --git a/awesome/rc.lua b/awesome/rc.lua index 5eaae53..69c2636 100644 --- a/awesome/rc.lua +++ b/awesome/rc.lua @@ -77,7 +77,7 @@ local inertmode = false -- Spawn windows at bottom of stack -local spawnatbottom = true +local spawnatbottom = false -- Default modkey. @@ -126,7 +126,7 @@ function terminal_sp_cmd (spc, cmd) cflag = "-c" gflag = "-g" xflag = "-e" - geo = "100x30" + geo = "150x45" elseif terminal == "alacritty" then cflag = "--class" gflag = false @@ -762,15 +762,8 @@ awful.rules.rules = { } }, - -- Floating clients. { rule_any = { - instance = { - "DTA", -- Firefox addon DownThemAll. - "copyq", -- Includes session name in class. - "pinentry", - }, class = { - --"mpv", "sphtop", "spterm", "sppmxr", @@ -782,6 +775,24 @@ awful.rules.rules = { "sptodo", "sptrem", "qpwgraph", + "gcr-prompter" + } + }, + properties = { floating = true }, + callback = function(c) + awful.placement.centered(c,nil) + end + }, + + -- Floating clients. + { rule_any = { + instance = { + "DTA", -- Firefox addon DownThemAll. + "copyq", -- Includes session name in class. + "pinentry", + }, + class = { + --"mpv", "ProtonMail Bridge", "TheFiniteDemo", "Arandr", @@ -789,7 +800,7 @@ awful.rules.rules = { "Gpick", "Kruler", "MessageWin", -- kalarm. - "Sxiv", + -- "Sxiv", "Tor Browser", -- Needs a fixed window size to avoid fingerprinting by screen size. "Wpa_gui", "veromix", |