Browse Source

updated polybar termite and rofi

master
Matthias Puchstein 1 month ago
parent
commit
c155db0596
9 changed files with 100 additions and 1493 deletions
  1. +47
    -0
      alacritty/alacritty.yml
  2. +44
    -34
      polybar/config
  3. +0
    -363
      polybar/config_intel
  4. +0
    -363
      polybar/config_newold
  5. +0
    -463
      polybar/config_old
  6. +0
    -268
      polybar/config_owlenlap01
  7. +7
    -0
      polybar/polybar.sh
  8. +1
    -1
      rofi/config.rasi
  9. +1
    -1
      termite/config

+ 47
- 0
alacritty/alacritty.yml View File

@@ -0,0 +1,47 @@
font:
normal:
family: InconsolataLGC Nerd Font Mono
style: Regular
bold:
family: InconsolataLGC Nerd Font Mono
style: Bold

italic:
family: InconsolataLGC Nerd Font Mono
style: Regular
bold_italic:
family: InconsolataLGC Nerd Font Mono
style: BoldItalic

size: 10

# Colors (Srcery)
colors:
# Default colors
primary:
background: '0x1c1b19'
foreground: '0xfce8c3'

# Normal colors
normal:
black: '0x1c1b19'
red: '0xef2f27'
green: '0x519f50'
yellow: '0xfbb829'
blue: '0x2c78bf'
magenta: '0xe02c6d'
cyan: '0x0aaeb3'
white: '0xd0bfa1'

# Bright colors
bright:
black: '0x918175'
red: '0xf75341'
green: '0x98bc37'
yellow: '0xfed06e'
blue: '0x68a8e4'
magenta: '0xff5c8f'
cyan: '0x53fde9'
white: '0xfce8c3'

polybar/config_owlenlap00 → polybar/config View File

@@ -33,7 +33,7 @@ pseudo-transparency = true

[bar/base]
width = 100%
height = 17
height = 14
offset-x = 0
offset-y = 0

@@ -56,9 +56,9 @@ padding-right = 0
module-margin-left = 0
module-margin-right = 0

font-0 = InconsolataGo Nerd Font Mono:pixelsize=10;2
font-1 = InconsolataGo Nerd Font Mono:pixelsize=15;2
font-2 = InconsolataGo Nerd Font Mono:pixelsize=15;3
font-0 = InconsolataLGC Nerd Font Mono:pixelsize=8;2
font-1 = InconsolataLGC Nerd Font Mono:pixelsize=12;3
font-2 = InconsolataLGC Nerd Font Mono:pixelsize=12;2

;###################################################################################################

@@ -68,7 +68,7 @@ inherit = bar/base
#monitor = ${env:MONITOR:eDP-1}
bottom = false

modules-left = wirednet wirelessnet
modules-left = net netwifi
modules-center = bspwm
modules-right = battery date

@@ -106,9 +106,9 @@ enable-scroll = true
reverse-scroll = true
fuzzy-match = true

label-focused = "%{T2}%{T-}"
label-focused = "%{T2}%{T-}"
label-occupied = "%{T2}%{T-}"
label-empty = "%{T2}%{T-}"
label-empty = "%{T2}%{T-}"
label-urgent = "%{T2}%{T-}"

; label-focused-foreground = ${colors.foreground}
@@ -130,16 +130,16 @@ label-separator = " "
; label-separator-foreground = ${colors.foreground}
; label-separator-background = ${colors.color4}

format = %{R}%{T2}%{R}%{T-}<label-state>%{R}%{T3}%{R}%{T-}
format = <label-state>
format-background = ${colors.color13}
format-foreground = ${colors.background}

format-padding = 0
format-margin = 2
format-padding = 1
format-margin = 1

[module/bspwmmonitor]
inherit = module/bspwm
format = %{R}%{T2}%{R}%{T-}<label-monitor>%{R}%{T3}%{R}%{T-}
format = <label-monitor>

###################################################################################################

@@ -201,11 +201,11 @@ date-alt = %A, %d %B %Y
time-alt = %H:%M:%S

label = %date% %time%
format = %{T2}%{R}%{T-}%{R}%{T2}%{T-} <label>%{T3}%{R}%{T-}%{R}
format = %{T2}%{T-} <label>
format-foreground = ${colors.background}
format-background = ${colors.color3}
format-padding = 0
format-margin = 2
format-padding = 1
format-margin = 1

;###################################################################################################
;#############################################battery###############################################
@@ -215,15 +215,15 @@ format-margin = 2
type = internal/battery
battery = BAT1
adapter = ADP1
full-at = 80
full-at = 100

label-charging = %{T2}%{T-} %percentage:2:2%%
label-discharging = %{T2}%{T-} %percentage:2:2%%
label-full = %{T2}%{T-} MAX

format-charging = %{R}%{T2}%{T-}%{R}<label-charging>%{R}%{T3}%{T-}%{R}
format-discharging = %{R}%{T2}%{T-}%{R}<label-discharging>%{R}%{T3}%{T-}%{R}
format-full = %{R}%{T2}%{T-}%{R}<label-full>%{R}%{T3}%{T-}%{R}
format-charging = <label-charging>
format-discharging = <label-discharging>
format-full = <label-full>

format-charging-foreground = ${colors.background}
format-discharging-foreground = ${colors.background}
@@ -232,23 +232,27 @@ format-charging-background = ${colors.color10}
format-discharging-background = ${colors.color11}
format-full-background = ${colors.color14}

format-charging-margin = 2
format-discharging-margin = 2
format-full-margin = 2
format-charging-margin = 1
format-discharging-margin = 1
format-full-margin = 1

format-charging-padding = 1
format-discharging-padding = 1
format-full-padding = 1

;###################################################################################################
;#############################################network###############################################
;###################################################################################################

[module/wirednet]
[module/net]
type = internal/network
interface = enp3s0
interface = ${env:WIREDIF:eth0}

format-connected = %{R}%{T2}%{R}%{T-}<label-connected>%{R}%{T3}%{T-}%{R-}
format-disconnected = %{R}%{T2}%{R}%{T-}<label-disconnected>%{R}%{T3}%{T-}%{R-}
format-connected = <label-connected>
format-disconnected = <label-disconnected>

label-connected = %{T2}%{T-} %local_ip% %upspeed:8:8% %downspeed:8:8% %linkspeed%
label-disconnected = %{T2}%{T-}
label-connected = %{T2}%{T-} %local_ip% %linkspeed%
label-disconnected = %{T2}%{T-}

format-connected-foreground = ${colors.background}
format-disconnected-foreground = ${colors.background}
@@ -256,13 +260,19 @@ format-disconnected-foreground = ${colors.background}
format-connected-background = ${colors.color2}
format-disconnected-background = ${colors.color1}

format-connected-margin = 2
format-disconnected-margin = 2
format-connected-margin = 1
format-disconnected-margin = 1

format-connected-padding = 1
format-disconnected-padding = 1

[module/wirelessnet]
inherit = module/wirednet
[module/netwifi]
inherit = module/net
type = internal/network
interface = wlp5s0
interface = ${env:WIFIIF:wlan0}

label-connected = %{T2}%{T-} %essid% %local_ip%
label-disconnected = %{T2}%{T-}

label-connected = %{T2}直%{T-} %essid% %upspeed:8:8% %downspeed:8:8%
label-disconnected = %{T2}睊%{T-}
;label-connected = %{T2}直%{T-} %essid% %upspeed:8:8% %downspeed:8:8%
;label-disconnected = %{T2}睊%{T-}

+ 0
- 363
polybar/config_intel View File

@@ -1,363 +0,0 @@
; vim:ft=dosini

;[colors]
; # Base16 Tomorrow Night
; # Author: Chris Kempson (http://chriskempson.com)
;
; foreground = #c5c8c6
; foreground_bold = #e0e0e0
; cursor = #e0e0e0
; ; background = #1d1f21
; background = #00000000
;
; # 16 color space
;
; # Black, Gray, Silver, White
; color0 = #1d1f21
; color8 = #969896
; color7 = #c5c8c6
; color15 = #ffffff
;
; # Red
; color1 = #cc6666
; color9 = #cc6666
;
; # Green
; color2 = #b5bd68
; color10 = #b5bd68
;
; # Yellow
; color3 = #f0c674
; color11 = #f0c674
;
; # Blue
; color4 = #81a2be
; color12 = #81a2be
;
; # Purple
; color5 = #b294bb
; color13 = #b294bb
;
; # Teal
; color6 = #8abeb7
; color14 = #8abeb7
;
; # Extra colors
; color16 = #de935f
; color17 = #a3685a
; color18 = #282a2e
; color19 = #373b41
; color20 = #b4b7b4
; color21 = #e0e0e0
;
; #tomorrownight

#Navy and Ivory
;#By: hal
;# special
;foreground = #e8dfd6
;foreground_bold = #e8dfd6
;cursor = #e8dfd6
;background = #021b21
;
;# black
;color0 = #032c36
;color8 = #065f73
;
;# red
;color1 = #c2454e
;color9 = #ef5847
;
;# green
;color2 = #7cbf9e
;color10 = #a2d9b1
;
;# yellow
;color3 = #8a7a63
;color11 = #beb090
;
;# blue
;color4 = #2e3340
;color12 = #61778d
;
;# magenta
;color5 = #ff5879
;color13 = #ff99a1
;
;# cyan
;color6 = #44b5b1
;color14 = #9ed9d8
;
;# white
;color7 = #f2f1b9
;color15 = #f6f6c9

[colors]
background = #16101a
foreground = #c5b1b2
color0 = #534b69
color1 = #9b2541
color2 = #30553f
color3 = #734419
color4 = #4c488d
color5 = #883073
color6 = #18546f
color7 = #decef8
color8 = #73524e
color9 = #9b3b5c
color10 = #4e5d47
color11 = #8e4728
color12 = #5c519b
color13 = #a23464
color14 = #2d5d87
color15 = #f3e5ff

[global/wm]
margin-top = 0
margin-bottom = 0

;###################################################################################################
;###############################################BARS################################################
;###################################################################################################

[bar/base]
width = 100%
height = 17
offset-x = 0
offset-y = 0

wm-restack = bspwm

fixed-center = true

background = ${colors.background}
foreground = ${colors.foreground}

overline-size = 2
overline-color = ${colors.color4}
underline-size = 2
underline-color = ${colors.color4}

spacing = 0
padding-left = 0
padding-right = 0

module-margin-left = 0
module-margin-right = 0

font-0 = InconsolataGo Nerd Font Mono:pixelsize=10;2
font-1 = InconsolataGo Nerd Font Mono:pixelsize=15;2
font-2 = InconsolataGo Nerd Font Mono:pixelsize=15;3

;###################################################################################################

[bar/eDPtop]
inherit = bar/base

monitor = ${env:MONITOR:eDP-1}
bottom = false

modules-left = bspwmmonitor bspwm
modules-center =
modules-right = wirednet wirelessnet battery date

#tray-position = center
#tray-maxsize = 17

;###################################################################################################

[bar/VGAtop]
inherit = bar/base

monitor = ${env:MONITOR:VGA-1}
bottom = false

modules-left = bspwmmonitor bspwm
modules-center =
modules-right = date

[bar/HDMItop]
inherit = bar/base

monitor = ${env:MONITOR:HDMI-1}
bottom = false

modules-left = bspwmmonitor bspwm
modules-center =
modules-right = date



;###################################################################################################
;#############################################MODULES###############################################
;###################################################################################################

[module/bspwm]
type = internal/bspwm
pin-workspace = true
inline-mode = false
enable-click = true
enable-scroll = true
reverse-scroll = true
fuzzy-match = true

label-focused = "%{T2}ﱣ%{T-}"
label-occupied = "%{T2}%{T-}"
label-empty = "%{T2}ﱤ%{T-}"
label-urgent = "%{T2}%{T-}"

; label-focused-foreground = ${colors.foreground_bold}
; label-occupied-foreground = ${colors.foreground}
; label-empty-foreground = ${colors.foreground}
; label-urgent-foreground = ${colors.foreground_bold}
;
; label-focused-background = ${colors.color4}
; label-occupied-background = ${colors.color4}
; label-empty-background = ${colors.color4}
; label-urgent-background = ${colors.color4}

label-monitor = %name%
; label-monitor-foreground = ${colors.foreground}
; label-monitor-background = ${colors.color4}

label-separator = " "
; label-separator-padding = 0
; label-separator-foreground = ${colors.foreground}
; label-separator-background = ${colors.color4}

format = %{R}%{T2}%{R}%{T-}<label-state>%{R}%{T3}%{R}%{T-}
format-background = ${colors.color13}
format-foreground = ${colors.background}

format-padding = 0
format-margin = 2

[module/bspwmmonitor]
inherit = module/bspwm
format = %{R}%{T2}%{R}%{T-}<label-monitor>%{R}%{T3}%{R}%{T-}

###################################################################################################

[module/isrunning-compton]
type = custom/script
exec = ~/.config/polybar/scripts/isrunning-compton.sh
interval = 5
click-left = ~/.config/polybar/scripts/isrunning-compton.sh --toggle
format-background = ${colors.color0}

[module/weather]
type = custom/script
exec = ~/.config/polybar/scripts/weather.py
interval = 300
click-left = ~/.config/polybar/scripts/weather.py --rofi --hourly
click-right= ~/.config/polybar/scripts/weather.py --rofi --daily
format-background = ${colors.color7}
format-foreground = ${colors.color0}
format-padding = 2

[module/updatecounter]
type = custom/script
exec = ~/.config/polybar/scripts/updatecounter/updatecounter.sh
interval = 3600
format-foreground = ${colors.color0}
format-background = ${colors.color6}
click-left = termite --hold -e "sudo pacman -Syyu"
click-right = termite --hold -e "yay -Syyu"

[module/xwindow]
type = internal/xwindow
label = %title:0:120:...%
label-empty = "%{T2}ﱢﱢﱢﱢﱢ%{T-}"
label-foreground = ${colors.color18}
label-background = ${colors.color16}
label-empty-foreground = ${colors.color16}
label-empty-background = ${colors.color16}
label-padding = 4

;###################################################################################################
;##############################################date#################################################
;###################################################################################################

[module/date]
type = internal/date

; Seconds to sleep between updates
interval = 1.0

; See "man date" for details on how to format the date string
; NOTE: if you want to use syntax tags here you need to use %%{...}
date = %a %b %d,

; Optional time format
time = %H:%M
; if `date-alt` or `time-alt` is defined, clicking
; the module will toggle between formats
date-alt = %A, %d %B %Y
time-alt = %H:%M:%S

label = %date% %time%
format = %{T2}%{R}%{T-}%{R}%{T2}%{T-} <label>%{T3}%{R}%{T-}%{R}
format-foreground = ${colors.background}
format-background = ${colors.color3}
format-padding = 0
format-margin = 2

;###################################################################################################
;#############################################battery###############################################
;###################################################################################################

[module/battery]
type = internal/battery
battery = BAT1
adapter = ADP1
full-at = 80

label-charging = %{T2}%{T-} %percentage:2:2%%
label-discharging = %{T2}%{T-} %percentage:2:2%%
label-full = %{T2}%{T-} MAX

format-charging = %{R}%{T2}%{T-}%{R}<label-charging>%{R}%{T3}%{T-}%{R}
format-discharging = %{R}%{T2}%{T-}%{R}<label-discharging>%{R}%{T3}%{T-}%{R}
format-full = %{R}%{T2}%{T-}%{R}<label-full>%{R}%{T3}%{T-}%{R}

format-charging-foreground = ${colors.background}
format-discharging-foreground = ${colors.background}
format-full-foreground = ${colors.background}
format-charging-background = ${colors.color10}
format-discharging-background = ${colors.color11}
format-full-background = ${colors.color14}

format-charging-margin = 2
format-discharging-margin = 2
format-full-margin = 2

;###################################################################################################
;#############################################network###############################################
;###################################################################################################

[module/wirednet]
type = internal/network
interface = enp3s0

format-connected = %{R}%{T2}%{R}%{T-}<label-connected>%{R}%{T3}%{T-}%{R-}
format-disconnected = %{R}%{T2}%{R}%{T-}<label-disconnected>%{R}%{T3}%{T-}%{R-}

label-connected = %{T2}%{T-} %local_ip% %upspeed:8:8% %downspeed:8:8% %linkspeed%
label-disconnected = %{T2}%{T-}

format-connected-foreground = ${colors.background}
format-disconnected-foreground = ${colors.background}

format-connected-background = ${colors.color2}
format-disconnected-background = ${colors.color1}

format-connected-margin = 2
format-disconnected-margin = 2

[module/wirelessnet]
inherit = module/wirednet
type = internal/network
interface = wlp5s0

label-connected = %{T2}直%{T-} %essid% %upspeed:8:8% %downspeed:8:8%
label-disconnected = %{T2}睊%{T-}

+ 0
- 363
polybar/config_newold View File

@@ -1,363 +0,0 @@
; vim:ft=dosini

;[colors]
; # Base16 Tomorrow Night
; # Author: Chris Kempson (http://chriskempson.com)
;
; foreground = #c5c8c6
; foreground_bold = #e0e0e0
; cursor = #e0e0e0
; ; background = #1d1f21
; background = #00000000
;
; # 16 color space
;
; # Black, Gray, Silver, White
; color0 = #1d1f21
; color8 = #969896
; color7 = #c5c8c6
; color15 = #ffffff
;
; # Red
; color1 = #cc6666
; color9 = #cc6666
;
; # Green
; color2 = #b5bd68
; color10 = #b5bd68
;
; # Yellow
; color3 = #f0c674
; color11 = #f0c674
;
; # Blue
; color4 = #81a2be
; color12 = #81a2be
;
; # Purple
; color5 = #b294bb
; color13 = #b294bb
;
; # Teal
; color6 = #8abeb7
; color14 = #8abeb7
;
; # Extra colors
; color16 = #de935f
; color17 = #a3685a
; color18 = #282a2e
; color19 = #373b41
; color20 = #b4b7b4
; color21 = #e0e0e0
;
; #tomorrownight

#Navy and Ivory
;#By: hal
;# special
;foreground = #e8dfd6
;foreground_bold = #e8dfd6
;cursor = #e8dfd6
;background = #021b21
;
;# black
;color0 = #032c36
;color8 = #065f73
;
;# red
;color1 = #c2454e
;color9 = #ef5847
;
;# green
;color2 = #7cbf9e
;color10 = #a2d9b1
;
;# yellow
;color3 = #8a7a63
;color11 = #beb090
;
;# blue
;color4 = #2e3340
;color12 = #61778d
;
;# magenta
;color5 = #ff5879
;color13 = #ff99a1
;
;# cyan
;color6 = #44b5b1
;color14 = #9ed9d8
;
;# white
;color7 = #f2f1b9
;color15 = #f6f6c9

[colors]
background = #16101a
foreground = #c5b1b2
color0 = #534b69
color1 = #9b2541
color2 = #30553f
color3 = #734419
color4 = #4c488d
color5 = #883073
color6 = #18546f
color7 = #decef8
color8 = #73524e
color9 = #9b3b5c
color10 = #4e5d47
color11 = #8e4728
color12 = #5c519b
color13 = #a23464
color14 = #2d5d87
color15 = #f3e5ff

[global/wm]
margin-top = 0
margin-bottom = 0

;###################################################################################################
;###############################################BARS################################################
;###################################################################################################

[bar/base]
width = 100%
height = 17
offset-x = 0
offset-y = 0

wm-restack = bspwm

fixed-center = true

background = ${colors.background}
foreground = ${colors.foreground}

overline-size = 2
overline-color = ${colors.color4}
underline-size = 2
underline-color = ${colors.color4}

spacing = 0
padding-left = 0
padding-right = 0

module-margin-left = 0
module-margin-right = 0

font-0 = InconsolataGo Nerd Font Mono:pixelsize=10;2
font-1 = InconsolataGo Nerd Font Mono:pixelsize=15;2
font-2 = InconsolataGo Nerd Font Mono:pixelsize=15;3

;###################################################################################################

[bar/eDPtop]
inherit = bar/base

monitor = ${env:MONITOR:eDP-1}
bottom = false

modules-left = bspwmmonitor bspwm
modules-center =
modules-right = wirednet wirelessnet battery date

#tray-position = center
#tray-maxsize = 17

;###################################################################################################

[bar/VGAtop]
inherit = bar/base

monitor = ${env:MONITOR:VGA-1}
bottom = false

modules-left = bspwmmonitor bspwm
modules-center =
modules-right = date

[bar/HDMItop]
inherit = bar/base

monitor = ${env:MONITOR:HDMI-1}
bottom = false

modules-left = bspwmmonitor bspwm
modules-center =
modules-right = date



;###################################################################################################
;#############################################MODULES###############################################
;###################################################################################################

[module/bspwm]
type = internal/bspwm
pin-workspace = true
inline-mode = false
enable-click = true
enable-scroll = true
reverse-scroll = true
fuzzy-match = true

label-focused = "%{T2}ﱣ%{T-}"
label-occupied = "%{T2}%{T-}"
label-empty = "%{T2}ﱤ%{T-}"
label-urgent = "%{T2}%{T-}"

; label-focused-foreground = ${colors.foreground_bold}
; label-occupied-foreground = ${colors.foreground}
; label-empty-foreground = ${colors.foreground}
; label-urgent-foreground = ${colors.foreground_bold}
;
; label-focused-background = ${colors.color4}
; label-occupied-background = ${colors.color4}
; label-empty-background = ${colors.color4}
; label-urgent-background = ${colors.color4}

label-monitor = %name%
; label-monitor-foreground = ${colors.foreground}
; label-monitor-background = ${colors.color4}

label-separator = " "
; label-separator-padding = 0
; label-separator-foreground = ${colors.foreground}
; label-separator-background = ${colors.color4}

format = %{R}%{T2}%{R}%{T-}<label-state>%{R}%{T3}%{R}%{T-}
format-background = ${colors.color13}
format-foreground = ${colors.background}

format-padding = 0
format-margin = 2

[module/bspwmmonitor]
inherit = module/bspwm
format = %{R}%{T2}%{R}%{T-}<label-monitor>%{R}%{T3}%{R}%{T-}

###################################################################################################

[module/isrunning-compton]
type = custom/script
exec = ~/.config/polybar/scripts/isrunning-compton.sh
interval = 5
click-left = ~/.config/polybar/scripts/isrunning-compton.sh --toggle
format-background = ${colors.color0}

[module/weather]
type = custom/script
exec = ~/.config/polybar/scripts/weather.py
interval = 300
click-left = ~/.config/polybar/scripts/weather.py --rofi --hourly
click-right= ~/.config/polybar/scripts/weather.py --rofi --daily
format-background = ${colors.color7}
format-foreground = ${colors.color0}
format-padding = 2

[module/updatecounter]
type = custom/script
exec = ~/.config/polybar/scripts/updatecounter/updatecounter.sh
interval = 3600
format-foreground = ${colors.color0}
format-background = ${colors.color6}
click-left = termite --hold -e "sudo pacman -Syyu"
click-right = termite --hold -e "yay -Syyu"

[module/xwindow]
type = internal/xwindow
label = %title:0:120:...%
label-empty = "%{T2}ﱢﱢﱢﱢﱢ%{T-}"
label-foreground = ${colors.color18}
label-background = ${colors.color16}
label-empty-foreground = ${colors.color16}
label-empty-background = ${colors.color16}
label-padding = 4

;###################################################################################################
;##############################################date#################################################
;###################################################################################################

[module/date]
type = internal/date

; Seconds to sleep between updates
interval = 1.0

; See "man date" for details on how to format the date string
; NOTE: if you want to use syntax tags here you need to use %%{...}
date = %a %b %d,

; Optional time format
time = %H:%M
; if `date-alt` or `time-alt` is defined, clicking
; the module will toggle between formats
date-alt = %A, %d %B %Y
time-alt = %H:%M:%S

label = %date% %time%
format = %{T2}%{R}%{T-}%{R}%{T2}%{T-} <label>%{T3}%{R}%{T-}%{R}
format-foreground = ${colors.background}
format-background = ${colors.color3}
format-padding = 0
format-margin = 2

;###################################################################################################
;#############################################battery###############################################
;###################################################################################################

[module/battery]
type = internal/battery
battery = BAT1
adapter = ADP1
full-at = 80

label-charging = %{T2}%{T-} %percentage:2:2%%
label-discharging = %{T2}%{T-} %percentage:2:2%%
label-full = %{T2}%{T-} MAX

format-charging = %{R}%{T2}%{T-}%{R}<label-charging>%{R}%{T3}%{T-}%{R}
format-discharging = %{R}%{T2}%{T-}%{R}<label-discharging>%{R}%{T3}%{T-}%{R}
format-full = %{R}%{T2}%{T-}%{R}<label-full>%{R}%{T3}%{T-}%{R}

format-charging-foreground = ${colors.background}
format-discharging-foreground = ${colors.background}
format-full-foreground = ${colors.background}
format-charging-background = ${colors.color10}
format-discharging-background = ${colors.color11}
format-full-background = ${colors.color14}

format-charging-margin = 2
format-discharging-margin = 2
format-full-margin = 2

;###################################################################################################
;#############################################network###############################################
;###################################################################################################

[module/wirednet]
type = internal/network
interface = enp3s0

format-connected = %{R}%{T2}%{R}%{T-}<label-connected>%{R}%{T3}%{T-}%{R-}
format-disconnected = %{R}%{T2}%{R}%{T-}<label-disconnected>%{R}%{T3}%{T-}%{R-}

label-connected = %{T2}%{T-} %local_ip% %upspeed:8:8% %downspeed:8:8% %linkspeed%
label-disconnected = %{T2}%{T-}

format-connected-foreground = ${colors.background}
format-disconnected-foreground = ${colors.background}

format-connected-background = ${colors.color2}
format-disconnected-background = ${colors.color1}

format-connected-margin = 2
format-disconnected-margin = 2

[module/wirelessnet]
inherit = module/wirednet
type = internal/network
interface = wlp5s0

label-connected = %{T2}直%{T-} %essid% %upspeed:8:8% %downspeed:8:8%
label-disconnected = %{T2}睊%{T-}

+ 0
- 463
polybar/config_old View File

@@ -1,463 +0,0 @@
; vim:ft=dosini

[colors]
# Base16 Tomorrow Night
# Author: Chris Kempson (http://chriskempson.com)

foreground = #c5c8c6
foreground_bold = #e0e0e0
cursor = #e0e0e0
; background = #1d1f21
background = #00000000

# 16 color space

# Black, Gray, Silver, White
color0 = #1d1f21
color8 = #969896
color7 = #c5c8c6
color15 = #ffffff

# Red
color1 = #cc6666
color9 = #cc6666

# Green
color2 = #b5bd68
color10 = #b5bd68

# Yellow
color3 = #f0c674
color11 = #f0c674

# Blue
color4 = #81a2be
color12 = #81a2be

# Purple
color5 = #b294bb
color13 = #b294bb

# Teal
color6 = #8abeb7
color14 = #8abeb7

# Extra colors
color16 = #de935f
color17 = #a3685a
color18 = #282a2e
color19 = #373b41
color20 = #b4b7b4
color21 = #e0e0e0

#tomorrownight


[global/wm]
margin-top = 0
margin-bottom = 0

[bar/base]
width = 100%
height = 20
offset-x = 0
offset-y = 0

wm-restack = bspwm

fixed-center = true

background = ${colors.background}
foreground = ${colors.foreground}

overline-size = 2
overline-color = ${colors.color4}
underline-size = 2
underline-color = ${colors.color4}

spacing = 0
padding-left = 0
padding-right = 0

module-margin-left = 0
module-margin-right = 0

font-0 = Inconsolata Nerd Font Mono:pixelsize=10;1
font-1 = Inconsolata Nerd Font Mono:pixelsize=20;4

[bar/eDPtop]
inherit = bar/base

monitor = ${env:MONITOR:eDP-1-1}
bottom = false

modules-left = bspwm arrowrightgreenorange bspwmwindowedp arrowrightorange
modules-center =
modules-right = arrowleftsilver weather battery date

[bar/eDPbot]
inherit = bar/base

monitor = ${env:MONITOR:eDP-1-1}
bottom = true

tray-position = center
tray-maxsize = 16

modules-left = wirednet wirelessnet
modules-center =
modules-right = alsa arrowleftteal updatecounter arrowlefttealblack isrunning-compton

[bar/VGAtop]
inherit = bar/base

monitor = ${env:MONITOR:VGA-1-1}
bottom = false

modules-left = bspwm arrowrightgreenorange bspwmwindowvga arrowrightorange
modules-center =
modules-right = arrowleftpurple date

[bar/HDMItop]
inherit = bar/base

monitor = ${env:MONITOR:HDMI-1-1}
bottom = false

modules-left = bspwm arrowrightgreenorange bspwmwindowhdmi arrowrightorange
modules-center =
modules-right =

;##############
;Modules
;##############

[module/bspwm]
type = internal/bspwm
pin-workspace = true
inline-mode = false
enable-click = true
enable-scroll = true
reverse-scroll = true
fuzzy-match = true

label-focused = "%{T2}ﱣ%{T-}"
label-occupied = "%{T2}%{T-}"
label-empty = "%{T2}ﱤ%{T-}"
label-urgent = "%{T2}%{T-}"

label-focused-foreground = ${colors.color19}
label-occupied-foreground = ${colors.color19}
label-empty-foreground = ${colors.color19}
label-urgent-foreground = ${colors.color19}

; label-focused-background = ${colors.color2}
; label-occupied-background = ${colors.color2}
; label-empty-background = ${colors.color2}
; label-urgent-background = ${colors.color2}

label-monitor = %name% %{T2}%{T-}
label-monitor-foreground = ${colors.color0}
label-monitor-background = ${colors.color1}

label-separator = " "
; label-separator-padding = 0
label-separator-foreground = ${colors.color18}
; label-separator-background = ${colors.color2}

format = <label-state>
format-padding = 2
format-margin = 0
format-background = ${colors.color2}

[module/bspwmwindowedp]
type = custom/script
exec = xtitle $(bspc query --nodes -d eDP-1-1:focused --node .window.focused)
interval = 0
format-background = ${colors.color16}
format-foreground = ${colors.color18}
format-padding = 2

[module/bspwmwindowvga]
type = custom/script
exec = xtitle $(bspc query --nodes -d VGA-1-1:focused --node .window.focused)
interval = 0
format-background = ${colors.color16}
format-foreground = ${colors.color18}
format-padding = 2

[module/bspwmwindowhdmi]
type = custom/script
exec = xtitle $(bspc query --nodes -d HDMI-1-1:focused --node .window.focused)
interval = 0
format-background = ${colors.color16}
format-foreground = ${colors.color18}
format-padding = 2

[module/isrunning-compton]
type = custom/script
exec = ~/.config/polybar/scripts/isrunning-compton.sh
interval = 5
click-left = ~/.config/polybar/scripts/isrunning-compton.sh --toggle
format-background = ${colors.color0}

[module/weather]
type = custom/script
exec = ~/.config/polybar/scripts/weather.py
interval = 300
click-left = ~/.config/polybar/scripts/weather.py --rofi --hourly
click-right= ~/.config/polybar/scripts/weather.py --rofi --daily
format-background = ${colors.color7}
format-foreground = ${colors.color0}
format-padding = 2

[module/updatecounter]
type = custom/script
exec = ~/.config/polybar/scripts/updatecounter/updatecounter.sh
interval = 3600
format-foreground = ${colors.color0}
format-background = ${colors.color6}
click-left = termite --hold -e "sudo pacman -Syyu"
click-right = termite --hold -e "yay -Syyu"

[module/xwindow]
type = internal/xwindow
label = %title:0:120:...%
label-empty = "%{T2}ﱢﱢﱢﱢﱢ%{T-}"
label-foreground = ${colors.color18}
label-background = ${colors.color16}
label-empty-foreground = ${colors.color16}
label-empty-background = ${colors.color16}
label-padding = 4

[module/date]
type = internal/date

; Seconds to sleep between updates
interval = 1.0

; See "man date" for details on how to format the date string
; NOTE: if you want to use syntax tags here you need to use %
%{...}
date = %a %b %d,

; Optional time format
time = %H:%M
; if `date-alt` or `time-alt` is defined, clicking
; the module will toggle between formats
date-alt = %A, %d %B %Y
time-alt = %H:%M:%S

label = %date% %time%
format = %{T2}%{T-} <label>
format-background = ${colors.color5}
;format-background = #88000000
format-foreground = ${colors.color18}
format-padding = 2
format-margin = 0

[module/battery]
type = internal/battery
battery = BAT1
adapter = ADP1
full-at = 80

label-charging = %{T2}%{T-} %percentage%%
label-charging-foreground = ${colors.color19}
label-charging-background = ${module/battery.format-charging-foreground}
label-charging-padding = 2
; label-charging-
; label-charging-

label-discharging = %{T2}%{T-} %percentage%%
label-discharging-foreground = ${colors.color19}
label-discharging-background = ${module/battery.format-discharging-foreground}
label-discharging-padding = 2
; label-discharging-b
; label-discharging-b

label-full-foreground = ${colors.color19}
label-full = %{T2}%{T-} %percentage%%
label-full-background = ${module/battery.format-full-foreground}
label-full-padding = 2
; label-full
; label-full

format-charging = %{B#c5c8c6}%{T2}%{T-}%{B-}<label-charging>%{B#b5bd68}%{F#b294bb}%{T2}%{T-}%{F-}%{B-}
;format-charging-underline = ${colors.color3}
format-charging-foreground = ${colors.color2}
; format-charging-background = ${colors.color7}
format-charging-padding = 0

format-discharging = %{B#c5c8c6}%{T2}%{T-}%{B-}<label-discharging>%{B#cc6666}%{F#b294bb}%{T2}%{T-}%{F-}%{B-}
;format-discharging-underline = ${colors.color1}
format-discharging-foreground = ${colors.color1}
; format-discharging-background = ${colors.color7}
format-discharging-padding = 0

format-full = %{B#c5c8c6}%{T2}%{T-}%{B-}<label-full>%{B#8abeb7}%{F#b294bb}%{T2}%{T-}%{F-}%{B-}
format-full-prefix-foreground = ${colors.foreground-alt}
;format-full-underline = ${colors.color2}
format-full-foreground = ${colors.color6}
; format-full-background = ${colors.color7}
format-full-padding = 0

[module/wirednet]
type = internal/network
interface = enp3s0
interval = 3.0

format-connected = <label-connected>
format-packetloss = <animation-packetloss> <label-connected>

label-connected = %ifname% %local_ip% %upspeed% %downspeed% %linkspeed% %{F#f0c674}%{R}%{T2}%{T-}%{R-}%{F-}
label-disconnected= %{B#81a2be} %ifname% not connected %{F#f0c674}%{R}%{T2}%{T-}%{R-}%{F-}%{B-}

label-connected-foreground = ${colors.color0}
label-disconnected-foreground = ${colors.color0}

label-connected-background = ${colors.color6}
label-disconnect-background = ${colors.color1}


; Only applies if <ramp-signal> is used
ramp-signal-0 = 😱
ramp-signal-1 = 😠
ramp-signal-2 = 😒
ramp-signal-3 = 😊
ramp-signal-4 = 😃
ramp-signal-5 = 😈

; Only applies if <animation-packetloss> is used
animation-packetloss-0 = ⚠
animation-packetloss-0-foreground = #ffa64c
animation-packetloss-1 = 📶
animation-packetloss-1-foreground = #000000
; Framerate in milliseconds
animation-packetloss-framerate = 500


[module/wirelessnet]
type = internal/network
interface = wlp5s0
interval = 3.0

format-connected = <label-connected>
format-packetloss = <animation-packetloss> <label-connected>

label-connected = %{F#f0c674}%{T2}%{T-}%{F#1d1f21} %ifname% %local_ip%@%essid% %upspeed% %downspeed% %{F#00000000}%{R}%{T2}%{T-}%{R-}%{F-}
label-disconnected= %{F#f0c674}%{T2}%{T-}%{F#1d1f21} %ifname% not connected %{F#00000000}%{R}%{T2}%{T-}%{R-}

; label-connected-foreground = ${colors.color0}
; label-disconnected-foreground = ${colors.color0}

label-connected-background = ${colors.color2}
label-disconnected-background = ${colors.color1}

; Only applies if <ramp-signal> is used
ramp-signal-0 = 😱
ramp-signal-1 = 😠
ramp-signal-2 = 😒
ramp-signal-3 = 😊
ramp-signal-4 = 😃
ramp-signal-5 = 😈

; Only applies if <animation-packetloss> is used
animation-packetloss-0 = ⚠
animation-packetloss-0-foreground = #ffa64c
animation-packetloss-1 = 📶
animation-packetloss-1-foreground = #000000
; Framerate in milliseconds
animation-packetloss-framerate = 500


[module/alsa]
type = internal/alsa

; Soundcard to be used
; Usually in the format hw:# where # is the card number
; You can find the different card numbers in `/proc/asound/cards`
master-soundcard = hw:1
; speaker-soundcard = default
; headphone-soundcard = default

; Name of the master, speaker and headphone mixers
; Use the following command to list available mixer controls:
; $ amixer scontrols | sed -nr "s/.*'([[:alnum:]]+)'.*/\1/p"
; If master, speaker or headphone-soundcard isn't the default,
; use `amixer -c # scontrols` instead where # is the number
; of the master, speaker or headphone soundcard respectively
;
; Default: Master
master-mixer = Master

; Optionally define speaker and headphone mixers
; Default: none
; speaker-mixer = Speaker
; Default: none
; headphone-mixer = Headphone

; NOTE: This is required if headphone_mixer is defined
; Use the following command to list available device controls
; $ amixer controls | sed -r "/CARD/\!d; s/.*=([0-9]+).*name='([^']+)'.*/printf '%3.0f: %s\n' '\1' '\2'/e" | sort
; You may also need to use `amixer -c # controls` as above for the mixer names
; Default: none
headphone-id = 9

; Use volume mapping (similar to amixer -M and alsamixer), where the increase in volume is linear to the ear
; Default: false
mapped = true

; Interval for volume increase/decrease (in percent points) (unreleased)
; Default: 5
interval = 5


;##############
;Textmodules
;##############

[module/arrowleft]
type = custom/text
content = "%{T2}%{T-}"
content-foreground = ${colors.foreground}
content-background = ${colors.background}

[module/arrowleftteal]
type = custom/text
content = "%{T2}%{T-}"
content-foreground = ${colors.color6}
content-background = ${colors.background}

[module/arrowleftsilver]
type = custom/text
content = "%{T2}%{T-}"
content-foreground = ${colors.color7}
content-background = ${colors.background}

[module/arrowleftpurple]
type = custom/text
content = "%{T2}%{T-}"
content-foreground = ${colors.color5}
content-background = ${colors.background}

[module/arrowlefttealblack]
type = custom/text
content = "%{T2}%{T-}"
content-foreground = ${colors.color0}
content-background = ${colors.color6}

[module/arrowright]
type = custom/text
content = "%{T2}%{T-}%{F-}"
content-foreground = ${colors.foreground}
content-background = ${colors.background}

[module/arrowrightgreenorange]
inherit = module/arrowright
content-foreground = ${colors.color2}
content-background = ${colors.color16}

[module/arrowrightorange]
inherit = module/arrowright
content-foreground = ${colors.color16}

+ 0
- 268
polybar/config_owlenlap01 View File

@@ -1,268 +0,0 @@
; vim:ft=dosini

[colors]
background = #16101a
foreground = #c5b1b2
color0 = #534b69
color1 = #9b2541
color2 = #30553f
color3 = #734419
color4 = #4c488d
color5 = #883073
color6 = #18546f
color7 = #decef8
color8 = #73524e
color9 = #9b3b5c
color10 = #4e5d47
color11 = #8e4728
color12 = #5c519b
color13 = #a23464
color14 = #2d5d87
color15 = #f3e5ff

[global/wm]
margin-top = 0
margin-bottom = 0

[settings]
pseudo-transparency = true

;###################################################################################################
;###############################################BARS################################################
;###################################################################################################

[bar/base]
width = 100%
height = 17
offset-x = 0
offset-y = 0

wm-restack = bspwm

fixed-center = true

background = ${colors.background}
foreground = ${colors.foreground}

overline-size = 2
overline-color = ${colors.color4}
underline-size = 2
underline-color = ${colors.color4}

spacing = 0
padding-left = 0
padding-right = 0

module-margin-left = 0
module-margin-right = 0

font-0 = InconsolataGo Nerd Font Mono:pixelsize=10;2
font-1 = InconsolataGo Nerd Font Mono:pixelsize=15;2
font-2 = InconsolataGo Nerd Font Mono:pixelsize=15;3

;###################################################################################################

[bar/maintop]
inherit = bar/base

#monitor = ${env:MONITOR:eDP-1}
bottom = false

modules-left = wirednet wirelessnet
modules-center = bspwm
modules-right = battery date

; tray-position = center
; tray-maxsize = 17
; tray-padding = 3


;###################################################################################################

[bar/mainbot]
inherit = bar/base

#monitor = ${env:MONITOR:VGA-1}
bottom = true

modules-left =
modules-center =
modules-right = battery

tray-position = center
tray-maxsize = 17
tray-padding = 3

;###################################################################################################
;#############################################MODULES###############################################
;###################################################################################################

[module/bspwm]
type = internal/bspwm
pin-workspaces = false
inline-mode = false
enable-click = true
enable-scroll = true
reverse-scroll = true
fuzzy-match = true

label-focused = "%{T2}ﱣ%{T-}"
label-occupied = "%{T2}%{T-}"
label-empty = "%{T2}ﱤ%{T-}"
label-urgent = "%{T2}%{T-}"

; label-focused-foreground = ${colors.foreground}
; label-occupied-foreground = ${colors.foreground}
; label-empty-foreground = ${colors.foreground}
; label-urgent-foreground = ${colors.foreground}

; label-focused-background = ${colors.color4}
; label-occupied-background = ${colors.color4}
; label-empty-background = ${colors.color4}
; label-urgent-background = ${colors.color4}

label-monitor = %name%
; label-monitor-foreground = ${colors.foreground}
; label-monitor-background = ${colors.color4}

label-separator = " "
; label-separator-padding = 0
; label-separator-foreground = ${colors.foreground}
; label-separator-background = ${colors.color4}

format = %{R}%{T2}%{R}%{T-}<label-state>%{R}%{T3}%{R}%{T-}
format-background = ${colors.color13}
format-foreground = ${colors.background}

format-padding = 0
format-margin = 2

[module/bspwmmonitor]
inherit = module/bspwm
format = %{R}%{T2}%{R}%{T-}<label-monitor>%{R}%{T3}%{R}%{T-}

###################################################################################################

[module/isrunning-compton]
type = custom/script
exec = ~/.config/polybar/scripts/isrunning-compton.sh
interval = 5
click-left = ~/.config/polybar/scripts/isrunning-compton.sh --toggle
format-background = ${colors.color0}

[module/weather]
type = custom/script
exec = ~/.config/polybar/scripts/weather.py
interval = 300
click-left = ~/.config/polybar/scripts/weather.py --rofi --hourly
click-right= ~/.config/polybar/scripts/weather.py --rofi --daily
format-background = ${colors.color7}
format-foreground = ${colors.color0}
format-padding = 2

[module/updatecounter]
type = custom/script
exec = ~/.config/polybar/scripts/updatecounter/updatecounter.sh
interval = 3600
format-foreground = ${colors.color0}
format-background = ${colors.color6}
click-left = termite --hold -e "sudo pacman -Syyu"
click-right = termite --hold -e "yay -Syyu"

[module/xwindow]
type = internal/xwindow
label = %title:0:120:...%
label-empty = "%{T2}ﱢﱢﱢﱢﱢ%{T-}"
label-foreground = ${colors.color18}
label-background = ${colors.color16}
label-empty-foreground = ${colors.color16}
label-empty-background = ${colors.color16}
label-padding = 4

;###################################################################################################
;##############################################date#################################################
;###################################################################################################

[module/date]
type = internal/date

; Seconds to sleep between updates
interval = 1.0

; See "man date" for details on how to format the date string
; NOTE: if you want to use syntax tags here you need to use %%{...}
date = %a %b %d,

; Optional time format
time = %H:%M
; if `date-alt` or `time-alt` is defined, clicking
; the module will toggle between formats
date-alt = %A, %d %B %Y
time-alt = %H:%M:%S

label = %date% %time%
format = %{T2}%{R}%{T-}%{R}%{T2}%{T-} <label>%{T3}%{R}%{T-}%{R}
format-foreground = ${colors.background}
format-background = ${colors.color3}
format-padding = 0
format-margin = 2

;###################################################################################################
;#############################################battery###############################################
;###################################################################################################

[module/battery]
type = internal/battery
battery = BAT1
adapter = ADP1
full-at = 80

label-charging = %{T2}%{T-} %percentage:2:2%%
label-discharging = %{T2}%{T-} %percentage:2:2%%
label-full = %{T2}%{T-} MAX

format-charging = %{R}%{T2}%{T-}%{R}<label-charging>%{R}%{T3}%{T-}%{R}
format-discharging = %{R}%{T2}%{T-}%{R}<label-discharging>%{R}%{T3}%{T-}%{R}
format-full = %{R}%{T2}%{T-}%{R}<label-full>%{R}%{T3}%{T-}%{R}

format-charging-foreground = ${colors.background}
format-discharging-foreground = ${colors.background}
format-full-foreground = ${colors.background}
format-charging-background = ${colors.color10}
format-discharging-background = ${colors.color11}
format-full-background = ${colors.color14}

format-charging-margin = 2
format-discharging-margin = 2
format-full-margin = 2

;###################################################################################################
;#############################################network###############################################
;###################################################################################################

[module/wirednet]
type = internal/network
interface = enp0s25

format-connected = %{R}%{T2}%{R}%{T-}<label-connected>%{R}%{T3}%{T-}%{R-}
format-disconnected = %{R}%{T2}%{R}%{T-}<label-disconnected>%{R}%{T3}%{T-}%{R-}

label-connected = %{T2}%{T-} %local_ip% %upspeed:8:8% %downspeed:8:8% %linkspeed%
label-disconnected = %{T2}%{T-}

format-connected-foreground = ${colors.background}
format-disconnected-foreground = ${colors.background}

format-connected-background = ${colors.color2}
format-disconnected-background = ${colors.color1}

format-connected-margin = 2
format-disconnected-margin = 2

[module/wirelessnet]
inherit = module/wirednet
type = internal/network
interface = wlp3s0

label-connected = %{T2}直%{T-} %essid% %upspeed:8:8% %downspeed:8:8%
label-disconnected = %{T2}睊%{T-}

+ 7
- 0
polybar/polybar.sh View File

@@ -0,0 +1,7 @@
#!/usr/bin/sh

killall polybar

polybar -c ~/.config/polybar/config maintop &
polybar -c ~/.config/polybar/config mainbot &


+ 1
- 1
rofi/config.rasi View File

@@ -3,7 +3,7 @@ modi: "window,run,ssh,windowcd,drun,combi,keys";
width: 500;
lines: 10;
columns: 2;
font: "Inconsolata Nerd Font Mono 10";
font: "InconsolataLGC Nerd Font Mono 8";
bw: 5;
location: 2;
/* padding: 5;*/


+ 1
- 1
termite/config View File

@@ -1,7 +1,7 @@
[options]

#font = Inconsolata Nerd Font 10
font = InconsolataGo Nerd Font Mono 10
font = InconsolataLGC Nerd Font Mono 8
allow_bold = true
cursor_blink = on
audible_bell = true


Loading…
Cancel
Save