mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2025-10-02 05:09:08 +00:00
Add script to switch window states between active/minimize and use it when clicking Spotify module
This commit is contained in:
@@ -18,6 +18,7 @@ def get_spotify_song():
|
||||
title = metadata['xesam:title']
|
||||
|
||||
window_title = artist + ' - ' + title
|
||||
|
||||
output = "%{A1:$WM_CONTROL '" + window_title + "' &:}" + window_title + "%{A-}"
|
||||
except dbus.DBusException as e:
|
||||
if (e.get_dbus_message() == f'The name {bus_name} was not provided by any .service files'):
|
||||
|
Reference in New Issue
Block a user