aboutsummaryrefslogtreecommitdiff
path: root/.config/awesome
diff options
context:
space:
mode:
authorBlista Kanjo2023-08-22 13:23:44 -0400
committerBlista Kanjo2023-08-22 13:23:44 -0400
commitfd20315fccd46149cfddbed476a082b5b1893ebe (patch)
treeec7e00e4ab78584eec49e1641a3599152eaf88d5 /.config/awesome
parent781c466d0de30fe252f2c58e556133d79c3b1b13 (diff)
refactor: align the stable and `-git` rc.lua files
Diffstat (limited to '.config/awesome')
-rw-r--r--.config/awesome/rc-stable.lua30
-rw-r--r--.config/awesome/rc.lua28
2 files changed, 22 insertions, 36 deletions
diff --git a/.config/awesome/rc-stable.lua b/.config/awesome/rc-stable.lua
index e0353b2..bf07965 100644
--- a/.config/awesome/rc-stable.lua
+++ b/.config/awesome/rc-stable.lua
@@ -24,28 +24,20 @@ editor_cmd = terminal .. " -x " .. editor
modkey = "Mod4"
-- table of layouts to cover with awful.layout.inc, order matters. (-git compatible)
-tag.connect_signal("request::default_layouts", function()
- awful.layout.append_default_layouts({
- awful.layout.suit.tile,
- awful.layout.suit.max,
- -- awful.layout.suit.corner.nw,
- -- awful.layout.suit.fair,
- -- awful.layout.suit.fair.horizontal,
- -- awful.layout.suit.floating,
- -- awful.layout.suit.magnifier,
- -- awful.layout.suit.max.fullscreen,
- -- awful.layout.suit.spiral,
- -- awful.layout.suit.spiral.dwindle,
- -- awful.layout.suit.tile.bottom,
- -- awful.layout.suit.tile.left,
- -- awful.layout.suit.tile.top,
- })
-end)
-
--- active layout table (4.3.3 compatible)
awful.layout.layouts = {
awful.layout.suit.tile,
awful.layout.suit.max,
+ -- awful.layout.suit.corner.nw,
+ -- awful.layout.suit.fair,
+ -- awful.layout.suit.fair.horizontal,
+ -- awful.layout.suit.floating,
+ -- awful.layout.suit.magnifier,
+ -- awful.layout.suit.max.fullscreen,
+ -- awful.layout.suit.spiral,
+ -- awful.layout.suit.spiral.dwindle,
+ -- awful.layout.suit.tile.bottom,
+ -- awful.layout.suit.tile.left,
+ -- awful.layout.suit.tile.top,
}
-- }}}
diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua
index 9601d05..0cfca12 100644
--- a/.config/awesome/rc.lua
+++ b/.config/awesome/rc.lua
@@ -10,9 +10,9 @@ local hotkeys_popup = require("awful.hotkeys_popup")
require("awful.hotkeys_popup.keys")
xdg_menu = require("xdgmenu")
-
-- {{{ variable definitions
-- themes define colours, icons, font and wallpapers.
+-- beautiful.init(gears.filesystem.get_configuration_dir() .. "/themes/default/theme.lua")
local theme_path = string.format("%s/.config/awesome/themes/%s/theme.lua", os.getenv("HOME"), "adwaita")
beautiful.init(theme_path)
@@ -133,12 +133,6 @@ tag.connect_signal("request::default_layouts", function()
-- awful.layout.suit.tile.top,
})
end)
-
--- active layout table (4.3.3 compatible)
-awful.layout.layouts = {
- awful.layout.suit.tile,
- awful.layout.suit.max,
-}
-- }}}
-- {{{ wallpaper
@@ -710,8 +704,8 @@ ruled.client.connect_signal("request::rules", function()
id = "floating",
rule_any = {
instance = {
- "DTA", -- firefox addon downthemall.
- "copyq", -- includes session name in class.
+ "DTA", -- firefox addon downthemall.
+ "copyq", -- includes session name in class.
"pinentry",
},
class = {
@@ -725,27 +719,27 @@ ruled.client.connect_signal("request::rules", function()
"gnome-calculator",
"Gnome-system-monitor",
"Kruler",
- "MessageWin", -- kalarm.
- "mullvadbrowser", -- needs a fixed window size to avoid fingerprinting by screen size.
+ "MessageWin", -- kalarm.
+ "mullvadbrowser", -- needs a fixed window size to avoid fingerprinting by screen size.
"screengrab",
"Sxiv",
"Steam",
- "Tor Browser", -- same as mullvadbrowser.
+ "Tor Browser", -- same as mullvadbrowser.
"Wpa_gui",
"veromix",
"xtightvncviewer",
"zoom",
},
name = {
- "^Event Tester$", -- xev.
- "^File Operation Progress$", -- fix for latest version of thunar.
+ "^Event Tester$", -- xev.
+ "^File Operation Progress$", -- fix for latest version of thunar.
"^password manager$",
"^Task Manager$",
},
role = {
- "AlarmWindow", -- thunderbird's calendar.
- "ConfigManager", -- thunderbird's about:config.
- "pop-up", -- e.g. google chrome's (detached) developer tools.
+ "AlarmWindow", -- thunderbird's calendar.
+ "ConfigManager", -- thunderbird's about:config.
+ "pop-up", -- e.g. google chrome's (detached) developer tools.
}
},
properties = { floating = true }