b9f0d31c00cb8c49bae2e7aaaa80ee36b43a0257

Author
Pavle Portic <git@theedgeofrage.com>
Committer
Pavle Portic <git@theedgeofrage.com>
Date

Message

Replace spotify with tidal in bumblebee config

Diff

 1diff --git a/dot_config/i3/config.tmpl b/dot_config/i3/config.tmpl
 2index 0fbf57d7d7d36fdfc13f35fdcdea574eb49e8874..63b8e311344a9cb96b2656262fe16e28a3645e1b 100644
 3--- a/dot_config/i3/config.tmpl
 4+++ b/dot_config/i3/config.tmpl
 5@@ -186,6 +186,7 @@ assign [class="thunderbird"] 
 6 assign [class="(?i)slack"] 
 7 for_window [class="Lxappearance"] floating enable
 8 for_window [class="Spotify"] move to workspace 
 9+for_window [class="tidal-hifi"] move to workspace 
10 
11 new_window pixel 2
12 hide_edge_borders smart
13@@ -200,7 +201,7 @@ exec blueman-applet >/dev/null 2>&1 &
14 exec gtk-launch firefox >/dev/null 2>&1 &
15 exec gtk-launch thunderbird >/dev/null 2>&1 &
16 exec slack >/dev/null 2>&1 &
17-exec spotify >/dev/null 2>&1 &
18+exec tidal-hifi >/dev/null 2>&1 &
19 
20 # Keyboard layout controls
21 set $mode_kb_select (1) US, (2) Colemak, (3) Latin, (4) Cyrillic, (5) DE
22@@ -218,7 +219,7 @@ bar {
23 	position top
24 	tray_output none
25 	status_command ~/.local/share/bumblebee-status/bumblebee-status -m \
26-		spotify \
27+		playerctl \
28 		dunst {{ .i3.bumblebee.modules }} \
29 		sensors \
30 		pasource \
31@@ -226,6 +227,10 @@ bar {
32 		date \
33 		time \
34 		-p workspacewheel=False \
35+		playerctl.args="-p tidal-hifi" \
36+		playerctl.layout="playerctl.song,playerctl.prev,playerctl.pause,playerctl.next" \
37+		playerctl.format="{{`{{artist}}`}} - {{`{{title}}`}}" \
38+		playerctl.hide="true" \
39 		pasource.showbars="1" \
40 		pasink.showbars="1" \
41 		sensors.use_sensors="true" \