mirror of
https://github.com/tuxdotrs/nixos-config.git
synced 2025-07-06 17:56:35 +05:30
21 lines
571 B
Lua
21 lines
571 B
Lua
local awful = require("awful")
|
|
|
|
awful.spawn.with_shell([[
|
|
if ! pidof barrierc; then
|
|
barrierc -f --debug INFO --display :0 --name esoteric --disable-crypto 192.168.1.2:24800 &
|
|
fi
|
|
]])
|
|
|
|
awful.spawn.single_instance("firefox", {}, function(c)
|
|
return c.class == "firefox"
|
|
end)
|
|
awful.spawn.single_instance("copyq", {}, function(c)
|
|
return c.class == "copyq"
|
|
end)
|
|
awful.spawn.single_instance("blueman-applet", {}, function(c)
|
|
return c.class == ".blueman-manager-wrapped"
|
|
end)
|
|
awful.spawn.single_instance("discord", {}, function(c)
|
|
return c.class == "discord"
|
|
end)
|