Browse Source

conky -> polybar

master
Maxim Likhachev 6 years ago
parent
commit
ddadc6787b
  1. 3
      etc/rc.linux-gnu
  2. 4
      etc/soft/packages.list
  3. 202
      etc/soft/polybar/polybar.conf
  4. 9
      etc/wm/musca/musca_start.AuthenticAMD

3
etc/rc.linux-gnu

@ -42,7 +42,7 @@ mkdir -p ~/.config/dunst
+ media/moc ~ + media/moc ~
- media/scmpc ~ - media/scmpc ~
- soft/bar/barrc ~ - soft/bar/barrc ~
+ soft/conky/conkyrc.$(uname -i) ~ - soft/conky/conkyrc.$(uname -i) ~
- soft/ctags/ctags ~ - soft/ctags/ctags ~
+ soft/htop ~/.config + soft/htop ~/.config
+ soft/dunst/dunstrc ~/.config/dunst + soft/dunst/dunstrc ~/.config/dunst
@ -56,6 +56,7 @@ mkdir -p ~/.config/dunst
+ soft/git/gitconfig ~ + soft/git/gitconfig ~
- soft/git/gitk ~ - soft/git/gitk ~
+ soft/stalonetray/stalonetrayrc ~ + soft/stalonetray/stalonetrayrc ~
+ media/alsa/asoundrc ~
: --------------------------------------------------------------- : ---------------------------------------------------------------

4
etc/soft/packages.list

@ -5,10 +5,10 @@ PACKAGES="
dunst #Уведомления dunst #Уведомления
xclip #Буфер обмена xclip #Буфер обмена
hstr #История команд hstr #История команд
conky #Мониторинг polybar #Мониторинг
scrot #Скриншоты scrot #Скриншоты
source-highlight #Подсветка синтаксиса bat #Подсветка синтаксиса
zathura #Просмотр PDF/DJVU zathura #Просмотр PDF/DJVU
geeqie #Просмотр изображений geeqie #Просмотр изображений

202
etc/soft/polybar/polybar.conf

@ -0,0 +1,202 @@
;==========================================================
;
;
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
;
;
; 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 = #D9D9D9
background-alt = #444
;foreground = ${xrdb:color7:#222}
foreground = #000000
foreground-alt = #555
primary = #ffb52a
secondary = #e60053
alert = #bd2c40
green = #008000
yellow = #FF8C00
[bar/main]
wm-name = Conky
; monitor = ${env:MONITOR:HDMI-1}
width = 100%
height = 20
fixed-center = false
background = ${colors.background}
foreground = ${colors.foreground}
line-size = 2
;line-color = #f00
border-size = 0
border-color = ${colors.background}
padding-left = 0
padding-right = 2
module-margin-left = 1
module-margin-right = 1
;font-0 = fixed:pixelsize=10;1
font-0 = DejaVuSansMono Nerd Font Mono:size=9
font-1 = DejaVuSansMono Nerd Font Mono:size=9
font-2 = DejaVuSansMono Nerd Font Mono:size=9
;font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
;font-2 = siji:pixelsize=10;1
modules-left = desktop
modules-center = filesystem
modules-right = bdays battery mail xkeyboard alsa date
separator = |
tray-position = right
tray-padding = 2
;tray-transparent = true
;tray-background = #0063ff
cursor-click = pointer
cursor-scroll = ns-resize
[module/desktop]
type = internal/xworkspaces
label-active-foreground = #B22222
label-active-underline = ${colors.alert}
label-empty-underline = ${colors.alert}
[module/delimiter]
type = custom/text
content = ]
[module/bdays]
type = custom/script
exec = dates | grep '\*'
interval = 86400
format =
format-foreground = ${colors.alert}
[module/mail]
type = custom/script
exec = cat $MD/new
interval = 60
format-prefix = " "
format-underline = ${colors.green}
[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/filesystem]
type = internal/fs
mount-0 = /
mount-1 = /home
mount-2 = /mnt/DATA
mount-3 = /mnt/WINDOWS
mount-4 = /mnt/FLASH
interval = 25
fixed-values = true
label-mounted = %mountpoint%: %{F#bd2c40}%free%%{F-}
label-unmounted =
[module/date]
type = internal/date
interval = 5
time = " %H:%M"
date = " %Y-%m-%d
format-prefix =
format-prefix-foreground = ${colors.foreground-alt}
format-underline = #0a6cf5
label = "%time% | %date%"
[module/alsa]
type = internal/alsa
format-volume = <label-volume>
label-volume = 墳 %percentage%%
label-volume-foreground = ${root.foreground}
label-volume-underline = ${colors.green}
ramp-volume-0 = XXX
format-muted-prefix = "婢 "
format-muted-foreground = ${colors.foreground-alt}
format-muted-underline = ${colors.foreground-alt}
label-muted = %percentage%%
[module/battery]
type = internal/battery
battery = BAT0
adapter = ADP1
full-at = 90
format-charging = <animation-charging> <label-charging>
format-charging-underline = ${colors.green}
format-discharging = <ramp-capacity> <label-discharging>
format-discharging-underline = ${colors.yellow}
format-full-prefix = " "
format-full-prefix-foreground = ${colors.green}
format-full-underline = ${colors.green}
ramp-capacity-0 =
ramp-capacity-1 =
ramp-capacity-2 =
ramp-capacity-foreground = ${colors.yellow}
animation-charging-0 =
animation-charging-1 =
animation-charging-2 =
animation-charging-foreground = ${colors.green}
animation-charging-framerate = 750
[settings]
screenchange-reload = true
;compositing-background = xor
;compositing-background = screen
;compositing-foreground = source
;compositing-border = over
[global/wm]
margin-top = 5
margin-bottom = 5
; vim:ft=dosini

9
etc/wm/musca/musca_start.AuthenticAMD

@ -1,7 +1,7 @@
[~/.musca_start] [~/.musca_start]
# #
# Изменён: Пт 01 фев 2019 17:19:42 # Изменён: Сб 01 июн 2019 22:36:16
# #
#Цветовая схема#{{{ #Цветовая схема#{{{
@ -17,14 +17,14 @@ set border_catchall_unfocus #882255
#Рабочие группы#{{{ #Рабочие группы#{{{
name α name α
hook on add pad 0 0 18 0 hook on add pad 0 0 20 0
add β add β
add γ add γ
add δ add δ
border off border off
hook on add pad 0 0 0 0 hook on add pad 0 0 0 0
use α use α
hook on add pad 0 0 18 0 hook on add pad 0 0 20 0
refresh refresh
#Два дисплея #Два дисплея
@ -196,7 +196,8 @@ set dmenu dmenu -i
#}}} #}}}
# Запуск программ#{{{ # Запуск программ#{{{
exec conky #exec conky
exec polybar -c $SHELLRC/etc/soft/polybar/polybar.conf main
exec xbindkeys -f $SHELLRC/etc/X/xbindkeysrc.$(uname -i) exec xbindkeys -f $SHELLRC/etc/X/xbindkeysrc.$(uname -i)
exec xrdb ~/.Xdefaults exec xrdb ~/.Xdefaults
#exec urxvtd -q -o -f #exec urxvtd -q -o -f

Loading…
Cancel
Save