; [[file:../../Desktop.org::*Colors][Colors:1]] [colors] ; Palenight colorscheme https://github.com/JonathanSpeek/palenight-iterm2 black = ${xrdb:color0} red = ${xrdb:color1} green = ${xrdb:color2} yellow = ${xrdb:color3} blue = ${xrdb:color4} magenta = ${xrdb:color5} cyan = ${xrdb:color6} white = ${xrdb:color7} black-lighter = ${xrdb:color8} red-lighter = ${xrdb:color9} green-lighter = ${xrdb:color10} yellow-lighter = ${xrdb:color11} blue-lighter = ${xrdb:color12} magenta-lighter = ${xrdb:color13} cyan-lighter = ${xrdb:color14} white-lighter = ${xrdb:color15} background = ${xrdb:background} foreground = ${xrdb:foreground} ; Colors:1 ends here ; [[file:../../Desktop.org::*Bar config][Bar config:1]] [bar/mybar] monitor = ${env:MONITOR:} width = 100% height = ${env:HEIGHT:27} offset-x = 0 offset-y = 0 radius = 0.0 fixed-center = false bottom=true background = ${colors.background} foreground = ${colors.foreground} line-size = 3 line-color = #f00 padding-left = 0 padding-right = 0 module-margin-left = 1 module-margin-right = 1 font-0 = ${env:FONT0:pango:monospace:size=10;1} font-1 = ${env:FONT1:NotoEmoji:scale=10:antialias=false;0} font-2 = ${env:FONT2:fontawesome:pixelsize=10;1} font-3 = ${env:FONT3:JetBrains Mono Nerd Font:monospace:size=10;1} modules-left = i3 ; modules-center = test modules-right = ${env:RIGHT_BLOCKS} tray-position = ${env:TRAY:right} tray-padding = 0 tray-maxsize = 16 ;tray-background = #0063ff wm-restack = i3 ; override-redirect = true scroll-up = i3wm-wsnext scroll-down = i3wm-wsprev ; cursor-click = pointer ; cursor-scroll = ns-resize [settings] screenchange-reload = true ;compositing-background = xor ;compositing-background = screen ;compositing-foreground = source ;compositing-border = over ;pseudo-transparency = false [global/wm] margin-top = 0 margin-bottom = 0 ; Bar config:1 ends here ; [[file:../../Desktop.org::*ipstack-vpn][ipstack-vpn:2]] [module/ipstack-vpn] type = custom/script exec = /home/pavel/bin/polybar/ipstack-vpn.sh interval = 1200 ; ipstack-vpn:2 ends here ; [[file:../../Desktop.org::*weather][weather:2]] [module/weather] type = custom/script exec = /home/pavel/bin/polybar/weather.sh format-underline = ${colors.red} interval = 1200 ; weather:2 ends here ; [[file:../../Desktop.org::*aw-afk][aw-afk:2]] [module/aw-afk] type = custom/script exec = /home/pavel/bin/polybar/aw_afk.sh interval = 60 ; aw-afk:2 ends here ; [[file:../../Desktop.org::*sun][sun:2]] [module/sun] type = custom/script exec = /home/pavel/bin/polybar/sun.sh interval = 60 ; sun:2 ends here ; [[file:../../Desktop.org::*SEP][SEP:1]] [module/SEP] type = custom/text content = "|" content-foreground = ${colors.magenta} content-padding = 0 content-margin = 0 interval = 0 ; SEP:1 ends here ; [[file:../../Desktop.org::*TSEP][TSEP:2]] [module/TSEP] type = custom/script exec = /home/pavel/bin/polybar/tray-sep.sh format-foreground = ${colors.magenta} interval = 0 ; TSEP:2 ends here ; [[file:../../Desktop.org::*i3][i3:1]] [module/i3] type = internal/i3 format = 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.blue} ; focused = Active workspace on focused monitor label-focused = %name% ; label-focused-background = ${colors.background-alt} label-focused-underline= ${colors.blue} label-focused-padding = 1 ; unfocused = Inactive workspace on any monitor label-unfocused = %name% label-unfocused-padding = 1 ; visible = Active workspace on unfocused monitor label-visible = %name% ; label-visible-background = ${self.label-focused-background} label-visible-underline = ${self.label-focused-underline} label-visible-padding = ${self.label-focused-padding} ; urgent = Workspace with urgency hint set label-urgent = %name% label-urgent-background = ${colors.red} label-urgent-foreground = ${colors.black} label-urgent-padding = 1 ; i3:1 ends here ; [[file:../../Desktop.org::*xkeyboard][xkeyboard:1]] [module/xkeyboard] type = internal/xkeyboard format = format-underline = ${colors.magenta} label-layout = %icon% layout-icon-0 = ru;RU layout-icon-1 = us;US ; xkeyboard:1 ends here ; [[file:../../Desktop.org::*mpd][mpd:1]] [module/mpd] type = internal/mpd format-playing = format-paused = format-stopped =  label-song = [%album-artist%] %title% label-time = %elapsed%/%total% label-song-maxlen = 30 label-song-ellipsis = true format-playing-underline = ${colors.yellow} format-paused-underline = ${colors.yellow} format-stopped-underline = ${colors.yellow} label-separator = 0 separator-foreground = ${colors.red} icon-pause =  icon-play =  icon-stop =  icon-prev = 1 icon-next = 2 ; mpd:1 ends here ; [[file:../../Desktop.org::*pulseaudio][pulseaudio:1]] [module/pulseaudio] type = internal/pulseaudio use-ui-max = true bar-volume-width = 7 bar-volume-foreground-0 = ${colors.white} bar-volume-foreground-1 = ${colors.yellow} bar-volume-foreground-2 = ${colors.yellow} bar-volume-foreground-3 = ${colors.blue} bar-volume-foreground-4 = ${colors.blue} bar-volume-foreground-5 = ${colors.green} bar-volume-foreground-6 = ${colors.green} bar-volume-gradient = false bar-volume-indicator = | bar-volume-indicator-font = 2 bar-volume-fill = ─ bar-volume-fill-font = 2 bar-volume-empty = ─ bar-volume-empty-font = 2 bar-volume-empty-foreground = ${colors.white-lighter} format-volume = ♪ label-volume = %percentage%% format-mute = ♪ label-muted = MUTE format-volume-underline = ${colors.white} format-muted-underline = ${colors.black-lighter} ; pulseaudio:1 ends here ; [[file:../../Desktop.org::*cpu][cpu:1]] [module/cpu] type = internal/cpu format = 