-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Polybar is now the default bar for i3 on irunix. * Compton now has no transparency in menus (wtf?). * newsboat now opens tabs silently (doesn't focus on qb). * Major cosmetic changes to polybar to make it look less stupid.
- Loading branch information
Showing
8 changed files
with
353 additions
and
152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,235 @@ | ||
;===================================================== | ||
; | ||
; To learn more about how to configure Polybar | ||
; go to https://github.com/jaagr/polybar | ||
; | ||
; The README contains alot of information | ||
; | ||
;===================================================== | ||
|
||
[colors] | ||
;background = ${xrdb:color0:#222} | ||
background = #191a1d | ||
background-alt = #33373e | ||
;foreground = ${xrdb:color7:#222} | ||
foreground = #ece3d0 | ||
foreground-alt = #707681 | ||
primary = #eac58d | ||
secondary = #446fa6 | ||
alert = #ea4439 | ||
|
||
[bar/example] | ||
;monitor = ${env:MONITOR:HDMI-1} | ||
width = 100% | ||
height = 24 | ||
offset-x = 0% | ||
offset-y = 0% | ||
radius = 0.0 | ||
fixed-center = true | ||
|
||
background = ${colors.background} | ||
foreground = ${colors.foreground} | ||
|
||
line-size = 2 | ||
line-color = #ece3d0 | ||
|
||
border-bottom-size = 0 | ||
border-color = ${colors.background-alt} | ||
|
||
padding-left = 0 | ||
padding-right = 0 | ||
|
||
module-margin-left = 1 | ||
module-margin-right = 1 | ||
|
||
font-0 = "DejaVu Sans Mono:pixelsize=10;1" | ||
font-1 = "FontAwesome:size=10;1" | ||
font-2 = "Symbola:size=10;1" | ||
;font-1 = unifont:fontformat=truetype:size=8:antialias=false;0 | ||
;font-2 = siji:pixelsize=10;1 | ||
|
||
modules-left = bspwm i3 | ||
modules-center = mpd | ||
modules-right = eth volume date | ||
|
||
tray-position = right | ||
tray-padding = 2 | ||
;tray-transparent = true | ||
;tray-background = #0063ff | ||
|
||
;wm-restack = bspwm | ||
;wm-restack = i3 | ||
|
||
;override-redirect = true | ||
|
||
;scroll-up = bspwm-desknext | ||
;scroll-down = bspwm-deskprev | ||
|
||
;scroll-up = i3wm-wsnext | ||
;scroll-down = i3wm-wsprev | ||
|
||
|
||
[module/xwindow] | ||
type = internal/xwindow | ||
label = %title:0:30:…% | ||
format-foreground = ${colors.foreground-alt} | ||
|
||
|
||
|
||
[module/xkeyboard] | ||
type = internal/xkeyboard | ||
blacklist-0 = num lock | ||
|
||
format-prefix = " " | ||
format-prefix-foreground = ${colors.foreground-alt} | ||
format-prefix-underline = ${colors.secondary} | ||
|
||
label-layout = %layout% | ||
label-layout-underline = ${colors.secondary} | ||
|
||
label-indicator-padding = 2 | ||
label-indicator-margin = 1 | ||
label-indicator-background = ${colors.secondary} | ||
label-indicator-underline = ${colors.secondary} | ||
|
||
|
||
[module/bspwm] | ||
type = internal/bspwm | ||
|
||
label-focused = %index% | ||
label-focused-background = ${colors.background-alt} | ||
label-focused-underline= ${colors.primary} | ||
label-focused-padding = 1 | ||
|
||
label-occupied = %index% | ||
label-occupied-foreground = ${colors.foreground-alt} | ||
label-occupied-padding = 1 | ||
|
||
label-urgent = %index%! | ||
label-urgent-background = ${colors.alert} | ||
label-urgent-padding = 1 | ||
|
||
label-empty = %index% | ||
label-empty-foreground = ${colors.foreground-alt} | ||
label-empty-padding = 1 | ||
|
||
|
||
[module/i3] | ||
type = internal/i3 | ||
format = <label-state> <label-mode> | ||
index-sort = true | ||
wrapping-scroll = false | ||
|
||
; Only show workspaces on the same output as the bar | ||
;pin-workspaces = true | ||
|
||
label-mode-padding = 1 | ||
label-mode-foreground = #000 | ||
label-mode-background = ${colors.alert} | ||
|
||
; focused = Active workspace on focused monitor | ||
label-focused = %index% | ||
label-focused-background = ${module/bspwm.label-focused-background} | ||
label-focused-underline = ${module/bspwm.label-focused-underline} | ||
label-focused-padding = ${module/bspwm.label-focused-padding} | ||
|
||
; unfocused = Inactive workspace on any monitor | ||
label-unfocused = %index% | ||
label-unfocused-padding = ${module/bspwm.label-occupied-padding} | ||
label-unfocused-foreground = ${module/bspwm.label-occupied-foreground} | ||
|
||
; visible = Active workspace on unfocused monitor | ||
label-visible = %index% | ||
label-visible-background = ${self.label-focused-background} | ||
label-visible-underline = ${module/bspwm.label-focused-underline} | ||
label-visible-padding = ${self.label-focused-padding} | ||
|
||
; urgent = Workspace with urgency hint set | ||
label-urgent = %index% | ||
label-urgent-background = ${module/bspwm.label-urgent-background} | ||
label-urgent-padding = ${module/bspwm.label-urgent-padding} | ||
|
||
|
||
[module/mpd] | ||
type = internal/mpd | ||
interval = 2 | ||
format-online = <label-song> | ||
format-offline = | ||
|
||
label-song-maxlen = 60 | ||
;label-song-ellipsis = false | ||
format-online-prefix = " " | ||
format-online-prefix-foreground = ${colors.foreground-alt} | ||
label-song = %artist:0:20:…% - %title% | ||
label-song-foreground = ${colors.foreground-alt} | ||
|
||
|
||
[module/eth] | ||
type = internal/network | ||
interface = enp3s0 | ||
interval = 3.0 | ||
;udspeed-minwidth = 10 | ||
;accumulate-stats = true | ||
;format-connected-underline = | ||
format-connected-prefix = " " | ||
format-connected-prefix-foreground = ${colors.foreground-alt} | ||
label-connected = up | ||
|
||
;format-connected = <ramp-signal> <label-connected> | ||
;format-disconnected = <label-disconnected> | ||
;format-disconnected-underline = ${self.format-connected-underline} | ||
label-disconnected = :( | ||
label-disconnected-foreground = ${colors.alert} | ||
|
||
|
||
[module/date] | ||
type = internal/date | ||
interval = 3 | ||
|
||
date = "%a %d (%b)" | ||
time = %H:%M | ||
date-alt = "%Y-%m-%d" | ||
time-alt = %H:%M:%S | ||
|
||
format-prefix = " " | ||
format-prefix-foreground = ${colors.foreground-alt} | ||
;format-underline = #0a6cf5 | ||
|
||
label = %date% %time% | ||
;label-font | ||
;label-foreground | ||
|
||
|
||
[module/volume] | ||
type = internal/volume | ||
|
||
master-soundcard = default | ||
master-mixer = Master | ||
;headphone-id = 9 | ||
;mapped = true | ||
|
||
format-volume = <label-volume> | ||
|
||
format-volume-prefix = " " | ||
format-volume-prefix-foreground = ${colors.foreground-alt} | ||
label-volume = %percentage%% | ||
|
||
|
||
format-muted-prefix = " " | ||
format-muted-prefix-foreground = ${colors.foreground-alt} | ||
label-muted-foreground = ${colors.foreground-alt} | ||
label-muted = "mute" | ||
|
||
|
||
[settings] | ||
screenchange-reload = true | ||
;compositing-background = xor | ||
;compositing-background = screen | ||
;compositing-foreground = source | ||
;compositing-border = over | ||
|
||
[global/wm] | ||
margin-top = 0 | ||
margin-bottom = 0 | ||
|
||
; vim:ft=dosini |
Oops, something went wrong.