Add multi-monitor support to all themes and made small tweaks to sizing and fonts
This commit is contained in:
@@ -22,7 +22,7 @@ I ALREADY have all his fonts in my .files ~/.local/share/fonts
|
|||||||
- hack
|
- hack
|
||||||
- material
|
- material
|
||||||
- panels
|
- panels
|
||||||
- pwidgets
|
- pwidgets # NO, I deleted this
|
||||||
- shades
|
- shades
|
||||||
- shapes
|
- shapes
|
||||||
|
|
||||||
|
|||||||
@@ -12,11 +12,11 @@
|
|||||||
;; Use pywal.sh in scripts directory to use colors from an image/wallpaper.
|
;; Use pywal.sh in scripts directory to use colors from an image/wallpaper.
|
||||||
|
|
||||||
;; main colors
|
;; main colors
|
||||||
background = #2f343f
|
background = #243035
|
||||||
background-alt = #C4C7C5
|
background-alt = #38444A
|
||||||
foreground = #1C1E20
|
foreground = #FFFFFF
|
||||||
foreground-alt = #C4C7C5
|
foreground-alt = #FDF6E3
|
||||||
primary = #B4BC67
|
primary = #4DD0E1
|
||||||
|
|
||||||
white = #FFFFFF
|
white = #FFFFFF
|
||||||
black = #000000
|
black = #000000
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ include-file = ~/.config/polybar/blocks/user_modules.ini
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
@@ -61,7 +61,7 @@ fixed-center = true
|
|||||||
; the percentage can optionally be extended with a pixel offset like so:
|
; the percentage can optionally be extended with a pixel offset like so:
|
||||||
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
||||||
width = 100%
|
width = 100%
|
||||||
height = 34
|
height = 28
|
||||||
|
|
||||||
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
||||||
; the percentage can optionally be extended with a pixel offset like so:
|
; the percentage can optionally be extended with a pixel offset like so:
|
||||||
|
|||||||
@@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
* {
|
* {
|
||||||
al: #00000000;
|
al: #00000000;
|
||||||
bg: #2f343fFF;
|
bg: #243035FF;
|
||||||
bga: #C4C7C5FF;
|
bga: #38444AFF;
|
||||||
fga: #C4C7C5FF;
|
fga: #FDF6E3FF;
|
||||||
fg: #1C1E20FF;
|
fg: #FFFFFFFF;
|
||||||
ac: #00C7DFFF;
|
ac: #4DD0E1FF;
|
||||||
se: #00C7DF40;
|
se: #4DD0E140;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,13 +18,13 @@ foreground-alt = #FFFFFF
|
|||||||
alpha = #00000000
|
alpha = #00000000
|
||||||
|
|
||||||
;; shades
|
;; shades
|
||||||
shade1 = #BF360C
|
shade1 = #1B5E20
|
||||||
shade2 = #D84315
|
shade2 = #2E7D32
|
||||||
shade3 = #E64A19
|
shade3 = #388E3C
|
||||||
shade4 = #F4511E
|
shade4 = #43A047
|
||||||
shade5 = #FF5722
|
shade5 = #4CAF50
|
||||||
shade6 = #FF7043
|
shade6 = #66BB6A
|
||||||
shade7 = #FF8A65
|
shade7 = #81C784
|
||||||
shade8 = #FFAB91
|
shade8 = #A5D6A7
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ include-file = ~/.config/polybar/colorblocks/user_modules.ini
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
@@ -60,8 +60,8 @@ fixed-center = true
|
|||||||
; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%),
|
; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%),
|
||||||
; the percentage can optionally be extended with a pixel offset like so:
|
; the percentage can optionally be extended with a pixel offset like so:
|
||||||
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
||||||
width = 99%
|
width = 100%
|
||||||
height = 40
|
height = 28
|
||||||
|
|
||||||
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
||||||
; the percentage can optionally be extended with a pixel offset like so:
|
; the percentage can optionally be extended with a pixel offset like so:
|
||||||
@@ -130,8 +130,8 @@ module-margin-right = 0
|
|||||||
; font-3 = FontAwesome:size=10
|
; font-3 = FontAwesome:size=10
|
||||||
; See the Fonts wiki page for more details
|
; See the Fonts wiki page for more details
|
||||||
|
|
||||||
font-0 = "Iosevka Nerd Font:pixelsize=10;4"
|
font-0 = "Iosevka Nerd Font:pixelsize=9;4"
|
||||||
font-1 = "Iosevka Nerd Font:pixelsize=13;4"
|
font-1 = "Iosevka Nerd Font:pixelsize=10;4"
|
||||||
|
|
||||||
; Modules are added to one of the available blocks
|
; Modules are added to one of the available blocks
|
||||||
; modules-left = cpu ram
|
; modules-left = cpu ram
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
* {
|
* {
|
||||||
al: #00000000;
|
al: #00000000;
|
||||||
bg: #141C21FF;
|
bg: #141C21FF;
|
||||||
bg1: #FFAB91FF;
|
bg1: #A5D6A7FF;
|
||||||
bg2: #FF8A65FF;
|
bg2: #81C784FF;
|
||||||
bg3: #FF7043FF;
|
bg3: #66BB6AFF;
|
||||||
fg: #FFFFFFFF;
|
fg: #FFFFFFFF;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -101,8 +101,8 @@ click-left = ~/.config/polybar/colorblocks/scripts/powermenu.sh &
|
|||||||
type = custom/text
|
type = custom/text
|
||||||
content =
|
content =
|
||||||
|
|
||||||
content-background = #FFFFFF
|
content-background = ${color.shade8}
|
||||||
content-foreground = #CC6666
|
content-foreground = ${color.background}
|
||||||
content-padding = 2
|
content-padding = 2
|
||||||
|
|
||||||
click-left = ~/.config/polybar/colorblocks/scripts/color-switch.sh &
|
click-left = ~/.config/polybar/colorblocks/scripts/color-switch.sh &
|
||||||
|
|||||||
@@ -12,11 +12,11 @@
|
|||||||
;; Use pywal.sh in scripts directory to use colors from an image/wallpaper.
|
;; Use pywal.sh in scripts directory to use colors from an image/wallpaper.
|
||||||
|
|
||||||
;; main colors
|
;; main colors
|
||||||
background = #0a0a0a
|
background = #263238
|
||||||
background-alt = #8C0a0a0a
|
background-alt = #8C263238
|
||||||
foreground = #f5f5f5
|
foreground = #DFDFDF
|
||||||
foreground-alt = #33f5f5f5
|
foreground-alt = #33DFDFDF
|
||||||
primary = #fdd835
|
primary = #00BCD4
|
||||||
red = #FF5250
|
red = #FF5250
|
||||||
green = #43a047
|
green = #43a047
|
||||||
yellow = #fdd835
|
yellow = #fdd835
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ include-file = ~/.config/polybar/cuts/user_modules.ini
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
|
|||||||
@@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
* {
|
* {
|
||||||
al: #00000000;
|
al: #00000000;
|
||||||
bg: #0a0a0aBF;
|
bg: #263238BF;
|
||||||
bga: #0a0a0aFF;
|
bga: #263238FF;
|
||||||
fg: #f5f5f5FF;
|
fg: #DFDFDFFF;
|
||||||
ac: #fdd835FF;
|
ac: #00BCD4FF;
|
||||||
se: #fdd8351A;
|
se: #00BCD41A;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ background = #1F1F1F
|
|||||||
foreground = #FFFFFF
|
foreground = #FFFFFF
|
||||||
foreground-alt = #8F8F8F
|
foreground-alt = #8F8F8F
|
||||||
module-fg = #FFFFFF
|
module-fg = #FFFFFF
|
||||||
primary = #e53935
|
primary = #d81b60
|
||||||
secondary = #E53935
|
secondary = #E53935
|
||||||
alternate = #7cb342
|
alternate = #7cb342
|
||||||
|
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ include-file = ~/.config/polybar/docky/user_modules.ini
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
@@ -60,8 +60,8 @@ fixed-center = true
|
|||||||
; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%),
|
; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%),
|
||||||
; the percentage can optionally be extended with a pixel offset like so:
|
; the percentage can optionally be extended with a pixel offset like so:
|
||||||
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
||||||
width = 98%
|
width = 100%
|
||||||
height = 40
|
height = 28
|
||||||
|
|
||||||
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
||||||
; the percentage can optionally be extended with a pixel offset like so:
|
; the percentage can optionally be extended with a pixel offset like so:
|
||||||
@@ -106,7 +106,7 @@ line-color = ${color.primary}
|
|||||||
; the border is placed withing this area. So you effectively only have the
|
; the border is placed withing this area. So you effectively only have the
|
||||||
; following horizontal space on the bar:
|
; following horizontal space on the bar:
|
||||||
; width - border-right-size - border-left-size
|
; width - border-right-size - border-left-size
|
||||||
border-bottom-size = 2
|
border-bottom-size = 1
|
||||||
border-bottom-color = ${color.primary}
|
border-bottom-color = ${color.primary}
|
||||||
|
|
||||||
; Number of spaces to add at the beginning/end of the bar
|
; Number of spaces to add at the beginning/end of the bar
|
||||||
@@ -130,8 +130,8 @@ module-margin-right = 2
|
|||||||
; font-3 = FontAwesome:size=10
|
; font-3 = FontAwesome:size=10
|
||||||
; See the Fonts wiki page for more details
|
; See the Fonts wiki page for more details
|
||||||
|
|
||||||
font-0 = "Iosevka Nerd Font:size=10;3"
|
font-0 = "Iosevka Nerd Font:size=9;3"
|
||||||
font-1 = "feather:size=12;3"
|
font-1 = "feather:size=11;3"
|
||||||
|
|
||||||
; Modules are added to one of the available blocks
|
; Modules are added to one of the available blocks
|
||||||
; modules-left = cpu ram
|
; modules-left = cpu ram
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
* {
|
* {
|
||||||
al: #00000000;
|
al: #00000000;
|
||||||
bg: #1F1F1FFF;
|
bg: #1F1F1FFF;
|
||||||
bga: #e5393533;
|
bga: #d81b6033;
|
||||||
bar: #FFFFFFFF;
|
bar: #FFFFFFFF;
|
||||||
fg: #FFFFFFFF;
|
fg: #FFFFFFFF;
|
||||||
ac: #e53935FF;
|
ac: #d81b60FF;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,9 +12,9 @@
|
|||||||
;; Use pywal.sh in scripts directory to use colors from an image/wallpaper.
|
;; Use pywal.sh in scripts directory to use colors from an image/wallpaper.
|
||||||
|
|
||||||
;; main colors
|
;; main colors
|
||||||
background = #212B30
|
background = #141C21
|
||||||
foreground = #C4C7C5
|
foreground = #93A1A1
|
||||||
sep = #3F5360
|
sep = #3C4449
|
||||||
|
|
||||||
white = #FFFFFF
|
white = #FFFFFF
|
||||||
black = #000000
|
black = #000000
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ include-file = ~/.config/polybar/forest/user_modules.ini
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
@@ -61,7 +61,7 @@ fixed-center = true
|
|||||||
; the percentage can optionally be extended with a pixel offset like so:
|
; the percentage can optionally be extended with a pixel offset like so:
|
||||||
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
||||||
width = 100%
|
width = 100%
|
||||||
height = 34
|
height = 28
|
||||||
|
|
||||||
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
||||||
; the percentage can optionally be extended with a pixel offset like so:
|
; the percentage can optionally be extended with a pixel offset like so:
|
||||||
|
|||||||
@@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
* {
|
* {
|
||||||
al: #00000000;
|
al: #00000000;
|
||||||
bg: #212B30FF;
|
bg: #141C21FF;
|
||||||
bga: #263035FF;
|
bga: #1E262BFF;
|
||||||
fg: #C4C7C5FF;
|
fg: #93A1A1FF;
|
||||||
ac: #EC407AFF;
|
ac: #D12F2CFF;
|
||||||
se: #4DD0E1FF;
|
se: #33C5BAFF;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ background = #272727
|
|||||||
background-alt = #383838
|
background-alt = #383838
|
||||||
foreground = #CACACA
|
foreground = #CACACA
|
||||||
foreground-alt = #CACACA
|
foreground-alt = #CACACA
|
||||||
primary = #e53935
|
primary = #d81b60
|
||||||
red = #EF5350
|
red = #EF5350
|
||||||
yellow = #FFEE58
|
yellow = #FFEE58
|
||||||
|
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ include-file = ~/.config/polybar/grayblocks/user_modules.ini
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
@@ -61,7 +61,7 @@ fixed-center = true
|
|||||||
; the percentage can optionally be extended with a pixel offset like so:
|
; the percentage can optionally be extended with a pixel offset like so:
|
||||||
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
||||||
width = 100%
|
width = 100%
|
||||||
height = 40
|
height = 28
|
||||||
|
|
||||||
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
||||||
; the percentage can optionally be extended with a pixel offset like so:
|
; the percentage can optionally be extended with a pixel offset like so:
|
||||||
@@ -106,7 +106,7 @@ line-color = ${color.background}
|
|||||||
; the border is placed withing this area. So you effectively only have the
|
; the border is placed withing this area. So you effectively only have the
|
||||||
; following horizontal space on the bar:
|
; following horizontal space on the bar:
|
||||||
; width - border-right-size - border-left-size
|
; width - border-right-size - border-left-size
|
||||||
border-top-size = 4
|
border-top-size = 1
|
||||||
border-top-color = ${color.primary}
|
border-top-color = ${color.primary}
|
||||||
|
|
||||||
; Number of spaces to add at the beginning/end of the bar
|
; Number of spaces to add at the beginning/end of the bar
|
||||||
|
|||||||
@@ -6,5 +6,5 @@
|
|||||||
bga: #383838FF;
|
bga: #383838FF;
|
||||||
fga: #CACACAFF;
|
fga: #CACACAFF;
|
||||||
fg: #CACACAFF;
|
fg: #CACACAFF;
|
||||||
ac: #e53935FF;
|
ac: #d81b60FF;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,9 +12,9 @@
|
|||||||
;; Use pywal.sh in scripts directory to use colors from an image/wallpaper.
|
;; Use pywal.sh in scripts directory to use colors from an image/wallpaper.
|
||||||
|
|
||||||
;; main colors
|
;; main colors
|
||||||
background = #263238
|
background = #141C21
|
||||||
foreground = #DFDFDF
|
foreground = #FFFFFF
|
||||||
primary = #00BCD4
|
primary = #d81b60
|
||||||
red = #FF5250
|
red = #FF5250
|
||||||
green = #43a047
|
green = #43a047
|
||||||
yellow = #fdd835
|
yellow = #fdd835
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ include-file = ~/.config/polybar/hack/user_modules.ini
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
@@ -146,7 +146,7 @@ font-1 = "Iosevka Nerd Font:pixelsize=12;4"
|
|||||||
|
|
||||||
[bar/top]
|
[bar/top]
|
||||||
inherit = bar/main
|
inherit = bar/main
|
||||||
border-bottom-size = 2
|
border-bottom-size = 1
|
||||||
border-bottom-color = ${color.primary}
|
border-bottom-color = ${color.primary}
|
||||||
modules-left = launcher sep title
|
modules-left = launcher sep title
|
||||||
modules-center = workspaces
|
modules-center = workspaces
|
||||||
@@ -156,7 +156,7 @@ enable-ipc = true
|
|||||||
[bar/bottom]
|
[bar/bottom]
|
||||||
inherit = bar/main
|
inherit = bar/main
|
||||||
bottom = true
|
bottom = true
|
||||||
border-top-size = 2
|
border-top-size = 1
|
||||||
border-top-color = ${color.primary}
|
border-top-color = ${color.primary}
|
||||||
modules-left = mpd
|
modules-left = mpd
|
||||||
modules-center = cpu sep memory sep filesystem sep temperature sep updates sep speed
|
modules-center = cpu sep memory sep filesystem sep temperature sep updates sep speed
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
* {
|
* {
|
||||||
al: #00000000;
|
al: #00000000;
|
||||||
bg: #263238FF;
|
bg: #141C21FF;
|
||||||
ac: #00BCD4FF;
|
ac: #d81b60FF;
|
||||||
se: #00BCD426;
|
se: #d81b6026;
|
||||||
fg: #DFDFDFFF;
|
fg: #FFFFFFFF;
|
||||||
}
|
}
|
||||||
|
|||||||
23
launch.sh
23
launch.sh
@@ -12,18 +12,19 @@ launch_bar() {
|
|||||||
# Wait until the processes have been shut down
|
# Wait until the processes have been shut down
|
||||||
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
||||||
|
|
||||||
# Launch the bar
|
# Launch the bar multi monitor aware
|
||||||
if [[ "$style" == "hack" || "$style" == "cuts" ]]; then
|
for mon in $(polybar --list-monitors | cut -d":" -f1); do
|
||||||
polybar -q top -c "$dir/$style/config.ini" &
|
|
||||||
polybar -q bottom -c "$dir/$style/config.ini" &
|
if [[ "$style" == "hack" || "$style" == "cuts" ]]; then
|
||||||
elif [[ "$style" == "pwidgets" ]]; then
|
MONITOR=$mon polybar -q top -c "$dir/$style/config.ini" &
|
||||||
bash "$dir"/pwidgets/launch.sh --main
|
MONITOR=$mon polybar -q bottom -c "$dir/$style/config.ini" &
|
||||||
else
|
elif [[ "$style" == "pwidgets" ]]; then
|
||||||
#polybar -q main -c "$dir/$style/config.ini" &
|
MONITOR=$mon bash "$dir"/pwidgets/launch.sh --main
|
||||||
for mon in $(polybar --list-monitors | cut -d":" -f1); do
|
else
|
||||||
MONITOR=$mon polybar -q main -c "$dir/$style/config.ini" &
|
MONITOR=$mon polybar -q main -c "$dir/$style/config.ini" &
|
||||||
done
|
fi
|
||||||
fi
|
|
||||||
|
done
|
||||||
else
|
else
|
||||||
echo "$dir/$style/config.ini" not found
|
echo "$dir/$style/config.ini" not found
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
@@ -15,8 +15,8 @@
|
|||||||
background = #1F1F1F
|
background = #1F1F1F
|
||||||
foreground = #FFFFFF
|
foreground = #FFFFFF
|
||||||
foreground-alt = #8F8F8F
|
foreground-alt = #8F8F8F
|
||||||
module-fg = #1F1F1F
|
module-fg = #FFFFFF
|
||||||
primary = #ffb300
|
primary = #d81b60
|
||||||
secondary = #E53935
|
secondary = #E53935
|
||||||
alternate = #7cb342
|
alternate = #7cb342
|
||||||
|
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ include-file = ~/.config/polybar/material/user_modules.ini
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
@@ -60,8 +60,8 @@ fixed-center = true
|
|||||||
; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%),
|
; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%),
|
||||||
; the percentage can optionally be extended with a pixel offset like so:
|
; the percentage can optionally be extended with a pixel offset like so:
|
||||||
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
||||||
width = 90%
|
width = 100%
|
||||||
height = 40
|
height = 22
|
||||||
|
|
||||||
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
||||||
; the percentage can optionally be extended with a pixel offset like so:
|
; the percentage can optionally be extended with a pixel offset like so:
|
||||||
@@ -106,7 +106,7 @@ line-color = ${color.primary}
|
|||||||
; the border is placed withing this area. So you effectively only have the
|
; the border is placed withing this area. So you effectively only have the
|
||||||
; following horizontal space on the bar:
|
; following horizontal space on the bar:
|
||||||
; width - border-right-size - border-left-size
|
; width - border-right-size - border-left-size
|
||||||
border-size = 3
|
border-size = 0
|
||||||
border-color = ${color.background}
|
border-color = ${color.background}
|
||||||
|
|
||||||
; Number of spaces to add at the beginning/end of the bar
|
; Number of spaces to add at the beginning/end of the bar
|
||||||
@@ -130,17 +130,19 @@ module-margin-right = 1
|
|||||||
; font-3 = FontAwesome:size=10
|
; font-3 = FontAwesome:size=10
|
||||||
; See the Fonts wiki page for more details
|
; See the Fonts wiki page for more details
|
||||||
|
|
||||||
font-0 = "Fantasque Sans Mono:pixelsize=12;3"
|
font-0 = "Fantasque Sans Mono:pixelsize=10;3"
|
||||||
font-1 = "Material\-Design\-Iconic\-Font:size=13;4"
|
font-1 = "Material\-Design\-Iconic\-Font:size=12;4"
|
||||||
|
|
||||||
; Modules are added to one of the available blocks
|
; Modules are added to one of the available blocks
|
||||||
; modules-left = cpu ram
|
; modules-left = cpu ram
|
||||||
; modules-center = xwindow xbacklight
|
; modules-center = xwindow xbacklight
|
||||||
; modules-right = ipc clock
|
; modules-right = ipc clock
|
||||||
|
|
||||||
modules-left = launcher workspaces term files browser settings
|
#modules-left = launcher workspaces term files browser settings
|
||||||
modules-center = mpd
|
modules-left = launcher
|
||||||
modules-right = updates alsa battery network date sysmenu
|
#modules-center = mpd
|
||||||
|
#modules-right = updates alsa battery network date sysmenu
|
||||||
|
modules-right = alsa network date sysmenu
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||||
|
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
* {
|
* {
|
||||||
al: #00000000;
|
al: #00000000;
|
||||||
bg: #1F1F1FFF;
|
bg: #1F1F1FFF;
|
||||||
bga: #ffb30033;
|
bga: #d81b6033;
|
||||||
bar: #1F1F1FFF;
|
bar: #FFFFFFFF;
|
||||||
fg: #FFFFFFFF;
|
fg: #FFFFFFFF;
|
||||||
ac: #ffb300FF;
|
ac: #d81b60FF;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ content =
|
|||||||
; "content" has the same properties as "format-NAME"
|
; "content" has the same properties as "format-NAME"
|
||||||
content-background = ${color.primary}
|
content-background = ${color.primary}
|
||||||
content-foreground = ${color.module-fg}
|
content-foreground = ${color.module-fg}
|
||||||
content-padding = 2
|
content-padding = 1
|
||||||
|
|
||||||
; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c $COMMAND"
|
; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c $COMMAND"
|
||||||
click-left = ~/.config/polybar/material/scripts/launcher.sh &
|
click-left = ~/.config/polybar/material/scripts/launcher.sh &
|
||||||
@@ -87,7 +87,7 @@ content =
|
|||||||
|
|
||||||
content-background = ${color.primary}
|
content-background = ${color.primary}
|
||||||
content-foreground = ${color.module-fg}
|
content-foreground = ${color.module-fg}
|
||||||
content-padding = 2
|
content-padding = 1
|
||||||
|
|
||||||
click-left = ~/.config/polybar/material/scripts/powermenu.sh &
|
click-left = ~/.config/polybar/material/scripts/powermenu.sh &
|
||||||
|
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ margin-top = 0
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
@@ -41,7 +41,7 @@ monitor-strict = false
|
|||||||
override-redirect = false
|
override-redirect = false
|
||||||
|
|
||||||
; Put the bar at the bottom of the screen
|
; Put the bar at the bottom of the screen
|
||||||
bottom = false
|
bottom = true
|
||||||
|
|
||||||
; Prefer fixed center position for the `modules-center` block
|
; Prefer fixed center position for the `modules-center` block
|
||||||
; When false, the center position will be based on the size of the other blocks.
|
; When false, the center position will be based on the size of the other blocks.
|
||||||
@@ -51,7 +51,7 @@ fixed-center = true
|
|||||||
; the percentage can optionally be extended with a pixel offset like so:
|
; the percentage can optionally be extended with a pixel offset like so:
|
||||||
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
||||||
width = 100%
|
width = 100%
|
||||||
height = 30
|
height = 28
|
||||||
|
|
||||||
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
||||||
; the percentage can optionally be extended with a pixel offset like so:
|
; the percentage can optionally be extended with a pixel offset like so:
|
||||||
@@ -96,8 +96,8 @@ radius-bottom = 0.0
|
|||||||
; the border is placed withing this area. So you effectively only have the
|
; the border is placed withing this area. So you effectively only have the
|
||||||
; following horizontal space on the bar:
|
; following horizontal space on the bar:
|
||||||
; width - border-right-size - border-left-size
|
; width - border-right-size - border-left-size
|
||||||
;;border-size = 2
|
;;border-size = 1
|
||||||
;;border-color = ${color.ac}
|
;;border-color = ${color.bg}
|
||||||
|
|
||||||
; Number of spaces to add at the beginning/end of the bar
|
; Number of spaces to add at the beginning/end of the bar
|
||||||
; Individual side values can be defined using:
|
; Individual side values can be defined using:
|
||||||
@@ -107,8 +107,8 @@ padding = 0
|
|||||||
; Number of spaces to add before/after each module
|
; Number of spaces to add before/after each module
|
||||||
; Individual side values can be defined using:
|
; Individual side values can be defined using:
|
||||||
; module-margin-{left,right}
|
; module-margin-{left,right}
|
||||||
module-margin-left = 0
|
module-margin-left = 3
|
||||||
module-margin-right = 0
|
module-margin-right = 3
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||||
|
|
||||||
@@ -120,18 +120,19 @@ module-margin-right = 0
|
|||||||
; font-3 = FontAwesome:size=10
|
; font-3 = FontAwesome:size=10
|
||||||
; See the Fonts wiki page for more details
|
; See the Fonts wiki page for more details
|
||||||
|
|
||||||
font-0 = "Noto Sans:size=9;3"
|
font-0 = "Noto Sans:size=9;4"
|
||||||
font-1 = "Iosevka Nerd Font:size=12;3"
|
font-1 = "icomoon\-feather:size=10;4"
|
||||||
font-2 = "Iosevka Nerd Font:size=16;4"
|
font-2 = "Iosevka Nerd Font:size=12;5"
|
||||||
|
font-3 = "Noto Sans:size=8;4"
|
||||||
|
|
||||||
; Modules are added to one of the available blocks
|
; Modules are added to one of the available blocks
|
||||||
; modules-left = cpu ram
|
; modules-left = cpu ram
|
||||||
; modules-center = xwindow xbacklight
|
; modules-center = xwindow xbacklight
|
||||||
; modules-right = ipc clock
|
; modules-right = ipc clock
|
||||||
|
|
||||||
modules-left = menu sep2 term web files settings
|
modules-left = menu term web files settings
|
||||||
modules-center =
|
modules-center =
|
||||||
modules-right = style sep alsa battery network date sep sysmenu
|
modules-right = style network alsa battery date sysmenu
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||||
|
|
||||||
@@ -295,10 +296,11 @@ pseudo-transparency = false
|
|||||||
[color]
|
[color]
|
||||||
|
|
||||||
;; Active Colors
|
;; Active Colors
|
||||||
bg = #232832
|
bg = #80000000
|
||||||
bg-alt = #1C2028
|
bg-alt = #1A000000
|
||||||
fg = #EAEAEA
|
fg = #EAEAEA
|
||||||
fg-alt = #9C9C9C
|
fg-alt = #9C9C9C
|
||||||
|
ac= #8EDBF2
|
||||||
|
|
||||||
trans = #00000000
|
trans = #00000000
|
||||||
white = #FFFFFF
|
white = #FFFFFF
|
||||||
@@ -362,16 +364,12 @@ type = internal/alsa
|
|||||||
; <ramp-volume>
|
; <ramp-volume>
|
||||||
; <bar-volume>
|
; <bar-volume>
|
||||||
format-volume = <ramp-volume>
|
format-volume = <ramp-volume>
|
||||||
format-volume-background = ${color.bg-alt}
|
|
||||||
format-volume-padding = 2
|
|
||||||
|
|
||||||
; Available tags:
|
; Available tags:
|
||||||
; <label-muted> (default)
|
; <label-muted> (default)
|
||||||
; <ramp-volume>
|
; <ramp-volume>
|
||||||
; <bar-volume>
|
; <bar-volume>
|
||||||
format-muted = <label-muted>
|
;format-muted = <label-muted>
|
||||||
format-muted-background = ${color.bg-alt}
|
|
||||||
format-muted-padding = 2
|
|
||||||
|
|
||||||
; Available tokens:
|
; Available tokens:
|
||||||
; %percentage% (default)
|
; %percentage% (default)
|
||||||
@@ -379,13 +377,14 @@ label-volume = %percentage%%
|
|||||||
|
|
||||||
; Available tokens:
|
; Available tokens:
|
||||||
; %percentage% (default
|
; %percentage% (default
|
||||||
label-muted = ﱝ
|
label-muted =
|
||||||
label-muted-foreground = ${color.fg-alt}
|
label-muted-foreground = ${color.fg-alt}
|
||||||
|
|
||||||
ramp-volume-0 =
|
ramp-volume-0 =
|
||||||
ramp-volume-1 =
|
ramp-volume-1 =
|
||||||
ramp-volume-2 =
|
ramp-volume-2 =
|
||||||
ramp-volume-3 =
|
ramp-volume-3 =
|
||||||
|
ramp-volume-4 =
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||||
|
|
||||||
@@ -407,25 +406,19 @@ time-format = %H:%M
|
|||||||
; <ramp-capacity>
|
; <ramp-capacity>
|
||||||
; <animation-charging>
|
; <animation-charging>
|
||||||
format-charging = <animation-charging>
|
format-charging = <animation-charging>
|
||||||
format-charging-background = ${color.bg-alt}
|
|
||||||
format-charging-padding = 2
|
|
||||||
|
|
||||||
; Available tags:
|
; Available tags:
|
||||||
; <label-discharging> (default)
|
; <label-discharging> (default)
|
||||||
; <bar-capacity>
|
; <bar-capacity>
|
||||||
; <ramp-capacity>
|
; <ramp-capacity>
|
||||||
; <animation-discharging>
|
; <animation-discharging>
|
||||||
format-discharging = <ramp-capacity>
|
format-discharging = <ramp-capacity> <label-discharging>
|
||||||
format-discharging-background = ${color.bg-alt}
|
|
||||||
format-discharging-padding = 2
|
|
||||||
|
|
||||||
; Available tags:
|
; Available tags:
|
||||||
; <label-full> (default)
|
; <label-full> (default)
|
||||||
; <bar-capacity>
|
; <bar-capacity>
|
||||||
; <ramp-capacity>
|
; <ramp-capacity>
|
||||||
format-full = <label-full>
|
;format-full = <ramp-capacity> <label-full>
|
||||||
format-full-background = ${color.bg-alt}
|
|
||||||
format-full-padding = 2
|
|
||||||
|
|
||||||
; Available tokens:
|
; Available tokens:
|
||||||
; %percentage% (default)
|
; %percentage% (default)
|
||||||
@@ -437,32 +430,35 @@ label-charging = %percentage%%
|
|||||||
; %percentage% (default)
|
; %percentage% (default)
|
||||||
; %time%
|
; %time%
|
||||||
; %consumption% (shows current discharge rate in watts)
|
; %consumption% (shows current discharge rate in watts)
|
||||||
label-discharging = %percentage%%
|
label-discharging = " %percentage%%"
|
||||||
|
label-discharging-font = 4
|
||||||
|
|
||||||
; Available tokens:
|
; Available tokens:
|
||||||
; %percentage% (default)
|
; %percentage% (default)
|
||||||
;label-full = Fully Charged
|
;label-full = Fully Charged
|
||||||
label-full =
|
label-full =
|
||||||
label-full-foreground = ${color.green}
|
label-full-foreground = ${color.green}
|
||||||
|
|
||||||
ramp-capacity-0 =
|
ramp-capacity-0 =
|
||||||
ramp-capacity-1 =
|
ramp-capacity-1 =
|
||||||
ramp-capacity-2 =
|
ramp-capacity-2 =
|
||||||
ramp-capacity-3 =
|
ramp-capacity-3 =
|
||||||
ramp-capacity-4 =
|
ramp-capacity-4 =
|
||||||
ramp-capacity-5 =
|
ramp-capacity-5 =
|
||||||
ramp-capacity-6 =
|
ramp-capacity-6 =
|
||||||
ramp-capacity-7 =
|
ramp-capacity-7 =
|
||||||
ramp-capacity-8 =
|
ramp-capacity-8 =
|
||||||
ramp-capacity-9 =
|
ramp-capacity-9 =
|
||||||
|
|
||||||
animation-charging-0 =
|
animation-charging-0 =
|
||||||
animation-charging-1 =
|
animation-charging-1 =
|
||||||
animation-charging-2 =
|
animation-charging-2 =
|
||||||
animation-charging-3 =
|
animation-charging-3 =
|
||||||
animation-charging-4 =
|
animation-charging-4 =
|
||||||
animation-charging-5 =
|
animation-charging-5 =
|
||||||
animation-charging-6 =
|
animation-charging-6 =
|
||||||
|
animation-charging-7 =
|
||||||
|
animation-charging-8 =
|
||||||
|
|
||||||
; Framerate in milliseconds
|
; Framerate in milliseconds
|
||||||
animation-charging-framerate = 750
|
animation-charging-framerate = 750
|
||||||
@@ -478,8 +474,7 @@ time = %I:%M %p
|
|||||||
;;time-alt = %B %d, %Y
|
;;time-alt = %B %d, %Y
|
||||||
|
|
||||||
format = <label>
|
format = <label>
|
||||||
format-background = ${color.bg-alt}
|
;format-padding = 3
|
||||||
format-padding = 2
|
|
||||||
|
|
||||||
label = %time%
|
label = %time%
|
||||||
|
|
||||||
@@ -500,14 +495,10 @@ unknown-as-up = true
|
|||||||
; <label-connected> (default)
|
; <label-connected> (default)
|
||||||
; <ramp-signal>
|
; <ramp-signal>
|
||||||
format-connected = <label-connected>
|
format-connected = <label-connected>
|
||||||
format-connected-background = ${color.bg-alt}
|
|
||||||
format-connected-padding = 2
|
|
||||||
|
|
||||||
; Available tags:
|
; Available tags:
|
||||||
; <label-disconnected> (default)
|
; <label-disconnected> (default)
|
||||||
format-disconnected = <label-disconnected>
|
format-disconnected = <label-disconnected>
|
||||||
format-disconnected-background = ${color.bg-alt}
|
|
||||||
format-disconnected-padding = 2
|
|
||||||
|
|
||||||
; Available tags:
|
; Available tags:
|
||||||
; <label-connected> (default)
|
; <label-connected> (default)
|
||||||
@@ -525,14 +516,12 @@ format-disconnected-padding = 2
|
|||||||
; %downspeed% [wireless+wired]
|
; %downspeed% [wireless+wired]
|
||||||
; %linkspeed% [wired]
|
; %linkspeed% [wired]
|
||||||
; Default: %ifname% %local_ip%
|
; Default: %ifname% %local_ip%
|
||||||
;label-connected = 說
|
label-connected = "%{A1:networkmanager_dmenu &:}%{A}"
|
||||||
label-connected = "%{A1:networkmanager_dmenu &:}說%{A}"
|
|
||||||
|
|
||||||
; Available tokens:
|
; Available tokens:
|
||||||
; %ifname% [wireless+wired]
|
; %ifname% [wireless+wired]
|
||||||
; Default: (none)
|
; Default: (none)
|
||||||
;label-disconnected = ﲁ
|
label-disconnected = "%{A1:networkmanager_dmenu &:}%{A}"
|
||||||
label-disconnected = "%{A1:networkmanager_dmenu &:}ﲁ%{A}"
|
|
||||||
label-disconnected-foreground = ${color.fg-alt}
|
label-disconnected-foreground = ${color.fg-alt}
|
||||||
|
|
||||||
; Available tokens:
|
; Available tokens:
|
||||||
@@ -548,49 +537,33 @@ label-disconnected-foreground = ${color.fg-alt}
|
|||||||
;label-packetloss = %essid%
|
;label-packetloss = %essid%
|
||||||
;label-packetloss-foreground = #eefafafa
|
;label-packetloss-foreground = #eefafafa
|
||||||
|
|
||||||
ramp-signal-0 = 說
|
ramp-signal-0 =
|
||||||
ramp-signal-1 = 說
|
ramp-signal-1 =
|
||||||
ramp-signal-2 = 說
|
ramp-signal-2 =
|
||||||
ramp-signal-3 = 說
|
ramp-signal-3 =
|
||||||
ramp-signal-4 = 說
|
ramp-signal-4 =
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/menu]
|
|
||||||
type = custom/text
|
|
||||||
|
|
||||||
content =
|
|
||||||
content-background = ${color.light-blue}
|
|
||||||
content-foreground = ${color.fg}
|
|
||||||
content-padding = 3
|
|
||||||
|
|
||||||
click-left = ~/.config/polybar/panels/scripts/launcher.sh --budgie
|
|
||||||
click-right = ~/.config/polybar/panels/scripts/launcher.sh --budgie
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||||
|
|
||||||
[module/sysmenu]
|
[module/sysmenu]
|
||||||
type = custom/text
|
type = custom/text
|
||||||
|
|
||||||
content = 襤
|
content = " "
|
||||||
content-background = ${color.bg-alt}
|
;;content-background = ${color.bg}
|
||||||
content-foreground = ${color.fg}
|
content-foreground = ${color.fg}
|
||||||
content-padding = 3
|
;content-padding = 1
|
||||||
|
|
||||||
click-left = ~/.config/polybar/panels/scripts/powermenu.sh --budgie
|
click-left = ~/.config/polybar/panels/scripts/powermenu.sh --zorin
|
||||||
click-right = ~/.config/polybar/panels/scripts/powermenu.sh --budgie
|
click-right = ~/.config/polybar/panels/scripts/powermenu.sh --zorin
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||||
|
|
||||||
[module/style]
|
[module/style]
|
||||||
type = custom/text
|
type = custom/text
|
||||||
content = פֿ
|
content =
|
||||||
content-background = ${color.bg-alt}
|
|
||||||
content-foreground = ${color.fg}
|
|
||||||
content-padding = 2
|
|
||||||
|
|
||||||
click-left = ~/.config/polybar/panels/scripts/style-switch.sh --budgie
|
click-left = ~/.config/polybar/panels/scripts/style-switch.sh --zorin
|
||||||
click-right = ~/.config/polybar/panels/scripts/style-switch.sh --budgie
|
click-right = ~/.config/polybar/panels/scripts/style-switch.sh --zorin
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||||
|
|
||||||
@@ -598,26 +571,38 @@ click-right = ~/.config/polybar/panels/scripts/style-switch.sh --budgie
|
|||||||
type = custom/text
|
type = custom/text
|
||||||
|
|
||||||
content = |
|
content = |
|
||||||
content-foreground = ${color.grey}
|
content-foreground = ${color.bg}
|
||||||
content-background = ${color.bg-alt}
|
content-background = ${color.bg}
|
||||||
content-padding = 1
|
content-padding = 0
|
||||||
|
|
||||||
[module/sep2]
|
[module/sep2]
|
||||||
type = custom/text
|
type = custom/text
|
||||||
|
|
||||||
content = |
|
content = |
|
||||||
content-foreground = ${color.bg}
|
content-foreground = ${color.bg-alt}
|
||||||
content-background = ${color.bg}
|
content-background = ${color.bg-alt}
|
||||||
content-padding = 1
|
content-padding = 0
|
||||||
|
|
||||||
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||||
|
|
||||||
|
[module/menu]
|
||||||
|
type = custom/text
|
||||||
|
|
||||||
|
content = "%{T3}%{T-}"
|
||||||
|
content-background = ${color.ac}
|
||||||
|
content-foreground = ${color.black}
|
||||||
|
content-padding = 4
|
||||||
|
|
||||||
|
click-left = ~/.config/polybar/panels/scripts/launcher.sh --zorin
|
||||||
|
click-right = ~/.config/polybar/panels/scripts/launcher.sh --zorin
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||||
;; Apps
|
;; Apps
|
||||||
|
|
||||||
[module/term]
|
[module/term]
|
||||||
type = custom/text
|
type = custom/text
|
||||||
|
|
||||||
content = "%{T3}%{T-}"
|
content = "%{T3}%{T-}"
|
||||||
content-foreground = ${color.green}
|
content-foreground = ${color.white}
|
||||||
content-background = ${color.bg}
|
content-background = ${color.bg}
|
||||||
content-padding = 3
|
content-padding = 3
|
||||||
|
|
||||||
@@ -626,8 +611,8 @@ click-left = termite &
|
|||||||
[module/web]
|
[module/web]
|
||||||
type = custom/text
|
type = custom/text
|
||||||
|
|
||||||
content = "%{T3}%{T-}"
|
content = "%{T3}%{T-}"
|
||||||
content-foreground = ${color.orange}
|
content-foreground = ${color.deep-orange}
|
||||||
content-background = ${color.bg}
|
content-background = ${color.bg}
|
||||||
content-padding = 3
|
content-padding = 3
|
||||||
|
|
||||||
@@ -636,8 +621,8 @@ click-left = firefox &
|
|||||||
[module/files]
|
[module/files]
|
||||||
type = custom/text
|
type = custom/text
|
||||||
|
|
||||||
content = "%{T3}%{T-}"
|
content = "%{T3}%{T-}"
|
||||||
content-foreground = ${color.blue}
|
content-foreground = ${color.cyan}
|
||||||
content-background = ${color.bg}
|
content-background = ${color.bg}
|
||||||
content-padding = 3
|
content-padding = 3
|
||||||
|
|
||||||
@@ -646,12 +631,11 @@ click-left = thunar &
|
|||||||
[module/settings]
|
[module/settings]
|
||||||
type = custom/text
|
type = custom/text
|
||||||
|
|
||||||
content = "%{T3}煉%{T-}"
|
content = "%{T3}漣%{T-}"
|
||||||
content-foreground = ${color.red}
|
content-foreground = ${color.lime}
|
||||||
content-background = ${color.bg}
|
content-background = ${color.bg}
|
||||||
content-padding = 3
|
content-padding = 3
|
||||||
|
|
||||||
click-left = xfce4-settings &
|
click-left = xfce4-settings &
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||||
|
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ margin-top = 0
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
@@ -51,7 +51,7 @@ fixed-center = true
|
|||||||
; the percentage can optionally be extended with a pixel offset like so:
|
; the percentage can optionally be extended with a pixel offset like so:
|
||||||
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
||||||
width = 100%
|
width = 100%
|
||||||
height = 30
|
height = 28
|
||||||
|
|
||||||
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
||||||
; the percentage can optionally be extended with a pixel offset like so:
|
; the percentage can optionally be extended with a pixel offset like so:
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ margin-top = 0
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ margin-top = 0
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ margin-top = 0
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ margin-top = 0
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ margin-top = 0
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
@@ -51,7 +51,7 @@ fixed-center = true
|
|||||||
; the percentage can optionally be extended with a pixel offset like so:
|
; the percentage can optionally be extended with a pixel offset like so:
|
||||||
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
||||||
width = 100%
|
width = 100%
|
||||||
height = 34
|
height = 28
|
||||||
|
|
||||||
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
||||||
; the percentage can optionally be extended with a pixel offset like so:
|
; the percentage can optionally be extended with a pixel offset like so:
|
||||||
@@ -122,9 +122,9 @@ module-margin-right = 2
|
|||||||
|
|
||||||
font-0 = "Noto Sans:size=10;2"
|
font-0 = "Noto Sans:size=10;2"
|
||||||
font-1 = "icomoon\-feather:size=13;5"
|
font-1 = "icomoon\-feather:size=13;5"
|
||||||
font-2 = "Iosevka Nerd Font:size=20;5"
|
font-2 = "Iosevka Nerd Font:size=18;5"
|
||||||
font-3 = "Iosevka Nerd Font:size=12;4"
|
font-3 = "Iosevka Nerd Font:size=12;4"
|
||||||
font-4 = "Noto Sans:size=16;4"
|
font-4 = "Noto Sans:size=12;4"
|
||||||
font-5 = "Noto Sans:size=8;3"
|
font-5 = "Noto Sans:size=8;3"
|
||||||
|
|
||||||
; Modules are added to one of the available blocks
|
; Modules are added to one of the available blocks
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ margin-top = 0
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
@@ -51,7 +51,7 @@ fixed-center = true
|
|||||||
; the percentage can optionally be extended with a pixel offset like so:
|
; the percentage can optionally be extended with a pixel offset like so:
|
||||||
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
||||||
width = 100%
|
width = 100%
|
||||||
height = 34
|
height = 28
|
||||||
|
|
||||||
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
||||||
; the percentage can optionally be extended with a pixel offset like so:
|
; the percentage can optionally be extended with a pixel offset like so:
|
||||||
@@ -122,9 +122,9 @@ module-margin-right = 2
|
|||||||
|
|
||||||
font-0 = "Noto Sans:size=10;2"
|
font-0 = "Noto Sans:size=10;2"
|
||||||
font-1 = "icomoon\-feather:size=13;5"
|
font-1 = "icomoon\-feather:size=13;5"
|
||||||
font-2 = "Iosevka Nerd Font:size=20;5"
|
font-2 = "Iosevka Nerd Font:size=18;5"
|
||||||
font-3 = "Iosevka Nerd Font:size=12;4"
|
font-3 = "Iosevka Nerd Font:size=12;4"
|
||||||
font-4 = "Noto Sans:size=16;4"
|
font-4 = "Noto Sans:size=12;4"
|
||||||
font-5 = "Noto Sans:size=8;3"
|
font-5 = "Noto Sans:size=8;3"
|
||||||
|
|
||||||
; Modules are added to one of the available blocks
|
; Modules are added to one of the available blocks
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ margin-top = 0
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
@@ -51,7 +51,7 @@ fixed-center = true
|
|||||||
; the percentage can optionally be extended with a pixel offset like so:
|
; the percentage can optionally be extended with a pixel offset like so:
|
||||||
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
||||||
width = 100%
|
width = 100%
|
||||||
height = 36
|
height = 28
|
||||||
|
|
||||||
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
||||||
; the percentage can optionally be extended with a pixel offset like so:
|
; the percentage can optionally be extended with a pixel offset like so:
|
||||||
@@ -96,7 +96,7 @@ radius-bottom = 0.0
|
|||||||
; the border is placed withing this area. So you effectively only have the
|
; the border is placed withing this area. So you effectively only have the
|
||||||
; following horizontal space on the bar:
|
; following horizontal space on the bar:
|
||||||
; width - border-right-size - border-left-size
|
; width - border-right-size - border-left-size
|
||||||
border-size = 8
|
border-size = 1
|
||||||
border-color = ${color.bg}
|
border-color = ${color.bg}
|
||||||
|
|
||||||
; Number of spaces to add at the beginning/end of the bar
|
; Number of spaces to add at the beginning/end of the bar
|
||||||
@@ -122,7 +122,7 @@ module-margin-right = 0
|
|||||||
|
|
||||||
font-0 = "Noto Sans:size=9;3"
|
font-0 = "Noto Sans:size=9;3"
|
||||||
font-1 = "Material:size=12;3"
|
font-1 = "Material:size=12;3"
|
||||||
font-2 = "Iosevka Nerd Font:size=20;5"
|
font-2 = "Iosevka Nerd Font:size=12;5"
|
||||||
|
|
||||||
; Modules are added to one of the available blocks
|
; Modules are added to one of the available blocks
|
||||||
; modules-left = cpu ram
|
; modules-left = cpu ram
|
||||||
@@ -362,7 +362,7 @@ type = internal/alsa
|
|||||||
; <ramp-volume>
|
; <ramp-volume>
|
||||||
; <bar-volume>
|
; <bar-volume>
|
||||||
format-volume = <ramp-volume>
|
format-volume = <ramp-volume>
|
||||||
format-volume-background = ${color.mf}
|
#format-volume-background = ${color.mf}
|
||||||
format-volume-padding = 2
|
format-volume-padding = 2
|
||||||
|
|
||||||
; Available tags:
|
; Available tags:
|
||||||
@@ -370,7 +370,7 @@ format-volume-padding = 2
|
|||||||
; <ramp-volume>
|
; <ramp-volume>
|
||||||
; <bar-volume>
|
; <bar-volume>
|
||||||
format-muted = <label-muted>
|
format-muted = <label-muted>
|
||||||
format-muted-background = ${color.mf}
|
#format-muted-background = ${color.mf}
|
||||||
format-muted-padding = 2
|
format-muted-padding = 2
|
||||||
|
|
||||||
; Available tokens:
|
; Available tokens:
|
||||||
@@ -407,7 +407,7 @@ time-format = %H:%M
|
|||||||
; <ramp-capacity>
|
; <ramp-capacity>
|
||||||
; <animation-charging>
|
; <animation-charging>
|
||||||
format-charging = <animation-charging>
|
format-charging = <animation-charging>
|
||||||
format-charging-background = ${color.mf}
|
#format-charging-background = ${color.mf}
|
||||||
format-charging-padding = 2
|
format-charging-padding = 2
|
||||||
|
|
||||||
; Available tags:
|
; Available tags:
|
||||||
@@ -416,7 +416,7 @@ format-charging-padding = 2
|
|||||||
; <ramp-capacity>
|
; <ramp-capacity>
|
||||||
; <animation-discharging>
|
; <animation-discharging>
|
||||||
format-discharging = <ramp-capacity> <label-discharging>
|
format-discharging = <ramp-capacity> <label-discharging>
|
||||||
format-discharging-background = ${color.mf}
|
#format-discharging-background = ${color.mf}
|
||||||
format-discharging-padding = 2
|
format-discharging-padding = 2
|
||||||
|
|
||||||
; Available tags:
|
; Available tags:
|
||||||
@@ -424,7 +424,7 @@ format-discharging-padding = 2
|
|||||||
; <bar-capacity>
|
; <bar-capacity>
|
||||||
; <ramp-capacity>
|
; <ramp-capacity>
|
||||||
format-full = <label-full>
|
format-full = <label-full>
|
||||||
format-full-background = ${color.mf}
|
#format-full-background = ${color.mf}
|
||||||
format-full-padding = 2
|
format-full-padding = 2
|
||||||
|
|
||||||
; Available tokens:
|
; Available tokens:
|
||||||
@@ -465,7 +465,7 @@ time = %I:%M
|
|||||||
;time-alt = %B %d, %Y
|
;time-alt = %B %d, %Y
|
||||||
|
|
||||||
format = <label>
|
format = <label>
|
||||||
format-background = ${color.mf}
|
#format-background = ${color.mf}
|
||||||
format-padding = 3
|
format-padding = 3
|
||||||
|
|
||||||
label = %time%
|
label = %time%
|
||||||
@@ -487,13 +487,13 @@ unknown-as-up = true
|
|||||||
; <label-connected> (default)
|
; <label-connected> (default)
|
||||||
; <ramp-signal>
|
; <ramp-signal>
|
||||||
format-connected = <label-connected>
|
format-connected = <label-connected>
|
||||||
format-connected-background = ${color.mf}
|
#format-connected-background = ${color.mf}
|
||||||
format-connected-padding = 2
|
format-connected-padding = 2
|
||||||
|
|
||||||
; Available tags:
|
; Available tags:
|
||||||
; <label-disconnected> (default)
|
; <label-disconnected> (default)
|
||||||
format-disconnected = <label-disconnected>
|
format-disconnected = <label-disconnected>
|
||||||
format-disconnected-background = ${color.mf}
|
#format-disconnected-background = ${color.mf}
|
||||||
format-disconnected-padding = 2
|
format-disconnected-padding = 2
|
||||||
|
|
||||||
; Available tags:
|
; Available tags:
|
||||||
@@ -545,7 +545,7 @@ ramp-signal-4 =
|
|||||||
type = custom/text
|
type = custom/text
|
||||||
|
|
||||||
content =
|
content =
|
||||||
content-background = ${color.mf}
|
#content-background = ${color.mf}
|
||||||
content-foreground = ${color.fg}
|
content-foreground = ${color.fg}
|
||||||
content-padding = 3
|
content-padding = 3
|
||||||
|
|
||||||
@@ -558,7 +558,7 @@ click-right = ~/.config/polybar/panels/scripts/launcher.sh --liri
|
|||||||
type = custom/text
|
type = custom/text
|
||||||
|
|
||||||
content =
|
content =
|
||||||
content-background = ${color.mf}
|
#content-background = ${color.mf}
|
||||||
content-foreground = ${color.fg}
|
content-foreground = ${color.fg}
|
||||||
content-padding = 3
|
content-padding = 3
|
||||||
|
|
||||||
@@ -571,7 +571,7 @@ click-right = ~/.config/polybar/panels/scripts/powermenu.sh --liri
|
|||||||
type = custom/text
|
type = custom/text
|
||||||
|
|
||||||
content =
|
content =
|
||||||
content-background = ${color.mf}
|
#content-background = ${color.mf}
|
||||||
content-foreground = ${color.fg}
|
content-foreground = ${color.fg}
|
||||||
content-padding = 2
|
content-padding = 2
|
||||||
|
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ margin-top = 0
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ margin-top = 0
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ margin-top = 0
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ margin-top = 0
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ margin-top = 0
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
@@ -51,7 +51,7 @@ fixed-center = true
|
|||||||
; the percentage can optionally be extended with a pixel offset like so:
|
; the percentage can optionally be extended with a pixel offset like so:
|
||||||
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
||||||
width = 100%
|
width = 100%
|
||||||
height = 42
|
height = 28
|
||||||
|
|
||||||
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
||||||
; the percentage can optionally be extended with a pixel offset like so:
|
; the percentage can optionally be extended with a pixel offset like so:
|
||||||
@@ -122,7 +122,7 @@ module-margin-right = 3
|
|||||||
|
|
||||||
font-0 = "Noto Sans:size=9;4"
|
font-0 = "Noto Sans:size=9;4"
|
||||||
font-1 = "icomoon\-feather:size=10;4"
|
font-1 = "icomoon\-feather:size=10;4"
|
||||||
font-2 = "Iosevka Nerd Font:size=20;5"
|
font-2 = "Iosevka Nerd Font:size=12;5"
|
||||||
font-3 = "Noto Sans:size=8;4"
|
font-3 = "Noto Sans:size=8;4"
|
||||||
|
|
||||||
; Modules are added to one of the available blocks
|
; Modules are added to one of the available blocks
|
||||||
|
|||||||
@@ -1,426 +0,0 @@
|
|||||||
;; ┌────────────────────────────────────────────────────────────┐
|
|
||||||
;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│
|
|
||||||
;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│
|
|
||||||
;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│
|
|
||||||
;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│
|
|
||||||
;; └────────────────────────────────────────────────────────────┘
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; Global WM Settings
|
|
||||||
|
|
||||||
[global/wm]
|
|
||||||
; Adjust the _NET_WM_STRUT_PARTIAL top value
|
|
||||||
; Used for top aligned bars
|
|
||||||
margin-bottom = 0
|
|
||||||
|
|
||||||
; Adjust the _NET_WM_STRUT_PARTIAL bottom value
|
|
||||||
; Used for bottom aligned bars
|
|
||||||
margin-top = 0
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; File Inclusion
|
|
||||||
; include an external file, like module file, etc.
|
|
||||||
|
|
||||||
include-file = ~/.config/polybar/pwidgets/colors.ini
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; Bar Settings
|
|
||||||
|
|
||||||
[bar/main]
|
|
||||||
; Use either of the following command to list available outputs:
|
|
||||||
; If unspecified, the application will pick the first one it finds.
|
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
|
||||||
monitor =
|
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
|
||||||
monitor-fallback =
|
|
||||||
|
|
||||||
; Require the monitor to be in connected state
|
|
||||||
; XRandR sometimes reports my monitor as being disconnected (when in use)
|
|
||||||
monitor-strict = false
|
|
||||||
|
|
||||||
; Tell the Window Manager not to configure the window.
|
|
||||||
; Use this to detach the bar if your WM is locking its size/position.
|
|
||||||
override-redirect = false
|
|
||||||
|
|
||||||
; Put the bar at the bottom of the screen
|
|
||||||
bottom = true
|
|
||||||
|
|
||||||
; Prefer fixed center position for the `modules-center` block
|
|
||||||
; When false, the center position will be based on the size of the other blocks.
|
|
||||||
fixed-center = true
|
|
||||||
|
|
||||||
; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%),
|
|
||||||
; the percentage can optionally be extended with a pixel offset like so:
|
|
||||||
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
|
||||||
width = 230
|
|
||||||
height = 60
|
|
||||||
|
|
||||||
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
|
||||||
; the percentage can optionally be extended with a pixel offset like so:
|
|
||||||
; 50%:-10, this will result in an offset in the x or y direction
|
|
||||||
; of 50% minus 10 pixels
|
|
||||||
offset-x = 0
|
|
||||||
offset-y = 0
|
|
||||||
|
|
||||||
; Background ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
|
||||||
background = ${color.bg}
|
|
||||||
|
|
||||||
; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
|
||||||
foreground = ${color.fg}
|
|
||||||
|
|
||||||
; Background gradient (vertical steps)
|
|
||||||
; background-[0-9]+ = #aarrggbb
|
|
||||||
;;background-0 =
|
|
||||||
|
|
||||||
; Value used for drawing rounded corners
|
|
||||||
; Note: This shouldn't be used together with border-size because the border
|
|
||||||
; doesn't get rounded
|
|
||||||
; Individual top/bottom values can be defined using:
|
|
||||||
; radius-{top,bottom}
|
|
||||||
radius-top = 20.0
|
|
||||||
radius-bottom = 20.0
|
|
||||||
|
|
||||||
; Under-/overline pixel size and argb color
|
|
||||||
; Individual values can be defined using:
|
|
||||||
; {overline,underline}-size
|
|
||||||
; {overline,underline}-color
|
|
||||||
line-size = 2
|
|
||||||
line-color = ${color.ac}
|
|
||||||
|
|
||||||
; Values applied to all borders
|
|
||||||
; Individual side values can be defined using:
|
|
||||||
; border-{left,top,right,bottom}-size
|
|
||||||
; border-{left,top,right,bottom}-color
|
|
||||||
; The top and bottom borders are added to the bar height, so the effective
|
|
||||||
; window height is:
|
|
||||||
; height + border-top-size + border-bottom-size
|
|
||||||
; Meanwhile the effective window width is defined entirely by the width key and
|
|
||||||
; the border is placed withing this area. So you effectively only have the
|
|
||||||
; following horizontal space on the bar:
|
|
||||||
; width - border-right-size - border-left-size
|
|
||||||
border-bottom-size = 0
|
|
||||||
border-color = ${color.ac}
|
|
||||||
|
|
||||||
; Number of spaces to add at the beginning/end of the bar
|
|
||||||
; Individual side values can be defined using:
|
|
||||||
; padding-{left,right}
|
|
||||||
padding = 2
|
|
||||||
|
|
||||||
; Number of spaces to add before/after each module
|
|
||||||
; Individual side values can be defined using:
|
|
||||||
; module-margin-{left,right}
|
|
||||||
module-margin-left = 1
|
|
||||||
module-margin-right = 1
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
; Fonts are defined using <font-name>;<vertical-offset>
|
|
||||||
; Font names are specified using a fontconfig pattern.
|
|
||||||
; font-0 = NotoSans-Regular:size=8;2
|
|
||||||
; font-1 = MaterialIcons:size=10
|
|
||||||
; font-2 = Termsynu:size=8;-1
|
|
||||||
; font-3 = FontAwesome:size=10
|
|
||||||
; See the Fonts wiki page for more details
|
|
||||||
|
|
||||||
font-0 = "Iosevka Nerd Font:size=12;2"
|
|
||||||
font-1 = "Iosevka Nerd Font:bold:size=24;2"
|
|
||||||
font-2 = "Iosevka Nerd Font:size=22;6"
|
|
||||||
|
|
||||||
; Modules are added to one of the available blocks
|
|
||||||
; modules-left = cpu ram
|
|
||||||
; modules-center = xwindow xbacklight
|
|
||||||
; modules-right = ipc clock
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[bar/primary]
|
|
||||||
inherit = bar/main
|
|
||||||
offset-x = 25
|
|
||||||
offset-y = 25
|
|
||||||
|
|
||||||
padding = 1
|
|
||||||
module-margin-left = 0
|
|
||||||
module-margin-right = 0
|
|
||||||
|
|
||||||
modules-center = web sep2 files sep2 edit sep2 apps
|
|
||||||
enable-ipc = true
|
|
||||||
|
|
||||||
[bar/secondary]
|
|
||||||
inherit = bar/main
|
|
||||||
offset-x = 25
|
|
||||||
offset-y = 75
|
|
||||||
background = ${color.trans}
|
|
||||||
foreground = ${color.white}
|
|
||||||
|
|
||||||
padding = 1
|
|
||||||
module-margin-left = 0
|
|
||||||
module-margin-right = 0
|
|
||||||
|
|
||||||
modules-left = date sep mpd
|
|
||||||
enable-ipc = true
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
; The separator will be inserted between the output of each module
|
|
||||||
separator =
|
|
||||||
|
|
||||||
; Opacity value between 0.0 and 1.0 used on fade in/out
|
|
||||||
dim-value = 1.0
|
|
||||||
|
|
||||||
; Value to be used to set the WM_NAME atom
|
|
||||||
; If the value is empty or undefined, the atom value
|
|
||||||
; will be created from the following template: polybar-[BAR]_[MONITOR]
|
|
||||||
; NOTE: The placeholders are not available for custom values
|
|
||||||
wm-name =
|
|
||||||
|
|
||||||
; Locale used to localize various module data (e.g. date)
|
|
||||||
; Expects a valid libc locale, for example: sv_SE.UTF-8
|
|
||||||
locale =
|
|
||||||
|
|
||||||
; Position of the system tray window
|
|
||||||
; If empty or undefined, tray support will be disabled
|
|
||||||
; NOTE: A center aligned tray will cover center aligned modules
|
|
||||||
;
|
|
||||||
; Available positions:
|
|
||||||
; left
|
|
||||||
; center
|
|
||||||
; right
|
|
||||||
; none
|
|
||||||
tray-position = none
|
|
||||||
|
|
||||||
; If true, the bar will not shift its
|
|
||||||
; contents when the tray changes
|
|
||||||
tray-detached = false
|
|
||||||
|
|
||||||
; Tray icon max size
|
|
||||||
tray-maxsize = 16
|
|
||||||
|
|
||||||
; Background color for the tray container
|
|
||||||
; ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
|
||||||
; By default the tray container will use the bar
|
|
||||||
; background color.
|
|
||||||
tray-background = ${color.background}
|
|
||||||
|
|
||||||
; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
|
||||||
tray-offset-x = 0
|
|
||||||
tray-offset-y = 0
|
|
||||||
|
|
||||||
; Pad the sides of each tray icon
|
|
||||||
tray-padding = 0
|
|
||||||
|
|
||||||
; Scale factor for tray clients
|
|
||||||
tray-scale = 1.0
|
|
||||||
|
|
||||||
; Restack the bar window and put it above the
|
|
||||||
; selected window manager's root
|
|
||||||
;
|
|
||||||
; Fixes the issue where the bar is being drawn
|
|
||||||
; on top of fullscreen window's
|
|
||||||
;
|
|
||||||
; Currently supported WM's:
|
|
||||||
; bspwm
|
|
||||||
; i3 (requires: `override-redirect = true`)
|
|
||||||
;;wm-restack =
|
|
||||||
|
|
||||||
; Set a DPI values used when rendering text
|
|
||||||
; This only affects scalable fonts
|
|
||||||
; dpi =
|
|
||||||
|
|
||||||
; Enable support for inter-process messaging
|
|
||||||
; See the Messaging wiki page for more details.
|
|
||||||
;enable-ipc = true
|
|
||||||
|
|
||||||
; Fallback click handlers that will be called if
|
|
||||||
; there's no matching module handler found.
|
|
||||||
click-left =
|
|
||||||
click-middle =
|
|
||||||
click-right =
|
|
||||||
scroll-up =
|
|
||||||
scroll-down =
|
|
||||||
double-click-left =
|
|
||||||
double-click-middle =
|
|
||||||
double-click-right =
|
|
||||||
|
|
||||||
; Requires polybar to be built with xcursor support (xcb-util-cursor)
|
|
||||||
; Possible values are:
|
|
||||||
; - default : The default pointer as before, can also be an empty string (default)
|
|
||||||
; - pointer : Typically in the form of a hand
|
|
||||||
; - ns-resize : Up and down arrows, can be used to indicate scrolling
|
|
||||||
cursor-click =
|
|
||||||
cursor-scroll =
|
|
||||||
|
|
||||||
;; WM Workspace Specific
|
|
||||||
|
|
||||||
; bspwm
|
|
||||||
;;scroll-up = bspwm-desknext
|
|
||||||
;;scroll-down = bspwm-deskprev
|
|
||||||
;;scroll-up = bspc desktop -f prev.local
|
|
||||||
;;scroll-down = bspc desktop -f next.local
|
|
||||||
|
|
||||||
;i3
|
|
||||||
;;scroll-up = i3wm-wsnext
|
|
||||||
;;scroll-down = i3wm-wsprev
|
|
||||||
;;scroll-up = i3-msg workspace next_on_output
|
|
||||||
;;scroll-down = i3-msg workspace prev_on_output
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; Application Settings
|
|
||||||
|
|
||||||
[settings]
|
|
||||||
; The throttle settings lets the eventloop swallow up til X events
|
|
||||||
; if they happen within Y millisecond after first event was received.
|
|
||||||
; This is done to prevent flood of update event.
|
|
||||||
;
|
|
||||||
; For example if 5 modules emit an update event at the same time, we really
|
|
||||||
; just care about the last one. But if we wait too long for events to swallow
|
|
||||||
; the bar would appear sluggish so we continue if timeout
|
|
||||||
; expires or limit is reached.
|
|
||||||
throttle-output = 5
|
|
||||||
throttle-output-for = 10
|
|
||||||
|
|
||||||
; Time in milliseconds that the input handler will wait between processing events
|
|
||||||
;throttle-input-for = 30
|
|
||||||
|
|
||||||
; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events
|
|
||||||
screenchange-reload = false
|
|
||||||
|
|
||||||
; Compositing operators
|
|
||||||
; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t
|
|
||||||
compositing-background = source
|
|
||||||
compositing-foreground = over
|
|
||||||
compositing-overline = over
|
|
||||||
compositing-underline = over
|
|
||||||
compositing-border = over
|
|
||||||
|
|
||||||
; Define fallback values used by all module formats
|
|
||||||
;format-foreground =
|
|
||||||
;format-background =
|
|
||||||
;format-underline =
|
|
||||||
;format-overline =
|
|
||||||
;format-spacing =
|
|
||||||
;format-padding =
|
|
||||||
;format-margin =
|
|
||||||
;format-offset =
|
|
||||||
|
|
||||||
; Enables pseudo-transparency for the bar
|
|
||||||
; If set to true the bar can be transparent without a compositor.
|
|
||||||
pseudo-transparency = false
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; ┌────────────────────────────────────────────────────────────────┐
|
|
||||||
;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│
|
|
||||||
;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│
|
|
||||||
;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│
|
|
||||||
;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│
|
|
||||||
;; └────────────────────────────────────────────────────────────────┘
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/date]
|
|
||||||
type = internal/date
|
|
||||||
|
|
||||||
interval = 1.0
|
|
||||||
time = %k:%M
|
|
||||||
|
|
||||||
format = <label>
|
|
||||||
format-foreground = ${color.fg}
|
|
||||||
label = %time%
|
|
||||||
label-font = 2
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/mpd]
|
|
||||||
type = internal/mpd
|
|
||||||
|
|
||||||
interval = 2
|
|
||||||
|
|
||||||
format-online = <label-song>
|
|
||||||
format-online-foreground = ${color.fg}
|
|
||||||
|
|
||||||
label-song = "%title%"
|
|
||||||
label-song-maxlen = 12
|
|
||||||
label-song-ellipsis = true
|
|
||||||
label-offline = "Offline"
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; Apps
|
|
||||||
|
|
||||||
[module/term]
|
|
||||||
type = custom/text
|
|
||||||
|
|
||||||
content = "%{T3}%{T-}"
|
|
||||||
content-foreground = ${color.black}
|
|
||||||
content-background = ${color.bg}
|
|
||||||
content-padding = 0
|
|
||||||
|
|
||||||
click-left = termite &
|
|
||||||
|
|
||||||
[module/web]
|
|
||||||
type = custom/text
|
|
||||||
|
|
||||||
content = "%{T3}%{T-}"
|
|
||||||
content-foreground = ${color.orange}
|
|
||||||
content-background = ${color.bg}
|
|
||||||
content-padding = 0
|
|
||||||
|
|
||||||
click-left = firefox &
|
|
||||||
|
|
||||||
[module/files]
|
|
||||||
type = custom/text
|
|
||||||
|
|
||||||
content = "%{T3}%{T-}"
|
|
||||||
content-foreground = ${color.blue}
|
|
||||||
content-background = ${color.bg}
|
|
||||||
content-padding = 0
|
|
||||||
|
|
||||||
click-left = thunar &
|
|
||||||
|
|
||||||
[module/edit]
|
|
||||||
type = custom/text
|
|
||||||
|
|
||||||
content = "%{T3}%{T-}"
|
|
||||||
content-foreground = ${color.gray}
|
|
||||||
content-background = ${color.bg}
|
|
||||||
content-padding = 0
|
|
||||||
|
|
||||||
click-left = geany &
|
|
||||||
|
|
||||||
[module/apps]
|
|
||||||
type = custom/text
|
|
||||||
|
|
||||||
content = "%{T3}%{T-}"
|
|
||||||
content-foreground = ${color.fga}
|
|
||||||
content-background = ${color.bg}
|
|
||||||
content-padding = 0
|
|
||||||
|
|
||||||
click-left = ~/.config/polybar/pwidgets/scripts/launcher.sh &
|
|
||||||
click-right = ~/.config/polybar/pwidgets/scripts/style-switch.sh &
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/sep]
|
|
||||||
type = custom/text
|
|
||||||
content = " | "
|
|
||||||
content-font = 1
|
|
||||||
|
|
||||||
;;content-background = #000
|
|
||||||
content-foreground = ${color.fg}
|
|
||||||
;;content-padding = 4
|
|
||||||
|
|
||||||
[module/sep2]
|
|
||||||
type = custom/text
|
|
||||||
content = " "
|
|
||||||
|
|
||||||
;;content-background = #000
|
|
||||||
content-foreground = ${color.fg}
|
|
||||||
;;content-padding = 4
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
@@ -1,42 +0,0 @@
|
|||||||
;; ┌────────────────────────────────────────────────────────────┐
|
|
||||||
;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█░░░█▀█░█▀▄░█▀▀│
|
|
||||||
;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░░░█░█░█▀▄░▀▀█│
|
|
||||||
;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀░▀░▀▀▀│
|
|
||||||
;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│
|
|
||||||
;; └────────────────────────────────────────────────────────────┘
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[color]
|
|
||||||
bg = #FFFFFFFF
|
|
||||||
fg = #FFFFFFFF
|
|
||||||
ac = #FF1565C0
|
|
||||||
fga = #FF454545
|
|
||||||
|
|
||||||
trans = #00000000
|
|
||||||
white = #FFFFFF
|
|
||||||
black = #000000
|
|
||||||
|
|
||||||
;; Material Colors
|
|
||||||
|
|
||||||
red = #e53935
|
|
||||||
pink = #d81b60
|
|
||||||
purple = #8e24aa
|
|
||||||
deep-purple = #5e35b1
|
|
||||||
indigo = #3949ab
|
|
||||||
blue = #5895DC
|
|
||||||
light-blue = #039be5
|
|
||||||
cyan = #00acc1
|
|
||||||
teal = #00897b
|
|
||||||
green = #43a047
|
|
||||||
light-green = #7cb342
|
|
||||||
lime = #c0ca33
|
|
||||||
yellow = #FEC006
|
|
||||||
amber = #ffb300
|
|
||||||
orange = #F57C00
|
|
||||||
deep-orange = #f4511e
|
|
||||||
brown = #6d4c41
|
|
||||||
gray = #757575
|
|
||||||
blue-gray = #546e7a
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
394
pwidgets/cpu.ini
394
pwidgets/cpu.ini
@@ -1,394 +0,0 @@
|
|||||||
;; ┌────────────────────────────────────────────────────────────┐
|
|
||||||
;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│
|
|
||||||
;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│
|
|
||||||
;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│
|
|
||||||
;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│
|
|
||||||
;; └────────────────────────────────────────────────────────────┘
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; Global WM Settings
|
|
||||||
|
|
||||||
[global/wm]
|
|
||||||
; Adjust the _NET_WM_STRUT_PARTIAL top value
|
|
||||||
; Used for top aligned bars
|
|
||||||
margin-bottom = 0
|
|
||||||
|
|
||||||
; Adjust the _NET_WM_STRUT_PARTIAL bottom value
|
|
||||||
; Used for bottom aligned bars
|
|
||||||
margin-top = 0
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; File Inclusion
|
|
||||||
; include an external file, like module file, etc.
|
|
||||||
|
|
||||||
include-file = ~/.config/polybar/pwidgets/colors.ini
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; Bar Settings
|
|
||||||
|
|
||||||
[bar/main]
|
|
||||||
; Use either of the following command to list available outputs:
|
|
||||||
; If unspecified, the application will pick the first one it finds.
|
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
|
||||||
monitor =
|
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
|
||||||
monitor-fallback =
|
|
||||||
|
|
||||||
; Require the monitor to be in connected state
|
|
||||||
; XRandR sometimes reports my monitor as being disconnected (when in use)
|
|
||||||
monitor-strict = false
|
|
||||||
|
|
||||||
; Tell the Window Manager not to configure the window.
|
|
||||||
; Use this to detach the bar if your WM is locking its size/position.
|
|
||||||
override-redirect = false
|
|
||||||
|
|
||||||
; Put the bar at the bottom of the screen
|
|
||||||
bottom = true
|
|
||||||
|
|
||||||
; Prefer fixed center position for the `modules-center` block
|
|
||||||
; When false, the center position will be based on the size of the other blocks.
|
|
||||||
fixed-center = true
|
|
||||||
|
|
||||||
; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%),
|
|
||||||
; the percentage can optionally be extended with a pixel offset like so:
|
|
||||||
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
|
||||||
width = 230
|
|
||||||
height = 60
|
|
||||||
|
|
||||||
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
|
||||||
; the percentage can optionally be extended with a pixel offset like so:
|
|
||||||
; 50%:-10, this will result in an offset in the x or y direction
|
|
||||||
; of 50% minus 10 pixels
|
|
||||||
offset-x = 0
|
|
||||||
offset-y = 0
|
|
||||||
|
|
||||||
; Background ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
|
||||||
background = ${color.bg}
|
|
||||||
|
|
||||||
; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
|
||||||
foreground = ${color.fg}
|
|
||||||
|
|
||||||
; Background gradient (vertical steps)
|
|
||||||
; background-[0-9]+ = #aarrggbb
|
|
||||||
;;background-0 =
|
|
||||||
|
|
||||||
; Value used for drawing rounded corners
|
|
||||||
; Note: This shouldn't be used together with border-size because the border
|
|
||||||
; doesn't get rounded
|
|
||||||
; Individual top/bottom values can be defined using:
|
|
||||||
; radius-{top,bottom}
|
|
||||||
radius-top = 20.0
|
|
||||||
radius-bottom = 20.0
|
|
||||||
|
|
||||||
; Under-/overline pixel size and argb color
|
|
||||||
; Individual values can be defined using:
|
|
||||||
; {overline,underline}-size
|
|
||||||
; {overline,underline}-color
|
|
||||||
line-size = 2
|
|
||||||
line-color = ${color.ac}
|
|
||||||
|
|
||||||
; Values applied to all borders
|
|
||||||
; Individual side values can be defined using:
|
|
||||||
; border-{left,top,right,bottom}-size
|
|
||||||
; border-{left,top,right,bottom}-color
|
|
||||||
; The top and bottom borders are added to the bar height, so the effective
|
|
||||||
; window height is:
|
|
||||||
; height + border-top-size + border-bottom-size
|
|
||||||
; Meanwhile the effective window width is defined entirely by the width key and
|
|
||||||
; the border is placed withing this area. So you effectively only have the
|
|
||||||
; following horizontal space on the bar:
|
|
||||||
; width - border-right-size - border-left-size
|
|
||||||
border-bottom-size = 0
|
|
||||||
border-color = ${color.ac}
|
|
||||||
|
|
||||||
; Number of spaces to add at the beginning/end of the bar
|
|
||||||
; Individual side values can be defined using:
|
|
||||||
; padding-{left,right}
|
|
||||||
padding = 2
|
|
||||||
|
|
||||||
; Number of spaces to add before/after each module
|
|
||||||
; Individual side values can be defined using:
|
|
||||||
; module-margin-{left,right}
|
|
||||||
module-margin-left = 1
|
|
||||||
module-margin-right = 1
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
; Fonts are defined using <font-name>;<vertical-offset>
|
|
||||||
; Font names are specified using a fontconfig pattern.
|
|
||||||
; font-0 = NotoSans-Regular:size=8;2
|
|
||||||
; font-1 = MaterialIcons:size=10
|
|
||||||
; font-2 = Termsynu:size=8;-1
|
|
||||||
; font-3 = FontAwesome:size=10
|
|
||||||
; See the Fonts wiki page for more details
|
|
||||||
|
|
||||||
font-0 = "Iosevka Nerd Font:size=24;6"
|
|
||||||
font-1 = "Iosevka Nerd Font:size=12;2"
|
|
||||||
font-2 = "Iosevka Nerd Font:bold:size=24;2"
|
|
||||||
|
|
||||||
; Modules are added to one of the available blocks
|
|
||||||
; modules-left = cpu ram
|
|
||||||
; modules-center = xwindow xbacklight
|
|
||||||
; modules-right = ipc clock
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[bar/primary]
|
|
||||||
inherit = bar/main
|
|
||||||
offset-x = 25
|
|
||||||
offset-y = 25
|
|
||||||
|
|
||||||
padding = 1
|
|
||||||
module-margin-left = 0
|
|
||||||
module-margin-right = 0
|
|
||||||
|
|
||||||
modules-center = cpu_bar
|
|
||||||
enable-ipc = true
|
|
||||||
|
|
||||||
[bar/secondary]
|
|
||||||
inherit = bar/main
|
|
||||||
offset-x = 25
|
|
||||||
offset-y = 75
|
|
||||||
background = ${color.trans}
|
|
||||||
foreground = ${color.white}
|
|
||||||
|
|
||||||
padding = 1
|
|
||||||
module-margin-left = 0
|
|
||||||
module-margin-right = 0
|
|
||||||
|
|
||||||
modules-left = name sep cpu
|
|
||||||
enable-ipc = true
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
; The separator will be inserted between the output of each module
|
|
||||||
separator =
|
|
||||||
|
|
||||||
; Opacity value between 0.0 and 1.0 used on fade in/out
|
|
||||||
dim-value = 1.0
|
|
||||||
|
|
||||||
; Value to be used to set the WM_NAME atom
|
|
||||||
; If the value is empty or undefined, the atom value
|
|
||||||
; will be created from the following template: polybar-[BAR]_[MONITOR]
|
|
||||||
; NOTE: The placeholders are not available for custom values
|
|
||||||
wm-name =
|
|
||||||
|
|
||||||
; Locale used to localize various module data (e.g. date)
|
|
||||||
; Expects a valid libc locale, for example: sv_SE.UTF-8
|
|
||||||
locale =
|
|
||||||
|
|
||||||
; Position of the system tray window
|
|
||||||
; If empty or undefined, tray support will be disabled
|
|
||||||
; NOTE: A center aligned tray will cover center aligned modules
|
|
||||||
;
|
|
||||||
; Available positions:
|
|
||||||
; left
|
|
||||||
; center
|
|
||||||
; right
|
|
||||||
; none
|
|
||||||
tray-position = none
|
|
||||||
|
|
||||||
; If true, the bar will not shift its
|
|
||||||
; contents when the tray changes
|
|
||||||
tray-detached = false
|
|
||||||
|
|
||||||
; Tray icon max size
|
|
||||||
tray-maxsize = 16
|
|
||||||
|
|
||||||
; Background color for the tray container
|
|
||||||
; ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
|
||||||
; By default the tray container will use the bar
|
|
||||||
; background color.
|
|
||||||
tray-background = ${color.background}
|
|
||||||
|
|
||||||
; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
|
||||||
tray-offset-x = 0
|
|
||||||
tray-offset-y = 0
|
|
||||||
|
|
||||||
; Pad the sides of each tray icon
|
|
||||||
tray-padding = 0
|
|
||||||
|
|
||||||
; Scale factor for tray clients
|
|
||||||
tray-scale = 1.0
|
|
||||||
|
|
||||||
; Restack the bar window and put it above the
|
|
||||||
; selected window manager's root
|
|
||||||
;
|
|
||||||
; Fixes the issue where the bar is being drawn
|
|
||||||
; on top of fullscreen window's
|
|
||||||
;
|
|
||||||
; Currently supported WM's:
|
|
||||||
; bspwm
|
|
||||||
; i3 (requires: `override-redirect = true`)
|
|
||||||
;;wm-restack =
|
|
||||||
|
|
||||||
; Set a DPI values used when rendering text
|
|
||||||
; This only affects scalable fonts
|
|
||||||
; dpi =
|
|
||||||
|
|
||||||
; Enable support for inter-process messaging
|
|
||||||
; See the Messaging wiki page for more details.
|
|
||||||
;enable-ipc = true
|
|
||||||
|
|
||||||
; Fallback click handlers that will be called if
|
|
||||||
; there's no matching module handler found.
|
|
||||||
click-left =
|
|
||||||
click-middle =
|
|
||||||
click-right =
|
|
||||||
scroll-up =
|
|
||||||
scroll-down =
|
|
||||||
double-click-left =
|
|
||||||
double-click-middle =
|
|
||||||
double-click-right =
|
|
||||||
|
|
||||||
; Requires polybar to be built with xcursor support (xcb-util-cursor)
|
|
||||||
; Possible values are:
|
|
||||||
; - default : The default pointer as before, can also be an empty string (default)
|
|
||||||
; - pointer : Typically in the form of a hand
|
|
||||||
; - ns-resize : Up and down arrows, can be used to indicate scrolling
|
|
||||||
cursor-click =
|
|
||||||
cursor-scroll =
|
|
||||||
|
|
||||||
;; WM Workspace Specific
|
|
||||||
|
|
||||||
; bspwm
|
|
||||||
;;scroll-up = bspwm-desknext
|
|
||||||
;;scroll-down = bspwm-deskprev
|
|
||||||
;;scroll-up = bspc desktop -f prev.local
|
|
||||||
;;scroll-down = bspc desktop -f next.local
|
|
||||||
|
|
||||||
;i3
|
|
||||||
;;scroll-up = i3wm-wsnext
|
|
||||||
;;scroll-down = i3wm-wsprev
|
|
||||||
;;scroll-up = i3-msg workspace next_on_output
|
|
||||||
;;scroll-down = i3-msg workspace prev_on_output
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; Application Settings
|
|
||||||
|
|
||||||
[settings]
|
|
||||||
; The throttle settings lets the eventloop swallow up til X events
|
|
||||||
; if they happen within Y millisecond after first event was received.
|
|
||||||
; This is done to prevent flood of update event.
|
|
||||||
;
|
|
||||||
; For example if 5 modules emit an update event at the same time, we really
|
|
||||||
; just care about the last one. But if we wait too long for events to swallow
|
|
||||||
; the bar would appear sluggish so we continue if timeout
|
|
||||||
; expires or limit is reached.
|
|
||||||
throttle-output = 5
|
|
||||||
throttle-output-for = 10
|
|
||||||
|
|
||||||
; Time in milliseconds that the input handler will wait between processing events
|
|
||||||
;throttle-input-for = 30
|
|
||||||
|
|
||||||
; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events
|
|
||||||
screenchange-reload = false
|
|
||||||
|
|
||||||
; Compositing operators
|
|
||||||
; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t
|
|
||||||
compositing-background = source
|
|
||||||
compositing-foreground = over
|
|
||||||
compositing-overline = over
|
|
||||||
compositing-underline = over
|
|
||||||
compositing-border = over
|
|
||||||
|
|
||||||
; Define fallback values used by all module formats
|
|
||||||
;format-foreground =
|
|
||||||
;format-background =
|
|
||||||
;format-underline =
|
|
||||||
;format-overline =
|
|
||||||
;format-spacing =
|
|
||||||
;format-padding =
|
|
||||||
;format-margin =
|
|
||||||
;format-offset =
|
|
||||||
|
|
||||||
; Enables pseudo-transparency for the bar
|
|
||||||
; If set to true the bar can be transparent without a compositor.
|
|
||||||
pseudo-transparency = false
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; ┌────────────────────────────────────────────────────────────────┐
|
|
||||||
;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│
|
|
||||||
;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│
|
|
||||||
;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│
|
|
||||||
;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│
|
|
||||||
;; └────────────────────────────────────────────────────────────────┘
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/cpu]
|
|
||||||
type = internal/cpu
|
|
||||||
|
|
||||||
interval = 0.5
|
|
||||||
format = <label>
|
|
||||||
format-foreground = ${color.fg}
|
|
||||||
format-font = 2
|
|
||||||
label = "%percentage-core1%% %percentage-core2%% %percentage-core3%% %percentage-core4%%"
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/cpu_bar]
|
|
||||||
type = internal/cpu
|
|
||||||
|
|
||||||
interval = 0.5
|
|
||||||
format = <bar-load>
|
|
||||||
|
|
||||||
bar-load-width = 10
|
|
||||||
bar-load-gradient = false
|
|
||||||
|
|
||||||
bar-load-indicator =
|
|
||||||
bar-load-indicator-foreground = ${color.ac}
|
|
||||||
bar-load-indicator-font = 1
|
|
||||||
|
|
||||||
bar-load-fill = ⏽
|
|
||||||
bar-load-foreground-0 = ${color.green}
|
|
||||||
bar-load-foreground-1 = ${color.green}
|
|
||||||
bar-load-foreground-2 = ${color.green}
|
|
||||||
bar-load-foreground-3 = ${color.amber}
|
|
||||||
bar-load-foreground-4 = ${color.amber}
|
|
||||||
bar-load-foreground-5 = ${color.amber}
|
|
||||||
bar-load-foreground-6 = ${color.red}
|
|
||||||
bar-load-foreground-7 = ${color.red}
|
|
||||||
bar-load-foreground-8 = ${color.red}
|
|
||||||
bar-load-fill-font = 1
|
|
||||||
|
|
||||||
bar-load-empty = ⏽
|
|
||||||
bar-load-empty-foreground = ${color.gray}
|
|
||||||
bar-load-empty-font = 1
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/name]
|
|
||||||
type = custom/text
|
|
||||||
|
|
||||||
content = cpu
|
|
||||||
content-foreground = ${color.fg}
|
|
||||||
content-font = 3
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/sep]
|
|
||||||
type = custom/text
|
|
||||||
content = " | "
|
|
||||||
content-font = 2
|
|
||||||
|
|
||||||
;;content-background = #000
|
|
||||||
content-foreground = ${color.fg}
|
|
||||||
;;content-padding = 4
|
|
||||||
|
|
||||||
[module/sep2]
|
|
||||||
type = custom/text
|
|
||||||
content = " "
|
|
||||||
|
|
||||||
;;content-background = #000
|
|
||||||
content-foreground = ${color.fg}
|
|
||||||
;;content-padding = 4
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
411
pwidgets/fs.ini
411
pwidgets/fs.ini
@@ -1,411 +0,0 @@
|
|||||||
;; ┌────────────────────────────────────────────────────────────┐
|
|
||||||
;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│
|
|
||||||
;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│
|
|
||||||
;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│
|
|
||||||
;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│
|
|
||||||
;; └────────────────────────────────────────────────────────────┘
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; Global WM Settings
|
|
||||||
|
|
||||||
[global/wm]
|
|
||||||
; Adjust the _NET_WM_STRUT_PARTIAL top value
|
|
||||||
; Used for top aligned bars
|
|
||||||
margin-bottom = 0
|
|
||||||
|
|
||||||
; Adjust the _NET_WM_STRUT_PARTIAL bottom value
|
|
||||||
; Used for bottom aligned bars
|
|
||||||
margin-top = 0
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; File Inclusion
|
|
||||||
; include an external file, like module file, etc.
|
|
||||||
|
|
||||||
include-file = ~/.config/polybar/pwidgets/colors.ini
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; Bar Settings
|
|
||||||
|
|
||||||
[bar/main]
|
|
||||||
; Use either of the following command to list available outputs:
|
|
||||||
; If unspecified, the application will pick the first one it finds.
|
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
|
||||||
monitor =
|
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
|
||||||
monitor-fallback =
|
|
||||||
|
|
||||||
; Require the monitor to be in connected state
|
|
||||||
; XRandR sometimes reports my monitor as being disconnected (when in use)
|
|
||||||
monitor-strict = false
|
|
||||||
|
|
||||||
; Tell the Window Manager not to configure the window.
|
|
||||||
; Use this to detach the bar if your WM is locking its size/position.
|
|
||||||
override-redirect = false
|
|
||||||
|
|
||||||
; Put the bar at the bottom of the screen
|
|
||||||
bottom = true
|
|
||||||
|
|
||||||
; Prefer fixed center position for the `modules-center` block
|
|
||||||
; When false, the center position will be based on the size of the other blocks.
|
|
||||||
fixed-center = true
|
|
||||||
|
|
||||||
; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%),
|
|
||||||
; the percentage can optionally be extended with a pixel offset like so:
|
|
||||||
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
|
||||||
width = 230
|
|
||||||
height = 60
|
|
||||||
|
|
||||||
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
|
||||||
; the percentage can optionally be extended with a pixel offset like so:
|
|
||||||
; 50%:-10, this will result in an offset in the x or y direction
|
|
||||||
; of 50% minus 10 pixels
|
|
||||||
offset-x = 0
|
|
||||||
offset-y = 0
|
|
||||||
|
|
||||||
; Background ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
|
||||||
background = ${color.bg}
|
|
||||||
|
|
||||||
; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
|
||||||
foreground = ${color.fg}
|
|
||||||
|
|
||||||
; Background gradient (vertical steps)
|
|
||||||
; background-[0-9]+ = #aarrggbb
|
|
||||||
;;background-0 =
|
|
||||||
|
|
||||||
; Value used for drawing rounded corners
|
|
||||||
; Note: This shouldn't be used together with border-size because the border
|
|
||||||
; doesn't get rounded
|
|
||||||
; Individual top/bottom values can be defined using:
|
|
||||||
; radius-{top,bottom}
|
|
||||||
radius-top = 20.0
|
|
||||||
radius-bottom = 20.0
|
|
||||||
|
|
||||||
; Under-/overline pixel size and argb color
|
|
||||||
; Individual values can be defined using:
|
|
||||||
; {overline,underline}-size
|
|
||||||
; {overline,underline}-color
|
|
||||||
line-size = 2
|
|
||||||
line-color = ${color.ac}
|
|
||||||
|
|
||||||
; Values applied to all borders
|
|
||||||
; Individual side values can be defined using:
|
|
||||||
; border-{left,top,right,bottom}-size
|
|
||||||
; border-{left,top,right,bottom}-color
|
|
||||||
; The top and bottom borders are added to the bar height, so the effective
|
|
||||||
; window height is:
|
|
||||||
; height + border-top-size + border-bottom-size
|
|
||||||
; Meanwhile the effective window width is defined entirely by the width key and
|
|
||||||
; the border is placed withing this area. So you effectively only have the
|
|
||||||
; following horizontal space on the bar:
|
|
||||||
; width - border-right-size - border-left-size
|
|
||||||
border-bottom-size = 0
|
|
||||||
border-color = ${color.ac}
|
|
||||||
|
|
||||||
; Number of spaces to add at the beginning/end of the bar
|
|
||||||
; Individual side values can be defined using:
|
|
||||||
; padding-{left,right}
|
|
||||||
padding = 2
|
|
||||||
|
|
||||||
; Number of spaces to add before/after each module
|
|
||||||
; Individual side values can be defined using:
|
|
||||||
; module-margin-{left,right}
|
|
||||||
module-margin-left = 1
|
|
||||||
module-margin-right = 1
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
; Fonts are defined using <font-name>;<vertical-offset>
|
|
||||||
; Font names are specified using a fontconfig pattern.
|
|
||||||
; font-0 = NotoSans-Regular:size=8;2
|
|
||||||
; font-1 = MaterialIcons:size=10
|
|
||||||
; font-2 = Termsynu:size=8;-1
|
|
||||||
; font-3 = FontAwesome:size=10
|
|
||||||
; See the Fonts wiki page for more details
|
|
||||||
|
|
||||||
font-0 = "Iosevka Nerd Font:size=24;6"
|
|
||||||
font-1 = "Iosevka Nerd Font:size=12;2"
|
|
||||||
font-2 = "Iosevka Nerd Font:bold:size=24;2"
|
|
||||||
|
|
||||||
; Modules are added to one of the available blocks
|
|
||||||
; modules-left = cpu ram
|
|
||||||
; modules-center = xwindow xbacklight
|
|
||||||
; modules-right = ipc clock
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[bar/primary]
|
|
||||||
inherit = bar/main
|
|
||||||
offset-x = 25
|
|
||||||
offset-y = 25
|
|
||||||
|
|
||||||
padding = 1
|
|
||||||
module-margin-left = 0
|
|
||||||
module-margin-right = 0
|
|
||||||
|
|
||||||
modules-center = fs_bar
|
|
||||||
enable-ipc = true
|
|
||||||
|
|
||||||
[bar/secondary]
|
|
||||||
inherit = bar/main
|
|
||||||
offset-x = 25
|
|
||||||
offset-y = 75
|
|
||||||
background = ${color.trans}
|
|
||||||
foreground = ${color.white}
|
|
||||||
|
|
||||||
padding = 1
|
|
||||||
module-margin-left = 0
|
|
||||||
module-margin-right = 0
|
|
||||||
|
|
||||||
modules-left = name sep fs
|
|
||||||
enable-ipc = true
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
; The separator will be inserted between the output of each module
|
|
||||||
separator =
|
|
||||||
|
|
||||||
; Opacity value between 0.0 and 1.0 used on fade in/out
|
|
||||||
dim-value = 1.0
|
|
||||||
|
|
||||||
; Value to be used to set the WM_NAME atom
|
|
||||||
; If the value is empty or undefined, the atom value
|
|
||||||
; will be created from the following template: polybar-[BAR]_[MONITOR]
|
|
||||||
; NOTE: The placeholders are not available for custom values
|
|
||||||
wm-name =
|
|
||||||
|
|
||||||
; Locale used to localize various module data (e.g. date)
|
|
||||||
; Expects a valid libc locale, for example: sv_SE.UTF-8
|
|
||||||
locale =
|
|
||||||
|
|
||||||
; Position of the system tray window
|
|
||||||
; If empty or undefined, tray support will be disabled
|
|
||||||
; NOTE: A center aligned tray will cover center aligned modules
|
|
||||||
;
|
|
||||||
; Available positions:
|
|
||||||
; left
|
|
||||||
; center
|
|
||||||
; right
|
|
||||||
; none
|
|
||||||
tray-position = none
|
|
||||||
|
|
||||||
; If true, the bar will not shift its
|
|
||||||
; contents when the tray changes
|
|
||||||
tray-detached = false
|
|
||||||
|
|
||||||
; Tray icon max size
|
|
||||||
tray-maxsize = 16
|
|
||||||
|
|
||||||
; Background color for the tray container
|
|
||||||
; ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
|
||||||
; By default the tray container will use the bar
|
|
||||||
; background color.
|
|
||||||
tray-background = ${color.background}
|
|
||||||
|
|
||||||
; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
|
||||||
tray-offset-x = 0
|
|
||||||
tray-offset-y = 0
|
|
||||||
|
|
||||||
; Pad the sides of each tray icon
|
|
||||||
tray-padding = 0
|
|
||||||
|
|
||||||
; Scale factor for tray clients
|
|
||||||
tray-scale = 1.0
|
|
||||||
|
|
||||||
; Restack the bar window and put it above the
|
|
||||||
; selected window manager's root
|
|
||||||
;
|
|
||||||
; Fixes the issue where the bar is being drawn
|
|
||||||
; on top of fullscreen window's
|
|
||||||
;
|
|
||||||
; Currently supported WM's:
|
|
||||||
; bspwm
|
|
||||||
; i3 (requires: `override-redirect = true`)
|
|
||||||
;;wm-restack =
|
|
||||||
|
|
||||||
; Set a DPI values used when rendering text
|
|
||||||
; This only affects scalable fonts
|
|
||||||
; dpi =
|
|
||||||
|
|
||||||
; Enable support for inter-process messaging
|
|
||||||
; See the Messaging wiki page for more details.
|
|
||||||
;enable-ipc = true
|
|
||||||
|
|
||||||
; Fallback click handlers that will be called if
|
|
||||||
; there's no matching module handler found.
|
|
||||||
click-left =
|
|
||||||
click-middle =
|
|
||||||
click-right =
|
|
||||||
scroll-up =
|
|
||||||
scroll-down =
|
|
||||||
double-click-left =
|
|
||||||
double-click-middle =
|
|
||||||
double-click-right =
|
|
||||||
|
|
||||||
; Requires polybar to be built with xcursor support (xcb-util-cursor)
|
|
||||||
; Possible values are:
|
|
||||||
; - default : The default pointer as before, can also be an empty string (default)
|
|
||||||
; - pointer : Typically in the form of a hand
|
|
||||||
; - ns-resize : Up and down arrows, can be used to indicate scrolling
|
|
||||||
cursor-click =
|
|
||||||
cursor-scroll =
|
|
||||||
|
|
||||||
;; WM Workspace Specific
|
|
||||||
|
|
||||||
; bspwm
|
|
||||||
;;scroll-up = bspwm-desknext
|
|
||||||
;;scroll-down = bspwm-deskprev
|
|
||||||
;;scroll-up = bspc desktop -f prev.local
|
|
||||||
;;scroll-down = bspc desktop -f next.local
|
|
||||||
|
|
||||||
;i3
|
|
||||||
;;scroll-up = i3wm-wsnext
|
|
||||||
;;scroll-down = i3wm-wsprev
|
|
||||||
;;scroll-up = i3-msg workspace next_on_output
|
|
||||||
;;scroll-down = i3-msg workspace prev_on_output
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; Application Settings
|
|
||||||
|
|
||||||
[settings]
|
|
||||||
; The throttle settings lets the eventloop swallow up til X events
|
|
||||||
; if they happen within Y millisecond after first event was received.
|
|
||||||
; This is done to prevent flood of update event.
|
|
||||||
;
|
|
||||||
; For example if 5 modules emit an update event at the same time, we really
|
|
||||||
; just care about the last one. But if we wait too long for events to swallow
|
|
||||||
; the bar would appear sluggish so we continue if timeout
|
|
||||||
; expires or limit is reached.
|
|
||||||
throttle-output = 5
|
|
||||||
throttle-output-for = 10
|
|
||||||
|
|
||||||
; Time in milliseconds that the input handler will wait between processing events
|
|
||||||
;throttle-input-for = 30
|
|
||||||
|
|
||||||
; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events
|
|
||||||
screenchange-reload = false
|
|
||||||
|
|
||||||
; Compositing operators
|
|
||||||
; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t
|
|
||||||
compositing-background = source
|
|
||||||
compositing-foreground = over
|
|
||||||
compositing-overline = over
|
|
||||||
compositing-underline = over
|
|
||||||
compositing-border = over
|
|
||||||
|
|
||||||
; Define fallback values used by all module formats
|
|
||||||
;format-foreground =
|
|
||||||
;format-background =
|
|
||||||
;format-underline =
|
|
||||||
;format-overline =
|
|
||||||
;format-spacing =
|
|
||||||
;format-padding =
|
|
||||||
;format-margin =
|
|
||||||
;format-offset =
|
|
||||||
|
|
||||||
; Enables pseudo-transparency for the bar
|
|
||||||
; If set to true the bar can be transparent without a compositor.
|
|
||||||
pseudo-transparency = false
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; ┌────────────────────────────────────────────────────────────────┐
|
|
||||||
;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│
|
|
||||||
;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│
|
|
||||||
;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│
|
|
||||||
;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│
|
|
||||||
;; └────────────────────────────────────────────────────────────────┘
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/fs]
|
|
||||||
type = internal/fs
|
|
||||||
|
|
||||||
mount-0 = /
|
|
||||||
;;mount-1 = /home
|
|
||||||
|
|
||||||
interval = 10
|
|
||||||
fixed-values = true
|
|
||||||
|
|
||||||
; Spacing between entries
|
|
||||||
; Default: 2
|
|
||||||
;;spacing = 4
|
|
||||||
|
|
||||||
format-mounted = <label-mounted>
|
|
||||||
format-mounted-foreground = ${color.fg}
|
|
||||||
format-mounted-font = 2
|
|
||||||
|
|
||||||
format-unmounted = <label-unmounted>
|
|
||||||
format-unmounted-foreground = ${color.fg}
|
|
||||||
format-unmounted-font = 2
|
|
||||||
|
|
||||||
label-mounted = "%free%"
|
|
||||||
label-unmounted = Not Mounted
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/fs_bar]
|
|
||||||
type = internal/fs
|
|
||||||
|
|
||||||
mount-0 = /
|
|
||||||
;;mount-1 = /home
|
|
||||||
|
|
||||||
format-mounted = <bar-used>
|
|
||||||
|
|
||||||
bar-used-width = 10
|
|
||||||
bar-used-gradient = false
|
|
||||||
|
|
||||||
bar-used-indicator =
|
|
||||||
bar-used-indicator-foreground = ${color.ac}
|
|
||||||
bar-used-indicator-font = 1
|
|
||||||
|
|
||||||
bar-used-fill = ⏽
|
|
||||||
bar-used-foreground-0 = ${color.green}
|
|
||||||
bar-used-foreground-1 = ${color.green}
|
|
||||||
bar-used-foreground-2 = ${color.green}
|
|
||||||
bar-used-foreground-3 = ${color.green}
|
|
||||||
bar-used-foreground-4 = ${color.green}
|
|
||||||
bar-used-foreground-5 = ${color.amber}
|
|
||||||
bar-used-foreground-6 = ${color.amber}
|
|
||||||
bar-used-foreground-7 = ${color.red}
|
|
||||||
bar-used-foreground-8 = ${color.red}
|
|
||||||
bar-used-fill-font = 1
|
|
||||||
|
|
||||||
bar-used-empty = ⏽
|
|
||||||
bar-used-empty-foreground = ${color.gray}
|
|
||||||
bar-used-empty-font = 1
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/name]
|
|
||||||
type = custom/text
|
|
||||||
|
|
||||||
content = fs
|
|
||||||
content-foreground = ${color.fg}
|
|
||||||
content-font = 3
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/sep]
|
|
||||||
type = custom/text
|
|
||||||
content = " | "
|
|
||||||
content-font = 2
|
|
||||||
|
|
||||||
;;content-background = #000
|
|
||||||
content-foreground = ${color.fg}
|
|
||||||
;;content-padding = 4
|
|
||||||
|
|
||||||
[module/sep2]
|
|
||||||
type = custom/text
|
|
||||||
content = " "
|
|
||||||
|
|
||||||
;;content-background = #000
|
|
||||||
content-foreground = ${color.fg}
|
|
||||||
;;content-padding = 4
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
@@ -1,68 +0,0 @@
|
|||||||
#!/usr/bin/env sh
|
|
||||||
|
|
||||||
DIR="$HOME/.config/polybar/pwidgets"
|
|
||||||
|
|
||||||
kill_bar() {
|
|
||||||
# Terminate already running bar instances
|
|
||||||
killall -q polybar
|
|
||||||
|
|
||||||
# Wait until the processes have been shut down
|
|
||||||
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
|
||||||
}
|
|
||||||
|
|
||||||
## Main
|
|
||||||
if [[ "$1" == "--main" ]]; then
|
|
||||||
kill_bar
|
|
||||||
polybar -q primary -c $DIR/main.ini &
|
|
||||||
polybar -q secondary -c $DIR/main.ini &
|
|
||||||
polybar -q top -c $DIR/main.ini &
|
|
||||||
|
|
||||||
## Apps
|
|
||||||
elif [[ "$1" == "--apps" ]]; then
|
|
||||||
kill_bar
|
|
||||||
polybar -q primary -c $DIR/apps.ini &
|
|
||||||
polybar -q secondary -c $DIR/apps.ini &
|
|
||||||
|
|
||||||
## System
|
|
||||||
elif [[ "$1" == "--system" ]]; then
|
|
||||||
kill_bar
|
|
||||||
polybar -q primary -c $DIR/system.ini &
|
|
||||||
polybar -q secondary -c $DIR/system.ini &
|
|
||||||
|
|
||||||
## Mpd
|
|
||||||
elif [[ "$1" == "--mpd" ]]; then
|
|
||||||
kill_bar
|
|
||||||
polybar -q primary -c $DIR/mpd.ini &
|
|
||||||
polybar -q secondary -c $DIR/mpd.ini &
|
|
||||||
|
|
||||||
## Workspaces
|
|
||||||
elif [[ "$1" == "--ws" ]]; then
|
|
||||||
kill_bar
|
|
||||||
polybar -q primary -c $DIR/workspace.ini &
|
|
||||||
polybar -q secondary -c $DIR/workspace.ini &
|
|
||||||
|
|
||||||
## CPU
|
|
||||||
elif [[ "$1" == "--cpu" ]]; then
|
|
||||||
kill_bar
|
|
||||||
polybar -q primary -c $DIR/cpu.ini &
|
|
||||||
polybar -q secondary -c $DIR/cpu.ini &
|
|
||||||
|
|
||||||
## Memory
|
|
||||||
elif [[ "$1" == "--memory" ]]; then
|
|
||||||
kill_bar
|
|
||||||
polybar -q primary -c $DIR/memory.ini &
|
|
||||||
polybar -q secondary -c $DIR/memory.ini &
|
|
||||||
|
|
||||||
## Filesystem
|
|
||||||
elif [[ "$1" == "--fs" ]]; then
|
|
||||||
kill_bar
|
|
||||||
polybar -q primary -c $DIR/fs.ini &
|
|
||||||
polybar -q secondary -c $DIR/fs.ini &
|
|
||||||
|
|
||||||
else
|
|
||||||
cat <<- _EOF_
|
|
||||||
No widget specified, Available widgets:
|
|
||||||
--main --apps --system --mpd
|
|
||||||
--ws --cpu --memory --fs
|
|
||||||
_EOF_
|
|
||||||
fi
|
|
||||||
@@ -1,535 +0,0 @@
|
|||||||
;; ┌────────────────────────────────────────────────────────────┐
|
|
||||||
;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│
|
|
||||||
;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│
|
|
||||||
;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│
|
|
||||||
;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│
|
|
||||||
;; └────────────────────────────────────────────────────────────┘
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; Global WM Settings
|
|
||||||
|
|
||||||
[global/wm]
|
|
||||||
; Adjust the _NET_WM_STRUT_PARTIAL top value
|
|
||||||
; Used for top aligned bars
|
|
||||||
margin-bottom = 0
|
|
||||||
|
|
||||||
; Adjust the _NET_WM_STRUT_PARTIAL bottom value
|
|
||||||
; Used for bottom aligned bars
|
|
||||||
margin-top = 0
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; File Inclusion
|
|
||||||
; include an external file, like module file, etc.
|
|
||||||
|
|
||||||
include-file = ~/.config/polybar/pwidgets/colors.ini
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; Bar Settings
|
|
||||||
|
|
||||||
[bar/main]
|
|
||||||
; Use either of the following command to list available outputs:
|
|
||||||
; If unspecified, the application will pick the first one it finds.
|
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
|
||||||
monitor =
|
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
|
||||||
monitor-fallback =
|
|
||||||
|
|
||||||
; Require the monitor to be in connected state
|
|
||||||
; XRandR sometimes reports my monitor as being disconnected (when in use)
|
|
||||||
monitor-strict = false
|
|
||||||
|
|
||||||
; Tell the Window Manager not to configure the window.
|
|
||||||
; Use this to detach the bar if your WM is locking its size/position.
|
|
||||||
override-redirect = false
|
|
||||||
|
|
||||||
; Put the bar at the bottom of the screen
|
|
||||||
bottom = true
|
|
||||||
|
|
||||||
; Prefer fixed center position for the `modules-center` block
|
|
||||||
; When false, the center position will be based on the size of the other blocks.
|
|
||||||
fixed-center = true
|
|
||||||
|
|
||||||
; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%),
|
|
||||||
; the percentage can optionally be extended with a pixel offset like so:
|
|
||||||
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
|
||||||
width = 230
|
|
||||||
height = 60
|
|
||||||
|
|
||||||
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
|
||||||
; the percentage can optionally be extended with a pixel offset like so:
|
|
||||||
; 50%:-10, this will result in an offset in the x or y direction
|
|
||||||
; of 50% minus 10 pixels
|
|
||||||
offset-x = 0
|
|
||||||
offset-y = 0
|
|
||||||
|
|
||||||
; Background ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
|
||||||
background = ${color.bg}
|
|
||||||
|
|
||||||
; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
|
||||||
foreground = ${color.fg}
|
|
||||||
|
|
||||||
; Background gradient (vertical steps)
|
|
||||||
; background-[0-9]+ = #aarrggbb
|
|
||||||
;;background-0 =
|
|
||||||
|
|
||||||
; Value used for drawing rounded corners
|
|
||||||
; Note: This shouldn't be used together with border-size because the border
|
|
||||||
; doesn't get rounded
|
|
||||||
; Individual top/bottom values can be defined using:
|
|
||||||
; radius-{top,bottom}
|
|
||||||
radius-top = 20.0
|
|
||||||
radius-bottom = 20.0
|
|
||||||
|
|
||||||
; Under-/overline pixel size and argb color
|
|
||||||
; Individual values can be defined using:
|
|
||||||
; {overline,underline}-size
|
|
||||||
; {overline,underline}-color
|
|
||||||
line-size = 2
|
|
||||||
line-color = ${color.ac}
|
|
||||||
|
|
||||||
; Values applied to all borders
|
|
||||||
; Individual side values can be defined using:
|
|
||||||
; border-{left,top,right,bottom}-size
|
|
||||||
; border-{left,top,right,bottom}-color
|
|
||||||
; The top and bottom borders are added to the bar height, so the effective
|
|
||||||
; window height is:
|
|
||||||
; height + border-top-size + border-bottom-size
|
|
||||||
; Meanwhile the effective window width is defined entirely by the width key and
|
|
||||||
; the border is placed withing this area. So you effectively only have the
|
|
||||||
; following horizontal space on the bar:
|
|
||||||
; width - border-right-size - border-left-size
|
|
||||||
border-bottom-size = 0
|
|
||||||
border-color = ${color.ac}
|
|
||||||
|
|
||||||
; Number of spaces to add at the beginning/end of the bar
|
|
||||||
; Individual side values can be defined using:
|
|
||||||
; padding-{left,right}
|
|
||||||
padding = 2
|
|
||||||
|
|
||||||
; Number of spaces to add before/after each module
|
|
||||||
; Individual side values can be defined using:
|
|
||||||
; module-margin-{left,right}
|
|
||||||
module-margin-left = 1
|
|
||||||
module-margin-right = 1
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
; Fonts are defined using <font-name>;<vertical-offset>
|
|
||||||
; Font names are specified using a fontconfig pattern.
|
|
||||||
; font-0 = NotoSans-Regular:size=8;2
|
|
||||||
; font-1 = MaterialIcons:size=10
|
|
||||||
; font-2 = Termsynu:size=8;-1
|
|
||||||
; font-3 = FontAwesome:size=10
|
|
||||||
; See the Fonts wiki page for more details
|
|
||||||
|
|
||||||
font-0 = "Iosevka Nerd Font:size=12;2"
|
|
||||||
font-1 = "Iosevka Nerd Font:bold:size=24;2"
|
|
||||||
font-2 = "Iosevka Nerd Font:size=22;6"
|
|
||||||
|
|
||||||
; Modules are added to one of the available blocks
|
|
||||||
; modules-left = cpu ram
|
|
||||||
; modules-center = xwindow xbacklight
|
|
||||||
; modules-right = ipc clock
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[bar/primary]
|
|
||||||
inherit = bar/main
|
|
||||||
offset-x = 25
|
|
||||||
offset-y = 25
|
|
||||||
|
|
||||||
padding = 1
|
|
||||||
module-margin-left = 0
|
|
||||||
module-margin-right = 0
|
|
||||||
|
|
||||||
modules-center = web sep2 files sep2 edit sep2 apps
|
|
||||||
enable-ipc = true
|
|
||||||
|
|
||||||
[bar/secondary]
|
|
||||||
inherit = bar/main
|
|
||||||
offset-x = 25
|
|
||||||
offset-y = 75
|
|
||||||
background = ${color.trans}
|
|
||||||
foreground = ${color.white}
|
|
||||||
|
|
||||||
padding = 1
|
|
||||||
module-margin-left = 0
|
|
||||||
module-margin-right = 0
|
|
||||||
|
|
||||||
modules-left = date sep mpd
|
|
||||||
enable-ipc = true
|
|
||||||
|
|
||||||
[bar/top]
|
|
||||||
inherit = bar/main
|
|
||||||
|
|
||||||
width = 165
|
|
||||||
height = 40
|
|
||||||
|
|
||||||
offset-x = 100%:-190
|
|
||||||
offset-y = 25
|
|
||||||
bottom = false
|
|
||||||
font-0 = "Iosevka Nerd Font:size=14;4"
|
|
||||||
|
|
||||||
padding = 1
|
|
||||||
module-margin-left = 1
|
|
||||||
module-margin-right = 1
|
|
||||||
|
|
||||||
modules-center = alsa battery network sysmenu
|
|
||||||
enable-ipc = true
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
; The separator will be inserted between the output of each module
|
|
||||||
separator =
|
|
||||||
|
|
||||||
; Opacity value between 0.0 and 1.0 used on fade in/out
|
|
||||||
dim-value = 1.0
|
|
||||||
|
|
||||||
; Value to be used to set the WM_NAME atom
|
|
||||||
; If the value is empty or undefined, the atom value
|
|
||||||
; will be created from the following template: polybar-[BAR]_[MONITOR]
|
|
||||||
; NOTE: The placeholders are not available for custom values
|
|
||||||
wm-name =
|
|
||||||
|
|
||||||
; Locale used to localize various module data (e.g. date)
|
|
||||||
; Expects a valid libc locale, for example: sv_SE.UTF-8
|
|
||||||
locale =
|
|
||||||
|
|
||||||
; Position of the system tray window
|
|
||||||
; If empty or undefined, tray support will be disabled
|
|
||||||
; NOTE: A center aligned tray will cover center aligned modules
|
|
||||||
;
|
|
||||||
; Available positions:
|
|
||||||
; left
|
|
||||||
; center
|
|
||||||
; right
|
|
||||||
; none
|
|
||||||
tray-position = none
|
|
||||||
|
|
||||||
; If true, the bar will not shift its
|
|
||||||
; contents when the tray changes
|
|
||||||
tray-detached = false
|
|
||||||
|
|
||||||
; Tray icon max size
|
|
||||||
tray-maxsize = 16
|
|
||||||
|
|
||||||
; Background color for the tray container
|
|
||||||
; ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
|
||||||
; By default the tray container will use the bar
|
|
||||||
; background color.
|
|
||||||
tray-background = ${color.background}
|
|
||||||
|
|
||||||
; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
|
||||||
tray-offset-x = 0
|
|
||||||
tray-offset-y = 0
|
|
||||||
|
|
||||||
; Pad the sides of each tray icon
|
|
||||||
tray-padding = 0
|
|
||||||
|
|
||||||
; Scale factor for tray clients
|
|
||||||
tray-scale = 1.0
|
|
||||||
|
|
||||||
; Restack the bar window and put it above the
|
|
||||||
; selected window manager's root
|
|
||||||
;
|
|
||||||
; Fixes the issue where the bar is being drawn
|
|
||||||
; on top of fullscreen window's
|
|
||||||
;
|
|
||||||
; Currently supported WM's:
|
|
||||||
; bspwm
|
|
||||||
; i3 (requires: `override-redirect = true`)
|
|
||||||
;;wm-restack =
|
|
||||||
|
|
||||||
; Set a DPI values used when rendering text
|
|
||||||
; This only affects scalable fonts
|
|
||||||
; dpi =
|
|
||||||
|
|
||||||
; Enable support for inter-process messaging
|
|
||||||
; See the Messaging wiki page for more details.
|
|
||||||
;enable-ipc = true
|
|
||||||
|
|
||||||
; Fallback click handlers that will be called if
|
|
||||||
; there's no matching module handler found.
|
|
||||||
click-left =
|
|
||||||
click-middle =
|
|
||||||
click-right =
|
|
||||||
scroll-up =
|
|
||||||
scroll-down =
|
|
||||||
double-click-left =
|
|
||||||
double-click-middle =
|
|
||||||
double-click-right =
|
|
||||||
|
|
||||||
; Requires polybar to be built with xcursor support (xcb-util-cursor)
|
|
||||||
; Possible values are:
|
|
||||||
; - default : The default pointer as before, can also be an empty string (default)
|
|
||||||
; - pointer : Typically in the form of a hand
|
|
||||||
; - ns-resize : Up and down arrows, can be used to indicate scrolling
|
|
||||||
cursor-click =
|
|
||||||
cursor-scroll =
|
|
||||||
|
|
||||||
;; WM Workspace Specific
|
|
||||||
|
|
||||||
; bspwm
|
|
||||||
;;scroll-up = bspwm-desknext
|
|
||||||
;;scroll-down = bspwm-deskprev
|
|
||||||
;;scroll-up = bspc desktop -f prev.local
|
|
||||||
;;scroll-down = bspc desktop -f next.local
|
|
||||||
|
|
||||||
;i3
|
|
||||||
;;scroll-up = i3wm-wsnext
|
|
||||||
;;scroll-down = i3wm-wsprev
|
|
||||||
;;scroll-up = i3-msg workspace next_on_output
|
|
||||||
;;scroll-down = i3-msg workspace prev_on_output
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; Application Settings
|
|
||||||
|
|
||||||
[settings]
|
|
||||||
; The throttle settings lets the eventloop swallow up til X events
|
|
||||||
; if they happen within Y millisecond after first event was received.
|
|
||||||
; This is done to prevent flood of update event.
|
|
||||||
;
|
|
||||||
; For example if 5 modules emit an update event at the same time, we really
|
|
||||||
; just care about the last one. But if we wait too long for events to swallow
|
|
||||||
; the bar would appear sluggish so we continue if timeout
|
|
||||||
; expires or limit is reached.
|
|
||||||
throttle-output = 5
|
|
||||||
throttle-output-for = 10
|
|
||||||
|
|
||||||
; Time in milliseconds that the input handler will wait between processing events
|
|
||||||
;throttle-input-for = 30
|
|
||||||
|
|
||||||
; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events
|
|
||||||
screenchange-reload = false
|
|
||||||
|
|
||||||
; Compositing operators
|
|
||||||
; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t
|
|
||||||
compositing-background = source
|
|
||||||
compositing-foreground = over
|
|
||||||
compositing-overline = over
|
|
||||||
compositing-underline = over
|
|
||||||
compositing-border = over
|
|
||||||
|
|
||||||
; Define fallback values used by all module formats
|
|
||||||
;format-foreground =
|
|
||||||
;format-background =
|
|
||||||
;format-underline =
|
|
||||||
;format-overline =
|
|
||||||
;format-spacing =
|
|
||||||
;format-padding =
|
|
||||||
;format-margin =
|
|
||||||
;format-offset =
|
|
||||||
|
|
||||||
; Enables pseudo-transparency for the bar
|
|
||||||
; If set to true the bar can be transparent without a compositor.
|
|
||||||
pseudo-transparency = false
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; ┌────────────────────────────────────────────────────────────────┐
|
|
||||||
;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│
|
|
||||||
;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│
|
|
||||||
;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│
|
|
||||||
;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│
|
|
||||||
;; └────────────────────────────────────────────────────────────────┘
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/date]
|
|
||||||
type = internal/date
|
|
||||||
|
|
||||||
interval = 1.0
|
|
||||||
time = %k:%M
|
|
||||||
|
|
||||||
format = <label>
|
|
||||||
format-foreground = ${color.fg}
|
|
||||||
label = %time%
|
|
||||||
label-font = 2
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/mpd]
|
|
||||||
type = internal/mpd
|
|
||||||
|
|
||||||
interval = 2
|
|
||||||
|
|
||||||
format-online = <label-song>
|
|
||||||
format-online-foreground = ${color.fg}
|
|
||||||
|
|
||||||
label-song = "%title%"
|
|
||||||
label-song-maxlen = 12
|
|
||||||
label-song-ellipsis = true
|
|
||||||
label-offline = "Offline"
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; Apps
|
|
||||||
|
|
||||||
[module/term]
|
|
||||||
type = custom/text
|
|
||||||
|
|
||||||
content = "%{T3}%{T-}"
|
|
||||||
content-foreground = ${color.black}
|
|
||||||
content-background = ${color.bg}
|
|
||||||
content-padding = 0
|
|
||||||
|
|
||||||
click-left = termite &
|
|
||||||
|
|
||||||
[module/web]
|
|
||||||
type = custom/text
|
|
||||||
|
|
||||||
content = "%{T3}%{T-}"
|
|
||||||
content-foreground = ${color.orange}
|
|
||||||
content-background = ${color.bg}
|
|
||||||
content-padding = 0
|
|
||||||
|
|
||||||
click-left = firefox &
|
|
||||||
|
|
||||||
[module/files]
|
|
||||||
type = custom/text
|
|
||||||
|
|
||||||
content = "%{T3}%{T-}"
|
|
||||||
content-foreground = ${color.blue}
|
|
||||||
content-background = ${color.bg}
|
|
||||||
content-padding = 0
|
|
||||||
|
|
||||||
click-left = thunar &
|
|
||||||
|
|
||||||
[module/edit]
|
|
||||||
type = custom/text
|
|
||||||
|
|
||||||
content = "%{T3}%{T-}"
|
|
||||||
content-foreground = ${color.gray}
|
|
||||||
content-background = ${color.bg}
|
|
||||||
content-padding = 0
|
|
||||||
|
|
||||||
click-left = geany &
|
|
||||||
|
|
||||||
[module/apps]
|
|
||||||
type = custom/text
|
|
||||||
|
|
||||||
content = "%{T3}%{T-}"
|
|
||||||
content-foreground = ${color.fga}
|
|
||||||
content-background = ${color.bg}
|
|
||||||
content-padding = 0
|
|
||||||
|
|
||||||
click-left = ~/.config/polybar/pwidgets/scripts/launcher.sh &
|
|
||||||
click-right = ~/.config/polybar/pwidgets/scripts/style-switch.sh &
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/sep]
|
|
||||||
type = custom/text
|
|
||||||
content = " | "
|
|
||||||
content-font = 1
|
|
||||||
|
|
||||||
;;content-background = #000
|
|
||||||
content-foreground = ${color.fg}
|
|
||||||
;;content-padding = 4
|
|
||||||
|
|
||||||
[module/sep2]
|
|
||||||
type = custom/text
|
|
||||||
content = " "
|
|
||||||
|
|
||||||
;;content-background = #000
|
|
||||||
content-foreground = ${color.fg}
|
|
||||||
;;content-padding = 4
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/alsa]
|
|
||||||
type = internal/alsa
|
|
||||||
|
|
||||||
format-volume = <ramp-volume>
|
|
||||||
format-muted = <label-muted>
|
|
||||||
label-muted = 婢
|
|
||||||
label-muted-foreground = ${color.gray}
|
|
||||||
|
|
||||||
ramp-volume-0 = 奄
|
|
||||||
ramp-volume-1 = 奔
|
|
||||||
ramp-volume-2 = 奔
|
|
||||||
ramp-volume-3 = 墳
|
|
||||||
ramp-volume-4 = 墳
|
|
||||||
ramp-volume-foreground = ${color.blue}
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/battery]
|
|
||||||
type = internal/battery
|
|
||||||
|
|
||||||
full-at = 99
|
|
||||||
battery = BAT1
|
|
||||||
adapter = ACAD
|
|
||||||
|
|
||||||
poll-interval = 2
|
|
||||||
time-format = %H:%M
|
|
||||||
|
|
||||||
format-charging = <animation-charging>
|
|
||||||
format-discharging = <ramp-capacity>
|
|
||||||
|
|
||||||
format-full = <label-full>
|
|
||||||
format-full-foreground = ${color.red}
|
|
||||||
|
|
||||||
label-full =
|
|
||||||
|
|
||||||
ramp-capacity-0 =
|
|
||||||
ramp-capacity-1 =
|
|
||||||
ramp-capacity-2 =
|
|
||||||
ramp-capacity-3 =
|
|
||||||
ramp-capacity-4 =
|
|
||||||
ramp-capacity-5 =
|
|
||||||
ramp-capacity-6 =
|
|
||||||
ramp-capacity-7 =
|
|
||||||
ramp-capacity-8 =
|
|
||||||
ramp-capacity-9 =
|
|
||||||
ramp-capacity-foreground = ${color.orange}
|
|
||||||
|
|
||||||
animation-charging-0 =
|
|
||||||
animation-charging-1 =
|
|
||||||
animation-charging-2 =
|
|
||||||
animation-charging-3 =
|
|
||||||
animation-charging-4 =
|
|
||||||
animation-charging-5 =
|
|
||||||
animation-charging-6 =
|
|
||||||
animation-charging-7 =
|
|
||||||
animation-charging-8 =
|
|
||||||
animation-charging-9 =
|
|
||||||
animation-charging-foreground = ${color.green}
|
|
||||||
|
|
||||||
animation-charging-framerate = 750
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/network]
|
|
||||||
type = internal/network
|
|
||||||
interface = wlan0
|
|
||||||
|
|
||||||
interval = 1.0
|
|
||||||
accumulate-stats = true
|
|
||||||
unknown-as-up = true
|
|
||||||
|
|
||||||
format-connected = <label-connected>
|
|
||||||
format-connected-foreground = ${color.purple}
|
|
||||||
format-disconnected = <label-disconnected>
|
|
||||||
format-disconnected-foreground = ${color.gray}
|
|
||||||
|
|
||||||
label-connected = "%{A1:networkmanager_dmenu &:}直%{A}"
|
|
||||||
label-disconnected = "%{A1:networkmanager_dmenu &:}睊%{A}"
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/sysmenu]
|
|
||||||
type = custom/text
|
|
||||||
content = 襤
|
|
||||||
|
|
||||||
content-foreground = ${color.red}
|
|
||||||
click-left = ~/.config/polybar/pwidgets/scripts/powermenu.sh &
|
|
||||||
click-right = ~/.config/polybar/pwidgets/scripts/powermenu.sh &
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
@@ -1,397 +0,0 @@
|
|||||||
;; ┌────────────────────────────────────────────────────────────┐
|
|
||||||
;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│
|
|
||||||
;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│
|
|
||||||
;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│
|
|
||||||
;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│
|
|
||||||
;; └────────────────────────────────────────────────────────────┘
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; Global WM Settings
|
|
||||||
|
|
||||||
[global/wm]
|
|
||||||
; Adjust the _NET_WM_STRUT_PARTIAL top value
|
|
||||||
; Used for top aligned bars
|
|
||||||
margin-bottom = 0
|
|
||||||
|
|
||||||
; Adjust the _NET_WM_STRUT_PARTIAL bottom value
|
|
||||||
; Used for bottom aligned bars
|
|
||||||
margin-top = 0
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; File Inclusion
|
|
||||||
; include an external file, like module file, etc.
|
|
||||||
|
|
||||||
include-file = ~/.config/polybar/pwidgets/colors.ini
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; Bar Settings
|
|
||||||
|
|
||||||
[bar/main]
|
|
||||||
; Use either of the following command to list available outputs:
|
|
||||||
; If unspecified, the application will pick the first one it finds.
|
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
|
||||||
monitor =
|
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
|
||||||
monitor-fallback =
|
|
||||||
|
|
||||||
; Require the monitor to be in connected state
|
|
||||||
; XRandR sometimes reports my monitor as being disconnected (when in use)
|
|
||||||
monitor-strict = false
|
|
||||||
|
|
||||||
; Tell the Window Manager not to configure the window.
|
|
||||||
; Use this to detach the bar if your WM is locking its size/position.
|
|
||||||
override-redirect = false
|
|
||||||
|
|
||||||
; Put the bar at the bottom of the screen
|
|
||||||
bottom = true
|
|
||||||
|
|
||||||
; Prefer fixed center position for the `modules-center` block
|
|
||||||
; When false, the center position will be based on the size of the other blocks.
|
|
||||||
fixed-center = true
|
|
||||||
|
|
||||||
; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%),
|
|
||||||
; the percentage can optionally be extended with a pixel offset like so:
|
|
||||||
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
|
||||||
width = 230
|
|
||||||
height = 60
|
|
||||||
|
|
||||||
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
|
||||||
; the percentage can optionally be extended with a pixel offset like so:
|
|
||||||
; 50%:-10, this will result in an offset in the x or y direction
|
|
||||||
; of 50% minus 10 pixels
|
|
||||||
offset-x = 0
|
|
||||||
offset-y = 0
|
|
||||||
|
|
||||||
; Background ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
|
||||||
background = ${color.bg}
|
|
||||||
|
|
||||||
; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
|
||||||
foreground = ${color.fg}
|
|
||||||
|
|
||||||
; Background gradient (vertical steps)
|
|
||||||
; background-[0-9]+ = #aarrggbb
|
|
||||||
;;background-0 =
|
|
||||||
|
|
||||||
; Value used for drawing rounded corners
|
|
||||||
; Note: This shouldn't be used together with border-size because the border
|
|
||||||
; doesn't get rounded
|
|
||||||
; Individual top/bottom values can be defined using:
|
|
||||||
; radius-{top,bottom}
|
|
||||||
radius-top = 20.0
|
|
||||||
radius-bottom = 20.0
|
|
||||||
|
|
||||||
; Under-/overline pixel size and argb color
|
|
||||||
; Individual values can be defined using:
|
|
||||||
; {overline,underline}-size
|
|
||||||
; {overline,underline}-color
|
|
||||||
line-size = 2
|
|
||||||
line-color = ${color.ac}
|
|
||||||
|
|
||||||
; Values applied to all borders
|
|
||||||
; Individual side values can be defined using:
|
|
||||||
; border-{left,top,right,bottom}-size
|
|
||||||
; border-{left,top,right,bottom}-color
|
|
||||||
; The top and bottom borders are added to the bar height, so the effective
|
|
||||||
; window height is:
|
|
||||||
; height + border-top-size + border-bottom-size
|
|
||||||
; Meanwhile the effective window width is defined entirely by the width key and
|
|
||||||
; the border is placed withing this area. So you effectively only have the
|
|
||||||
; following horizontal space on the bar:
|
|
||||||
; width - border-right-size - border-left-size
|
|
||||||
border-bottom-size = 0
|
|
||||||
border-color = ${color.ac}
|
|
||||||
|
|
||||||
; Number of spaces to add at the beginning/end of the bar
|
|
||||||
; Individual side values can be defined using:
|
|
||||||
; padding-{left,right}
|
|
||||||
padding = 2
|
|
||||||
|
|
||||||
; Number of spaces to add before/after each module
|
|
||||||
; Individual side values can be defined using:
|
|
||||||
; module-margin-{left,right}
|
|
||||||
module-margin-left = 1
|
|
||||||
module-margin-right = 1
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
; Fonts are defined using <font-name>;<vertical-offset>
|
|
||||||
; Font names are specified using a fontconfig pattern.
|
|
||||||
; font-0 = NotoSans-Regular:size=8;2
|
|
||||||
; font-1 = MaterialIcons:size=10
|
|
||||||
; font-2 = Termsynu:size=8;-1
|
|
||||||
; font-3 = FontAwesome:size=10
|
|
||||||
; See the Fonts wiki page for more details
|
|
||||||
|
|
||||||
font-0 = "Iosevka Nerd Font:size=24;6"
|
|
||||||
font-1 = "Iosevka Nerd Font:size=12;2"
|
|
||||||
font-2 = "Iosevka Nerd Font:bold:size=24;2"
|
|
||||||
|
|
||||||
; Modules are added to one of the available blocks
|
|
||||||
; modules-left = cpu ram
|
|
||||||
; modules-center = xwindow xbacklight
|
|
||||||
; modules-right = ipc clock
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[bar/primary]
|
|
||||||
inherit = bar/main
|
|
||||||
offset-x = 25
|
|
||||||
offset-y = 25
|
|
||||||
|
|
||||||
padding = 1
|
|
||||||
module-margin-left = 0
|
|
||||||
module-margin-right = 0
|
|
||||||
|
|
||||||
modules-center = memory_bar
|
|
||||||
enable-ipc = true
|
|
||||||
|
|
||||||
[bar/secondary]
|
|
||||||
inherit = bar/main
|
|
||||||
offset-x = 25
|
|
||||||
offset-y = 75
|
|
||||||
background = ${color.trans}
|
|
||||||
foreground = ${color.white}
|
|
||||||
|
|
||||||
padding = 1
|
|
||||||
module-margin-left = 0
|
|
||||||
module-margin-right = 0
|
|
||||||
|
|
||||||
modules-left = name sep memory
|
|
||||||
enable-ipc = true
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
; The separator will be inserted between the output of each module
|
|
||||||
separator =
|
|
||||||
|
|
||||||
; Opacity value between 0.0 and 1.0 used on fade in/out
|
|
||||||
dim-value = 1.0
|
|
||||||
|
|
||||||
; Value to be used to set the WM_NAME atom
|
|
||||||
; If the value is empty or undefined, the atom value
|
|
||||||
; will be created from the following template: polybar-[BAR]_[MONITOR]
|
|
||||||
; NOTE: The placeholders are not available for custom values
|
|
||||||
wm-name =
|
|
||||||
|
|
||||||
; Locale used to localize various module data (e.g. date)
|
|
||||||
; Expects a valid libc locale, for example: sv_SE.UTF-8
|
|
||||||
locale =
|
|
||||||
|
|
||||||
; Position of the system tray window
|
|
||||||
; If empty or undefined, tray support will be disabled
|
|
||||||
; NOTE: A center aligned tray will cover center aligned modules
|
|
||||||
;
|
|
||||||
; Available positions:
|
|
||||||
; left
|
|
||||||
; center
|
|
||||||
; right
|
|
||||||
; none
|
|
||||||
tray-position = none
|
|
||||||
|
|
||||||
; If true, the bar will not shift its
|
|
||||||
; contents when the tray changes
|
|
||||||
tray-detached = false
|
|
||||||
|
|
||||||
; Tray icon max size
|
|
||||||
tray-maxsize = 16
|
|
||||||
|
|
||||||
; Background color for the tray container
|
|
||||||
; ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
|
||||||
; By default the tray container will use the bar
|
|
||||||
; background color.
|
|
||||||
tray-background = ${color.background}
|
|
||||||
|
|
||||||
; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
|
||||||
tray-offset-x = 0
|
|
||||||
tray-offset-y = 0
|
|
||||||
|
|
||||||
; Pad the sides of each tray icon
|
|
||||||
tray-padding = 0
|
|
||||||
|
|
||||||
; Scale factor for tray clients
|
|
||||||
tray-scale = 1.0
|
|
||||||
|
|
||||||
; Restack the bar window and put it above the
|
|
||||||
; selected window manager's root
|
|
||||||
;
|
|
||||||
; Fixes the issue where the bar is being drawn
|
|
||||||
; on top of fullscreen window's
|
|
||||||
;
|
|
||||||
; Currently supported WM's:
|
|
||||||
; bspwm
|
|
||||||
; i3 (requires: `override-redirect = true`)
|
|
||||||
;;wm-restack =
|
|
||||||
|
|
||||||
; Set a DPI values used when rendering text
|
|
||||||
; This only affects scalable fonts
|
|
||||||
; dpi =
|
|
||||||
|
|
||||||
; Enable support for inter-process messaging
|
|
||||||
; See the Messaging wiki page for more details.
|
|
||||||
;enable-ipc = true
|
|
||||||
|
|
||||||
; Fallback click handlers that will be called if
|
|
||||||
; there's no matching module handler found.
|
|
||||||
click-left =
|
|
||||||
click-middle =
|
|
||||||
click-right =
|
|
||||||
scroll-up =
|
|
||||||
scroll-down =
|
|
||||||
double-click-left =
|
|
||||||
double-click-middle =
|
|
||||||
double-click-right =
|
|
||||||
|
|
||||||
; Requires polybar to be built with xcursor support (xcb-util-cursor)
|
|
||||||
; Possible values are:
|
|
||||||
; - default : The default pointer as before, can also be an empty string (default)
|
|
||||||
; - pointer : Typically in the form of a hand
|
|
||||||
; - ns-resize : Up and down arrows, can be used to indicate scrolling
|
|
||||||
cursor-click =
|
|
||||||
cursor-scroll =
|
|
||||||
|
|
||||||
;; WM Workspace Specific
|
|
||||||
|
|
||||||
; bspwm
|
|
||||||
;;scroll-up = bspwm-desknext
|
|
||||||
;;scroll-down = bspwm-deskprev
|
|
||||||
;;scroll-up = bspc desktop -f prev.local
|
|
||||||
;;scroll-down = bspc desktop -f next.local
|
|
||||||
|
|
||||||
;i3
|
|
||||||
;;scroll-up = i3wm-wsnext
|
|
||||||
;;scroll-down = i3wm-wsprev
|
|
||||||
;;scroll-up = i3-msg workspace next_on_output
|
|
||||||
;;scroll-down = i3-msg workspace prev_on_output
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; Application Settings
|
|
||||||
|
|
||||||
[settings]
|
|
||||||
; The throttle settings lets the eventloop swallow up til X events
|
|
||||||
; if they happen within Y millisecond after first event was received.
|
|
||||||
; This is done to prevent flood of update event.
|
|
||||||
;
|
|
||||||
; For example if 5 modules emit an update event at the same time, we really
|
|
||||||
; just care about the last one. But if we wait too long for events to swallow
|
|
||||||
; the bar would appear sluggish so we continue if timeout
|
|
||||||
; expires or limit is reached.
|
|
||||||
throttle-output = 5
|
|
||||||
throttle-output-for = 10
|
|
||||||
|
|
||||||
; Time in milliseconds that the input handler will wait between processing events
|
|
||||||
;throttle-input-for = 30
|
|
||||||
|
|
||||||
; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events
|
|
||||||
screenchange-reload = false
|
|
||||||
|
|
||||||
; Compositing operators
|
|
||||||
; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t
|
|
||||||
compositing-background = source
|
|
||||||
compositing-foreground = over
|
|
||||||
compositing-overline = over
|
|
||||||
compositing-underline = over
|
|
||||||
compositing-border = over
|
|
||||||
|
|
||||||
; Define fallback values used by all module formats
|
|
||||||
;format-foreground =
|
|
||||||
;format-background =
|
|
||||||
;format-underline =
|
|
||||||
;format-overline =
|
|
||||||
;format-spacing =
|
|
||||||
;format-padding =
|
|
||||||
;format-margin =
|
|
||||||
;format-offset =
|
|
||||||
|
|
||||||
; Enables pseudo-transparency for the bar
|
|
||||||
; If set to true the bar can be transparent without a compositor.
|
|
||||||
pseudo-transparency = false
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; ┌────────────────────────────────────────────────────────────────┐
|
|
||||||
;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│
|
|
||||||
;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│
|
|
||||||
;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│
|
|
||||||
;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│
|
|
||||||
;; └────────────────────────────────────────────────────────────────┘
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/memory]
|
|
||||||
type = internal/memory
|
|
||||||
|
|
||||||
interval = 3
|
|
||||||
|
|
||||||
format = <label>
|
|
||||||
format-foreground = ${color.fg}
|
|
||||||
format-font = 2
|
|
||||||
|
|
||||||
label = "%mb_used%"
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/memory_bar]
|
|
||||||
type = internal/memory
|
|
||||||
|
|
||||||
interval = 2
|
|
||||||
|
|
||||||
format = <bar-used>
|
|
||||||
|
|
||||||
bar-used-width = 10
|
|
||||||
bar-used-gradient = false
|
|
||||||
|
|
||||||
bar-used-indicator =
|
|
||||||
bar-used-indicator-foreground = ${color.ac}
|
|
||||||
bar-used-indicator-font = 1
|
|
||||||
|
|
||||||
bar-used-fill = ⏽
|
|
||||||
bar-used-foreground-0 = ${color.green}
|
|
||||||
bar-used-foreground-1 = ${color.green}
|
|
||||||
bar-used-foreground-2 = ${color.green}
|
|
||||||
bar-used-foreground-3 = ${color.amber}
|
|
||||||
bar-used-foreground-4 = ${color.amber}
|
|
||||||
bar-used-foreground-5 = ${color.amber}
|
|
||||||
bar-used-foreground-6 = ${color.red}
|
|
||||||
bar-used-foreground-7 = ${color.red}
|
|
||||||
bar-used-foreground-8 = ${color.red}
|
|
||||||
bar-used-fill-font = 1
|
|
||||||
|
|
||||||
bar-used-empty = ⏽
|
|
||||||
bar-used-empty-foreground = ${color.gray}
|
|
||||||
bar-used-empty-font = 1
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/name]
|
|
||||||
type = custom/text
|
|
||||||
|
|
||||||
content = memory
|
|
||||||
content-foreground = ${color.fg}
|
|
||||||
content-font = 3
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/sep]
|
|
||||||
type = custom/text
|
|
||||||
content = " | "
|
|
||||||
content-font = 2
|
|
||||||
|
|
||||||
;;content-background = #000
|
|
||||||
content-foreground = ${color.fg}
|
|
||||||
;;content-padding = 4
|
|
||||||
|
|
||||||
[module/sep2]
|
|
||||||
type = custom/text
|
|
||||||
content = " "
|
|
||||||
|
|
||||||
;;content-background = #000
|
|
||||||
content-foreground = ${color.fg}
|
|
||||||
;;content-padding = 4
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
397
pwidgets/mpd.ini
397
pwidgets/mpd.ini
@@ -1,397 +0,0 @@
|
|||||||
;; ┌────────────────────────────────────────────────────────────┐
|
|
||||||
;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│
|
|
||||||
;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│
|
|
||||||
;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│
|
|
||||||
;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│
|
|
||||||
;; └────────────────────────────────────────────────────────────┘
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; Global WM Settings
|
|
||||||
|
|
||||||
[global/wm]
|
|
||||||
; Adjust the _NET_WM_STRUT_PARTIAL top value
|
|
||||||
; Used for top aligned bars
|
|
||||||
margin-bottom = 0
|
|
||||||
|
|
||||||
; Adjust the _NET_WM_STRUT_PARTIAL bottom value
|
|
||||||
; Used for bottom aligned bars
|
|
||||||
margin-top = 0
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; File Inclusion
|
|
||||||
; include an external file, like module file, etc.
|
|
||||||
|
|
||||||
include-file = ~/.config/polybar/pwidgets/colors.ini
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; Bar Settings
|
|
||||||
|
|
||||||
[bar/main]
|
|
||||||
; Use either of the following command to list available outputs:
|
|
||||||
; If unspecified, the application will pick the first one it finds.
|
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
|
||||||
monitor =
|
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
|
||||||
monitor-fallback =
|
|
||||||
|
|
||||||
; Require the monitor to be in connected state
|
|
||||||
; XRandR sometimes reports my monitor as being disconnected (when in use)
|
|
||||||
monitor-strict = false
|
|
||||||
|
|
||||||
; Tell the Window Manager not to configure the window.
|
|
||||||
; Use this to detach the bar if your WM is locking its size/position.
|
|
||||||
override-redirect = false
|
|
||||||
|
|
||||||
; Put the bar at the bottom of the screen
|
|
||||||
bottom = true
|
|
||||||
|
|
||||||
; Prefer fixed center position for the `modules-center` block
|
|
||||||
; When false, the center position will be based on the size of the other blocks.
|
|
||||||
fixed-center = true
|
|
||||||
|
|
||||||
; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%),
|
|
||||||
; the percentage can optionally be extended with a pixel offset like so:
|
|
||||||
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
|
||||||
width = 230
|
|
||||||
height = 60
|
|
||||||
|
|
||||||
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
|
||||||
; the percentage can optionally be extended with a pixel offset like so:
|
|
||||||
; 50%:-10, this will result in an offset in the x or y direction
|
|
||||||
; of 50% minus 10 pixels
|
|
||||||
offset-x = 0
|
|
||||||
offset-y = 0
|
|
||||||
|
|
||||||
; Background ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
|
||||||
background = ${color.bg}
|
|
||||||
|
|
||||||
; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
|
||||||
foreground = ${color.fg}
|
|
||||||
|
|
||||||
; Background gradient (vertical steps)
|
|
||||||
; background-[0-9]+ = #aarrggbb
|
|
||||||
;;background-0 =
|
|
||||||
|
|
||||||
; Value used for drawing rounded corners
|
|
||||||
; Note: This shouldn't be used together with border-size because the border
|
|
||||||
; doesn't get rounded
|
|
||||||
; Individual top/bottom values can be defined using:
|
|
||||||
; radius-{top,bottom}
|
|
||||||
radius-top = 20.0
|
|
||||||
radius-bottom = 20.0
|
|
||||||
|
|
||||||
; Under-/overline pixel size and argb color
|
|
||||||
; Individual values can be defined using:
|
|
||||||
; {overline,underline}-size
|
|
||||||
; {overline,underline}-color
|
|
||||||
line-size = 2
|
|
||||||
line-color = ${color.ac}
|
|
||||||
|
|
||||||
; Values applied to all borders
|
|
||||||
; Individual side values can be defined using:
|
|
||||||
; border-{left,top,right,bottom}-size
|
|
||||||
; border-{left,top,right,bottom}-color
|
|
||||||
; The top and bottom borders are added to the bar height, so the effective
|
|
||||||
; window height is:
|
|
||||||
; height + border-top-size + border-bottom-size
|
|
||||||
; Meanwhile the effective window width is defined entirely by the width key and
|
|
||||||
; the border is placed withing this area. So you effectively only have the
|
|
||||||
; following horizontal space on the bar:
|
|
||||||
; width - border-right-size - border-left-size
|
|
||||||
border-bottom-size = 0
|
|
||||||
border-color = ${color.ac}
|
|
||||||
|
|
||||||
; Number of spaces to add at the beginning/end of the bar
|
|
||||||
; Individual side values can be defined using:
|
|
||||||
; padding-{left,right}
|
|
||||||
padding = 2
|
|
||||||
|
|
||||||
; Number of spaces to add before/after each module
|
|
||||||
; Individual side values can be defined using:
|
|
||||||
; module-margin-{left,right}
|
|
||||||
module-margin-left = 1
|
|
||||||
module-margin-right = 1
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
; Fonts are defined using <font-name>;<vertical-offset>
|
|
||||||
; Font names are specified using a fontconfig pattern.
|
|
||||||
; font-0 = NotoSans-Regular:size=8;2
|
|
||||||
; font-1 = MaterialIcons:size=10
|
|
||||||
; font-2 = Termsynu:size=8;-1
|
|
||||||
; font-3 = FontAwesome:size=10
|
|
||||||
; See the Fonts wiki page for more details
|
|
||||||
|
|
||||||
font-0 = "Iosevka Nerd Font:size=12;2"
|
|
||||||
font-1 = "Iosevka Nerd Font:bold:size=24;2"
|
|
||||||
font-2 = "Iosevka Nerd Font:size=28;8"
|
|
||||||
|
|
||||||
; Modules are added to one of the available blocks
|
|
||||||
; modules-left = cpu ram
|
|
||||||
; modules-center = xwindow xbacklight
|
|
||||||
; modules-right = ipc clock
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[bar/primary]
|
|
||||||
inherit = bar/main
|
|
||||||
offset-x = 25
|
|
||||||
offset-y = 25
|
|
||||||
|
|
||||||
padding = 1
|
|
||||||
module-margin-left = 0
|
|
||||||
module-margin-right = 0
|
|
||||||
|
|
||||||
modules-center = buttons
|
|
||||||
enable-ipc = true
|
|
||||||
|
|
||||||
[bar/secondary]
|
|
||||||
inherit = bar/main
|
|
||||||
offset-x = 25
|
|
||||||
offset-y = 75
|
|
||||||
background = ${color.trans}
|
|
||||||
foreground = ${color.white}
|
|
||||||
|
|
||||||
padding = 1
|
|
||||||
module-margin-left = 0
|
|
||||||
module-margin-right = 0
|
|
||||||
|
|
||||||
modules-left = player sep mpd
|
|
||||||
enable-ipc = true
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
; The separator will be inserted between the output of each module
|
|
||||||
separator =
|
|
||||||
|
|
||||||
; Opacity value between 0.0 and 1.0 used on fade in/out
|
|
||||||
dim-value = 1.0
|
|
||||||
|
|
||||||
; Value to be used to set the WM_NAME atom
|
|
||||||
; If the value is empty or undefined, the atom value
|
|
||||||
; will be created from the following template: polybar-[BAR]_[MONITOR]
|
|
||||||
; NOTE: The placeholders are not available for custom values
|
|
||||||
wm-name =
|
|
||||||
|
|
||||||
; Locale used to localize various module data (e.g. date)
|
|
||||||
; Expects a valid libc locale, for example: sv_SE.UTF-8
|
|
||||||
locale =
|
|
||||||
|
|
||||||
; Position of the system tray window
|
|
||||||
; If empty or undefined, tray support will be disabled
|
|
||||||
; NOTE: A center aligned tray will cover center aligned modules
|
|
||||||
;
|
|
||||||
; Available positions:
|
|
||||||
; left
|
|
||||||
; center
|
|
||||||
; right
|
|
||||||
; none
|
|
||||||
tray-position = none
|
|
||||||
|
|
||||||
; If true, the bar will not shift its
|
|
||||||
; contents when the tray changes
|
|
||||||
tray-detached = false
|
|
||||||
|
|
||||||
; Tray icon max size
|
|
||||||
tray-maxsize = 16
|
|
||||||
|
|
||||||
; Background color for the tray container
|
|
||||||
; ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
|
||||||
; By default the tray container will use the bar
|
|
||||||
; background color.
|
|
||||||
tray-background = ${color.background}
|
|
||||||
|
|
||||||
; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
|
||||||
tray-offset-x = 0
|
|
||||||
tray-offset-y = 0
|
|
||||||
|
|
||||||
; Pad the sides of each tray icon
|
|
||||||
tray-padding = 0
|
|
||||||
|
|
||||||
; Scale factor for tray clients
|
|
||||||
tray-scale = 1.0
|
|
||||||
|
|
||||||
; Restack the bar window and put it above the
|
|
||||||
; selected window manager's root
|
|
||||||
;
|
|
||||||
; Fixes the issue where the bar is being drawn
|
|
||||||
; on top of fullscreen window's
|
|
||||||
;
|
|
||||||
; Currently supported WM's:
|
|
||||||
; bspwm
|
|
||||||
; i3 (requires: `override-redirect = true`)
|
|
||||||
;;wm-restack =
|
|
||||||
|
|
||||||
; Set a DPI values used when rendering text
|
|
||||||
; This only affects scalable fonts
|
|
||||||
; dpi =
|
|
||||||
|
|
||||||
; Enable support for inter-process messaging
|
|
||||||
; See the Messaging wiki page for more details.
|
|
||||||
;enable-ipc = true
|
|
||||||
|
|
||||||
; Fallback click handlers that will be called if
|
|
||||||
; there's no matching module handler found.
|
|
||||||
click-left =
|
|
||||||
click-middle =
|
|
||||||
click-right =
|
|
||||||
scroll-up =
|
|
||||||
scroll-down =
|
|
||||||
double-click-left =
|
|
||||||
double-click-middle =
|
|
||||||
double-click-right =
|
|
||||||
|
|
||||||
; Requires polybar to be built with xcursor support (xcb-util-cursor)
|
|
||||||
; Possible values are:
|
|
||||||
; - default : The default pointer as before, can also be an empty string (default)
|
|
||||||
; - pointer : Typically in the form of a hand
|
|
||||||
; - ns-resize : Up and down arrows, can be used to indicate scrolling
|
|
||||||
cursor-click =
|
|
||||||
cursor-scroll =
|
|
||||||
|
|
||||||
;; WM Workspace Specific
|
|
||||||
|
|
||||||
; bspwm
|
|
||||||
;;scroll-up = bspwm-desknext
|
|
||||||
;;scroll-down = bspwm-deskprev
|
|
||||||
;;scroll-up = bspc desktop -f prev.local
|
|
||||||
;;scroll-down = bspc desktop -f next.local
|
|
||||||
|
|
||||||
;i3
|
|
||||||
;;scroll-up = i3wm-wsnext
|
|
||||||
;;scroll-down = i3wm-wsprev
|
|
||||||
;;scroll-up = i3-msg workspace next_on_output
|
|
||||||
;;scroll-down = i3-msg workspace prev_on_output
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; Application Settings
|
|
||||||
|
|
||||||
[settings]
|
|
||||||
; The throttle settings lets the eventloop swallow up til X events
|
|
||||||
; if they happen within Y millisecond after first event was received.
|
|
||||||
; This is done to prevent flood of update event.
|
|
||||||
;
|
|
||||||
; For example if 5 modules emit an update event at the same time, we really
|
|
||||||
; just care about the last one. But if we wait too long for events to swallow
|
|
||||||
; the bar would appear sluggish so we continue if timeout
|
|
||||||
; expires or limit is reached.
|
|
||||||
throttle-output = 5
|
|
||||||
throttle-output-for = 10
|
|
||||||
|
|
||||||
; Time in milliseconds that the input handler will wait between processing events
|
|
||||||
;throttle-input-for = 30
|
|
||||||
|
|
||||||
; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events
|
|
||||||
screenchange-reload = false
|
|
||||||
|
|
||||||
; Compositing operators
|
|
||||||
; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t
|
|
||||||
compositing-background = source
|
|
||||||
compositing-foreground = over
|
|
||||||
compositing-overline = over
|
|
||||||
compositing-underline = over
|
|
||||||
compositing-border = over
|
|
||||||
|
|
||||||
; Define fallback values used by all module formats
|
|
||||||
;format-foreground =
|
|
||||||
;format-background =
|
|
||||||
;format-underline =
|
|
||||||
;format-overline =
|
|
||||||
;format-spacing =
|
|
||||||
;format-padding =
|
|
||||||
;format-margin =
|
|
||||||
;format-offset =
|
|
||||||
|
|
||||||
; Enables pseudo-transparency for the bar
|
|
||||||
; If set to true the bar can be transparent without a compositor.
|
|
||||||
pseudo-transparency = false
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; ┌────────────────────────────────────────────────────────────────┐
|
|
||||||
;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│
|
|
||||||
;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│
|
|
||||||
;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│
|
|
||||||
;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│
|
|
||||||
;; └────────────────────────────────────────────────────────────────┘
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/mpd]
|
|
||||||
type = internal/mpd
|
|
||||||
|
|
||||||
interval = 2
|
|
||||||
format-online = <label-song>
|
|
||||||
format-online-foreground = ${color.fg}
|
|
||||||
|
|
||||||
label-song = "%title%"
|
|
||||||
label-song-maxlen = 12
|
|
||||||
label-song-ellipsis = true
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/buttons]
|
|
||||||
type = internal/mpd
|
|
||||||
|
|
||||||
interval = 2
|
|
||||||
|
|
||||||
format-online = <icon-prev> <toggle> <icon-stop> <icon-next>
|
|
||||||
format-online-font = 3
|
|
||||||
|
|
||||||
format-offline = <label-offline>
|
|
||||||
label-offline = "Offline"
|
|
||||||
|
|
||||||
; Only applies if <icon-X> is used
|
|
||||||
icon-play-foreground = ${color.blue}
|
|
||||||
icon-play = 喇
|
|
||||||
icon-pause-foreground = ${color.green}
|
|
||||||
icon-pause =
|
|
||||||
icon-stop-foreground = ${color.red}
|
|
||||||
icon-stop = ﭥ
|
|
||||||
icon-prev-foreground = ${color.teal}
|
|
||||||
icon-prev = ﭢ
|
|
||||||
icon-next-foreground = ${color.teal}
|
|
||||||
icon-next = ﭠ
|
|
||||||
|
|
||||||
icon-seekb = 寧
|
|
||||||
icon-seekf = 嶺
|
|
||||||
icon-random = 🔀
|
|
||||||
icon-repeat = 🔁
|
|
||||||
icon-repeatone = 🔂
|
|
||||||
icon-single = 🔂
|
|
||||||
icon-consume = ✀
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/player]
|
|
||||||
type = custom/text
|
|
||||||
|
|
||||||
content = mpd
|
|
||||||
content-foreground = ${color.fg}
|
|
||||||
content-font = 2
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/sep]
|
|
||||||
type = custom/text
|
|
||||||
content = " | "
|
|
||||||
content-font = 1
|
|
||||||
|
|
||||||
;;content-background = #000
|
|
||||||
content-foreground = ${color.fg}
|
|
||||||
;;content-padding = 4
|
|
||||||
|
|
||||||
[module/sep2]
|
|
||||||
type = custom/text
|
|
||||||
content = " "
|
|
||||||
|
|
||||||
;;content-background = #000
|
|
||||||
content-foreground = ${color.fg}
|
|
||||||
;;content-padding = 4
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
rofi -no-config -no-lazy-grab -show drun -modi drun -theme ~/.config/polybar/pwidgets/scripts/rofi/launcher.rasi
|
|
||||||
@@ -1,95 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
## Author : Aditya Shakya
|
|
||||||
## Mail : adi1090x@gmail.com
|
|
||||||
## Github : @adi1090x
|
|
||||||
## Twitter : @adi1090x
|
|
||||||
|
|
||||||
dir="~/.config/polybar/pwidgets/scripts/rofi"
|
|
||||||
uptime=$(uptime -p | sed -e 's/up //g')
|
|
||||||
|
|
||||||
rofi_command="rofi -no-config -theme $dir/powermenu.rasi"
|
|
||||||
|
|
||||||
# Options
|
|
||||||
shutdown=" Shutdown"
|
|
||||||
reboot=" Restart"
|
|
||||||
lock=" Lock"
|
|
||||||
suspend=" Sleep"
|
|
||||||
logout=" Logout"
|
|
||||||
|
|
||||||
# Confirmation
|
|
||||||
confirm_exit() {
|
|
||||||
rofi -dmenu\
|
|
||||||
-no-config\
|
|
||||||
-i\
|
|
||||||
-no-fixed-num-lines\
|
|
||||||
-p "Are You Sure? : "\
|
|
||||||
-theme $dir/confirm.rasi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Message
|
|
||||||
msg() {
|
|
||||||
rofi -no-config -theme "$dir/message.rasi" -e "Options : yes / y / no / n"
|
|
||||||
}
|
|
||||||
|
|
||||||
# Variable passed to rofi
|
|
||||||
options="$lock\n$suspend\n$logout\n$reboot\n$shutdown"
|
|
||||||
|
|
||||||
chosen="$(echo -e "$options" | $rofi_command -p "Uptime: $uptime" -dmenu -selected-row 0)"
|
|
||||||
case $chosen in
|
|
||||||
$shutdown)
|
|
||||||
ans=$(confirm_exit &)
|
|
||||||
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
|
|
||||||
systemctl poweroff
|
|
||||||
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
|
|
||||||
exit 0
|
|
||||||
else
|
|
||||||
msg
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
$reboot)
|
|
||||||
ans=$(confirm_exit &)
|
|
||||||
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
|
|
||||||
systemctl reboot
|
|
||||||
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
|
|
||||||
exit 0
|
|
||||||
else
|
|
||||||
msg
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
$lock)
|
|
||||||
if [[ -f /usr/bin/i3lock ]]; then
|
|
||||||
i3lock
|
|
||||||
elif [[ -f /usr/bin/betterlockscreen ]]; then
|
|
||||||
betterlockscreen -l
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
$suspend)
|
|
||||||
ans=$(confirm_exit &)
|
|
||||||
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
|
|
||||||
mpc -q pause
|
|
||||||
amixer set Master mute
|
|
||||||
systemctl suspend
|
|
||||||
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
|
|
||||||
exit 0
|
|
||||||
else
|
|
||||||
msg
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
$logout)
|
|
||||||
ans=$(confirm_exit &)
|
|
||||||
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
|
|
||||||
if [[ "$DESKTOP_SESSION" == "Openbox" ]]; then
|
|
||||||
openbox --exit
|
|
||||||
elif [[ "$DESKTOP_SESSION" == "bspwm" ]]; then
|
|
||||||
bspc quit
|
|
||||||
elif [[ "$DESKTOP_SESSION" == "i3" ]]; then
|
|
||||||
i3-msg exit
|
|
||||||
fi
|
|
||||||
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
|
|
||||||
exit 0
|
|
||||||
else
|
|
||||||
msg
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
@@ -1,59 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# Color files
|
|
||||||
PFILE="$HOME/.config/polybar/pwidgets/colors.ini"
|
|
||||||
RFILE="$HOME/.config/polybar/pwidgets/scripts/rofi/colors.rasi"
|
|
||||||
WFILE="$HOME/.cache/wal/colors.sh"
|
|
||||||
|
|
||||||
# Get colors
|
|
||||||
pywal_get() {
|
|
||||||
wal -i "$1" -q -t
|
|
||||||
}
|
|
||||||
|
|
||||||
# Change colors
|
|
||||||
change_color() {
|
|
||||||
# polybar
|
|
||||||
sed -i -e "s/bg = #.*/bg = ${BG}/g" $PFILE
|
|
||||||
sed -i -e "s/fg = #.*/fg = ${FG}/g" $PFILE
|
|
||||||
sed -i -e "s/fga = #.*/fga = ${RFG}/g" $PFILE
|
|
||||||
sed -i -e "s/ac = #.*/ac = ${AC}/g" $PFILE
|
|
||||||
|
|
||||||
# rofi
|
|
||||||
cat > $RFILE <<- EOF
|
|
||||||
/* colors */
|
|
||||||
|
|
||||||
* {
|
|
||||||
al: #00000000;
|
|
||||||
bg: ${BG}FF;
|
|
||||||
fg: ${RFG}FF;
|
|
||||||
ac: ${AC}FF;
|
|
||||||
}
|
|
||||||
EOF
|
|
||||||
}
|
|
||||||
|
|
||||||
# Main
|
|
||||||
if [[ -x "`which wal`" ]]; then
|
|
||||||
if [[ "$1" ]]; then
|
|
||||||
pywal_get "$1"
|
|
||||||
|
|
||||||
# Source the pywal color file
|
|
||||||
if [[ -e "$WFILE" ]]; then
|
|
||||||
. "$WFILE"
|
|
||||||
else
|
|
||||||
echo 'Color file does not exist, exiting...'
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
BG=`printf "%s\n" "$background"`
|
|
||||||
FG=`printf "%s\n" "$foreground"`
|
|
||||||
RFG=`printf "%s\n" "$color8"`
|
|
||||||
AC=`printf "%s\n" "$color1"`
|
|
||||||
|
|
||||||
change_color
|
|
||||||
else
|
|
||||||
echo -e "[!] Please enter the path to wallpaper. \n"
|
|
||||||
echo "Usage : ./pywal.sh path/to/image"
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
echo "[!] 'pywal' is not installed."
|
|
||||||
fi
|
|
||||||
@@ -1,67 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# Color files
|
|
||||||
PFILE="$HOME/.config/polybar/pwidgets/colors.ini"
|
|
||||||
RFILE="$HOME/.config/polybar/pwidgets/scripts/rofi/colors.rasi"
|
|
||||||
|
|
||||||
# Change colors
|
|
||||||
change_color() {
|
|
||||||
# polybar
|
|
||||||
sed -i -e "s/bg = #.*/bg = ${BG}/g" $PFILE
|
|
||||||
sed -i -e "s/fg = #.*/fg = ${BG}/g" $PFILE
|
|
||||||
sed -i -e "s/fga = #.*/fga = ${RFG}/g" $PFILE
|
|
||||||
sed -i -e "s/ac = #.*/ac = ${AC}/g" $PFILE
|
|
||||||
|
|
||||||
# rofi
|
|
||||||
cat > $RFILE <<- EOF
|
|
||||||
/* colors */
|
|
||||||
|
|
||||||
* {
|
|
||||||
al: #00000000;
|
|
||||||
bg: ${BG}FF;
|
|
||||||
fg: ${RFG}FF;
|
|
||||||
ac: ${AC}FF;
|
|
||||||
}
|
|
||||||
EOF
|
|
||||||
|
|
||||||
polybar-msg cmd restart
|
|
||||||
}
|
|
||||||
|
|
||||||
get_random_number() {
|
|
||||||
RNUM=$(( ($RANDOM % $1) + 1 ))
|
|
||||||
}
|
|
||||||
|
|
||||||
get_random_color() {
|
|
||||||
RCOLOR="#"
|
|
||||||
for i in 1 2 3 4 5 6
|
|
||||||
do
|
|
||||||
get_random_number "16"
|
|
||||||
case $RNUM in
|
|
||||||
"1") NEXTDIGIT="1";;
|
|
||||||
"2") NEXTDIGIT="2";;
|
|
||||||
"3") NEXTDIGIT="3";;
|
|
||||||
"4") NEXTDIGIT="4";;
|
|
||||||
"5") NEXTDIGIT="5";;
|
|
||||||
"6") NEXTDIGIT="6";;
|
|
||||||
"7") NEXTDIGIT="7";;
|
|
||||||
"8") NEXTDIGIT="8";;
|
|
||||||
"9") NEXTDIGIT="9";;
|
|
||||||
"10") NEXTDIGIT="A";;
|
|
||||||
"11") NEXTDIGIT="B";;
|
|
||||||
"12") NEXTDIGIT="C";;
|
|
||||||
"13") NEXTDIGIT="D";;
|
|
||||||
"14") NEXTDIGIT="E";;
|
|
||||||
"15") NEXTDIGIT="F";;
|
|
||||||
"16") NEXTDIGIT="0";;
|
|
||||||
esac
|
|
||||||
RCOLOR="$RCOLOR$NEXTDIGIT"
|
|
||||||
done
|
|
||||||
echo $RCOLOR
|
|
||||||
}
|
|
||||||
|
|
||||||
# Main
|
|
||||||
BG=`get_random_color`
|
|
||||||
RFG=`get_random_color`
|
|
||||||
AC=`get_random_color`
|
|
||||||
|
|
||||||
change_color
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
/* colors */
|
|
||||||
|
|
||||||
* {
|
|
||||||
al: #00000000;
|
|
||||||
bg: #FFFFFFFF;
|
|
||||||
fg: #454545FF;
|
|
||||||
ac: #1565C0FF;
|
|
||||||
}
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
/* Confirm Dialog */
|
|
||||||
|
|
||||||
@import "colors.rasi"
|
|
||||||
|
|
||||||
* {
|
|
||||||
background-color: @bg;
|
|
||||||
text-color: @fg;
|
|
||||||
font: "Iosevka Nerd Font 10";
|
|
||||||
}
|
|
||||||
|
|
||||||
window {
|
|
||||||
width: 230px;
|
|
||||||
padding: 20px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 20px;
|
|
||||||
border-color: @ac;
|
|
||||||
location: southwest;
|
|
||||||
x-offset: 25px;
|
|
||||||
y-offset: -95px;
|
|
||||||
}
|
|
||||||
|
|
||||||
entry {
|
|
||||||
expand: true;
|
|
||||||
text-color: @ac;
|
|
||||||
}
|
|
||||||
@@ -1,119 +0,0 @@
|
|||||||
/*
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya
|
|
||||||
* Mail : adi1090x@gmail.com
|
|
||||||
* Github : @adi1090x
|
|
||||||
* Twitter : @adi1090x
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
configuration {
|
|
||||||
font: "Iosevka Nerd Font 10";
|
|
||||||
show-icons: true;
|
|
||||||
icon-theme: "Papirus";
|
|
||||||
display-drun: "";
|
|
||||||
drun-display-format: "{name}";
|
|
||||||
disable-history: false;
|
|
||||||
fullscreen: false;
|
|
||||||
hide-scrollbar: true;
|
|
||||||
sidebar-mode: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
@import "colors.rasi"
|
|
||||||
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
background-color: @bg;
|
|
||||||
text-color: @fg;
|
|
||||||
border: 0px;
|
|
||||||
border-color: @ac;
|
|
||||||
border-radius: 20px;
|
|
||||||
width: 460px;
|
|
||||||
location: southwest;
|
|
||||||
x-offset: 25px;
|
|
||||||
y-offset: -95px;
|
|
||||||
}
|
|
||||||
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
background-color: @al;
|
|
||||||
text-color: @ac;
|
|
||||||
font: "Iosevka Nerd Font 10";
|
|
||||||
}
|
|
||||||
|
|
||||||
entry {
|
|
||||||
background-color: @al;
|
|
||||||
text-color: @ac;
|
|
||||||
placeholder-color: @ac;
|
|
||||||
expand: true;
|
|
||||||
horizontal-align: 0;
|
|
||||||
placeholder: "Search...";
|
|
||||||
padding: 10px 10px 10px 0px;
|
|
||||||
border-radius: 0px;
|
|
||||||
blink: true;
|
|
||||||
}
|
|
||||||
|
|
||||||
inputbar {
|
|
||||||
children: [ prompt, entry ];
|
|
||||||
background-color: @al;
|
|
||||||
text-color: @fg;
|
|
||||||
expand: false;
|
|
||||||
border: 0px 0px 1px 0px;
|
|
||||||
border-radius: 12px;
|
|
||||||
border-color: @ac;
|
|
||||||
spacing: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
listview {
|
|
||||||
background-color: @al;
|
|
||||||
padding: 0px;
|
|
||||||
columns: 1;
|
|
||||||
lines: 8;
|
|
||||||
spacing: 5px;
|
|
||||||
cycle: true;
|
|
||||||
dynamic: true;
|
|
||||||
layout: vertical;
|
|
||||||
}
|
|
||||||
|
|
||||||
mainbox {
|
|
||||||
background-color: @al;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @ac;
|
|
||||||
children: [ inputbar, listview ];
|
|
||||||
spacing: 10px;
|
|
||||||
padding: 2px 10px 10px 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
element {
|
|
||||||
background-color: @al;
|
|
||||||
text-color: @fg;
|
|
||||||
orientation: horizontal;
|
|
||||||
border-radius: 0px;
|
|
||||||
padding: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
element-icon {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
size: 24px;
|
|
||||||
border: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
expand: true;
|
|
||||||
horizontal-align: 0;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
margin: 0px 2.5px 0px 2.5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
element selected {
|
|
||||||
background-color: @ac;
|
|
||||||
text-color: @bg;
|
|
||||||
border: 0px 0px 0px 0px;
|
|
||||||
border-radius: 12px;
|
|
||||||
border-color: @ac;
|
|
||||||
}
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
/* Confirm Dialog */
|
|
||||||
|
|
||||||
@import "colors.rasi"
|
|
||||||
|
|
||||||
* {
|
|
||||||
background-color: @bg;
|
|
||||||
text-color: @fg;
|
|
||||||
font: "Iosevka Nerd Font 10";
|
|
||||||
}
|
|
||||||
|
|
||||||
window {
|
|
||||||
width: 230px;
|
|
||||||
padding: 20px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 20px;
|
|
||||||
border-color: @ac;
|
|
||||||
location: southwest;
|
|
||||||
x-offset: 25px;
|
|
||||||
y-offset: -95px;
|
|
||||||
}
|
|
||||||
|
|
||||||
entry {
|
|
||||||
expand: true;
|
|
||||||
text-color: @ac;
|
|
||||||
}
|
|
||||||
@@ -1,127 +0,0 @@
|
|||||||
/*
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya
|
|
||||||
* Mail : adi1090x@gmail.com
|
|
||||||
* Github : @adi1090x
|
|
||||||
* Twitter : @adi1090x
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
configuration {
|
|
||||||
font: "Iosevka Nerd Font 10";
|
|
||||||
show-icons: true;
|
|
||||||
icon-theme: "Papirus";
|
|
||||||
display-drun: "";
|
|
||||||
drun-display-format: "{name}";
|
|
||||||
disable-history: false;
|
|
||||||
fullscreen: false;
|
|
||||||
hide-scrollbar: true;
|
|
||||||
sidebar-mode: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
@import "colors.rasi"
|
|
||||||
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
background-color: @bg;
|
|
||||||
text-color: @fg;
|
|
||||||
border: 0px;
|
|
||||||
border-color: @ac;
|
|
||||||
border-radius: 20px;
|
|
||||||
width: 460px;
|
|
||||||
location: southwest;
|
|
||||||
x-offset: 25px;
|
|
||||||
y-offset: -95px;
|
|
||||||
}
|
|
||||||
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
background-color: @al;
|
|
||||||
text-color: @fg;
|
|
||||||
}
|
|
||||||
|
|
||||||
textbox-prompt-colon {
|
|
||||||
padding: 10px 5px 10px 15px;
|
|
||||||
font: "Iosevka Nerd Font 10";
|
|
||||||
background-color: @al;
|
|
||||||
text-color: @ac;
|
|
||||||
expand: false;
|
|
||||||
str: "直";
|
|
||||||
}
|
|
||||||
|
|
||||||
entry {
|
|
||||||
background-color: @al;
|
|
||||||
text-color: @ac;
|
|
||||||
placeholder-color: @ac;
|
|
||||||
expand: true;
|
|
||||||
horizontal-align: 0;
|
|
||||||
placeholder: "Search...";
|
|
||||||
padding: 10px 10px 10px 0px;
|
|
||||||
border-radius: 0px;
|
|
||||||
blink: true;
|
|
||||||
}
|
|
||||||
|
|
||||||
inputbar {
|
|
||||||
children: [ textbox-prompt-colon, prompt ];
|
|
||||||
background-color: @al;
|
|
||||||
text-color: @fg;
|
|
||||||
expand: false;
|
|
||||||
border: 0px 0px 1px 0px;
|
|
||||||
border-radius: 12px;
|
|
||||||
border-color: @ac;
|
|
||||||
spacing: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
listview {
|
|
||||||
background-color: @al;
|
|
||||||
padding: 0px;
|
|
||||||
columns: 1;
|
|
||||||
lines: 8;
|
|
||||||
spacing: 5px;
|
|
||||||
cycle: true;
|
|
||||||
dynamic: true;
|
|
||||||
layout: vertical;
|
|
||||||
}
|
|
||||||
|
|
||||||
mainbox {
|
|
||||||
background-color: @al;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @ac;
|
|
||||||
children: [ inputbar, listview ];
|
|
||||||
spacing: 10px;
|
|
||||||
padding: 2px 10px 10px 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
element {
|
|
||||||
background-color: @al;
|
|
||||||
text-color: @fg;
|
|
||||||
orientation: horizontal;
|
|
||||||
border-radius: 0px;
|
|
||||||
padding: 8px 8px 8px -10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
element-icon {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
size: 24px;
|
|
||||||
border: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
expand: true;
|
|
||||||
horizontal-align: 0;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
margin: 0px 2.5px 0px 2.5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
element selected {
|
|
||||||
background-color: @ac;
|
|
||||||
text-color: @bg;
|
|
||||||
border: 0px 0px 0px 0px;
|
|
||||||
border-radius: 12px;
|
|
||||||
border-color: @ac;
|
|
||||||
}
|
|
||||||
@@ -1,127 +0,0 @@
|
|||||||
/*
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya
|
|
||||||
* Mail : adi1090x@gmail.com
|
|
||||||
* Github : @adi1090x
|
|
||||||
* Twitter : @adi1090x
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
configuration {
|
|
||||||
font: "Iosevka Nerd Font 10";
|
|
||||||
show-icons: true;
|
|
||||||
icon-theme: "Papirus";
|
|
||||||
display-drun: "";
|
|
||||||
drun-display-format: "{name}";
|
|
||||||
disable-history: false;
|
|
||||||
fullscreen: false;
|
|
||||||
hide-scrollbar: true;
|
|
||||||
sidebar-mode: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
@import "colors.rasi"
|
|
||||||
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
background-color: @bg;
|
|
||||||
text-color: @fg;
|
|
||||||
border: 0px;
|
|
||||||
border-color: @ac;
|
|
||||||
border-radius: 20px;
|
|
||||||
width: 460px;
|
|
||||||
location: southwest;
|
|
||||||
x-offset: 25px;
|
|
||||||
y-offset: -95px;
|
|
||||||
}
|
|
||||||
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
background-color: @al;
|
|
||||||
text-color: @fg;
|
|
||||||
}
|
|
||||||
|
|
||||||
textbox-prompt-colon {
|
|
||||||
padding: 10px 5px 10px 15px;
|
|
||||||
font: "Iosevka Nerd Font 10";
|
|
||||||
background-color: @al;
|
|
||||||
text-color: @ac;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
}
|
|
||||||
|
|
||||||
entry {
|
|
||||||
background-color: @al;
|
|
||||||
text-color: @ac;
|
|
||||||
placeholder-color: @ac;
|
|
||||||
expand: true;
|
|
||||||
horizontal-align: 0;
|
|
||||||
placeholder: "Search...";
|
|
||||||
padding: 10px 10px 10px 0px;
|
|
||||||
border-radius: 0px;
|
|
||||||
blink: true;
|
|
||||||
}
|
|
||||||
|
|
||||||
inputbar {
|
|
||||||
children: [ textbox-prompt-colon, prompt ];
|
|
||||||
background-color: @al;
|
|
||||||
text-color: @fg;
|
|
||||||
expand: false;
|
|
||||||
border: 0px 0px 1px 0px;
|
|
||||||
border-radius: 12px;
|
|
||||||
border-color: @ac;
|
|
||||||
spacing: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
listview {
|
|
||||||
background-color: @al;
|
|
||||||
padding: 0px;
|
|
||||||
columns: 1;
|
|
||||||
lines: 5;
|
|
||||||
spacing: 5px;
|
|
||||||
cycle: true;
|
|
||||||
dynamic: true;
|
|
||||||
layout: vertical;
|
|
||||||
}
|
|
||||||
|
|
||||||
mainbox {
|
|
||||||
background-color: @al;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @ac;
|
|
||||||
children: [ inputbar, listview ];
|
|
||||||
spacing: 10px;
|
|
||||||
padding: 2px 10px 10px 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
element {
|
|
||||||
background-color: @al;
|
|
||||||
text-color: @fg;
|
|
||||||
orientation: horizontal;
|
|
||||||
border-radius: 0px;
|
|
||||||
padding: 8px 8px 8px -16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
element-icon {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
size: 24px;
|
|
||||||
border: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
expand: true;
|
|
||||||
horizontal-align: 0;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
margin: 0px 2.5px 0px 2.5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
element selected {
|
|
||||||
background-color: @ac;
|
|
||||||
text-color: @bg;
|
|
||||||
border: 0px 0px 0px 0px;
|
|
||||||
border-radius: 12px;
|
|
||||||
border-color: @ac;
|
|
||||||
}
|
|
||||||
@@ -1,127 +0,0 @@
|
|||||||
/*
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya
|
|
||||||
* Mail : adi1090x@gmail.com
|
|
||||||
* Github : @adi1090x
|
|
||||||
* Twitter : @adi1090x
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
configuration {
|
|
||||||
font: "Iosevka Nerd Font 10";
|
|
||||||
show-icons: true;
|
|
||||||
icon-theme: "Papirus";
|
|
||||||
display-drun: "";
|
|
||||||
drun-display-format: "{name}";
|
|
||||||
disable-history: false;
|
|
||||||
fullscreen: false;
|
|
||||||
hide-scrollbar: true;
|
|
||||||
sidebar-mode: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
@import "colors.rasi"
|
|
||||||
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
background-color: @bg;
|
|
||||||
text-color: @fg;
|
|
||||||
border: 0px;
|
|
||||||
border-color: @ac;
|
|
||||||
border-radius: 20px;
|
|
||||||
width: 460px;
|
|
||||||
location: southwest;
|
|
||||||
x-offset: 25px;
|
|
||||||
y-offset: -95px;
|
|
||||||
}
|
|
||||||
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
background-color: @al;
|
|
||||||
text-color: @fg;
|
|
||||||
}
|
|
||||||
|
|
||||||
textbox-prompt-colon {
|
|
||||||
padding: 10px 10px 10px 15px;
|
|
||||||
font: "Iosevka Nerd Font 10";
|
|
||||||
background-color: @al;
|
|
||||||
text-color: @ac;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
}
|
|
||||||
|
|
||||||
entry {
|
|
||||||
background-color: @al;
|
|
||||||
text-color: @ac;
|
|
||||||
placeholder-color: @ac;
|
|
||||||
expand: true;
|
|
||||||
horizontal-align: 0;
|
|
||||||
placeholder: "Search...";
|
|
||||||
padding: 10px 10px 10px 0px;
|
|
||||||
border-radius: 0px;
|
|
||||||
blink: true;
|
|
||||||
}
|
|
||||||
|
|
||||||
inputbar {
|
|
||||||
children: [ textbox-prompt-colon, entry ];
|
|
||||||
background-color: @al;
|
|
||||||
text-color: @fg;
|
|
||||||
expand: false;
|
|
||||||
border: 0px 0px 1px 0px;
|
|
||||||
border-radius: 12px;
|
|
||||||
border-color: @ac;
|
|
||||||
spacing: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
listview {
|
|
||||||
background-color: @al;
|
|
||||||
padding: 0px;
|
|
||||||
columns: 1;
|
|
||||||
lines: 5;
|
|
||||||
spacing: 5px;
|
|
||||||
cycle: true;
|
|
||||||
dynamic: true;
|
|
||||||
layout: vertical;
|
|
||||||
}
|
|
||||||
|
|
||||||
mainbox {
|
|
||||||
background-color: @al;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @ac;
|
|
||||||
children: [ inputbar, listview ];
|
|
||||||
spacing: 10px;
|
|
||||||
padding: 2px 10px 10px 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
element {
|
|
||||||
background-color: @al;
|
|
||||||
text-color: @fg;
|
|
||||||
orientation: horizontal;
|
|
||||||
border-radius: 0px;
|
|
||||||
padding: 8px 8px 8px -16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
element-icon {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
size: 24px;
|
|
||||||
border: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
expand: true;
|
|
||||||
horizontal-align: 0;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
margin: 0px 2.5px 0px 2.5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
element selected {
|
|
||||||
background-color: @ac;
|
|
||||||
text-color: @bg;
|
|
||||||
border: 0px 0px 0px 0px;
|
|
||||||
border-radius: 12px;
|
|
||||||
border-color: @ac;
|
|
||||||
}
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
SDIR="$HOME/.config/polybar/pwidgets/scripts"
|
|
||||||
|
|
||||||
# Launch Rofi
|
|
||||||
MENU="$(rofi -no-config -no-lazy-grab -sep "|" -dmenu -i -p '' \
|
|
||||||
-theme $SDIR/rofi/styles.rasi \
|
|
||||||
<<< " Default| Nord| Gruvbox| Dark| Cherry| White| Black|")"
|
|
||||||
case "$MENU" in
|
|
||||||
*Default) "$SDIR"/styles.sh --default ;;
|
|
||||||
*Nord) "$SDIR"/styles.sh --nord ;;
|
|
||||||
*Gruvbox) "$SDIR"/styles.sh --gruvbox ;;
|
|
||||||
*Dark) "$SDIR"/styles.sh --dark ;;
|
|
||||||
*Cherry) "$SDIR"/styles.sh --cherry ;;
|
|
||||||
*White) "$SDIR"/styles.sh --white ;;
|
|
||||||
*Black) "$SDIR"/styles.sh --black ;;
|
|
||||||
esac
|
|
||||||
@@ -1,78 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# Color files
|
|
||||||
PFILE="$HOME/.config/polybar/pwidgets/colors.ini"
|
|
||||||
RFILE="$HOME/.config/polybar/pwidgets/scripts/rofi/colors.rasi"
|
|
||||||
|
|
||||||
# Change colors
|
|
||||||
change_color() {
|
|
||||||
# polybar
|
|
||||||
sed -i -e "s/bg = #.*/bg = #FF${BG}/g" $PFILE
|
|
||||||
sed -i -e "s/fg = #.*/fg = #FF${FG}/g" $PFILE
|
|
||||||
sed -i -e "s/fga = #.*/fga = #FF${RFG}/g" $PFILE
|
|
||||||
sed -i -e "s/ac = #.*/ac = #FF${AC}/g" $PFILE
|
|
||||||
|
|
||||||
# rofi
|
|
||||||
cat > $RFILE <<- EOF
|
|
||||||
/* colors */
|
|
||||||
|
|
||||||
* {
|
|
||||||
al: #00000000;
|
|
||||||
bg: #${BG}FF;
|
|
||||||
fg: #${RFG}FF;
|
|
||||||
ac: #${AC}FF;
|
|
||||||
}
|
|
||||||
EOF
|
|
||||||
|
|
||||||
polybar-msg cmd restart
|
|
||||||
}
|
|
||||||
|
|
||||||
if [[ $1 = "--default" ]]; then
|
|
||||||
BG="212B30"
|
|
||||||
FG="C4C7C5"
|
|
||||||
RFG="C4C7C5"
|
|
||||||
AC="51B4FF"
|
|
||||||
change_color
|
|
||||||
elif [[ $1 = "--nord" ]]; then
|
|
||||||
BG="3B4252"
|
|
||||||
FG="E5E9F0"
|
|
||||||
RFG="E5E9F0"
|
|
||||||
AC="A3BE8C"
|
|
||||||
change_color
|
|
||||||
elif [[ $1 = "--gruvbox" ]]; then
|
|
||||||
BG="282828"
|
|
||||||
FG="EBDBB2"
|
|
||||||
RFG="EBDBB2"
|
|
||||||
AC="FB4934"
|
|
||||||
change_color
|
|
||||||
elif [[ $1 = "--dark" ]]; then
|
|
||||||
BG="141C21"
|
|
||||||
FG="f5f5f5"
|
|
||||||
RFG="f5f5f5"
|
|
||||||
AC="FFE744"
|
|
||||||
change_color
|
|
||||||
elif [[ $1 = "--cherry" ]]; then
|
|
||||||
BG="1F1626"
|
|
||||||
FG="FFFFFF"
|
|
||||||
RFG="FFFFFF"
|
|
||||||
AC="D94084"
|
|
||||||
change_color
|
|
||||||
elif [[ $1 = "--white" ]]; then
|
|
||||||
BG="FFFFFF"
|
|
||||||
FG="FFFFFF"
|
|
||||||
RFG="454545"
|
|
||||||
AC="1565C0"
|
|
||||||
change_color
|
|
||||||
elif [[ $1 = "--black" ]]; then
|
|
||||||
BG="0a0a0a"
|
|
||||||
FG="0a0a0a"
|
|
||||||
RFG="a0a0a0"
|
|
||||||
AC="40D8EB"
|
|
||||||
change_color
|
|
||||||
else
|
|
||||||
cat <<- _EOF_
|
|
||||||
No option specified, Available options:
|
|
||||||
--default --nord --gruvbox --dark --cherry
|
|
||||||
--white --black
|
|
||||||
_EOF_
|
|
||||||
fi
|
|
||||||
@@ -1,474 +0,0 @@
|
|||||||
;; ┌────────────────────────────────────────────────────────────┐
|
|
||||||
;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│
|
|
||||||
;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│
|
|
||||||
;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│
|
|
||||||
;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│
|
|
||||||
;; └────────────────────────────────────────────────────────────┘
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; Global WM Settings
|
|
||||||
|
|
||||||
[global/wm]
|
|
||||||
; Adjust the _NET_WM_STRUT_PARTIAL top value
|
|
||||||
; Used for top aligned bars
|
|
||||||
margin-bottom = 0
|
|
||||||
|
|
||||||
; Adjust the _NET_WM_STRUT_PARTIAL bottom value
|
|
||||||
; Used for bottom aligned bars
|
|
||||||
margin-top = 0
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; File Inclusion
|
|
||||||
; include an external file, like module file, etc.
|
|
||||||
|
|
||||||
include-file = ~/.config/polybar/pwidgets/colors.ini
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; Bar Settings
|
|
||||||
|
|
||||||
[bar/main]
|
|
||||||
; Use either of the following command to list available outputs:
|
|
||||||
; If unspecified, the application will pick the first one it finds.
|
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
|
||||||
monitor =
|
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
|
||||||
monitor-fallback =
|
|
||||||
|
|
||||||
; Require the monitor to be in connected state
|
|
||||||
; XRandR sometimes reports my monitor as being disconnected (when in use)
|
|
||||||
monitor-strict = false
|
|
||||||
|
|
||||||
; Tell the Window Manager not to configure the window.
|
|
||||||
; Use this to detach the bar if your WM is locking its size/position.
|
|
||||||
override-redirect = false
|
|
||||||
|
|
||||||
; Put the bar at the bottom of the screen
|
|
||||||
bottom = true
|
|
||||||
|
|
||||||
; Prefer fixed center position for the `modules-center` block
|
|
||||||
; When false, the center position will be based on the size of the other blocks.
|
|
||||||
fixed-center = true
|
|
||||||
|
|
||||||
; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%),
|
|
||||||
; the percentage can optionally be extended with a pixel offset like so:
|
|
||||||
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
|
||||||
width = 230
|
|
||||||
height = 60
|
|
||||||
|
|
||||||
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
|
||||||
; the percentage can optionally be extended with a pixel offset like so:
|
|
||||||
; 50%:-10, this will result in an offset in the x or y direction
|
|
||||||
; of 50% minus 10 pixels
|
|
||||||
offset-x = 0
|
|
||||||
offset-y = 0
|
|
||||||
|
|
||||||
; Background ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
|
||||||
background = ${color.bg}
|
|
||||||
|
|
||||||
; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
|
||||||
foreground = ${color.fg}
|
|
||||||
|
|
||||||
; Background gradient (vertical steps)
|
|
||||||
; background-[0-9]+ = #aarrggbb
|
|
||||||
;;background-0 =
|
|
||||||
|
|
||||||
; Value used for drawing rounded corners
|
|
||||||
; Note: This shouldn't be used together with border-size because the border
|
|
||||||
; doesn't get rounded
|
|
||||||
; Individual top/bottom values can be defined using:
|
|
||||||
; radius-{top,bottom}
|
|
||||||
radius-top = 20.0
|
|
||||||
radius-bottom = 20.0
|
|
||||||
|
|
||||||
; Under-/overline pixel size and argb color
|
|
||||||
; Individual values can be defined using:
|
|
||||||
; {overline,underline}-size
|
|
||||||
; {overline,underline}-color
|
|
||||||
line-size = 2
|
|
||||||
line-color = ${color.ac}
|
|
||||||
|
|
||||||
; Values applied to all borders
|
|
||||||
; Individual side values can be defined using:
|
|
||||||
; border-{left,top,right,bottom}-size
|
|
||||||
; border-{left,top,right,bottom}-color
|
|
||||||
; The top and bottom borders are added to the bar height, so the effective
|
|
||||||
; window height is:
|
|
||||||
; height + border-top-size + border-bottom-size
|
|
||||||
; Meanwhile the effective window width is defined entirely by the width key and
|
|
||||||
; the border is placed withing this area. So you effectively only have the
|
|
||||||
; following horizontal space on the bar:
|
|
||||||
; width - border-right-size - border-left-size
|
|
||||||
border-bottom-size = 0
|
|
||||||
border-color = ${color.ac}
|
|
||||||
|
|
||||||
; Number of spaces to add at the beginning/end of the bar
|
|
||||||
; Individual side values can be defined using:
|
|
||||||
; padding-{left,right}
|
|
||||||
padding = 2
|
|
||||||
|
|
||||||
; Number of spaces to add before/after each module
|
|
||||||
; Individual side values can be defined using:
|
|
||||||
; module-margin-{left,right}
|
|
||||||
module-margin-left = 1
|
|
||||||
module-margin-right = 1
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
; Fonts are defined using <font-name>;<vertical-offset>
|
|
||||||
; Font names are specified using a fontconfig pattern.
|
|
||||||
; font-0 = NotoSans-Regular:size=8;2
|
|
||||||
; font-1 = MaterialIcons:size=10
|
|
||||||
; font-2 = Termsynu:size=8;-1
|
|
||||||
; font-3 = FontAwesome:size=10
|
|
||||||
; See the Fonts wiki page for more details
|
|
||||||
|
|
||||||
font-0 = "Iosevka Nerd Font:size=20;5"
|
|
||||||
font-1 = "Iosevka Nerd Font:bold:size=24;2"
|
|
||||||
font-2 = "Iosevka Nerd Font:size=12;2"
|
|
||||||
|
|
||||||
; Modules are added to one of the available blocks
|
|
||||||
; modules-left = cpu ram
|
|
||||||
; modules-center = xwindow xbacklight
|
|
||||||
; modules-right = ipc clock
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[bar/primary]
|
|
||||||
inherit = bar/main
|
|
||||||
offset-x = 25
|
|
||||||
offset-y = 25
|
|
||||||
|
|
||||||
padding = 1
|
|
||||||
module-margin-left = 0
|
|
||||||
module-margin-right = 0
|
|
||||||
|
|
||||||
modules-center = alsa sep2 battery sep2 network sep2 sysmenu
|
|
||||||
enable-ipc = true
|
|
||||||
|
|
||||||
[bar/secondary]
|
|
||||||
inherit = bar/main
|
|
||||||
offset-x = 25
|
|
||||||
offset-y = 75
|
|
||||||
background = ${color.trans}
|
|
||||||
foreground = ${color.white}
|
|
||||||
|
|
||||||
padding = 1
|
|
||||||
module-margin-left = 0
|
|
||||||
module-margin-right = 0
|
|
||||||
|
|
||||||
modules-left = ssid sep speed
|
|
||||||
enable-ipc = true
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
; The separator will be inserted between the output of each module
|
|
||||||
separator =
|
|
||||||
|
|
||||||
; Opacity value between 0.0 and 1.0 used on fade in/out
|
|
||||||
dim-value = 1.0
|
|
||||||
|
|
||||||
; Value to be used to set the WM_NAME atom
|
|
||||||
; If the value is empty or undefined, the atom value
|
|
||||||
; will be created from the following template: polybar-[BAR]_[MONITOR]
|
|
||||||
; NOTE: The placeholders are not available for custom values
|
|
||||||
wm-name =
|
|
||||||
|
|
||||||
; Locale used to localize various module data (e.g. date)
|
|
||||||
; Expects a valid libc locale, for example: sv_SE.UTF-8
|
|
||||||
locale =
|
|
||||||
|
|
||||||
; Position of the system tray window
|
|
||||||
; If empty or undefined, tray support will be disabled
|
|
||||||
; NOTE: A center aligned tray will cover center aligned modules
|
|
||||||
;
|
|
||||||
; Available positions:
|
|
||||||
; left
|
|
||||||
; center
|
|
||||||
; right
|
|
||||||
; none
|
|
||||||
tray-position = none
|
|
||||||
|
|
||||||
; If true, the bar will not shift its
|
|
||||||
; contents when the tray changes
|
|
||||||
tray-detached = false
|
|
||||||
|
|
||||||
; Tray icon max size
|
|
||||||
tray-maxsize = 16
|
|
||||||
|
|
||||||
; Background color for the tray container
|
|
||||||
; ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
|
||||||
; By default the tray container will use the bar
|
|
||||||
; background color.
|
|
||||||
tray-background = ${color.background}
|
|
||||||
|
|
||||||
; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
|
||||||
tray-offset-x = 0
|
|
||||||
tray-offset-y = 0
|
|
||||||
|
|
||||||
; Pad the sides of each tray icon
|
|
||||||
tray-padding = 0
|
|
||||||
|
|
||||||
; Scale factor for tray clients
|
|
||||||
tray-scale = 1.0
|
|
||||||
|
|
||||||
; Restack the bar window and put it above the
|
|
||||||
; selected window manager's root
|
|
||||||
;
|
|
||||||
; Fixes the issue where the bar is being drawn
|
|
||||||
; on top of fullscreen window's
|
|
||||||
;
|
|
||||||
; Currently supported WM's:
|
|
||||||
; bspwm
|
|
||||||
; i3 (requires: `override-redirect = true`)
|
|
||||||
;;wm-restack =
|
|
||||||
|
|
||||||
; Set a DPI values used when rendering text
|
|
||||||
; This only affects scalable fonts
|
|
||||||
; dpi =
|
|
||||||
|
|
||||||
; Enable support for inter-process messaging
|
|
||||||
; See the Messaging wiki page for more details.
|
|
||||||
;enable-ipc = true
|
|
||||||
|
|
||||||
; Fallback click handlers that will be called if
|
|
||||||
; there's no matching module handler found.
|
|
||||||
click-left =
|
|
||||||
click-middle =
|
|
||||||
click-right =
|
|
||||||
scroll-up =
|
|
||||||
scroll-down =
|
|
||||||
double-click-left =
|
|
||||||
double-click-middle =
|
|
||||||
double-click-right =
|
|
||||||
|
|
||||||
; Requires polybar to be built with xcursor support (xcb-util-cursor)
|
|
||||||
; Possible values are:
|
|
||||||
; - default : The default pointer as before, can also be an empty string (default)
|
|
||||||
; - pointer : Typically in the form of a hand
|
|
||||||
; - ns-resize : Up and down arrows, can be used to indicate scrolling
|
|
||||||
cursor-click =
|
|
||||||
cursor-scroll =
|
|
||||||
|
|
||||||
;; WM Workspace Specific
|
|
||||||
|
|
||||||
; bspwm
|
|
||||||
;;scroll-up = bspwm-desknext
|
|
||||||
;;scroll-down = bspwm-deskprev
|
|
||||||
;;scroll-up = bspc desktop -f prev.local
|
|
||||||
;;scroll-down = bspc desktop -f next.local
|
|
||||||
|
|
||||||
;i3
|
|
||||||
;;scroll-up = i3wm-wsnext
|
|
||||||
;;scroll-down = i3wm-wsprev
|
|
||||||
;;scroll-up = i3-msg workspace next_on_output
|
|
||||||
;;scroll-down = i3-msg workspace prev_on_output
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; Application Settings
|
|
||||||
|
|
||||||
[settings]
|
|
||||||
; The throttle settings lets the eventloop swallow up til X events
|
|
||||||
; if they happen within Y millisecond after first event was received.
|
|
||||||
; This is done to prevent flood of update event.
|
|
||||||
;
|
|
||||||
; For example if 5 modules emit an update event at the same time, we really
|
|
||||||
; just care about the last one. But if we wait too long for events to swallow
|
|
||||||
; the bar would appear sluggish so we continue if timeout
|
|
||||||
; expires or limit is reached.
|
|
||||||
throttle-output = 5
|
|
||||||
throttle-output-for = 10
|
|
||||||
|
|
||||||
; Time in milliseconds that the input handler will wait between processing events
|
|
||||||
;throttle-input-for = 30
|
|
||||||
|
|
||||||
; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events
|
|
||||||
screenchange-reload = false
|
|
||||||
|
|
||||||
; Compositing operators
|
|
||||||
; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t
|
|
||||||
compositing-background = source
|
|
||||||
compositing-foreground = over
|
|
||||||
compositing-overline = over
|
|
||||||
compositing-underline = over
|
|
||||||
compositing-border = over
|
|
||||||
|
|
||||||
; Define fallback values used by all module formats
|
|
||||||
;format-foreground =
|
|
||||||
;format-background =
|
|
||||||
;format-underline =
|
|
||||||
;format-overline =
|
|
||||||
;format-spacing =
|
|
||||||
;format-padding =
|
|
||||||
;format-margin =
|
|
||||||
;format-offset =
|
|
||||||
|
|
||||||
; Enables pseudo-transparency for the bar
|
|
||||||
; If set to true the bar can be transparent without a compositor.
|
|
||||||
pseudo-transparency = false
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; ┌────────────────────────────────────────────────────────────────┐
|
|
||||||
;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│
|
|
||||||
;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│
|
|
||||||
;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│
|
|
||||||
;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│
|
|
||||||
;; └────────────────────────────────────────────────────────────────┘
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/sep]
|
|
||||||
type = custom/text
|
|
||||||
content = " | "
|
|
||||||
content-font = 3
|
|
||||||
|
|
||||||
;;content-background = #000
|
|
||||||
content-foreground = ${color.fg}
|
|
||||||
;;content-padding = 4
|
|
||||||
|
|
||||||
[module/sep2]
|
|
||||||
type = custom/text
|
|
||||||
content = " "
|
|
||||||
|
|
||||||
;;content-background = #000
|
|
||||||
content-foreground = ${color.fg}
|
|
||||||
;;content-padding = 4
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/alsa]
|
|
||||||
type = internal/alsa
|
|
||||||
|
|
||||||
format-volume = <ramp-volume>
|
|
||||||
format-muted = <label-muted>
|
|
||||||
label-muted = 婢
|
|
||||||
label-muted-foreground = ${color.gray}
|
|
||||||
|
|
||||||
ramp-volume-0 = 奄
|
|
||||||
ramp-volume-1 = 奔
|
|
||||||
ramp-volume-2 = 奔
|
|
||||||
ramp-volume-3 = 墳
|
|
||||||
ramp-volume-4 = 墳
|
|
||||||
ramp-volume-foreground = ${color.blue}
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/battery]
|
|
||||||
type = internal/battery
|
|
||||||
|
|
||||||
full-at = 99
|
|
||||||
battery = BAT1
|
|
||||||
adapter = ACAD
|
|
||||||
|
|
||||||
poll-interval = 2
|
|
||||||
time-format = %H:%M
|
|
||||||
|
|
||||||
format-charging = <animation-charging>
|
|
||||||
format-discharging = <ramp-capacity>
|
|
||||||
|
|
||||||
format-full = <label-full>
|
|
||||||
format-full-foreground = ${color.red}
|
|
||||||
|
|
||||||
label-full =
|
|
||||||
|
|
||||||
ramp-capacity-0 =
|
|
||||||
ramp-capacity-1 =
|
|
||||||
ramp-capacity-2 =
|
|
||||||
ramp-capacity-3 =
|
|
||||||
ramp-capacity-4 =
|
|
||||||
ramp-capacity-5 =
|
|
||||||
ramp-capacity-6 =
|
|
||||||
ramp-capacity-7 =
|
|
||||||
ramp-capacity-8 =
|
|
||||||
ramp-capacity-9 =
|
|
||||||
ramp-capacity-foreground = ${color.orange}
|
|
||||||
|
|
||||||
animation-charging-0 =
|
|
||||||
animation-charging-1 =
|
|
||||||
animation-charging-2 =
|
|
||||||
animation-charging-3 =
|
|
||||||
animation-charging-4 =
|
|
||||||
animation-charging-5 =
|
|
||||||
animation-charging-6 =
|
|
||||||
animation-charging-7 =
|
|
||||||
animation-charging-8 =
|
|
||||||
animation-charging-9 =
|
|
||||||
animation-charging-foreground = ${color.green}
|
|
||||||
|
|
||||||
animation-charging-framerate = 750
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/network]
|
|
||||||
type = internal/network
|
|
||||||
interface = wlan0
|
|
||||||
|
|
||||||
interval = 1.0
|
|
||||||
accumulate-stats = true
|
|
||||||
unknown-as-up = true
|
|
||||||
|
|
||||||
format-connected = <label-connected>
|
|
||||||
format-connected-foreground = ${color.purple}
|
|
||||||
format-disconnected = <label-disconnected>
|
|
||||||
format-disconnected-foreground = ${color.gray}
|
|
||||||
|
|
||||||
label-connected = "%{A1:networkmanager_dmenu &:}直%{A}"
|
|
||||||
label-disconnected = "%{A1:networkmanager_dmenu &:}睊%{A}"
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/speed]
|
|
||||||
type = internal/network
|
|
||||||
interface = wlan0
|
|
||||||
|
|
||||||
interval = 1.0
|
|
||||||
accumulate-stats = true
|
|
||||||
unknown-as-up = true
|
|
||||||
|
|
||||||
format-connected = <label-connected>
|
|
||||||
format-connected-foreground = ${color.fg}
|
|
||||||
format-connected-font = 3
|
|
||||||
format-disconnected = <label-disconnected>
|
|
||||||
format-disconnected-foreground = ${color.fg}
|
|
||||||
format-disconnected-font = 3
|
|
||||||
|
|
||||||
label-connected = "%downspeed%"
|
|
||||||
label-disconnected = NA
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/ssid]
|
|
||||||
type = internal/network
|
|
||||||
interface = wlan0
|
|
||||||
|
|
||||||
interval = 1.0
|
|
||||||
accumulate-stats = true
|
|
||||||
unknown-as-up = true
|
|
||||||
|
|
||||||
format-connected = <label-connected>
|
|
||||||
format-connected-font = 2
|
|
||||||
format-connected-foreground = ${color.fg}
|
|
||||||
format-disconnected = <label-disconnected>
|
|
||||||
format-disconnected-foreground = ${color.fg}
|
|
||||||
format-disconnected-font = 2
|
|
||||||
|
|
||||||
label-connected = "%essid%"
|
|
||||||
label-disconnected = NA
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/sysmenu]
|
|
||||||
type = custom/text
|
|
||||||
content = 襤
|
|
||||||
|
|
||||||
content-foreground = ${color.red}
|
|
||||||
click-left = ~/.config/polybar/pwidgets/scripts/powermenu.sh &
|
|
||||||
click-right = ~/.config/polybar/pwidgets/scripts/style-switch.sh &
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
@@ -1,407 +0,0 @@
|
|||||||
;; ┌────────────────────────────────────────────────────────────┐
|
|
||||||
;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀│
|
|
||||||
;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░░░█░█░█░█░█▀▀░░█░░█░█│
|
|
||||||
;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀│
|
|
||||||
;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░│
|
|
||||||
;; └────────────────────────────────────────────────────────────┘
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; Global WM Settings
|
|
||||||
|
|
||||||
[global/wm]
|
|
||||||
; Adjust the _NET_WM_STRUT_PARTIAL top value
|
|
||||||
; Used for top aligned bars
|
|
||||||
margin-bottom = 0
|
|
||||||
|
|
||||||
; Adjust the _NET_WM_STRUT_PARTIAL bottom value
|
|
||||||
; Used for bottom aligned bars
|
|
||||||
margin-top = 0
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; File Inclusion
|
|
||||||
; include an external file, like module file, etc.
|
|
||||||
|
|
||||||
include-file = ~/.config/polybar/pwidgets/colors.ini
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; Bar Settings
|
|
||||||
|
|
||||||
[bar/main]
|
|
||||||
; Use either of the following command to list available outputs:
|
|
||||||
; If unspecified, the application will pick the first one it finds.
|
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
|
||||||
monitor =
|
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
|
||||||
monitor-fallback =
|
|
||||||
|
|
||||||
; Require the monitor to be in connected state
|
|
||||||
; XRandR sometimes reports my monitor as being disconnected (when in use)
|
|
||||||
monitor-strict = false
|
|
||||||
|
|
||||||
; Tell the Window Manager not to configure the window.
|
|
||||||
; Use this to detach the bar if your WM is locking its size/position.
|
|
||||||
override-redirect = false
|
|
||||||
|
|
||||||
; Put the bar at the bottom of the screen
|
|
||||||
bottom = true
|
|
||||||
|
|
||||||
; Prefer fixed center position for the `modules-center` block
|
|
||||||
; When false, the center position will be based on the size of the other blocks.
|
|
||||||
fixed-center = true
|
|
||||||
|
|
||||||
; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%),
|
|
||||||
; the percentage can optionally be extended with a pixel offset like so:
|
|
||||||
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
|
||||||
width = 230
|
|
||||||
height = 60
|
|
||||||
|
|
||||||
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
|
||||||
; the percentage can optionally be extended with a pixel offset like so:
|
|
||||||
; 50%:-10, this will result in an offset in the x or y direction
|
|
||||||
; of 50% minus 10 pixels
|
|
||||||
offset-x = 0
|
|
||||||
offset-y = 0
|
|
||||||
|
|
||||||
; Background ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
|
||||||
background = ${color.bg}
|
|
||||||
|
|
||||||
; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
|
||||||
foreground = ${color.fg}
|
|
||||||
|
|
||||||
; Background gradient (vertical steps)
|
|
||||||
; background-[0-9]+ = #aarrggbb
|
|
||||||
;;background-0 =
|
|
||||||
|
|
||||||
; Value used for drawing rounded corners
|
|
||||||
; Note: This shouldn't be used together with border-size because the border
|
|
||||||
; doesn't get rounded
|
|
||||||
; Individual top/bottom values can be defined using:
|
|
||||||
; radius-{top,bottom}
|
|
||||||
radius-top = 20.0
|
|
||||||
radius-bottom = 20.0
|
|
||||||
|
|
||||||
; Under-/overline pixel size and argb color
|
|
||||||
; Individual values can be defined using:
|
|
||||||
; {overline,underline}-size
|
|
||||||
; {overline,underline}-color
|
|
||||||
line-size = 2
|
|
||||||
line-color = ${color.ac}
|
|
||||||
|
|
||||||
; Values applied to all borders
|
|
||||||
; Individual side values can be defined using:
|
|
||||||
; border-{left,top,right,bottom}-size
|
|
||||||
; border-{left,top,right,bottom}-color
|
|
||||||
; The top and bottom borders are added to the bar height, so the effective
|
|
||||||
; window height is:
|
|
||||||
; height + border-top-size + border-bottom-size
|
|
||||||
; Meanwhile the effective window width is defined entirely by the width key and
|
|
||||||
; the border is placed withing this area. So you effectively only have the
|
|
||||||
; following horizontal space on the bar:
|
|
||||||
; width - border-right-size - border-left-size
|
|
||||||
border-bottom-size = 0
|
|
||||||
border-color = ${color.ac}
|
|
||||||
|
|
||||||
; Number of spaces to add at the beginning/end of the bar
|
|
||||||
; Individual side values can be defined using:
|
|
||||||
; padding-{left,right}
|
|
||||||
padding = 2
|
|
||||||
|
|
||||||
; Number of spaces to add before/after each module
|
|
||||||
; Individual side values can be defined using:
|
|
||||||
; module-margin-{left,right}
|
|
||||||
module-margin-left = 1
|
|
||||||
module-margin-right = 1
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
; Fonts are defined using <font-name>;<vertical-offset>
|
|
||||||
; Font names are specified using a fontconfig pattern.
|
|
||||||
; font-0 = NotoSans-Regular:size=8;2
|
|
||||||
; font-1 = MaterialIcons:size=10
|
|
||||||
; font-2 = Termsynu:size=8;-1
|
|
||||||
; font-3 = FontAwesome:size=10
|
|
||||||
; See the Fonts wiki page for more details
|
|
||||||
|
|
||||||
font-0 = "Iosevka Nerd Font:size=18;5"
|
|
||||||
font-1 = "Iosevka Nerd Font:size=12;2"
|
|
||||||
font-2 = "Iosevka Nerd Font:bold:size=24;2"
|
|
||||||
|
|
||||||
; Modules are added to one of the available blocks
|
|
||||||
; modules-left = cpu ram
|
|
||||||
; modules-center = xwindow xbacklight
|
|
||||||
; modules-right = ipc clock
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[bar/primary]
|
|
||||||
inherit = bar/main
|
|
||||||
offset-x = 25
|
|
||||||
offset-y = 25
|
|
||||||
|
|
||||||
padding = 1
|
|
||||||
module-margin-left = 0
|
|
||||||
module-margin-right = 0
|
|
||||||
|
|
||||||
modules-center = workspaces
|
|
||||||
enable-ipc = true
|
|
||||||
|
|
||||||
[bar/secondary]
|
|
||||||
inherit = bar/main
|
|
||||||
offset-x = 25
|
|
||||||
offset-y = 75
|
|
||||||
background = ${color.trans}
|
|
||||||
foreground = ${color.white}
|
|
||||||
|
|
||||||
padding = 1
|
|
||||||
module-margin-left = 0
|
|
||||||
module-margin-right = 0
|
|
||||||
|
|
||||||
modules-left = name sep title
|
|
||||||
enable-ipc = true
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
; The separator will be inserted between the output of each module
|
|
||||||
separator =
|
|
||||||
|
|
||||||
; Opacity value between 0.0 and 1.0 used on fade in/out
|
|
||||||
dim-value = 1.0
|
|
||||||
|
|
||||||
; Value to be used to set the WM_NAME atom
|
|
||||||
; If the value is empty or undefined, the atom value
|
|
||||||
; will be created from the following template: polybar-[BAR]_[MONITOR]
|
|
||||||
; NOTE: The placeholders are not available for custom values
|
|
||||||
wm-name =
|
|
||||||
|
|
||||||
; Locale used to localize various module data (e.g. date)
|
|
||||||
; Expects a valid libc locale, for example: sv_SE.UTF-8
|
|
||||||
locale =
|
|
||||||
|
|
||||||
; Position of the system tray window
|
|
||||||
; If empty or undefined, tray support will be disabled
|
|
||||||
; NOTE: A center aligned tray will cover center aligned modules
|
|
||||||
;
|
|
||||||
; Available positions:
|
|
||||||
; left
|
|
||||||
; center
|
|
||||||
; right
|
|
||||||
; none
|
|
||||||
tray-position = none
|
|
||||||
|
|
||||||
; If true, the bar will not shift its
|
|
||||||
; contents when the tray changes
|
|
||||||
tray-detached = false
|
|
||||||
|
|
||||||
; Tray icon max size
|
|
||||||
tray-maxsize = 16
|
|
||||||
|
|
||||||
; Background color for the tray container
|
|
||||||
; ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
|
||||||
; By default the tray container will use the bar
|
|
||||||
; background color.
|
|
||||||
tray-background = ${color.background}
|
|
||||||
|
|
||||||
; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
|
||||||
tray-offset-x = 0
|
|
||||||
tray-offset-y = 0
|
|
||||||
|
|
||||||
; Pad the sides of each tray icon
|
|
||||||
tray-padding = 0
|
|
||||||
|
|
||||||
; Scale factor for tray clients
|
|
||||||
tray-scale = 1.0
|
|
||||||
|
|
||||||
; Restack the bar window and put it above the
|
|
||||||
; selected window manager's root
|
|
||||||
;
|
|
||||||
; Fixes the issue where the bar is being drawn
|
|
||||||
; on top of fullscreen window's
|
|
||||||
;
|
|
||||||
; Currently supported WM's:
|
|
||||||
; bspwm
|
|
||||||
; i3 (requires: `override-redirect = true`)
|
|
||||||
;;wm-restack =
|
|
||||||
|
|
||||||
; Set a DPI values used when rendering text
|
|
||||||
; This only affects scalable fonts
|
|
||||||
; dpi =
|
|
||||||
|
|
||||||
; Enable support for inter-process messaging
|
|
||||||
; See the Messaging wiki page for more details.
|
|
||||||
;enable-ipc = true
|
|
||||||
|
|
||||||
; Fallback click handlers that will be called if
|
|
||||||
; there's no matching module handler found.
|
|
||||||
click-left =
|
|
||||||
click-middle =
|
|
||||||
click-right =
|
|
||||||
scroll-up =
|
|
||||||
scroll-down =
|
|
||||||
double-click-left =
|
|
||||||
double-click-middle =
|
|
||||||
double-click-right =
|
|
||||||
|
|
||||||
; Requires polybar to be built with xcursor support (xcb-util-cursor)
|
|
||||||
; Possible values are:
|
|
||||||
; - default : The default pointer as before, can also be an empty string (default)
|
|
||||||
; - pointer : Typically in the form of a hand
|
|
||||||
; - ns-resize : Up and down arrows, can be used to indicate scrolling
|
|
||||||
cursor-click =
|
|
||||||
cursor-scroll =
|
|
||||||
|
|
||||||
;; WM Workspace Specific
|
|
||||||
|
|
||||||
; bspwm
|
|
||||||
;;scroll-up = bspwm-desknext
|
|
||||||
;;scroll-down = bspwm-deskprev
|
|
||||||
;;scroll-up = bspc desktop -f prev.local
|
|
||||||
;;scroll-down = bspc desktop -f next.local
|
|
||||||
|
|
||||||
;i3
|
|
||||||
;;scroll-up = i3wm-wsnext
|
|
||||||
;;scroll-down = i3wm-wsprev
|
|
||||||
;;scroll-up = i3-msg workspace next_on_output
|
|
||||||
;;scroll-down = i3-msg workspace prev_on_output
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; Application Settings
|
|
||||||
|
|
||||||
[settings]
|
|
||||||
; The throttle settings lets the eventloop swallow up til X events
|
|
||||||
; if they happen within Y millisecond after first event was received.
|
|
||||||
; This is done to prevent flood of update event.
|
|
||||||
;
|
|
||||||
; For example if 5 modules emit an update event at the same time, we really
|
|
||||||
; just care about the last one. But if we wait too long for events to swallow
|
|
||||||
; the bar would appear sluggish so we continue if timeout
|
|
||||||
; expires or limit is reached.
|
|
||||||
throttle-output = 5
|
|
||||||
throttle-output-for = 10
|
|
||||||
|
|
||||||
; Time in milliseconds that the input handler will wait between processing events
|
|
||||||
;throttle-input-for = 30
|
|
||||||
|
|
||||||
; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events
|
|
||||||
screenchange-reload = false
|
|
||||||
|
|
||||||
; Compositing operators
|
|
||||||
; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t
|
|
||||||
compositing-background = source
|
|
||||||
compositing-foreground = over
|
|
||||||
compositing-overline = over
|
|
||||||
compositing-underline = over
|
|
||||||
compositing-border = over
|
|
||||||
|
|
||||||
; Define fallback values used by all module formats
|
|
||||||
;format-foreground =
|
|
||||||
;format-background =
|
|
||||||
;format-underline =
|
|
||||||
;format-overline =
|
|
||||||
;format-spacing =
|
|
||||||
;format-padding =
|
|
||||||
;format-margin =
|
|
||||||
;format-offset =
|
|
||||||
|
|
||||||
; Enables pseudo-transparency for the bar
|
|
||||||
; If set to true the bar can be transparent without a compositor.
|
|
||||||
pseudo-transparency = false
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
;; ┌────────────────────────────────────────────────────────────────┐
|
|
||||||
;; │░█▀█░█▀█░█░░░█░█░█▀▄░█▀█░█▀▄░░░░░░░░░█▄█░█▀█░█▀▄░█░█░█░░░█▀▀░█▀▀│
|
|
||||||
;; │░█▀▀░█░█░█░░░░█░░█▀▄░█▀█░█▀▄░░░░▀░░░░█░█░█░█░█░█░█░█░█░░░█▀▀░▀▀█│
|
|
||||||
;; │░▀░░░▀▀▀░▀▀▀░░▀░░▀▀░░▀░▀░▀░▀░░░░▀░░░░▀░▀░▀▀▀░▀▀░░▀▀▀░▀▀▀░▀▀▀░▀▀▀│
|
|
||||||
;; │░Created░By░Aditya░Shakya░@adi1090x░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│
|
|
||||||
;; └────────────────────────────────────────────────────────────────┘
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/workspaces]
|
|
||||||
type = internal/xworkspaces
|
|
||||||
|
|
||||||
pin-workspaces = true
|
|
||||||
enable-click = true
|
|
||||||
enable-scroll = true
|
|
||||||
|
|
||||||
;icon-0 = 1;
|
|
||||||
;icon-1 = 2;
|
|
||||||
;icon-2 = 3;
|
|
||||||
;icon-3 = 4;
|
|
||||||
;icon-4 = 5;
|
|
||||||
icon-default = " "
|
|
||||||
|
|
||||||
format = <label-state>
|
|
||||||
format-padding = 0
|
|
||||||
|
|
||||||
label-active = " "
|
|
||||||
label-active-foreground = ${color.pink}
|
|
||||||
label-active-background = ${color.bg}
|
|
||||||
|
|
||||||
label-occupied = " "
|
|
||||||
label-occupied-foreground = ${color.blue}
|
|
||||||
label-occupied-background = ${color.bg}
|
|
||||||
|
|
||||||
label-urgent = " "
|
|
||||||
label-urgent-foreground = ${color.red}
|
|
||||||
label-urgent-background = ${color.bg}
|
|
||||||
|
|
||||||
label-empty = " "
|
|
||||||
label-empty-foreground = ${color.gray}
|
|
||||||
label-empty-background = ${color.bg}
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/name]
|
|
||||||
type = internal/xworkspaces
|
|
||||||
|
|
||||||
format = <label-state>
|
|
||||||
format-foreground = ${color.fg}
|
|
||||||
format-font = 3
|
|
||||||
format-padding = 0
|
|
||||||
|
|
||||||
label-active = "%name%"
|
|
||||||
|
|
||||||
label-occupied =
|
|
||||||
label-urgent =
|
|
||||||
label-empty =
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/title]
|
|
||||||
type = internal/xwindow
|
|
||||||
|
|
||||||
format = <label>
|
|
||||||
format-foreground = ${color.fg}
|
|
||||||
format-font = 2
|
|
||||||
|
|
||||||
label = %title%
|
|
||||||
label-maxlen = 20
|
|
||||||
label-empty = Desktop
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/sep]
|
|
||||||
type = custom/text
|
|
||||||
content = " | "
|
|
||||||
content-font = 2
|
|
||||||
|
|
||||||
;;content-background = #000
|
|
||||||
content-foreground = ${color.fg}
|
|
||||||
;;content-padding = 4
|
|
||||||
|
|
||||||
[module/sep2]
|
|
||||||
type = custom/text
|
|
||||||
content = " "
|
|
||||||
|
|
||||||
;;content-background = #000
|
|
||||||
content-foreground = ${color.fg}
|
|
||||||
;;content-padding = 4
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
@@ -18,6 +18,17 @@ margin-bottom = 0
|
|||||||
; Used for bottom aligned bars
|
; Used for bottom aligned bars
|
||||||
margin-top = 0
|
margin-top = 0
|
||||||
|
|
||||||
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||||
|
|
||||||
|
;; File Inclusion
|
||||||
|
; include an external file, like module file, etc.
|
||||||
|
|
||||||
|
include-file = ~/.config/polybar/shared/modules.ini
|
||||||
|
include-file = ~/.config/polybar/shared/bars.ini
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||||
|
|
||||||
;; Bar Settings
|
;; Bar Settings
|
||||||
@@ -27,7 +38,7 @@ margin-top = 0
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
@@ -120,17 +131,24 @@ module-margin-right = 3
|
|||||||
; font-3 = FontAwesome:size=10
|
; font-3 = FontAwesome:size=10
|
||||||
; See the Fonts wiki page for more details
|
; See the Fonts wiki page for more details
|
||||||
|
|
||||||
font-0 = "Droid Sans:size=9:weight=bold;3"
|
font-0 = "Noto Sans:size=9:weight:bold;3"
|
||||||
font-1 = "Iosevka Nerd Font:size=12;3"
|
font-1 = "Iosevka Nerd Font:size=12;3"
|
||||||
|
|
||||||
|
|
||||||
|
font-2 = "MesloLGS NF:size=14;3"
|
||||||
|
font-3 = "MesloLGS NF:size=8;3"
|
||||||
|
font-4 = "MesloLGS NF:size=7;2"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
; Modules are added to one of the available blocks
|
; Modules are added to one of the available blocks
|
||||||
; modules-left = cpu ram
|
; modules-left = cpu ram
|
||||||
; modules-center = xwindow xbacklight
|
; modules-center = xwindow xbacklight
|
||||||
; modules-right = ipc clock
|
; modules-right = ipc clock
|
||||||
|
|
||||||
modules-left = applications
|
modules-left = menu
|
||||||
modules-center = date
|
modules-center = date
|
||||||
modules-right = style alsa network battery sysmenu
|
modules-right = i3 style alsa network battery settings powermenu
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||||
|
|
||||||
@@ -294,7 +312,7 @@ pseudo-transparency = false
|
|||||||
[color]
|
[color]
|
||||||
|
|
||||||
;; Active Colors
|
;; Active Colors
|
||||||
bg = #80000000
|
bg = #000000
|
||||||
fg = #EAEAEA
|
fg = #EAEAEA
|
||||||
fg-alt = #9C9C9C
|
fg-alt = #9C9C9C
|
||||||
|
|
||||||
@@ -335,6 +353,45 @@ blue-gray = #546e7a
|
|||||||
;;
|
;;
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||||
|
|
||||||
|
|
||||||
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||||
|
|
||||||
|
[module/menu]
|
||||||
|
type = custom/text
|
||||||
|
content = Applications
|
||||||
|
;;content-background = ${color.bg}
|
||||||
|
content-foreground = ${color.fg}
|
||||||
|
;;content-padding = 4
|
||||||
|
click-left = ~/.config/polybar/qpanels/scripts/launcher.sh --gnome
|
||||||
|
click-right = ~/.config/polybar/qpanels/scripts/launcher.sh --gnome
|
||||||
|
|
||||||
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||||
|
|
||||||
|
[module/powermenu]
|
||||||
|
type = custom/text
|
||||||
|
content = 襤
|
||||||
|
;;content-background = ${color.bg}
|
||||||
|
content-foreground = ${color.fg}
|
||||||
|
;;content-padding = 4
|
||||||
|
click-left = ~/.config/polybar/qpanels/scripts/powermenu.sh --gnome
|
||||||
|
click-right = ~/.config/polybar/qpanels/scripts/powermenu.sh --gnome
|
||||||
|
|
||||||
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||||
|
|
||||||
|
[module/style]
|
||||||
|
type = custom/text
|
||||||
|
#content = פֿ
|
||||||
|
content =
|
||||||
|
click-left = ~/.config/polybar/qpanels/scripts/style-switch.sh --gnome
|
||||||
|
click-right = ~/.config/polybar/qpanels/scripts/style-switch.sh --gnome
|
||||||
|
|
||||||
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[module/alsa]
|
[module/alsa]
|
||||||
type = internal/alsa
|
type = internal/alsa
|
||||||
|
|
||||||
@@ -381,184 +438,155 @@ ramp-volume-1 =
|
|||||||
ramp-volume-2 =
|
ramp-volume-2 =
|
||||||
ramp-volume-3 =
|
ramp-volume-3 =
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
; ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||||
|
|
||||||
[module/battery]
|
; [module/battery]
|
||||||
type = internal/battery
|
; type = internal/battery
|
||||||
|
|
||||||
full-at = 99
|
; full-at = 99
|
||||||
|
|
||||||
; $ ls -1 /sys/class/power_supply/
|
; ; $ ls -1 /sys/class/power_supply/
|
||||||
battery = BAT1
|
; battery = BAT1
|
||||||
adapter = ACAD
|
; adapter = ACAD
|
||||||
|
|
||||||
poll-interval = 2
|
; poll-interval = 2
|
||||||
time-format = %H:%M
|
; time-format = %H:%M
|
||||||
|
|
||||||
; Available tags:
|
; ; Available tags:
|
||||||
; <label-charging> (default)
|
; ; <label-charging> (default)
|
||||||
; <bar-capacity>
|
; ; <bar-capacity>
|
||||||
; <ramp-capacity>
|
; ; <ramp-capacity>
|
||||||
; <animation-charging>
|
; ; <animation-charging>
|
||||||
format-charging = <animation-charging>
|
; format-charging = <animation-charging>
|
||||||
|
|
||||||
; Available tags:
|
; ; Available tags:
|
||||||
; <label-discharging> (default)
|
; ; <label-discharging> (default)
|
||||||
; <bar-capacity>
|
; ; <bar-capacity>
|
||||||
; <ramp-capacity>
|
; ; <ramp-capacity>
|
||||||
; <animation-discharging>
|
; ; <animation-discharging>
|
||||||
format-discharging = <ramp-capacity>
|
; format-discharging = <ramp-capacity>
|
||||||
|
|
||||||
; Available tags:
|
; ; Available tags:
|
||||||
; <label-full> (default)
|
; ; <label-full> (default)
|
||||||
; <bar-capacity>
|
; ; <bar-capacity>
|
||||||
; <ramp-capacity>
|
; ; <ramp-capacity>
|
||||||
;format-full = <ramp-capacity> <label-full>
|
; ;format-full = <ramp-capacity> <label-full>
|
||||||
|
|
||||||
; Available tokens:
|
; ; Available tokens:
|
||||||
; %percentage% (default)
|
; ; %percentage% (default)
|
||||||
; %time%
|
; ; %time%
|
||||||
; %consumption% (shows current charge rate in watts)
|
; ; %consumption% (shows current charge rate in watts)
|
||||||
label-charging = %percentage%%
|
; label-charging = %percentage%%
|
||||||
|
|
||||||
; Available tokens:
|
; ; Available tokens:
|
||||||
; %percentage% (default)
|
; ; %percentage% (default)
|
||||||
; %time%
|
; ; %time%
|
||||||
; %consumption% (shows current discharge rate in watts)
|
; ; %consumption% (shows current discharge rate in watts)
|
||||||
label-discharging = %percentage%%
|
; label-discharging = %percentage%%
|
||||||
|
|
||||||
; Available tokens:
|
; ; Available tokens:
|
||||||
; %percentage% (default)
|
; ; %percentage% (default)
|
||||||
;label-full = Fully Charged
|
; ;label-full = Fully Charged
|
||||||
label-full =
|
; label-full =
|
||||||
label-full-foreground = ${color.green}
|
; label-full-foreground = ${color.green}
|
||||||
|
|
||||||
ramp-capacity-0 =
|
; ramp-capacity-0 =
|
||||||
ramp-capacity-1 =
|
; ramp-capacity-1 =
|
||||||
ramp-capacity-2 =
|
; ramp-capacity-2 =
|
||||||
ramp-capacity-3 =
|
; ramp-capacity-3 =
|
||||||
ramp-capacity-4 =
|
; ramp-capacity-4 =
|
||||||
|
; ramp-capacity-5 =
|
||||||
|
; ramp-capacity-6 =
|
||||||
|
; ramp-capacity-7 =
|
||||||
|
; ramp-capacity-8 =
|
||||||
|
; ramp-capacity-9 =
|
||||||
|
|
||||||
animation-charging-0 =
|
; animation-charging-0 =
|
||||||
animation-charging-1 =
|
; animation-charging-1 =
|
||||||
animation-charging-2 =
|
; animation-charging-2 =
|
||||||
animation-charging-3 =
|
; animation-charging-3 =
|
||||||
animation-charging-4 =
|
; animation-charging-4 =
|
||||||
|
; animation-charging-5 =
|
||||||
|
; animation-charging-6 =
|
||||||
|
|
||||||
; Framerate in milliseconds
|
; ; Framerate in milliseconds
|
||||||
animation-charging-framerate = 750
|
; animation-charging-framerate = 750
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
; ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||||
|
|
||||||
[module/date]
|
; [module/date]
|
||||||
type = internal/date
|
; type = internal/date
|
||||||
|
|
||||||
interval = 1.0
|
; interval = 1.0
|
||||||
|
|
||||||
time = "%a %b %d %I:%M %p"
|
; time = %a %I:%M %p
|
||||||
;time-alt = %B %d, %Y
|
; time-alt = %B %d, %Y
|
||||||
|
|
||||||
format = <label>
|
; format = <label>
|
||||||
label = %time%
|
; label = %time%
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
; ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||||
|
|
||||||
[module/network]
|
; [module/network]
|
||||||
type = internal/network
|
; type = internal/network
|
||||||
|
|
||||||
interface = wlan0
|
; interface = wlan0
|
||||||
interval = 1.0
|
; interval = 1.0
|
||||||
|
|
||||||
;ping-interval = 3
|
; ;ping-interval = 3
|
||||||
;;udspeed-minwidth = 5
|
; ;;udspeed-minwidth = 5
|
||||||
accumulate-stats = true
|
; accumulate-stats = true
|
||||||
unknown-as-up = true
|
; unknown-as-up = true
|
||||||
|
|
||||||
; Available tags:
|
; ; Available tags:
|
||||||
; <label-connected> (default)
|
; ; <label-connected> (default)
|
||||||
; <ramp-signal>
|
; ; <ramp-signal>
|
||||||
format-connected = <label-connected>
|
; format-connected = <label-connected>
|
||||||
|
|
||||||
; Available tags:
|
; ; Available tags:
|
||||||
; <label-disconnected> (default)
|
; ; <label-disconnected> (default)
|
||||||
format-disconnected = <label-disconnected>
|
; format-disconnected = <label-disconnected>
|
||||||
|
|
||||||
; Available tags:
|
; ; Available tags:
|
||||||
; <label-connected> (default)
|
; ; <label-connected> (default)
|
||||||
; <label-packetloss>
|
; ; <label-packetloss>
|
||||||
; <animation-packetloss>
|
; ; <animation-packetloss>
|
||||||
;;format-packetloss = <animation-packetloss> <label-connected>
|
; ;;format-packetloss = <animation-packetloss> <label-connected>
|
||||||
|
|
||||||
; Available tokens:
|
; ; Available tokens:
|
||||||
; %ifname% [wireless+wired]
|
; ; %ifname% [wireless+wired]
|
||||||
; %local_ip% [wireless+wired]
|
; ; %local_ip% [wireless+wired]
|
||||||
; %local_ip6% [wireless+wired]
|
; ; %local_ip6% [wireless+wired]
|
||||||
; %essid% [wireless]
|
; ; %essid% [wireless]
|
||||||
; %signal% [wireless]
|
; ; %signal% [wireless]
|
||||||
; %upspeed% [wireless+wired]
|
; ; %upspeed% [wireless+wired]
|
||||||
; %downspeed% [wireless+wired]
|
; ; %downspeed% [wireless+wired]
|
||||||
; %linkspeed% [wired]
|
; ; %linkspeed% [wired]
|
||||||
; Default: %ifname% %local_ip%
|
; ; Default: %ifname% %local_ip%
|
||||||
label-connected = "%{A1:networkmanager_dmenu &:}直%{A}"
|
; label-connected = "%{A1:networkmanager_dmenu &:}直%{A}"
|
||||||
|
|
||||||
; Available tokens:
|
; ; Available tokens:
|
||||||
; %ifname% [wireless+wired]
|
; ; %ifname% [wireless+wired]
|
||||||
; Default: (none)
|
; ; Default: (none)
|
||||||
label-disconnected = "%{A1:networkmanager_dmenu &:}睊%{A}"
|
; label-disconnected = "%{A1:networkmanager_dmenu &:}睊%{A}"
|
||||||
label-disconnected-foreground = ${color.fg-alt}
|
; label-disconnected-foreground = ${color.fg-alt}
|
||||||
|
|
||||||
; Available tokens:
|
; ; Available tokens:
|
||||||
; %ifname% [wireless+wired]
|
; ; %ifname% [wireless+wired]
|
||||||
; %local_ip% [wireless+wired]
|
; ; %local_ip% [wireless+wired]
|
||||||
; %local_ip6% [wireless+wired]
|
; ; %local_ip6% [wireless+wired]
|
||||||
; %essid% [wireless]
|
; ; %essid% [wireless]
|
||||||
; %signal% [wireless]
|
; ; %signal% [wireless]
|
||||||
; %upspeed% [wireless+wired]
|
; ; %upspeed% [wireless+wired]
|
||||||
; %downspeed% [wireless+wired]
|
; ; %downspeed% [wireless+wired]
|
||||||
; %linkspeed% [wired]
|
; ; %linkspeed% [wired]
|
||||||
; Default: (none)
|
; ; Default: (none)
|
||||||
;label-packetloss = %essid%
|
; ;label-packetloss = %essid%
|
||||||
;label-packetloss-foreground = #eefafafa
|
; ;label-packetloss-foreground = #eefafafa
|
||||||
|
|
||||||
ramp-signal-0 = 直
|
; ramp-signal-0 = 直
|
||||||
ramp-signal-1 = 直
|
; ramp-signal-1 = 直
|
||||||
ramp-signal-2 = 直
|
; ramp-signal-2 = 直
|
||||||
ramp-signal-3 = 直
|
; ramp-signal-3 = 直
|
||||||
ramp-signal-4 = 直
|
; ramp-signal-4 = 直
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/applications]
|
|
||||||
type = custom/text
|
|
||||||
|
|
||||||
content = Applications
|
|
||||||
;;content-background = ${color.bg}
|
|
||||||
content-foreground = ${color.fg}
|
|
||||||
;;content-padding = 4
|
|
||||||
|
|
||||||
click-left = ~/.config/polybar/qpanels/scripts/launcher.sh --edark
|
|
||||||
click-right = ~/.config/polybar/qpanels/scripts/launcher.sh --edark
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/sysmenu]
|
|
||||||
type = custom/text
|
|
||||||
|
|
||||||
content = 襤
|
|
||||||
;;content-background = ${color.bg}
|
|
||||||
content-foreground = ${color.fg}
|
|
||||||
;;content-padding = 4
|
|
||||||
|
|
||||||
click-left = ~/.config/polybar/qpanels/scripts/powermenu.sh --edark
|
|
||||||
click-right = ~/.config/polybar/qpanels/scripts/powermenu.sh --edark
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/style]
|
|
||||||
type = custom/text
|
|
||||||
content =
|
|
||||||
|
|
||||||
click-left = ~/.config/polybar/qpanels/scripts/style-switch.sh --edark
|
|
||||||
click-right = ~/.config/polybar/qpanels/scripts/style-switch.sh --edark
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
@@ -38,7 +38,7 @@ include-file = ~/.config/polybar/shared/bars.ini
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
@@ -62,7 +62,7 @@ fixed-center = true
|
|||||||
; the percentage can optionally be extended with a pixel offset like so:
|
; the percentage can optionally be extended with a pixel offset like so:
|
||||||
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
||||||
width = 100%
|
width = 100%
|
||||||
height = 30
|
height = 24
|
||||||
|
|
||||||
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
||||||
; the percentage can optionally be extended with a pixel offset like so:
|
; the percentage can optionally be extended with a pixel offset like so:
|
||||||
@@ -140,12 +140,12 @@ font-0 = "MesloLGS NF:size=9;3"
|
|||||||
; font-0 = "JetBrains Mono Font:size=9;3"
|
; font-0 = "JetBrains Mono Font:size=9;3"
|
||||||
|
|
||||||
; Right icons (switch theme, wifi, battery)
|
; Right icons (switch theme, wifi, battery)
|
||||||
font-1 = "icomoon\\-feather:size=10;4"
|
font-1 = "icomoon\\-feather:size=9;4"
|
||||||
; font-1 = "MesloLGS NF:size=9;3"
|
; font-1 = "MesloLGS NF:size=9;3"
|
||||||
|
|
||||||
; Left icons like menu, terminal, firefox, folder, settings... (12)
|
; Left icons like menu, terminal, firefox, folder, settings... (12)
|
||||||
; font-2 = "Iosevka Nerd Font:size=14;3"
|
; font-2 = "Iosevka Nerd Font:size=14;3"
|
||||||
font-2 = "MesloLGS NF:size=14;3"
|
font-2 = "MesloLGS NF:size=12;3"
|
||||||
; font-2 = "Hack Nerd Font:size=14;3"
|
; font-2 = "Hack Nerd Font:size=14;3"
|
||||||
; font-2 = "JetBrains Mono Font:size=14;3"
|
; font-2 = "JetBrains Mono Font:size=14;3"
|
||||||
; font-2 = "NotoSansMono Nerd Font:size=12;3"
|
; font-2 = "NotoSansMono Nerd Font:size=12;3"
|
||||||
@@ -173,10 +173,10 @@ font-4 = "MesloLGS NF:size=7;2"
|
|||||||
; modules-center =
|
; modules-center =
|
||||||
; modules-right = style sep alsa battery network date sep sysmenu
|
; modules-right = style sep alsa battery network date sep sysmenu
|
||||||
|
|
||||||
modules-left = menu sep2 settings taskmanager bashtop htop files web web2 term editor notepad calc spotify
|
modules-left = menu settings htop taskmanager bashtop files web web2 term editor notepad calc spotify
|
||||||
; modules-center = memory cpu
|
; modules-center = memory cpu
|
||||||
; alsa volume brightness title colorpicker
|
; alsa volume brightness title colorpicker
|
||||||
modules-right = i3 cpu memory style workspaces volume network battery date powermenu
|
modules-right = i3 workspaces cpu memory volume_bar network battery date style powermenu
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||||
|
|
||||||
@@ -386,10 +386,11 @@ blue-gray = #546e7a
|
|||||||
|
|
||||||
[module/menu]
|
[module/menu]
|
||||||
type = custom/text
|
type = custom/text
|
||||||
content =
|
#content =
|
||||||
|
content = "%{T3}%{T-}"
|
||||||
content-background = ${color.light-blue}
|
content-background = ${color.light-blue}
|
||||||
content-foreground = ${color.fg}
|
content-foreground = ${color.fg}
|
||||||
content-padding = 3
|
content-padding = 2
|
||||||
click-left = ~/.config/polybar/qpanels/scripts/launcher.sh --budgie
|
click-left = ~/.config/polybar/qpanels/scripts/launcher.sh --budgie
|
||||||
click-right = ~/.config/polybar/qpanels/scripts/launcher.sh --budgie
|
click-right = ~/.config/polybar/qpanels/scripts/launcher.sh --budgie
|
||||||
|
|
||||||
@@ -398,9 +399,9 @@ click-right = ~/.config/polybar/qpanels/scripts/launcher.sh --budgie
|
|||||||
[module/powermenu]
|
[module/powermenu]
|
||||||
type = custom/text
|
type = custom/text
|
||||||
content = 襤
|
content = 襤
|
||||||
content-background = ${color.bg-alt}
|
#content-background = ${color.bg-alt}
|
||||||
content-foreground = ${color.fg}
|
content-foreground = ${color.fg}
|
||||||
content-padding = 3
|
content-padding = 2
|
||||||
click-left = ~/.config/polybar/qpanels/scripts/powermenu.sh --budgie
|
click-left = ~/.config/polybar/qpanels/scripts/powermenu.sh --budgie
|
||||||
click-right = ~/.config/polybar/qpanels/scripts/powermenu.sh --budgie
|
click-right = ~/.config/polybar/qpanels/scripts/powermenu.sh --budgie
|
||||||
|
|
||||||
@@ -408,10 +409,10 @@ click-right = ~/.config/polybar/qpanels/scripts/powermenu.sh --budgie
|
|||||||
|
|
||||||
[module/style]
|
[module/style]
|
||||||
type = custom/text
|
type = custom/text
|
||||||
content = פֿ
|
content = " פֿ"
|
||||||
content-background = ${color.bg-alt}
|
#content-background = ${color.bg-alt}
|
||||||
content-foreground = ${color.fg}
|
content-foreground = ${color.fg}
|
||||||
content-padding = 2
|
content-padding = 0
|
||||||
click-left = ~/.config/polybar/qpanels/scripts/style-switch.sh --budgie
|
click-left = ~/.config/polybar/qpanels/scripts/style-switch.sh --budgie
|
||||||
click-right = ~/.config/polybar/qpanels/scripts/style-switch.sh --budgie
|
click-right = ~/.config/polybar/qpanels/scripts/style-switch.sh --budgie
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ include-file = ~/.config/polybar/shared/bars.ini
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
@@ -62,7 +62,7 @@ fixed-center = true
|
|||||||
; the percentage can optionally be extended with a pixel offset like so:
|
; the percentage can optionally be extended with a pixel offset like so:
|
||||||
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
||||||
width = 100%
|
width = 100%
|
||||||
height = 30
|
height = 24
|
||||||
|
|
||||||
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
||||||
; the percentage can optionally be extended with a pixel offset like so:
|
; the percentage can optionally be extended with a pixel offset like so:
|
||||||
@@ -140,12 +140,12 @@ font-0 = "MesloLGS NF:size=9;3"
|
|||||||
; font-0 = "JetBrains Mono Font:size=9;3"
|
; font-0 = "JetBrains Mono Font:size=9;3"
|
||||||
|
|
||||||
; Right icons (switch theme, wifi, battery)
|
; Right icons (switch theme, wifi, battery)
|
||||||
font-1 = "icomoon\\-feather:size=10;4"
|
font-1 = "icomoon\\-feather:size=9;4"
|
||||||
; font-1 = "MesloLGS NF:size=9;3"
|
; font-1 = "MesloLGS NF:size=9;3"
|
||||||
|
|
||||||
; Left icons like menu, terminal, firefox, folder, settings... (12)
|
; Left icons like menu, terminal, firefox, folder, settings... (12)
|
||||||
; font-2 = "Iosevka Nerd Font:size=14;3"
|
; font-2 = "Iosevka Nerd Font:size=14;3"
|
||||||
font-2 = "MesloLGS NF:size=14;3"
|
font-2 = "MesloLGS NF:size=12;3"
|
||||||
; font-2 = "Hack Nerd Font:size=14;3"
|
; font-2 = "Hack Nerd Font:size=14;3"
|
||||||
; font-2 = "JetBrains Mono Font:size=14;3"
|
; font-2 = "JetBrains Mono Font:size=14;3"
|
||||||
; font-2 = "NotoSansMono Nerd Font:size=12;3"
|
; font-2 = "NotoSansMono Nerd Font:size=12;3"
|
||||||
@@ -173,10 +173,10 @@ font-4 = "MesloLGS NF:size=7;2"
|
|||||||
; modules-center =
|
; modules-center =
|
||||||
; modules-right = style sep alsa battery network date sep sysmenu
|
; modules-right = style sep alsa battery network date sep sysmenu
|
||||||
|
|
||||||
modules-left = menu sep2 settings taskmanager bashtop htop files web web2 term editor notepad calc spotify
|
modules-left = menu settings htop taskmanager bashtop files web web2 term editor notepad calc spotify
|
||||||
; modules-center = memory cpu
|
; modules-center = memory cpu
|
||||||
; alsa volume brightness title colorpicker
|
; alsa volume brightness title colorpicker
|
||||||
modules-right = i3 cpu memory style workspaces volume network battery date powermenu
|
modules-right = i3 workspaces cpu memory volume_bar network battery date style powermenu
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||||
|
|
||||||
@@ -386,10 +386,11 @@ blue-gray = #546e7a
|
|||||||
|
|
||||||
[module/menu]
|
[module/menu]
|
||||||
type = custom/text
|
type = custom/text
|
||||||
content =
|
#content =
|
||||||
|
content = "%{T3}%{T-}"
|
||||||
content-background = ${color.light-blue}
|
content-background = ${color.light-blue}
|
||||||
content-foreground = ${color.fg}
|
content-foreground = ${color.fg}
|
||||||
content-padding = 3
|
content-padding = 2
|
||||||
click-left = ~/.config/polybar/qpanels/scripts/launcher.sh --budgie
|
click-left = ~/.config/polybar/qpanels/scripts/launcher.sh --budgie
|
||||||
click-right = ~/.config/polybar/qpanels/scripts/launcher.sh --budgie
|
click-right = ~/.config/polybar/qpanels/scripts/launcher.sh --budgie
|
||||||
|
|
||||||
@@ -398,9 +399,9 @@ click-right = ~/.config/polybar/qpanels/scripts/launcher.sh --budgie
|
|||||||
[module/powermenu]
|
[module/powermenu]
|
||||||
type = custom/text
|
type = custom/text
|
||||||
content = 襤
|
content = 襤
|
||||||
content-background = ${color.bg-alt}
|
#content-background = ${color.bg-alt}
|
||||||
content-foreground = ${color.fg}
|
content-foreground = ${color.fg}
|
||||||
content-padding = 3
|
content-padding = 2
|
||||||
click-left = ~/.config/polybar/qpanels/scripts/powermenu.sh --budgie
|
click-left = ~/.config/polybar/qpanels/scripts/powermenu.sh --budgie
|
||||||
click-right = ~/.config/polybar/qpanels/scripts/powermenu.sh --budgie
|
click-right = ~/.config/polybar/qpanels/scripts/powermenu.sh --budgie
|
||||||
|
|
||||||
@@ -408,10 +409,10 @@ click-right = ~/.config/polybar/qpanels/scripts/powermenu.sh --budgie
|
|||||||
|
|
||||||
[module/style]
|
[module/style]
|
||||||
type = custom/text
|
type = custom/text
|
||||||
content = פֿ
|
content = " פֿ"
|
||||||
content-background = ${color.bg-alt}
|
#content-background = ${color.bg-alt}
|
||||||
content-foreground = ${color.fg}
|
content-foreground = ${color.fg}
|
||||||
content-padding = 2
|
content-padding = 0
|
||||||
click-left = ~/.config/polybar/qpanels/scripts/style-switch.sh --budgie
|
click-left = ~/.config/polybar/qpanels/scripts/style-switch.sh --budgie
|
||||||
click-right = ~/.config/polybar/qpanels/scripts/style-switch.sh --budgie
|
click-right = ~/.config/polybar/qpanels/scripts/style-switch.sh --budgie
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ include-file = ~/.config/polybar/shared/bars.ini
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
@@ -62,7 +62,7 @@ fixed-center = true
|
|||||||
; the percentage can optionally be extended with a pixel offset like so:
|
; the percentage can optionally be extended with a pixel offset like so:
|
||||||
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
||||||
width = 100%
|
width = 100%
|
||||||
height = 25
|
height = 22
|
||||||
|
|
||||||
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
||||||
; the percentage can optionally be extended with a pixel offset like so:
|
; the percentage can optionally be extended with a pixel offset like so:
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ include-file = ~/.config/polybar/shared/bars.ini
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
@@ -62,7 +62,7 @@ fixed-center = true
|
|||||||
; the percentage can optionally be extended with a pixel offset like so:
|
; the percentage can optionally be extended with a pixel offset like so:
|
||||||
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
||||||
width = 100%
|
width = 100%
|
||||||
height = 25
|
height = 22
|
||||||
|
|
||||||
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
||||||
; the percentage can optionally be extended with a pixel offset like so:
|
; the percentage can optionally be extended with a pixel offset like so:
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ include-file = ~/.config/polybar/shared/bars.ini
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ include-file = ~/.config/polybar/shared/bars.ini
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
|
|||||||
@@ -20,6 +20,12 @@ margin-top = 0
|
|||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||||
|
|
||||||
|
;; File Inclusion
|
||||||
|
; include an external file, like module file, etc.
|
||||||
|
|
||||||
|
include-file = ~/.config/polybar/shared/modules.ini
|
||||||
|
include-file = ~/.config/polybar/shared/bars.ini
|
||||||
|
|
||||||
;; Bar Settings
|
;; Bar Settings
|
||||||
|
|
||||||
[bar/main]
|
[bar/main]
|
||||||
@@ -27,7 +33,7 @@ margin-top = 0
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
@@ -383,151 +389,6 @@ ramp-volume-3 =
|
|||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||||
|
|
||||||
[module/battery]
|
|
||||||
type = internal/battery
|
|
||||||
|
|
||||||
full-at = 99
|
|
||||||
|
|
||||||
; $ ls -1 /sys/class/power_supply/
|
|
||||||
battery = BAT1
|
|
||||||
adapter = ACAD
|
|
||||||
|
|
||||||
poll-interval = 2
|
|
||||||
time-format = %H:%M
|
|
||||||
|
|
||||||
; Available tags:
|
|
||||||
; <label-charging> (default)
|
|
||||||
; <bar-capacity>
|
|
||||||
; <ramp-capacity>
|
|
||||||
; <animation-charging>
|
|
||||||
format-charging = <animation-charging>
|
|
||||||
|
|
||||||
; Available tags:
|
|
||||||
; <label-discharging> (default)
|
|
||||||
; <bar-capacity>
|
|
||||||
; <ramp-capacity>
|
|
||||||
; <animation-discharging>
|
|
||||||
format-discharging = <ramp-capacity>
|
|
||||||
|
|
||||||
; Available tags:
|
|
||||||
; <label-full> (default)
|
|
||||||
; <bar-capacity>
|
|
||||||
; <ramp-capacity>
|
|
||||||
;format-full = <ramp-capacity> <label-full>
|
|
||||||
|
|
||||||
; Available tokens:
|
|
||||||
; %percentage% (default)
|
|
||||||
; %time%
|
|
||||||
; %consumption% (shows current charge rate in watts)
|
|
||||||
label-charging = %percentage%%
|
|
||||||
|
|
||||||
; Available tokens:
|
|
||||||
; %percentage% (default)
|
|
||||||
; %time%
|
|
||||||
; %consumption% (shows current discharge rate in watts)
|
|
||||||
label-discharging = %percentage%%
|
|
||||||
|
|
||||||
; Available tokens:
|
|
||||||
; %percentage% (default)
|
|
||||||
;label-full = Fully Charged
|
|
||||||
label-full =
|
|
||||||
label-full-foreground = ${color.green}
|
|
||||||
|
|
||||||
ramp-capacity-0 =
|
|
||||||
ramp-capacity-1 =
|
|
||||||
ramp-capacity-2 =
|
|
||||||
ramp-capacity-3 =
|
|
||||||
ramp-capacity-4 =
|
|
||||||
|
|
||||||
animation-charging-0 =
|
|
||||||
animation-charging-1 =
|
|
||||||
animation-charging-2 =
|
|
||||||
animation-charging-3 =
|
|
||||||
animation-charging-4 =
|
|
||||||
|
|
||||||
; Framerate in milliseconds
|
|
||||||
animation-charging-framerate = 750
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/date]
|
|
||||||
type = internal/date
|
|
||||||
|
|
||||||
interval = 1.0
|
|
||||||
|
|
||||||
time = "%a %b %d %I:%M %p"
|
|
||||||
;time-alt = %B %d, %Y
|
|
||||||
|
|
||||||
format = <label>
|
|
||||||
label = %time%
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/network]
|
|
||||||
type = internal/network
|
|
||||||
|
|
||||||
interface = wlan0
|
|
||||||
interval = 1.0
|
|
||||||
|
|
||||||
;ping-interval = 3
|
|
||||||
;;udspeed-minwidth = 5
|
|
||||||
accumulate-stats = true
|
|
||||||
unknown-as-up = true
|
|
||||||
|
|
||||||
; Available tags:
|
|
||||||
; <label-connected> (default)
|
|
||||||
; <ramp-signal>
|
|
||||||
format-connected = <label-connected>
|
|
||||||
|
|
||||||
; Available tags:
|
|
||||||
; <label-disconnected> (default)
|
|
||||||
format-disconnected = <label-disconnected>
|
|
||||||
|
|
||||||
; Available tags:
|
|
||||||
; <label-connected> (default)
|
|
||||||
; <label-packetloss>
|
|
||||||
; <animation-packetloss>
|
|
||||||
;;format-packetloss = <animation-packetloss> <label-connected>
|
|
||||||
|
|
||||||
; Available tokens:
|
|
||||||
; %ifname% [wireless+wired]
|
|
||||||
; %local_ip% [wireless+wired]
|
|
||||||
; %local_ip6% [wireless+wired]
|
|
||||||
; %essid% [wireless]
|
|
||||||
; %signal% [wireless]
|
|
||||||
; %upspeed% [wireless+wired]
|
|
||||||
; %downspeed% [wireless+wired]
|
|
||||||
; %linkspeed% [wired]
|
|
||||||
; Default: %ifname% %local_ip%
|
|
||||||
label-connected = "%{A1:networkmanager_dmenu &:}直%{A}"
|
|
||||||
|
|
||||||
; Available tokens:
|
|
||||||
; %ifname% [wireless+wired]
|
|
||||||
; Default: (none)
|
|
||||||
label-disconnected = "%{A1:networkmanager_dmenu &:}睊%{A}"
|
|
||||||
label-disconnected-foreground = ${color.fg-alt}
|
|
||||||
|
|
||||||
; Available tokens:
|
|
||||||
; %ifname% [wireless+wired]
|
|
||||||
; %local_ip% [wireless+wired]
|
|
||||||
; %local_ip6% [wireless+wired]
|
|
||||||
; %essid% [wireless]
|
|
||||||
; %signal% [wireless]
|
|
||||||
; %upspeed% [wireless+wired]
|
|
||||||
; %downspeed% [wireless+wired]
|
|
||||||
; %linkspeed% [wired]
|
|
||||||
; Default: (none)
|
|
||||||
;label-packetloss = %essid%
|
|
||||||
;label-packetloss-foreground = #eefafafa
|
|
||||||
|
|
||||||
ramp-signal-0 = 直
|
|
||||||
ramp-signal-1 = 直
|
|
||||||
ramp-signal-2 = 直
|
|
||||||
ramp-signal-3 = 直
|
|
||||||
ramp-signal-4 = 直
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/applications]
|
[module/applications]
|
||||||
type = custom/text
|
type = custom/text
|
||||||
|
|
||||||
|
|||||||
@@ -20,6 +20,12 @@ margin-top = 0
|
|||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||||
|
|
||||||
|
;; File Inclusion
|
||||||
|
; include an external file, like module file, etc.
|
||||||
|
|
||||||
|
include-file = ~/.config/polybar/shared/modules.ini
|
||||||
|
include-file = ~/.config/polybar/shared/bars.ini
|
||||||
|
|
||||||
;; Bar Settings
|
;; Bar Settings
|
||||||
|
|
||||||
[bar/main]
|
[bar/main]
|
||||||
@@ -27,7 +33,7 @@ margin-top = 0
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
@@ -383,151 +389,6 @@ ramp-volume-3 =
|
|||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||||
|
|
||||||
[module/battery]
|
|
||||||
type = internal/battery
|
|
||||||
|
|
||||||
full-at = 99
|
|
||||||
|
|
||||||
; $ ls -1 /sys/class/power_supply/
|
|
||||||
battery = BAT1
|
|
||||||
adapter = ACAD
|
|
||||||
|
|
||||||
poll-interval = 2
|
|
||||||
time-format = %H:%M
|
|
||||||
|
|
||||||
; Available tags:
|
|
||||||
; <label-charging> (default)
|
|
||||||
; <bar-capacity>
|
|
||||||
; <ramp-capacity>
|
|
||||||
; <animation-charging>
|
|
||||||
format-charging = <animation-charging>
|
|
||||||
|
|
||||||
; Available tags:
|
|
||||||
; <label-discharging> (default)
|
|
||||||
; <bar-capacity>
|
|
||||||
; <ramp-capacity>
|
|
||||||
; <animation-discharging>
|
|
||||||
format-discharging = <ramp-capacity>
|
|
||||||
|
|
||||||
; Available tags:
|
|
||||||
; <label-full> (default)
|
|
||||||
; <bar-capacity>
|
|
||||||
; <ramp-capacity>
|
|
||||||
;format-full = <ramp-capacity> <label-full>
|
|
||||||
|
|
||||||
; Available tokens:
|
|
||||||
; %percentage% (default)
|
|
||||||
; %time%
|
|
||||||
; %consumption% (shows current charge rate in watts)
|
|
||||||
label-charging = %percentage%%
|
|
||||||
|
|
||||||
; Available tokens:
|
|
||||||
; %percentage% (default)
|
|
||||||
; %time%
|
|
||||||
; %consumption% (shows current discharge rate in watts)
|
|
||||||
label-discharging = %percentage%%
|
|
||||||
|
|
||||||
; Available tokens:
|
|
||||||
; %percentage% (default)
|
|
||||||
;label-full = Fully Charged
|
|
||||||
label-full =
|
|
||||||
label-full-foreground = ${color.green}
|
|
||||||
|
|
||||||
ramp-capacity-0 =
|
|
||||||
ramp-capacity-1 =
|
|
||||||
ramp-capacity-2 =
|
|
||||||
ramp-capacity-3 =
|
|
||||||
ramp-capacity-4 =
|
|
||||||
|
|
||||||
animation-charging-0 =
|
|
||||||
animation-charging-1 =
|
|
||||||
animation-charging-2 =
|
|
||||||
animation-charging-3 =
|
|
||||||
animation-charging-4 =
|
|
||||||
|
|
||||||
; Framerate in milliseconds
|
|
||||||
animation-charging-framerate = 750
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/date]
|
|
||||||
type = internal/date
|
|
||||||
|
|
||||||
interval = 1.0
|
|
||||||
|
|
||||||
time = "%a %b %d %I:%M %p"
|
|
||||||
;time-alt = %B %d, %Y
|
|
||||||
|
|
||||||
format = <label>
|
|
||||||
label = %time%
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/network]
|
|
||||||
type = internal/network
|
|
||||||
|
|
||||||
interface = wlan0
|
|
||||||
interval = 1.0
|
|
||||||
|
|
||||||
;ping-interval = 3
|
|
||||||
;;udspeed-minwidth = 5
|
|
||||||
accumulate-stats = true
|
|
||||||
unknown-as-up = true
|
|
||||||
|
|
||||||
; Available tags:
|
|
||||||
; <label-connected> (default)
|
|
||||||
; <ramp-signal>
|
|
||||||
format-connected = <label-connected>
|
|
||||||
|
|
||||||
; Available tags:
|
|
||||||
; <label-disconnected> (default)
|
|
||||||
format-disconnected = <label-disconnected>
|
|
||||||
|
|
||||||
; Available tags:
|
|
||||||
; <label-connected> (default)
|
|
||||||
; <label-packetloss>
|
|
||||||
; <animation-packetloss>
|
|
||||||
;;format-packetloss = <animation-packetloss> <label-connected>
|
|
||||||
|
|
||||||
; Available tokens:
|
|
||||||
; %ifname% [wireless+wired]
|
|
||||||
; %local_ip% [wireless+wired]
|
|
||||||
; %local_ip6% [wireless+wired]
|
|
||||||
; %essid% [wireless]
|
|
||||||
; %signal% [wireless]
|
|
||||||
; %upspeed% [wireless+wired]
|
|
||||||
; %downspeed% [wireless+wired]
|
|
||||||
; %linkspeed% [wired]
|
|
||||||
; Default: %ifname% %local_ip%
|
|
||||||
label-connected = "%{A1:networkmanager_dmenu &:}直%{A}"
|
|
||||||
|
|
||||||
; Available tokens:
|
|
||||||
; %ifname% [wireless+wired]
|
|
||||||
; Default: (none)
|
|
||||||
label-disconnected = "%{A1:networkmanager_dmenu &:}睊%{A}"
|
|
||||||
label-disconnected-foreground = ${color.fg-alt}
|
|
||||||
|
|
||||||
; Available tokens:
|
|
||||||
; %ifname% [wireless+wired]
|
|
||||||
; %local_ip% [wireless+wired]
|
|
||||||
; %local_ip6% [wireless+wired]
|
|
||||||
; %essid% [wireless]
|
|
||||||
; %signal% [wireless]
|
|
||||||
; %upspeed% [wireless+wired]
|
|
||||||
; %downspeed% [wireless+wired]
|
|
||||||
; %linkspeed% [wired]
|
|
||||||
; Default: (none)
|
|
||||||
;label-packetloss = %essid%
|
|
||||||
;label-packetloss-foreground = #eefafafa
|
|
||||||
|
|
||||||
ramp-signal-0 = 直
|
|
||||||
ramp-signal-1 = 直
|
|
||||||
ramp-signal-2 = 直
|
|
||||||
ramp-signal-3 = 直
|
|
||||||
ramp-signal-4 = 直
|
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
|
||||||
|
|
||||||
[module/applications]
|
[module/applications]
|
||||||
type = custom/text
|
type = custom/text
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ include-file = ~/.config/polybar/shared/bars.ini
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
@@ -148,7 +148,7 @@ font-4 = "MesloLGS NF:size=7;2"
|
|||||||
|
|
||||||
modules-left = menu
|
modules-left = menu
|
||||||
modules-center = date
|
modules-center = date
|
||||||
modules-right = style alsa network battery powermenu
|
modules-right = i3 style alsa network battery settings powermenu
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||||
|
|
||||||
@@ -358,7 +358,7 @@ blue-gray = #546e7a
|
|||||||
|
|
||||||
[module/menu]
|
[module/menu]
|
||||||
type = custom/text
|
type = custom/text
|
||||||
content = Apps
|
content = Applications
|
||||||
;;content-background = ${color.bg}
|
;;content-background = ${color.bg}
|
||||||
content-foreground = ${color.fg}
|
content-foreground = ${color.fg}
|
||||||
;;content-padding = 4
|
;;content-padding = 4
|
||||||
@@ -380,7 +380,8 @@ click-right = ~/.config/polybar/qpanels/scripts/powermenu.sh --gnome
|
|||||||
|
|
||||||
[module/style]
|
[module/style]
|
||||||
type = custom/text
|
type = custom/text
|
||||||
content = פֿ
|
#content = פֿ
|
||||||
|
content =
|
||||||
click-left = ~/.config/polybar/qpanels/scripts/style-switch.sh --gnome
|
click-left = ~/.config/polybar/qpanels/scripts/style-switch.sh --gnome
|
||||||
click-right = ~/.config/polybar/qpanels/scripts/style-switch.sh --gnome
|
click-right = ~/.config/polybar/qpanels/scripts/style-switch.sh --gnome
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ include-file = ~/.config/polybar/shared/bars.ini
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
@@ -148,7 +148,7 @@ font-4 = "MesloLGS NF:size=7;2"
|
|||||||
|
|
||||||
modules-left = menu
|
modules-left = menu
|
||||||
modules-center = date
|
modules-center = date
|
||||||
modules-right = style alsa network battery powermenu
|
modules-right = i3 style alsa network battery settings powermenu
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||||
|
|
||||||
@@ -358,7 +358,7 @@ blue-gray = #546e7a
|
|||||||
|
|
||||||
[module/menu]
|
[module/menu]
|
||||||
type = custom/text
|
type = custom/text
|
||||||
content = Apps
|
content = Applications
|
||||||
;;content-background = ${color.bg}
|
;;content-background = ${color.bg}
|
||||||
content-foreground = ${color.fg}
|
content-foreground = ${color.fg}
|
||||||
;;content-padding = 4
|
;;content-padding = 4
|
||||||
@@ -380,7 +380,8 @@ click-right = ~/.config/polybar/qpanels/scripts/powermenu.sh --gnome
|
|||||||
|
|
||||||
[module/style]
|
[module/style]
|
||||||
type = custom/text
|
type = custom/text
|
||||||
content = פֿ
|
#content = פֿ
|
||||||
|
content =
|
||||||
click-left = ~/.config/polybar/qpanels/scripts/style-switch.sh --gnome
|
click-left = ~/.config/polybar/qpanels/scripts/style-switch.sh --gnome
|
||||||
click-right = ~/.config/polybar/qpanels/scripts/style-switch.sh --gnome
|
click-right = ~/.config/polybar/qpanels/scripts/style-switch.sh --gnome
|
||||||
|
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ margin-top = 0
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ margin-top = 0
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ margin-top = 0
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ margin-top = 0
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ margin-top = 0
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ margin-top = 0
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ margin-top = 0
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ margin-top = 0
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ margin-top = 0
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ margin-top = 0
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ margin-top = 0
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ margin-top = 0
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ margin-top = 0
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ margin-top = 0
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ margin-top = 0
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ margin-top = 0
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
|
|||||||
@@ -17,13 +17,13 @@ foreground = #FFFFFF
|
|||||||
foreground-alt = #8F8F8F
|
foreground-alt = #8F8F8F
|
||||||
|
|
||||||
;; shades
|
;; shades
|
||||||
shade1 = #0D47A1
|
shade1 = #880E4F
|
||||||
shade2 = #1565C0
|
shade2 = #AD1457
|
||||||
shade3 = #1976D2
|
shade3 = #C2185B
|
||||||
shade4 = #1E88E5
|
shade4 = #D81B60
|
||||||
shade5 = #2196F3
|
shade5 = #E91E63
|
||||||
shade6 = #42A5F5
|
shade6 = #EC407A
|
||||||
shade7 = #64B5F6
|
shade7 = #F06292
|
||||||
shade8 = #90CAF9
|
shade8 = #F48FB1
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ include-file = ~/.config/polybar/shades/user_modules.ini
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
@@ -60,8 +60,8 @@ fixed-center = true
|
|||||||
; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%),
|
; Dimension defined as pixel value (e.g. 35) or percentage (e.g. 50%),
|
||||||
; the percentage can optionally be extended with a pixel offset like so:
|
; the percentage can optionally be extended with a pixel offset like so:
|
||||||
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
||||||
width = 98%
|
width = 100%
|
||||||
height = 36
|
height = 26
|
||||||
|
|
||||||
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
||||||
; the percentage can optionally be extended with a pixel offset like so:
|
; the percentage can optionally be extended with a pixel offset like so:
|
||||||
@@ -130,8 +130,8 @@ module-margin-right = 0
|
|||||||
; font-3 = FontAwesome:size=10
|
; font-3 = FontAwesome:size=10
|
||||||
; See the Fonts wiki page for more details
|
; See the Fonts wiki page for more details
|
||||||
|
|
||||||
font-0 = "Fantasque Sans Mono:pixelsize=12;3"
|
font-0 = "Fantasque Sans Mono:pixelsize=10;3"
|
||||||
font-1 = "Iosevka Nerd Font:pixelsize=14;4"
|
font-1 = "Iosevka Nerd Font:pixelsize=11;4"
|
||||||
|
|
||||||
; Modules are added to one of the available blocks
|
; Modules are added to one of the available blocks
|
||||||
; modules-left = cpu ram
|
; modules-left = cpu ram
|
||||||
|
|||||||
@@ -3,9 +3,9 @@
|
|||||||
* {
|
* {
|
||||||
al: #00000000;
|
al: #00000000;
|
||||||
bg: #1F1F1FFF;
|
bg: #1F1F1FFF;
|
||||||
bg1: #1565C0FF;
|
bg1: #AD1457FF;
|
||||||
bg2: #1976D2FF;
|
bg2: #C2185BFF;
|
||||||
bg3: #1E88E5FF;
|
bg3: #D81B60FF;
|
||||||
bg4: #2196F3FF;
|
bg4: #E91E63FF;
|
||||||
fg: #FFFFFFFF;
|
fg: #FFFFFFFF;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,13 +17,13 @@ foreground = #FFFFFF
|
|||||||
foreground-alt = #FFFFFF
|
foreground-alt = #FFFFFF
|
||||||
|
|
||||||
;; shades
|
;; shades
|
||||||
shade1 = #0D47A1
|
shade1 = #880E4F
|
||||||
shade2 = #1565C0
|
shade2 = #AD1457
|
||||||
shade3 = #1976D2
|
shade3 = #C2185B
|
||||||
shade4 = #1E88E5
|
shade4 = #D81B60
|
||||||
shade5 = #2196F3
|
shade5 = #E91E63
|
||||||
shade6 = #42A5F5
|
shade6 = #EC407A
|
||||||
shade7 = #64B5F6
|
shade7 = #F06292
|
||||||
shade8 = #90CAF9
|
shade8 = #F48FB1
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ include-file = ~/.config/polybar/shapes/user_modules.ini
|
|||||||
; If unspecified, the application will pick the first one it finds.
|
; If unspecified, the application will pick the first one it finds.
|
||||||
; $ polybar -m | cut -d ':' -f 1
|
; $ polybar -m | cut -d ':' -f 1
|
||||||
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
|
||||||
monitor =
|
monitor = ${env:MONITOR:}
|
||||||
|
|
||||||
; Use the specified monitor as a fallback if the main one is not found.
|
; Use the specified monitor as a fallback if the main one is not found.
|
||||||
monitor-fallback =
|
monitor-fallback =
|
||||||
@@ -62,7 +62,7 @@ fixed-center = true
|
|||||||
; the percentage can optionally be extended with a pixel offset like so:
|
; the percentage can optionally be extended with a pixel offset like so:
|
||||||
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
||||||
width = 100%
|
width = 100%
|
||||||
height = 32
|
height = 28
|
||||||
|
|
||||||
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
||||||
; the percentage can optionally be extended with a pixel offset like so:
|
; the percentage can optionally be extended with a pixel offset like so:
|
||||||
@@ -132,7 +132,7 @@ module-margin-right = 0
|
|||||||
; See the Fonts wiki page for more details
|
; See the Fonts wiki page for more details
|
||||||
|
|
||||||
font-0 = "Iosevka Nerd Font:pixelsize=10;3"
|
font-0 = "Iosevka Nerd Font:pixelsize=10;3"
|
||||||
font-1 = "Iosevka Nerd Font:style=Medium:size=22;5"
|
font-1 = "Iosevka Nerd Font:style=Medium:size=18;5"
|
||||||
|
|
||||||
; Modules are added to one of the available blocks
|
; Modules are added to one of the available blocks
|
||||||
; modules-left = cpu ram
|
; modules-left = cpu ram
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
* {
|
* {
|
||||||
al: #00000000;
|
al: #00000000;
|
||||||
bg: #1F1F1FFF;
|
bg: #1F1F1FFF;
|
||||||
bg1: #1565C0FF;
|
bg1: #AD1457FF;
|
||||||
bg2: #1976D2FF;
|
bg2: #C2185BFF;
|
||||||
bg3: #1E88E5FF;
|
bg3: #D81B60FF;
|
||||||
fg: #FFFFFFFF;
|
fg: #FFFFFFFF;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -89,3 +89,71 @@ bar-capacity-empty = ${bar.empty}
|
|||||||
bar-capacity-empty-font = 2
|
bar-capacity-empty-font = 2
|
||||||
bar-capacity-empty-foreground = ${color.sep}
|
bar-capacity-empty-foreground = ${color.sep}
|
||||||
bar-fill-font = 2
|
bar-fill-font = 2
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
; [module/battery]
|
||||||
|
; type = internal/battery
|
||||||
|
|
||||||
|
; full-at = 99
|
||||||
|
|
||||||
|
; ; $ ls -1 /sys/class/power_supply/
|
||||||
|
; battery = BAT1
|
||||||
|
; adapter = ACAD
|
||||||
|
|
||||||
|
; poll-interval = 2
|
||||||
|
; time-format = %H:%M
|
||||||
|
|
||||||
|
; ; Available tags:
|
||||||
|
; ; <label-charging> (default)
|
||||||
|
; ; <bar-capacity>
|
||||||
|
; ; <ramp-capacity>
|
||||||
|
; ; <animation-charging>
|
||||||
|
; format-charging = <animation-charging>
|
||||||
|
|
||||||
|
; ; Available tags:
|
||||||
|
; ; <label-discharging> (default)
|
||||||
|
; ; <bar-capacity>
|
||||||
|
; ; <ramp-capacity>
|
||||||
|
; ; <animation-discharging>
|
||||||
|
; format-discharging = <ramp-capacity>
|
||||||
|
|
||||||
|
; ; Available tags:
|
||||||
|
; ; <label-full> (default)
|
||||||
|
; ; <bar-capacity>
|
||||||
|
; ; <ramp-capacity>
|
||||||
|
; ;format-full = <ramp-capacity> <label-full>
|
||||||
|
|
||||||
|
; ; Available tokens:
|
||||||
|
; ; %percentage% (default)
|
||||||
|
; ; %time%
|
||||||
|
; ; %consumption% (shows current charge rate in watts)
|
||||||
|
; label-charging = %percentage%%
|
||||||
|
|
||||||
|
; ; Available tokens:
|
||||||
|
; ; %percentage% (default)
|
||||||
|
; ; %time%
|
||||||
|
; ; %consumption% (shows current discharge rate in watts)
|
||||||
|
; label-discharging = %percentage%%
|
||||||
|
|
||||||
|
; ; Available tokens:
|
||||||
|
; ; %percentage% (default)
|
||||||
|
; ;label-full = Fully Charged
|
||||||
|
; label-full =
|
||||||
|
; label-full-foreground = ${color.green}
|
||||||
|
|
||||||
|
; ramp-capacity-0 =
|
||||||
|
; ramp-capacity-1 =
|
||||||
|
; ramp-capacity-2 =
|
||||||
|
; ramp-capacity-3 =
|
||||||
|
; ramp-capacity-4 =
|
||||||
|
|
||||||
|
; animation-charging-0 =
|
||||||
|
; animation-charging-1 =
|
||||||
|
; animation-charging-2 =
|
||||||
|
; animation-charging-3 =
|
||||||
|
; animation-charging-4 =
|
||||||
|
|
||||||
|
; ; Framerate in milliseconds
|
||||||
|
; animation-charging-framerate = 750
|
||||||
|
|
||||||
|
|||||||
@@ -110,6 +110,74 @@ bar-fill-font = 2
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
; [module/battery]
|
||||||
|
; type = internal/battery
|
||||||
|
|
||||||
|
; full-at = 99
|
||||||
|
|
||||||
|
; ; $ ls -1 /sys/class/power_supply/
|
||||||
|
; battery = BAT1
|
||||||
|
; adapter = ACAD
|
||||||
|
|
||||||
|
; poll-interval = 2
|
||||||
|
; time-format = %H:%M
|
||||||
|
|
||||||
|
; ; Available tags:
|
||||||
|
; ; <label-charging> (default)
|
||||||
|
; ; <bar-capacity>
|
||||||
|
; ; <ramp-capacity>
|
||||||
|
; ; <animation-charging>
|
||||||
|
; format-charging = <animation-charging>
|
||||||
|
|
||||||
|
; ; Available tags:
|
||||||
|
; ; <label-discharging> (default)
|
||||||
|
; ; <bar-capacity>
|
||||||
|
; ; <ramp-capacity>
|
||||||
|
; ; <animation-discharging>
|
||||||
|
; format-discharging = <ramp-capacity>
|
||||||
|
|
||||||
|
; ; Available tags:
|
||||||
|
; ; <label-full> (default)
|
||||||
|
; ; <bar-capacity>
|
||||||
|
; ; <ramp-capacity>
|
||||||
|
; ;format-full = <ramp-capacity> <label-full>
|
||||||
|
|
||||||
|
; ; Available tokens:
|
||||||
|
; ; %percentage% (default)
|
||||||
|
; ; %time%
|
||||||
|
; ; %consumption% (shows current charge rate in watts)
|
||||||
|
; label-charging = %percentage%%
|
||||||
|
|
||||||
|
; ; Available tokens:
|
||||||
|
; ; %percentage% (default)
|
||||||
|
; ; %time%
|
||||||
|
; ; %consumption% (shows current discharge rate in watts)
|
||||||
|
; label-discharging = %percentage%%
|
||||||
|
|
||||||
|
; ; Available tokens:
|
||||||
|
; ; %percentage% (default)
|
||||||
|
; ;label-full = Fully Charged
|
||||||
|
; label-full =
|
||||||
|
; label-full-foreground = ${color.green}
|
||||||
|
|
||||||
|
; ramp-capacity-0 =
|
||||||
|
; ramp-capacity-1 =
|
||||||
|
; ramp-capacity-2 =
|
||||||
|
; ramp-capacity-3 =
|
||||||
|
; ramp-capacity-4 =
|
||||||
|
|
||||||
|
; animation-charging-0 =
|
||||||
|
; animation-charging-1 =
|
||||||
|
; animation-charging-2 =
|
||||||
|
; animation-charging-3 =
|
||||||
|
; animation-charging-4 =
|
||||||
|
|
||||||
|
; ; Framerate in milliseconds
|
||||||
|
; animation-charging-framerate = 750
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[module/brightness_bar]
|
[module/brightness_bar]
|
||||||
;type = internal/xbacklight
|
;type = internal/xbacklight
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user