Compare commits
	
		
			No commits in common. "ea282a5569fc9da5e294869ad09141bab57331e7" and "4984001bf1a1f3999d3c3f37c31681f192e320ea" have entirely different histories.
		
	
	
		
			ea282a5569
			...
			4984001bf1
		
	
		|  | @ -31,7 +31,6 @@ | |||
| 
 | ||||
|     packages = with pkgs; [ | ||||
|       corefonts | ||||
|       font-awesome | ||||
|       hasklig | ||||
|       inter | ||||
|       iosevka | ||||
|  |  | |||
|  | @ -85,7 +85,7 @@ type Status = { | |||
|   artist: string; | ||||
|   id: number; | ||||
|   progress: number; | ||||
|   status: "playing" | "paused" | "stopped"; | ||||
|   status: "playing" | "paused"; | ||||
|   title: string; | ||||
|   track: { | ||||
|     duration: number; | ||||
|  | @ -100,9 +100,11 @@ async function getStatus(): Promise<Status> { | |||
| /** Print the current song's artist and title. */ | ||||
| async function getCurrentSong(): Promise<void> { | ||||
|   const status = await getStatus(); | ||||
|   if (status.status === "playing") { | ||||
|     console.log(`${status.artist} - ${status.title}`); | ||||
|   if (status.status === "paused") { | ||||
|     return; | ||||
|   } | ||||
| 
 | ||||
|   console.log(`${status.artist} - ${status.title}`); | ||||
| } | ||||
| 
 | ||||
| if (import.meta.main) { | ||||
|  |  | |||
|  | @ -14,8 +14,8 @@ floating_modifier $mod | |||
| mouse_warping none | ||||
| 
 | ||||
| # Define names for default workspaces. | ||||
| set $ws1 "1:Main" | ||||
| set $ws2 "2:Tauon" | ||||
| set $ws1 "1" | ||||
| set $ws2 "2" | ||||
| set $ws3 "3" | ||||
| set $ws4 "4" | ||||
| set $ws5 "5" | ||||
|  | @ -53,13 +53,11 @@ bar { | |||
|     inactive_workspace #2A2041 #1F1731 #E6DEFF | ||||
|     urgent_workspace #F99ADD #F99ADD #1F1731 | ||||
|   } | ||||
|   font pango:Hasklig, Font Awesome 6 Free 10 | ||||
|   i3bar_command i3bar --transparency | ||||
|   output primary | ||||
|   position bottom | ||||
|   separator_symbol "•" | ||||
|   status_command i3status-rs | ||||
|   strip_workspace_numbers yes | ||||
|   tray_output primary | ||||
| } | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,5 +1,4 @@ | |||
| # i3 keybinds. | ||||
| bindsym $mod+b bar mode toggle | ||||
| bindsym $mod+f fullscreen toggle | ||||
| bindsym $mod+r mode "resize" | ||||
| bindsym $mod+Shift+q kill | ||||
|  |  | |||
|  | @ -1,20 +1,20 @@ | |||
| [icons.overrides] | ||||
| bear = "🐻" | ||||
| bell = "🔔" | ||||
| bunny = "🐇" | ||||
| circle_play = "\uf144" | ||||
| rss = "\uf09e" | ||||
| music = "▶️" | ||||
| 
 | ||||
| [[block]] | ||||
| block = "custom" | ||||
| command = "tauon-controls --current-song" | ||||
| format = "^icon_circle_play $text.pango-str()" | ||||
| format = "^icon_music $text.pango-str()" | ||||
| interval = 15 | ||||
| hide_when_empty = true | ||||
| 
 | ||||
| [[block]] | ||||
| block = "custom" | ||||
| command = "miniflux-unread-entries" | ||||
| format = "^icon_rss $text.pango-str()" | ||||
| format = "^icon_bell <span color='#D2B83A'>$text.pango-str()</span>" | ||||
| interval = 600 | ||||
| hide_when_empty = true | ||||
| [[block.click]] | ||||
|  |  | |||
		Reference in New Issue