├── README.md ├── arch-blur ├── bar-scrot.png ├── config ├── launch.sh └── scrot.png ├── blocks ├── config ├── get_workspace ├── launch.sh ├── scrot-rounded.png ├── scrot-square.png └── scrot2.png ├── cherryblocks ├── config ├── get_workspace ├── launch.sh ├── scrot.png └── scrot2.png ├── classic ├── config ├── launch.sh ├── scrot.png └── scrot2.png ├── classic2-rounded ├── config ├── launch.sh └── scrot.png ├── classic2 ├── config ├── launch.sh └── scrot.png ├── float ├── config ├── launch.sh └── scrot.png ├── float2 ├── config └── launch.sh ├── material ├── config ├── launch.sh └── scrot.png ├── material_bitmap ├── config ├── launch.sh └── scrot.png ├── material_one ├── config ├── launch.sh └── scrot.png ├── material_onethick ├── config └── launch.sh ├── material_thick ├── config ├── launch.sh └── scrot.png ├── miniblocks ├── config ├── get_workspace ├── launch.sh └── scrot.png ├── minimal ├── config ├── launch.sh └── scrot.png ├── san ├── config ├── launch.sh ├── scrot1.png └── scrot2.png ├── tiny ├── config ├── launch.sh ├── scrot1.png └── scrot2.png └── transparent ├── config ├── launch.sh └── scrot.png /README.md: -------------------------------------------------------------------------------- 1 | # I have archived this repository as it is too unmaintained to be useable for anyone. You can still go to my (newly reorganized) [dotfiles](https://github.com/kiddae/dotfiles) repository. 2 | 3 | This is a repo where i store my polybar themes. 4 | 5 | You can just link each files of the theme to the `~/.config/polybar` directory. 6 | 7 | I have the folder in my config directory (this way: `~/config/polybar/themes/`), and use this bash script to switch between them: 8 | ```shell 9 | #!/bin/bash 10 | ln -f -t ~/.config/polybar ~/.config/polybar/themes/$1/* 11 | ~/.config/polybar/launch.sh 12 | ``` 13 | 14 | You can check my [dotfiles](https://github.com/ngynLk/dotfiles) and [scripts](https://github.com/ngynLk/scripts) for further reference. (disclaimer: it's messy) 15 | 16 | # Important to get the themes working 17 | 18 | **All my themes fetches their colors from `xrdb`, so in order to get the themes working, you should set them in the `~/.Xresources` or `~/.Xdefaults` file and then run `xrdb ~/.Xresources` (or `~/.Xdefaults`). You can find about the syntax [here](https://wiki.archlinux.org/index.php/Color_output_in_console#X_window_system)** 19 | 20 | Some of them have both `i3` and `bspwm` modules, some don't, depends on when I wrote them. If you absolutely need a bar working on i3, feel free to issue or pull-request. 21 | 22 | ## tiny 23 | 24 | *screenshot* 25 | ![scrot1](https://raw.githubusercontent.com/ngynLk/polybar-themes/master/tiny/scrot1.png "Screenshot n°1") 26 | 27 | *another screenshot* 28 | ![scrot2](https://raw.githubusercontent.com/ngynLk/polybar-themes/master/tiny/scrot2.png "Screenshot n°2") 29 | 30 | A minimal, tiny and discreet bar. 31 | 32 | **Fonts used:** 33 | + CozetteVector 34 | 35 | **Modules:** 36 | + `bspwm`: shows the current workspace name 37 | + `pulseaudio`: shows the volume and a little icon 38 | + `date`: shows date and time 39 | 40 | ## san 41 | 42 | *screenshot* 43 | ![scrot1](https://raw.githubusercontent.com/ngynLk/polybar-themes/master/san/scrot1.png "Screenshot n°1") 44 | 45 | *another screenshot* 46 | ![scrot2](https://raw.githubusercontent.com/ngynLk/polybar-themes/master/san/scrot2.png "Screenshot n°2") 47 | 48 | **Fonts used:** 49 | + SF Compact Text 50 | + Font Awesome 5 Brands 51 | + Material Icons 52 | + font-logo 53 | + IPAGothic (for japanese glyphs) 54 | 55 | **Modules:** 56 | + `launcher` : launches a `rofi` instance, it is a script you can find in my repo. 57 | + `i3` : i3 workspaces, basically. 58 | + `mpd` : `mpd` controller 59 | + `spotify` : shows current playing song on spotify (uses `playerctl`) 60 | + `cpu`, `memory`, `date` : pretty self-explanatory. 61 | + `pulseaudio` : controls volume, requires `pulseaudio` (obviously) 62 | + `power` : polybar-ish menu 63 | 64 | ## transparent 65 | 66 | *screenshot* 67 | ![scrot1](https://raw.githubusercontent.com/ngynLk/polybar-themes/master/transparent/scrot.png "Screenshot") 68 | 69 | the `san` theme as above, but with a transparent background, and slightly thicker. 70 | 71 | ## cherryblocks 72 | 73 | *screenshot, the thick borders version* 74 | ![scrot1](https://raw.githubusercontent.com/ngynLk/polybar-themes/master/cherryblocks/scrot.png "Screenshot, the thick borders version") 75 | 76 | *another screenshot, the reasonable borders version* 77 | ![scrot2](https://raw.githubusercontent.com/ngynLk/polybar-themes/master/cherryblocks/scrot2.png "Screenshot, the reasonable borders version") 78 | 79 | a renewed version of the theme below `blocks`. Made for tiny bitmap fonts but *thicc* bars and borders. 80 | 81 | **Fonts used:** 82 | + cherry 83 | + Font Awesome 5 84 | + IPAGothic (for japanese glyphs) 85 | 86 | modules are the same as below. 87 | 88 | ## blocks 89 | 90 | *screenshot* 91 | ![square-screenshot](https://raw.githubusercontent.com/ngynLk/polybar-themes/master/blocks/scrot-square.png "Screenshot, in the default config of the theme") 92 | 93 | *another one* 94 | ![scrot2](https://raw.githubusercontent.com/ngynLk/polybar-themes/master/blocks/scrot2.png "Screenshot, another layout") 95 | 96 | This one is composed of three bars. For that manner, `override-redirect` was set to `false`. So, in order to have your windows not overlapping on the bars, set your wm's top gaps to some value (I use `85`) 97 | 98 | This theme works very well with rounded borders. To enable them, uncomment the `radius=20` lines in each bar. To have the shadows follow the shape of the bars, set `clear-shadow` to `false` in your `compton.conf`. 99 | 100 | *screenshot, with rounded borders* 101 | ![rounded-screenshot](https://raw.githubusercontent.com/ngynLk/polybar-themes/master/blocks/scrot-rounded.png "Screenshot, with rounded borders") 102 | 103 | 104 | **Fonts used:** 105 | + SF Mono 106 | + Font Awesome 5 107 | + IPAGothic (for japanese glyphs) 108 | 109 | **Modules:** 110 | + `wsnumber` : displays the workspace number. It uses a script included in the repo, uses `jq` as a dependency (credits to Airblader, on some random forum). Works only on i3. For other wms, you might want to use `wmctrl` or something else. 111 | + `xwindow` : displays window name 112 | + `mpd` : mpd controller. 113 | + `previous`, `playpause`, `next` and `spotify` : spotify controller using `playerctl` 114 | + `pulseaudio` : controls volume w/ `pulseaudio` 115 | + `date` : displays date and time (24h format) 116 | + `power` : launches a `rofi` instance, script to be found on my scripts repo (might not really look well with this theme...) 117 | + *(optional)* `i3` : manages i3 workspaces with some cool round icons, just place it on the `i3` bar instead of `wsnumber`. You can see it in the second screenshot 118 | 119 | ## miniblocks 120 | 121 | *screenshot* 122 | ![scrot](https://raw.githubusercontent.com/ngynLk/polybar-themes/master/miniblocks/scrot.png "Screenshot") 123 | 124 | Same, this bar is composed of three bars, they will be launched using the script provided. 125 | 126 | **Fonts used:** 127 | + CozetteVector 128 | + IPAGothic 129 | 130 | **Modules:** 131 | + `bspwm` 132 | + `mpd`/`spotify`: the `spotify` modules requires `playerctl`. 133 | + `pulseaudio` 134 | + `time` 135 | 136 | ## classic 137 | 138 | *screenshot* 139 | ![screenshot](https://raw.githubusercontent.com/ngynLk/polybar-themes/master/classic/scrot.png "Screenshot") 140 | 141 | *another screenshot* 142 | ![screenshot2](https://raw.githubusercontent.com/ngynLk/polybar-themes/master/classic/scrot2.png "Screenshot no.2") 143 | 144 | A simple bar that I wanted to not be too fancy and straight forward. 145 | 146 | **Fonts used:** 147 | + Iosevka Nerd Font 148 | + Material Icons 149 | 150 | **Modules:** 151 | + `bspwm`: workspaces, basically 152 | + `time`: displays the time and date 153 | + `mpd`/`spotify`: simple `mpd` controller, or `spotify` using `playerctl` 154 | + `pulseaudio`: control the volume 155 | 156 | ## classic2 157 | 158 | *screenshot* 159 | ![screenshot](https://raw.githubusercontent.com/ngynLk/polybar-themes/master/classic2/scrot.png "Screenshot") 160 | 161 | A bitmap, more colorful version of the `classic` theme. A rounded variant is available, pretty similar to `san`. 162 | 163 | *rounded screenshot* 164 | ![rounded_screenshot](https://raw.githubusercontent.com/ngynLk/polybar-themes/master/classic2-rounded/scrot.png "Screenshot, rounded") 165 | 166 | **Fonts used:** 167 | + CozetteVector 168 | + Siji 169 | 170 | **Modules:** 171 | + `bspwm`: workspaces, basically 172 | + `time`: displays the time and date 173 | + `mpd`: simple `mpd` controller 174 | + `cpu` and `memory` 175 | + `wlan`: shows current wifi network used 176 | + `pulseaudio`: control the volume 177 | 178 | ## float 179 | 180 | *screenshot* 181 | ![scrot](https://raw.githubusercontent.com/ngynLk/polybar-themes/master/float/scrot.png "Screenshot") 182 | 183 | A little floating bar. 184 | 185 | **Fonts used:** 186 | + cherry 187 | + FontAwesome5 188 | + font-logos 189 | + IPAGothic 190 | 191 | **Modules:** 192 | + `launcher` : launches a `rofi` instance, it is a script you can find in my repo. 193 | + `bspwm` : bspwm workspaces, basically. 194 | + `mpd` : `mpd` controller 195 | + `spotify` : shows current playing song on spotify (uses `playerctl`) 196 | + `cpu`, `memory`, `date` : pretty self-explanatory. 197 | + `pulseaudio` : controls volume, requires `pulseaudio` (obviously) 198 | + `power` : polybar-ish menu 199 | 200 | ## arch-blur 201 | 202 | ***I don't use this one anymore, but it's still there if you want to use it*** 203 | 204 | *bar screenshot* 205 | ![bar-screenshot](https://raw.githubusercontent.com/ngynLk/polybar-themes/master/arch-blur/bar-scrot.png "Bar Screenshot") 206 | 207 | *full screenshot* 208 | ![full-screenshot](https://raw.githubusercontent.com/ngynLk/polybar-themes/master/arch-blur/scrot.png "Full Screenshot") 209 | 210 | To get that blur, you need `compton-tryone`, include `dock` in the blur section of the config and set polybar's opacity to around 85% in the `compton.conf` (see dotfiles). 211 | 212 | **Fonts used:** 213 | + Iosevka 214 | + Font Awesome 5 215 | + font-logo 216 | + IPAGothic (for japanese glyphs) 217 | 218 | **Modules:** 219 | + `launcher` : launches a `rofi` instance, it is a script you can find in my repo. 220 | + `i3` : i3 workspaces, basically. 221 | + `mpd` : `mpd` controller 222 | + `previous`, `playpause`, `next` and `spotify` : spotify controller, uses [this](https://github.com/dietervanhoof/polybar-spotify-controls). I changed the path provided on the original thing, feel free to adapt. 223 | + `cpu`, `memory`, `date` : pretty self-explanatory. 224 | + `pulseaudio` : controls volume, requires `pulseaudio` (obviously) 225 | + `power` : launches a `rofi` instance that has basic power controls (script to be found in my repo) 226 | 227 | -------------------------------------------------------------------------------- /arch-blur/bar-scrot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kiddae/polybar-themes/9f105c462518c04c03ac5d07426cb334382ab286/arch-blur/bar-scrot.png -------------------------------------------------------------------------------- /arch-blur/config: -------------------------------------------------------------------------------- 1 | ========================================================== 2 | ; 3 | ; 4 | ; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ 5 | ; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ 6 | ; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ 7 | ; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ 8 | ; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ 9 | ; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ 10 | ; 11 | ; 12 | ; To learn more about how to configure Polybar 13 | ; go to https://github.com/polybar/polybar 14 | ; 15 | ; The README contains a lot of information 16 | ; 17 | ;========================================================== 18 | 19 | [colors] 20 | 21 | background = ${xrdb:background:#000000} 22 | color1 = ${xrdb:color1:#ff5555} 23 | color2 = ${xrdb:color4:#ff5555} 24 | color3 = ${xrdb:color7:#ff5555} 25 | 26 | ; _ 27 | ; | |__ __ _ _ __ ___ 28 | ; | '_ \ / _` | '__/ __| 29 | ; | |_) | (_| | | \__ \ 30 | ; |_.__/ \__,_|_| |___/ 31 | 32 | [bar/bar] 33 | enable-ipc=true 34 | height = 35 35 | width = 100% 36 | bottom = true 37 | 38 | background = ${colors.background} 39 | ;background = ${colors.primary} 40 | foreground = ${colors.color1} 41 | 42 | line-size = 2 43 | padding = 1 44 | 45 | font-0=Iosevka Nerd Font:size=11;5 46 | ;font-0=SF Pro Display:size=12;5 47 | font-1=Font Awesome 5 Free Solid:size=8;3 48 | font-2=Font Awesome 5 Free Regular:size=8;3 49 | font-3=Font Awesome 5 Brands:size=8;3 50 | font-4=font\-logos:size=10;4 51 | font-5=Material Icons:size=13;6 52 | font-6=IPAGothic:size=11:antialias=true;3 53 | 54 | modules-left = launcher i3 55 | ; Spotify (scripts at github.com/dietervanhoof/polybar-spotify-controls) /!\OUTDATED/!\ USE PLAYERCTL INSTEAD 56 | ;modules-center = previous playpause next spotify 57 | ; Mpd 58 | ;modules-center = mpd 59 | ; Playerctl (use the playerctk_status script in my repo: https://github.com/ngynLk/scripts) 60 | modules-center = playerctl 61 | modules-right = cpu memory time pulseaudio power 62 | 63 | scroll-up = i3wm-wsnext 64 | scroll-down = i3wm-wsprev 65 | 66 | wm-restack = i3 67 | override-redirect = false 68 | 69 | ; _ _ 70 | ; _ __ ___ ___ __| |_ _| | ___ ___ 71 | ; | '_ ` _ \ / _ \ / _` | | | | |/ _ \/ __| 72 | ; | | | | | | (_) | (_| | |_| | | __/\__ \ 73 | ; |_| |_| |_|\___/ \__,_|\__,_|_|\___||___/ 74 | 75 | [module/launcher] 76 | type=custom/text 77 | content =  78 | content-font=5 79 | content-foreground=${colors.color1} 80 | content-padding=2 81 | click-left=launcher 82 | ;The script above is to be found here : https://github.com/ngynLk/scripts 83 | 84 | [module/xwindow] 85 | type = internal/xwindow 86 | label = %title:0:40:...% 87 | label-color1 = ${colors.color1} 88 | label-background = ${colors.background} 89 | label-padding = 2 90 | 91 | [module/i3] 92 | type = internal/i3 93 | format = 94 | format-foreground = ${colors.color1} 95 | format-background = ${colors.background} 96 | index-sort = true 97 | 98 | enable-click = true 99 | reverse-scroll = false 100 | 101 | label-focused = %index% 102 | label-focused-overline = ${colors.color1} 103 | label-focused-padding = 2 104 | 105 | label-unfocused = %index% 106 | label-unfocused-padding = 2 107 | 108 | label-urgent =  109 | label-urgent-padding = 2 110 | label-urgent-foreground = ${colors.background} 111 | label-urgent-background = ${colors.color1} 112 | label-urgent-overline = ${colors.background} 113 | label-urgent-font = 2 114 | 115 | ;ws-icon-0 = 1; 116 | ;ws-icon-1 = 2; 117 | ;ws-icon-2 = 3; 118 | ;ws-icon-9 = 10; 119 | ;ws-icon-default =  120 | 121 | [module/power] 122 | type = custom/text 123 | content =  124 | content-foreground = ${colors.color3} 125 | click-left = powermenu 126 | ;The script above is to be found here : https://github.com/ngynLk/scripts 127 | content-padding = 2 128 | 129 | [module/mpd] 130 | type = internal/mpd 131 | host = 127.0.0.1 132 | port = 6600 133 | format-online = 134 | format-online-padding = 2 135 | format-online-foreground = ${colors.color2} 136 | format-online-background = ${colors.background} 137 | label-song-foreground = ${colors.color2} 138 | label-song-background = ${colors.background} 139 | label-song-padding = 2 140 | label-time-foreground = ${colors.color2} 141 | label-time-background = ${colors.background} 142 | label-time-padding = 1 143 | 144 | format-offline = 145 | label-offline =  offline 146 | format-offline-padding = 2 147 | format-offline-foreground = ${colors.color2} 148 | format-offline-background = ${colors.background} 149 | 150 | bar-progress-width = 35 151 | bar-progress-indicator = | 152 | bar-progress-fill = ─ 153 | bar-progress-empty = ─ 154 | 155 | icon-prev =  156 | icon-stop =  157 | icon-play =  158 | icon-pause =  159 | icon-next =  160 | ;icon-prev =  161 | ;icon-stop =  162 | ;icon-play =  163 | ;icon-pause =  164 | ;icon-next =  165 | 166 | label-song-maxlen = 75 167 | label-song-ellipsis = true 168 | 169 | [module/cpu] 170 | type = internal/cpu 171 | interval = 2 172 | format-prefix = " " 173 | format-padding = 2 174 | format-foreground = ${colors.color3} 175 | label = %percentage%% 176 | 177 | [module/memory] 178 | type = internal/memory 179 | interval = 2 180 | format-padding = 2 181 | format-prefix = " " 182 | format-foreground = ${colors.color3} 183 | label = %percentage_used%% 184 | 185 | [module/wlan] 186 | type = internal/network 187 | interface = wlx0013eff2094e 188 | interval = 3.0 189 | 190 | format-connected =  191 | label-connected = %essid% 192 | label-connected-color1 = ${colors.color1} 193 | 194 | ;format-disconnected = 195 | format-disconnected = 196 | label-disconnected = %ifname% disconnected 197 | label-disconnected-color1 = ${colors.color1} 198 | 199 | ramp-signal-0 =  200 | ramp-signal-1 =  201 | ramp-signal-2 =  202 | ramp-signal-3 =  203 | ramp-signal-4 =  204 | ramp-signal-color1 = ${colors.color1} 205 | 206 | [module/eth] 207 | type = internal/network 208 | interface = eno1 209 | interval = 3.0 210 | 211 | format-connected-prefix = " " 212 | format-connected-prefix-color1 = ${colors.color1-alt} 213 | label-connected = %local_ip% 214 | 215 | format-disconnected = 216 | ;format-disconnected = 217 | ;format-disconnected-underline = ${self.format-connected-underline} 218 | ;label-disconnected = %ifname% disconnected 219 | ;label-disconnected-color1 = ${colors.color1-alt} 220 | 221 | [module/time] 222 | type = internal/date 223 | interval = 10 224 | format-margin = 0 225 | 226 | time = "%H:%M" 227 | date = "%d %b" 228 | 229 | label =  %date%, %time% 230 | label-foreground = ${colors.color3} 231 | label-background = ${colors.background} 232 | label-padding = 2 233 | 234 | 235 | [module/pulseaudio] 236 | type = internal/pulseaudio 237 | 238 | format-margin = 1 239 | format-volume = 240 | label-volume = %percentage:3:3%% 241 | format-volume-foreground = ${colors.color3} 242 | format-volume-background = ${colors.background} 243 | format-volume-padding = 2 244 | use-ui-max = false 245 | interval = 5 246 | 247 | ramp-volume-0 = "" 248 | ramp-volume-1 = "" 249 | ramp-volume-2 = "" 250 | 251 | 252 | label-muted =  muted 253 | label-muted-background = ${colors.background} 254 | label-muted-foreground = ${colors.color3} 255 | label-muted-padding = 2 256 | 257 | [module/temperature] 258 | type = internal/temperature 259 | thermal-zone = 0 260 | warn-temperature = 60 261 | 262 | format =