Update script names

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2023-10-03 14:44:07 +01:00
parent 9da042ec2a
commit a066ededf1
3 changed files with 22 additions and 7 deletions

View File

@@ -75,7 +75,7 @@ globalkeys =
{},
"XF86MonBrightnessUp",
function()
awful.spawn("brightness_up", false)
awful.spawn("brightness-up", false)
end,
{description = "brightness +5%", group = "hotkeys"}
),
@@ -83,7 +83,7 @@ globalkeys =
{},
"XF86MonBrightnessDown",
function()
awful.spawn("brightness_down", false)
awful.spawn("brightness-down", false)
end,
{description = "brightness -5%", group = "hotkeys"}
),
@@ -171,7 +171,7 @@ globalkeys =
{modkey, "Control"},
"p",
function()
awful.spawn.with_shell("power_saving_mode", false)
awful.spawn.with_shell("power-saving-mode", false)
end,
{description = "toggle power saving mode", group = "hotkeys"}
),
@@ -179,7 +179,7 @@ globalkeys =
{modkey, "Control"},
"t",
function()
awful.spawn("/home/nick/.config/awesome/scripts/switch_theme.sh", false)
awful.spawn("/home/nick/.config/awesome/scripts/switch-theme.sh", false)
end,
{description = "switch theme", group = "hotkeys"}
),

View File

@@ -40,7 +40,9 @@ awful.rules.rules = {
"File Operation Progress",
},
},
properties = { floating = true },
properties = {
floating = true,
},
},
-- Fullscreen clients
{
@@ -69,6 +71,19 @@ awful.rules.rules = {
ontop = true
}
},
-- Always Visible
{
rule_any = {
name = {
"Picture-in-Picture",
},
},
properties = {
ontop = true,
sticky = true,
floating = true,
}
},
-- Music Visualizer
{
rule_any = {
@@ -82,8 +97,8 @@ awful.rules.rules = {
skip_taskbar = true,
titlebars_enabled = false,
requests_no_titlebar = true,
focusable = false,
placement = awful.placement.maximize
focusable = true,
placement = awful.placement.maximize,
}
},
-- Conky Position