Change font and theme for polybar. Add notification module
This commit is contained in:
parent
a4da282758
commit
8558700a86
@ -80,8 +80,8 @@
|
||||
font-2 = Weather Icons:size=10;1
|
||||
|
||||
modules-left = i3
|
||||
modules-center = xwindow
|
||||
modules-right = unread_mail cpu battery temperature date
|
||||
modules-center = mpd pulseaudio
|
||||
modules-right = dunst unread_mail cpu battery temperature date
|
||||
|
||||
tray-position = right
|
||||
tray-padding = 2
|
||||
@ -117,14 +117,14 @@
|
||||
module-margin-left = 1
|
||||
module-margin-right = 1
|
||||
|
||||
font-0 = SauceCodePro Nerd Font:style=Medium,Regular:pixelsize=10;1
|
||||
font-0 = Hack Nerd Font:style=Medium,Regular:pixelsize=10;1
|
||||
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
|
||||
font-2 = Weather Icons:size=10;1
|
||||
# font-3 = siji:pixelsize=10;1
|
||||
|
||||
modules-left = mpd pulseaudio
|
||||
# modules-center = xwindow
|
||||
modules-right = filesystem xkeyboard nordvpn chromecast screenshot weather emacs caffeine redshift
|
||||
modules-right = filesystem nordvpn chromecast screenshot weather emacs caffeine redshift
|
||||
|
||||
# tray-position = right
|
||||
# tray-padding = 2
|
||||
@ -183,25 +183,14 @@
|
||||
wrapping-scroll = false
|
||||
#+END_SRC
|
||||
|
||||
** TODO - Choose some nice icons
|
||||
#+BEGIN_SRC conf
|
||||
ws-icon-default =
|
||||
ws-icon-0 = 1;
|
||||
ws-icon-1 = 2;
|
||||
ws-icon-2 = 3;
|
||||
ws-icon-3 = 4;
|
||||
ws-icon-4 = 5;
|
||||
#+END_SRC
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
format = <label-state> <label-mode>
|
||||
index-sort = true
|
||||
#+END_SRC
|
||||
|
||||
** Colors
|
||||
#+BEGIN_SRC conf
|
||||
label-mode-foreground = ${colors.foreground}
|
||||
label-mode-background = ${colors.turquoise}
|
||||
label-mode-foreground = ${colors.background}
|
||||
label-mode-background = ${colors.foreground}
|
||||
label-mode-padding = 1
|
||||
|
||||
# focused = Active workspace on focused monitor
|
||||
@ -228,9 +217,6 @@ label-visible-padding = 1
|
||||
label-urgent = %icon% %index%
|
||||
label-urgent-background = ${colors.red}
|
||||
label-urgent-padding = 1
|
||||
|
||||
# Separator in between workspaces
|
||||
#label-separator = |
|
||||
#+END_SRC
|
||||
|
||||
* Music using MPD
|
||||
@ -437,18 +423,7 @@ ramp-11 =
|
||||
ramp-foreground = ${colors.foreground}
|
||||
#+END_SRC
|
||||
|
||||
* Settings
|
||||
#+BEGIN_SRC conf
|
||||
[settings]
|
||||
screenchange-reload = true
|
||||
#compositing-background = xor
|
||||
#compositing-background = screen
|
||||
#compositing-foreground = source
|
||||
#compositing-border = over
|
||||
#+END_SRC
|
||||
|
||||
* Unread Mails
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
[module/unread_mail]
|
||||
type = custom/script
|
||||
@ -513,7 +488,6 @@ interval = 1
|
||||
#+end_src
|
||||
|
||||
* Emacs
|
||||
|
||||
#+begin_src conf
|
||||
[module/emacs]
|
||||
type = custom/script
|
||||
@ -612,6 +586,15 @@ exec = echo -e "\uf0f4"
|
||||
interval = 1
|
||||
#+END_SRC
|
||||
|
||||
* Dunst
|
||||
#+BEGIN_SRC conf
|
||||
[module/dunst]
|
||||
type = custom/text
|
||||
content = ""
|
||||
click-left = notify-send "Notifications Disabled" && sleep 2 && notify-send "DUNST_COMMAND_PAUSE"
|
||||
click-right = notify-send "DUNST_COMMAND_RESUME" && notify-send "Notifications Resumed"
|
||||
#+END_SRC
|
||||
|
||||
* Weather
|
||||
https://github.com/x70b1/polybar-scripts/tree/master/polybar-scripts/openweathermap-fullfeatured
|
||||
|
||||
@ -895,14 +878,6 @@ click-left = blurlock
|
||||
click-right = scrot -s -e 'feh $f -x'
|
||||
#+END_SRC
|
||||
|
||||
* ChromeCast Play/Pause
|
||||
#+BEGIN_SRC conf
|
||||
[module/chromecast]
|
||||
type = custom/script
|
||||
content = "懶"
|
||||
click-left = catt play
|
||||
click-right = catt pause
|
||||
#+END_SRC
|
||||
* Scripts
|
||||
** Launch
|
||||
:PROPERTIES:
|
||||
@ -920,7 +895,7 @@ click-left = blurlock
|
||||
|
||||
# Launch Polybar, using default config location ~/.config/polybar/config
|
||||
polybar top &
|
||||
polybar bottom &
|
||||
# polybar bottom &
|
||||
|
||||
echo "Polybar launched..."
|
||||
#+end_src
|
||||
|
Loading…
Reference in New Issue
Block a user