Changed to use super key not alt

This commit is contained in:
2026-07-15 08:27:30 +02:00
parent 745ab5c492
commit cd577f9e62
4 changed files with 33 additions and 16 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ M.globalkeys = gears.table.join(
awful.key({ modkey, "Control" }, "p", function() awful.spawn("xfce4-screenshooter") end, { description = "screenshot", group = "system" }),
-- Alt tab current workspace windows
awful.key({ "Mod1" }, "Tab", function() awful.client.focus.byidx(1) end),
awful.key({ modkey }, "Tab", function() awful.client.focus.byidx(1) end),
-- Media keys
awful.key({ }, "XF86AudioRaiseVolume", function() awful.spawn.easy_async_with_shell([[sh -c 'pactl set-sink-volume "$(pactl get-default-sink)" +2%']]) end, { description = "volume up", group = "media" }),
+22 -5
View File
@@ -3,18 +3,35 @@ local beautiful = require("beautiful")
local keys = require("config.keys")
return {
{ rule = { }, properties = {
{
rule = { },
properties = {
border_width = beautiful.border_width, border_color = beautiful.border_normal,
focus = awful.client.focus.filter, raise = true,
keys = keys.clientkeys, buttons = keys.clientbuttons,
screen = awful.screen.preferred,
placement = awful.placement.no_overlap + awful.placement.no_offscreen,
}},
{ rule_any = {
}
},
{
rule_any = {
instance = { "pinentry" },
class = { "Arandr", "Blueman-manager", "Gpick", "Pavucontrol" },
name = { "Event Tester" },
role = { "AlarmWindow", "pop-up" },
}, properties = { floating = true }},
},
properties = { floating = true }
},
{
rule = { name = "Sublime Terminal", },
properties = { floating = false, },
callback = function(c)
awful.client.setslave(c)
local t = c.first_tag
if t then
t.master_width_factor = 0.67
end
end,
},
}
+1 -1
View File
@@ -36,7 +36,7 @@ naughty.config.defaults.font = "JetBrainsMono Nerd Font 12"
naughty.config.defaults.shape = function(cr, w, h) gears.shape.rounded_rect(cr, w, h, 13) end
naughty.config.presets.normal = {
bg = colors.background, fg = colors.foreground, border_color = colors.background_alt,
bg = colors.background, fg = colors.foreground, border_color = colors.accent,
border_width = 3, font = "JetBrainsMono Nerd Font 12", timeout = 5,
}
naughty.config.presets.low = naughty.config.presets.normal
+1 -1
View File
@@ -7,7 +7,7 @@ local naughty = require("naughty")
local bling = require("bling")
-- Global config
modkey = "Mod1" -- Alt. Use "Mod4" for the Super/Windows key.
modkey = "Mod4" -- Alt. Use "Mod4" for the Super/Windows key.
terminal = "alacritty"
editor = os.getenv("EDITOR") or "nano"