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 e0d4998f0a
commit 0e0acc03d6
3 changed files with 22 additions and 7 deletions

View File

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

View File

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