WIP: Somewm migration

This commit is contained in:
Alexander Gehrke 2026-08-12 18:09:07 +02:00
parent f5caff6684
commit ce56320097
17 changed files with 342 additions and 238 deletions

View file

@ -1,5 +1,6 @@
-- key bindings
local awful = require("awful")
local gears = require("gears")
local conf = require("localconf")
local actions = require("actions")
@ -23,7 +24,7 @@ lockhl:setup(wibars, "#F2C740", require("beautiful").bg_normal, { Caps = false }
local function mpdserver(host)
return function()
mpd.set_server(host, "6600")
awful.util.spawn("mpd-host set " .. host .. " 6600")
awful.spawn("mpd-host set " .. host .. " 6600")
end
end
@ -124,7 +125,7 @@ local notifymap = {
{ "m", binder.spawn("newmails -p"), "Show unread mails" },
}
local myglobalkeys = awful.util.table.join(
local myglobalkeys = gears.table.join(
awful.key({}, "Pause", binder.spawn("rofi -show window")),
awful.key({ modkey }, "w", binder.spawn("rofi -show window")),
awful.key({}, "Print", binder.spawn("flameshot gui")),