summaryrefslogtreecommitdiffstats
path: root/.config/polybar
diff options
context:
space:
mode:
Diffstat (limited to '.config/polybar')
-rw-r--r--.config/polybar/config##c.desktop,h.Maus35
-rwxr-xr-x.config/polybar/focus2
-rwxr-xr-x.config/polybar/pulseaudio-control.sh2
3 files changed, 20 insertions, 19 deletions
diff --git a/.config/polybar/config##c.desktop,h.Maus b/.config/polybar/config##c.desktop,h.Maus
index d074d43..eca6920 100644
--- a/.config/polybar/config##c.desktop,h.Maus
+++ b/.config/polybar/config##c.desktop,h.Maus
@@ -48,20 +48,24 @@ border-bottom-color = ${colors.background}
48padding = 2 48padding = 2
49module-margin = 1 49module-margin = 1
50 50
51font-0 = Cozette:antialias=false;2 51font-0 = scientifica:antialias=false;1
52font-1 = Lato:size=10;1 52font-1 = Lato:size=10;1
53font-2 = Raleway:size=10;1 53font-2 = Raleway:size=10;1
54font-3 = FuraCode Nerd Font:size=12;2 54font-3 = FuraCode Nerd Font:size=12;2
55 55
56modules-left = i3 pulseaudio-control spotify 56modules-left = i3 pulseaudio-control spotify mpd
57modules-center = xwindow 57modules-center = xwindow
58modules-right = focus date time xkeyboard 58modules-right = cpu focus date time xkeyboard
59 59
60tray-position = right 60tray-position = right
61 61
62[module/cpu]
63type = internal/cpu
64
62[module/focus] 65[module/focus]
63type = custom/script 66type = custom/script
64exec = ~/.config/polybar/focus 67exec = ~/.config/polybar/focus
68double-click-left = exec ~/.config/polybar/stop &
65interval = 10 69interval = 10
66 70
67[module/spotify] 71[module/spotify]
@@ -76,22 +80,20 @@ format-padding = 0
76exec = python /home/yigit/.config/polybar/spotify_status.py -f '{play_pause} {artist} - {song}' -p ' , ' 80exec = python /home/yigit/.config/polybar/spotify_status.py -f '{play_pause} {artist} - {song}' -p ' , '
77;契 81;契
78 82
79; [module/mpd] 83[module/mpd]
80; type = internal/mpd 84type = internal/mpd
81; host = 127.0.0.1
82; port = 6600
83 85
84; format-online = <toggle> <label-song> <icon-random> 86format-online = <toggle> <label-song> <icon-random>
85; label-song = %artist% - %title% 87label-song = %artist% - %title%
86; icon-pause =  88icon-pause = 
87; icon-play =  89icon-play = 
88; icon-random = 咽 90icon-random = 咽
89 91
90; toggle-on-foreground = ${colors.background_modules} 92toggle-on-foreground = ${colors.background_modules}
91; toggle-off-foreground = ${colors.foreground_modules} 93toggle-off-foreground = ${colors.foreground_modules}
92 94
93; format-offline = <label-offline> 95format-offline = <label-offline>
94; label-offline = mpd is offline 96label-offline = mpd is offline
95 97
96[module/xwindow] 98[module/xwindow]
97type = internal/xwindow 99type = internal/xwindow
@@ -100,7 +102,6 @@ label = %title:0:70:...%
100 102
101y-offset = 10 103y-offset = 10
102label-padding = 1 104label-padding = 1
103label-font = 1
104 105
105label-empty =  106label-empty = 
106label-empty-font = 3 107label-empty-font = 3
diff --git a/.config/polybar/focus b/.config/polybar/focus
index fdf2f30..f375cc3 100755
--- a/.config/polybar/focus
+++ b/.config/polybar/focus
@@ -1,6 +1,6 @@
1#!/usr/bin/env perl 1#!/usr/bin/env perl
2# shows active taskwarrior task on polybar 2# shows active taskwarrior task on polybar
3#Copyright © 2019 yourname 3#Copyright © 2019 yigit
4 4
5#This program is free software: you can redistribute it and/or modify 5#This program is free software: you can redistribute it and/or modify
6#it under the terms of the GNU General Public License as published by 6#it under the terms of the GNU General Public License as published by
diff --git a/.config/polybar/pulseaudio-control.sh b/.config/polybar/pulseaudio-control.sh
index a080d65..51247fd 100755
--- a/.config/polybar/pulseaudio-control.sh
+++ b/.config/polybar/pulseaudio-control.sh
@@ -14,7 +14,7 @@ VOLUME_ICONS=( " " " " " " ) # Volume icons array, from lower volume t
14MUTED_ICON=" " # Muted volume icon 14MUTED_ICON=" " # Muted volume icon
15MUTED_COLOR="%{F#A9AA83}" # Color when the audio is muted 15MUTED_COLOR="%{F#A9AA83}" # Color when the audio is muted
16DEFAULT_SINK_ICON="" # The default sink icon if a custom one isn't found 16DEFAULT_SINK_ICON="" # The default sink icon if a custom one isn't found
17CUSTOM_SINK_ICONS=("" "" "") # Custom sink icons in index of sink order 17CUSTOM_SINK_ICONS=("" "" "") # Custom sink icons in index of sink order
18NOTIFICATIONS="yes" # Notifications when switching sinks if enabled 18NOTIFICATIONS="yes" # Notifications when switching sinks if enabled
19SINK_BLACKLIST=( ) # Index blacklist for sinks when switching between them 19SINK_BLACKLIST=( ) # Index blacklist for sinks when switching between them
20 20