Add revelation

Update and add bling task_preview, tag_preview and window_switcher
Add catppuccin-macchiato
Use my weather key
Update keybindings
Update autorun
Fix sliders
This commit is contained in:
Hydroxycarbamide 2023-03-20 09:51:48 +01:00
parent 4f850f7173
commit 2401cfcee2
56 changed files with 2040 additions and 858 deletions

View file

@ -170,8 +170,8 @@ function playerctl:get_active_player()
end
function playerctl:get_player_of_name(name)
for _, player in ipairs(self._private.manager.players[1]) do
if player.name == name then
for _, player in ipairs(self._private.manager.players) do
if player.player_name == name then
return player
end
end
@ -521,8 +521,11 @@ local function new(args)
-- Grab settings from beautiful variables if not set explicitly
args.ignore = args.ignore or beautiful.playerctl_ignore
args.player = args.player or beautiful.playerctl_player
ret.update_on_activity = args.update_on_activity or
beautiful.playerctl_update_on_activity or true
if args.update_on_activity ~= nil then
ret.update_on_activity = args.update_on_activity
else
ret.update_on_activity = beautiful.playerctl_update_on_activity ~= false
end
ret.interval = args.interval or beautiful.playerctl_position_update_interval or 1
ret.debounce_delay = args.debounce_delay or beautiful.playerctl_debounce_delay or 0.35
parse_args(ret, args)