include-file = $HOME/SudacodeRice/include-modules.ini

[color]

bg = #FFFFFF
fg = #FFFFFF
fg-alt = #454545

acolor = #FFFFFF
curgent = #EF5350
coccupied = #42A5F5

shade1 = #17191e 
shade2 = #1e2127
shade3 = #191c21 
shade4 = #21242b
shade5 = #AA2E50
shade6 = #7E57C2
shade7 = #9575CD
shade8 = #B39DDB
txt = #2C2C2C

## Material Colors

red = #e53935
pink = #d81b60
purple = #8e24aa
deep-purple = #5e35b1
indigo = #3949ab
blue = #1e88e5
light-blue = #039be5
cyan = #00acc1
teal = #00897b
green = #43a047
light-green = #7cb342
lime = #c0ca33
yellow = #fdd835
amber = #ffb300
orange = #fb8c00
deep-orange = #f4511e
brown = #6d4c41
grey = #757575
blue-gray = #546e7a
black = #000000

;==========================================================

[bar/main]
; https://github.com/polybar/polybar/issues/763
monitor = ${env:MONITOR:}
width = 95%
height = 40
offset-x = 2.5%
# offset-y = 2%
bottom = false
fixed-center = true
line-size = 2
radius = 0
override-redirect = true
wm-restack = i3

#background = ${color.bg}
; background = #282c34
background = ${color.shade4}
foreground = ${color.fg}

;==========================================================

#font-0 = "Fantasque Sans Mono:pixelsize=10;3"
font-0 = "FiraCode Nerd Font:pixelsize=11:antialias=true;3"
font-1 = "Iosevka Nerd Font:pixelsize=11;3"
font-2 = Weather Icons:size=12;1
font-3 = "Source Han Sans JP:pixelsize=11;antialias=true;3"

dpi = 100

;==========================================================

enable-ipc = true
cursor-click = pointer

scroll-up = i3wm-wsnext
scroll-down = i3wm-wsprev

;== Module Location ========================================================

modules-left = menu workspaces network-desktop bluetooth-desktop package-updates-trigger package-updates 
# modules-center = spotify-prev spotify-bar spotify-next jdate package-updates-trigger package-updates 
; modules-center = mpd-prev custom-mpd mpd-next playerctl-prev playerctl-show playerctl-next
modules-center = mpd-prev custom-mpd mpd-next
# modules-right = network bluetooth2 volume battery openweathermap-fullfeatured date powermenu
modules-right = flameshot color-picker volume openweathermap-fullfeatured jdate date powermenu
 
;== Modules ========================================================

[module/colorpicker]
type = custom/text
content = 'test'
content-padding = 2
content-foreground = #28c15b
click-left = plasmawindowed org.kde.plasma.colorpicker

[module/facebook]
type = custom/text
content = 
content-padding = 2
content-foreground = ${color.blue}
click-left = xdg-open https://www.facebook.com &

[module/youtube]
type = custom/text
content = 
content-padding = 2
content-foreground = ${color.red}
click-left = xdg-open https://www.youtube.com &

[module/mpd]
type = internal/mpd
format-online = <toggle> <label-song> 
;format-online =  <label-song> 
;alt icons =   
format-online-background = ${color.shade8}
format-online-foreground = ${color.txt}
format-online-padding = 5

icon-play = 喇
icon-pause = 

label-song-maxlen = 25
label-song-ellipsis = true

;==========================================================

[module/aur]
type = custom/script
exec = ~/scripts/aur.sh
format-background = ${color.shade7}
format-padding = 3
tail = true
;== EOF ========================================================
