Marc
4 years ago
4 changed files with 95 additions and 1853 deletions
Unified View
Diff Options
-
262.config/polybar/colors.ini
-
340.config/polybar/config.ini
-
1035.config/polybar/modules.ini
-
311.config/polybar/user_modules.ini
@ -1,260 +1,8 @@ |
|||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ |
|
||||
;; |
|
||||
;; ______ __ |
|
||||
;; / ____/___ / /___ __________ |
|
||||
;; / / / __ \/ / __ \/ ___/ ___/ |
|
||||
;; / /___/ /_/ / / /_/ / / (__ ) |
|
||||
;; \____/\____/_/\____/_/ /____/ |
|
||||
;; |
|
||||
;; Created By Aditya Shakya @adi1090x |
|
||||
;; |
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ |
|
||||
|
;; based on papercolor-light |
||||
|
|
||||
[color] |
[color] |
||||
|
|
||||
background = #f5f5f5 |
|
||||
foreground = #252525 |
|
||||
accent = #1e88e5 |
|
||||
modulefg = #f5f5f5 |
|
||||
|
|
||||
;; Active Colors |
|
||||
;;bg = #f5f5f5 |
|
||||
;;fg = #252525 |
|
||||
;;ac = #1e88e5 |
|
||||
;;mf = #f5f5f5 |
|
||||
|
|
||||
;; Bars |
|
||||
bi = #1e88e5 |
|
||||
be = #1e88e5 |
|
||||
bf = #43a047 |
|
||||
bn = #43a047 |
|
||||
bm = #fdd835 |
|
||||
bd = #e53935 |
|
||||
|
|
||||
trans = #00000000 |
|
||||
white = #FFFFFF |
|
||||
black = #000000 |
|
||||
|
|
||||
;; Material Colors |
|
||||
|
|
||||
red = #e53935 |
|
||||
pink = #d81b60 |
|
||||
purple = #8e24aa |
|
||||
deep-purple = #5e35b1 |
|
||||
indigo = #3949ab |
|
||||
blue = #1e88e5 |
|
||||
light-blue = #039be5 |
|
||||
cyan = #00acc1 |
|
||||
teal = #00897b |
|
||||
green = #43a047 |
|
||||
light-green = #7cb342 |
|
||||
lime = #c0ca33 |
|
||||
yellow = #fdd835 |
|
||||
amber = #ffb300 |
|
||||
orange = #fb8c00 |
|
||||
deep-orange = #f4511e |
|
||||
brown = #6d4c41 |
|
||||
grey = #757575 |
|
||||
blue-gray = #546e7a |
|
||||
|
|
||||
;; Material Colors Shades |
|
||||
|
|
||||
; Amber |
|
||||
amshade1 = #FF6F00 |
|
||||
amshade2 = #FF8F00 |
|
||||
amshade3 = #FFA000 |
|
||||
amshade4 = #FFB300 |
|
||||
amshade5 = #FFC107 |
|
||||
amshade6 = #FFCA28 |
|
||||
amshade7 = #FFD54F |
|
||||
amshade8 = #FFE082 |
|
||||
|
|
||||
; Blue |
|
||||
blshade1 = #0D47A1 |
|
||||
blshade2 = #1565C0 |
|
||||
blshade3 = #1976D2 |
|
||||
blshade4 = #1E88E5 |
|
||||
blshade5 = #2196F3 |
|
||||
blshade6 = #42A5F5 |
|
||||
blshade7 = #64B5F6 |
|
||||
blshade8 = #90CAF9 |
|
||||
|
|
||||
; Blue-Grey |
|
||||
bgshade1 = #263238 |
|
||||
bgshade2 = #37474F |
|
||||
bgshade3 = #455A64 |
|
||||
bgshade4 = #546E7A |
|
||||
bgshade5 = #607D8B |
|
||||
bgshade6 = #78909C |
|
||||
bgshade7 = #90A4AE |
|
||||
bgshade8 = #B0BEC5 |
|
||||
|
|
||||
; Brown |
|
||||
brshade1 = #3E2723 |
|
||||
brshade2 = #4E342E |
|
||||
brshade3 = #5D4037 |
|
||||
brshade4 = #6D4C41 |
|
||||
brshade5 = #795548 |
|
||||
brshade6 = #8D6E63 |
|
||||
brshade7 = #A1887F |
|
||||
brshade8 = #BCAAA4 |
|
||||
|
|
||||
; Cyan |
|
||||
cyshade1 = #006064 |
|
||||
cyshade2 = #00838F |
|
||||
cyshade3 = #0097A7 |
|
||||
cyshade4 = #00ACC1 |
|
||||
cyshade5 = #00BCD4 |
|
||||
cyshade6 = #26C6DA |
|
||||
cyshade7 = #4DD0E1 |
|
||||
cyshade8 = #80DEEA |
|
||||
|
|
||||
; Deep-Orange |
|
||||
doshade1 = #BF360C |
|
||||
doshade2 = #D84315 |
|
||||
doshade3 = #E64A19 |
|
||||
doshade4 = #F4511E |
|
||||
doshade5 = #FF5722 |
|
||||
doshade6 = #FF7043 |
|
||||
doshade7 = #FF8A65 |
|
||||
doshade8 = #FFAB91 |
|
||||
|
|
||||
; Deep-Purple |
|
||||
dpshade1 = #311B92 |
|
||||
dpshade2 = #4527A0 |
|
||||
dpshade3 = #512DA8 |
|
||||
dpshade4 = #5E35B1 |
|
||||
dpshade5 = #673AB7 |
|
||||
dpshade6 = #7E57C2 |
|
||||
dpshade7 = #9575CD |
|
||||
dpshade8 = #B39DDB |
|
||||
|
|
||||
; Green |
|
||||
grshade1 = #1B5E20 |
|
||||
grshade2 = #2E7D32 |
|
||||
grshade3 = #388E3C |
|
||||
grshade4 = #43A047 |
|
||||
grshade5 = #4CAF50 |
|
||||
grshade6 = #66BB6A |
|
||||
grshade7 = #81C784 |
|
||||
grshade8 = #A5D6A7 |
|
||||
|
|
||||
; Grey |
|
||||
greshade1 = #212121 |
|
||||
greshade2 = #424242 |
|
||||
greshade3 = #616161 |
|
||||
greshade4 = #757575 |
|
||||
greshade5 = #9E9E9E |
|
||||
greshade6 = #BDBDBD |
|
||||
greshade7 = #D4D4D4 |
|
||||
greshade8 = #EEEEEE |
|
||||
|
|
||||
; Indigo |
|
||||
inshade1 = #1A237E |
|
||||
inshade2 = #283593 |
|
||||
inshade3 = #303F9F |
|
||||
inshade4 = #3949AB |
|
||||
inshade5 = #3F51B5 |
|
||||
inshade6 = #5C6BC0 |
|
||||
inshade7 = #7986CB |
|
||||
inshade8 = #9FA8DA |
|
||||
|
|
||||
; Light-Blue |
|
||||
lbshade1 = #01579B |
|
||||
lbshade2 = #0277BD |
|
||||
lbshade3 = #0288D1 |
|
||||
lbshade4 = #039BE5 |
|
||||
lbshade5 = #03A9F4 |
|
||||
lbshade6 = #29B6F6 |
|
||||
lbshade7 = #4FC3F7 |
|
||||
lbshade8 = #81D4FA |
|
||||
|
|
||||
; Light-Green |
|
||||
lgshade1 = #33691E |
|
||||
lgshade2 = #558B2F |
|
||||
lgshade3 = #689F38 |
|
||||
lgshade4 = #7CB342 |
|
||||
lgshade5 = #8BC34A |
|
||||
lgshade6 = #9CCC65 |
|
||||
lgshade7 = #AED581 |
|
||||
lgshade8 = #C5E1A5 |
|
||||
|
|
||||
; Lime |
|
||||
lishade1 = #827717 |
|
||||
lishade2 = #9E9D24 |
|
||||
lishade3 = #AFB42B |
|
||||
lishade4 = #C0CA33 |
|
||||
lishade5 = #CDDC39 |
|
||||
lishade6 = #D4E157 |
|
||||
lishade7 = #DCE775 |
|
||||
lishade8 = #E6EE9C |
|
||||
|
|
||||
; Orange |
|
||||
orshade1 = #E65100 |
|
||||
orshade2 = #EF6C00 |
|
||||
orshade3 = #F57C00 |
|
||||
orshade4 = #FB8C00 |
|
||||
orshade5 = #FF9800 |
|
||||
orshade6 = #FFA726 |
|
||||
orshade7 = #FFB74D |
|
||||
orshade8 = #FFCC80 |
|
||||
|
|
||||
; Pink |
|
||||
pishade1 = #880E4F |
|
||||
pishade2 = #AD1457 |
|
||||
pishade3 = #C2185B |
|
||||
pishade4 = #D81B60 |
|
||||
pishade5 = #E91E63 |
|
||||
pishade6 = #EC407A |
|
||||
pishade7 = #F06292 |
|
||||
pishade8 = #F48FB1 |
|
||||
|
|
||||
; Purple |
|
||||
prshade1 = #4A148C |
|
||||
prshade2 = #6A1B9A |
|
||||
prshade3 = #7B1FA2 |
|
||||
prshade4 = #8E24AA |
|
||||
prshade5 = #9C27B0 |
|
||||
prshade6 = #AB47BC |
|
||||
prshade7 = #BA68C8 |
|
||||
prshade8 = #CE93D8 |
|
||||
|
|
||||
; Red |
|
||||
reshade1 = #B71C1C |
|
||||
reshade2 = #C62828 |
|
||||
reshade3 = #D32F2F |
|
||||
reshade4 = #E53935 |
|
||||
reshade5 = #EE413D |
|
||||
reshade6 = #EF5350 |
|
||||
reshade7 = #E57373 |
|
||||
reshade8 = #EF9A9A |
|
||||
|
|
||||
; Teal |
|
||||
teshade1 = #004D40 |
|
||||
teshade2 = #00695C |
|
||||
teshade3 = #00796B |
|
||||
teshade4 = #00897B |
|
||||
teshade5 = #009688 |
|
||||
teshade6 = #26A69A |
|
||||
teshade7 = #4DB6AC |
|
||||
teshade8 = #80CBC4 |
|
||||
|
|
||||
; Yellow |
|
||||
yeshade1 = #F57F17 |
|
||||
yeshade2 = #F9A825 |
|
||||
yeshade3 = #FBC02D |
|
||||
yeshade4 = #FDD835 |
|
||||
yeshade5 = #FFEB3B |
|
||||
yeshade6 = #FFEE58 |
|
||||
yeshade7 = #FFF176 |
|
||||
yeshade8 = #FFF59D |
|
||||
|
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ |
|
||||
;; __________ ______ |
|
||||
;; / ____/ __ \/ ____/ |
|
||||
;; / __/ / / / / /_ |
|
||||
;; / /___/ /_/ / __/ |
|
||||
;; /_____/\____/_/ |
|
||||
;; |
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ |
|
||||
|
|
||||
|
background = #21252b |
||||
|
foreground = #a9b2c3 |
||||
|
accent = #b0ca4a |
||||
|
attention = #e06c75 |
@ -1,326 +1,72 @@ |
|||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ |
|
||||
;; |
|
||||
;; ____ __ __ |
|
||||
;; / __ \____ / /_ __/ /_ ____ ______ |
|
||||
;; / /_/ / __ \/ / / / / __ \/ __ `/ ___/ |
|
||||
;; / ____/ /_/ / / /_/ / /_/ / /_/ / / |
|
||||
;; /_/ \____/_/\__, /_.___/\__,_/_/ |
|
||||
;; /____/ |
|
||||
;; |
|
||||
;; Created By Aditya Shakya @adi1090x |
|
||||
;; |
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ |
|
||||
|
|
||||
;; Global WM Settings |
|
||||
|
;; global settings |
||||
|
|
||||
[global/wm] |
[global/wm] |
||||
; Adjust the _NET_WM_STRUT_PARTIAL top value |
|
||||
; Used for top aligned bars |
|
||||
margin-bottom = 0 |
margin-bottom = 0 |
||||
|
|
||||
; Adjust the _NET_WM_STRUT_PARTIAL bottom value |
|
||||
; Used for bottom aligned bars |
|
||||
margin-top = 5 |
|
||||
|
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ |
|
||||
|
|
||||
;; File Inclusion |
|
||||
; include an external file, like module file, etc. |
|
||||
|
margin-top = 0 |
||||
|
|
||||
include-file = ~/.config/polybar/colors.ini |
include-file = ~/.config/polybar/colors.ini |
||||
include-file = ~/.config/polybar/modules.ini |
include-file = ~/.config/polybar/modules.ini |
||||
include-file = ~/.config/polybar/user_modules.ini |
include-file = ~/.config/polybar/user_modules.ini |
||||
; wofür bars? |
|
||||
;include-file = ~/.config/polybar/bars.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 = DP-0 |
|
||||
|
[settings] |
||||
|
throttle-output = 5 |
||||
|
throttle-output-for = 10 |
||||
|
throttle-input-for = 30 |
||||
|
screenchange-reload = false |
||||
|
|
||||
; Use the specified monitor as a fallback if the main one is not found. |
|
||||
;monitor-fallback = eDP |
|
||||
;monitor-fallback = VGA-1 |
|
||||
|
compositing-backgroun = source |
||||
|
compositing-foreground = over |
||||
|
compositing-overline = over |
||||
|
compositing-underline = over |
||||
|
compositing-border = over |
||||
|
|
||||
; Require the monitor to be in connected state |
|
||||
; XRandR sometimes reports my monitor as being disconnected (when in use) |
|
||||
|
[bar/common] |
||||
|
wm-restack = bspwm |
||||
monitor-strict = false |
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 |
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 = 98% |
|
||||
height = 26 |
|
||||
|
|
||||
; 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 = 1% |
|
||||
offset-y = 10 |
|
||||
;offset-y = 1%:-3 |
|
||||
|
|
||||
; Background ARGB color (e.g. #f00, #ff992a, #ddff1023) |
|
||||
|
radius = 5.0 |
||||
|
height = 20 |
||||
background = ${color.background} |
background = ${color.background} |
||||
|
|
||||
; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023) |
|
||||
foreground = ${color.foreground} |
foreground = ${color.foreground} |
||||
|
|
||||
; 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 = 0.0 |
|
||||
radius-bottom = 0.0 |
|
||||
|
|
||||
; Under-/overline pixel size and argb color |
|
||||
; Individual values can be defined using: |
|
||||
; {overline,underline}-size |
|
||||
; {overline,underline}-color |
|
||||
overline-size = 2 |
|
||||
overline-color = ${color.accent} |
|
||||
|
|
||||
; 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 = 2 |
|
||||
border-color = ${color.accent} |
border-color = ${color.accent} |
||||
|
font-0 = "Hack:size=12;2" |
||||
|
font-1 = "Icomoon\-Ultimate:size=12;2" |
||||
|
font-2 = "Icomoon\-Ultimate:size=8;2" |
||||
|
enable-ipc = true |
||||
|
|
||||
; Number of spaces to add at the beginning/end of the bar |
|
||||
; Individual side values can be defined using: |
|
||||
; padding-{left,right} |
|
||||
padding = 0 |
|
||||
|
[bar/main] |
||||
|
inherit = bar/common |
||||
|
bottom = true |
||||
|
fixed-center = true |
||||
|
width = 14% |
||||
|
offset-x = 43% |
||||
|
offset-y = 0 |
||||
|
|
||||
; Number of spaces to add before/after each module |
|
||||
; Individual side values can be defined using: |
|
||||
; module-margin-{left,right} |
|
||||
module-margin-left = 2 |
module-margin-left = 2 |
||||
module-margin-right = 2 |
module-margin-right = 2 |
||||
|
|
||||
; 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 = "Misc Termsyn:size=12;1" |
|
||||
;;font-1 = "Wuncon Siji:size=12;1" |
|
||||
|
|
||||
;font-0 = "Ubuntu Condensed:size=10;2" |
|
||||
font-0 = "Hack\ Nerd\ Font\ Mono:size=13;2" |
|
||||
;font-1 = "icomoon\-feather:size=10;2" |
|
||||
font-1 = "Icomoon\-Ultimate:size=10;2" |
|
||||
font-2 = "xos4 Terminus:size=12;1" |
|
||||
|
|
||||
; Modules are added to one of the available blocks |
|
||||
; modules-left = cpu ram |
|
||||
; modules-center = xwindow xbacklight |
|
||||
; modules-right = ipc clock |
|
||||
|
|
||||
;; Available modules |
|
||||
;; |
|
||||
;alsa backlight battery |
|
||||
;bspwm cpu date |
|
||||
;filesystem github i3 |
|
||||
;memory mpd wired-network |
|
||||
;network pulseaudio temperature |
|
||||
;keyboard title workspaces |
|
||||
;; |
|
||||
;; User modules |
|
||||
;checknetwork updates window_switch launcher powermenu sysmenu menu |
|
||||
;; |
|
||||
;; Bars |
|
||||
;cpu_bar memory_bar filesystem_bar mpd_bar |
|
||||
;volume brightness battery_bar |
|
||||
|
|
||||
modules-left = launcher bspwm |
|
||||
;modules-center = mpd |
|
||||
;modules-right = updates colors-switch alsa battery backlight checknetwork date sysmenu |
|
||||
modules-right = alsa battery backlight date sysmenu |
|
||||
|
|
||||
; The separator will be inserted between the output of each module |
|
||||
separator = |
|
||||
|
|
||||
; This value is used to add extra spacing between elements |
|
||||
; @deprecated: This parameter will be removed in an upcoming version |
|
||||
spacing = 0 |
|
||||
|
|
||||
; 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 = |
|
||||
|
modules-center = bspwm |
||||
|
scroll-up = bspc desktop -f prev.local |
||||
|
scroll-down = bspc desktop -f next.local |
||||
|
|
||||
; 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 |
|
||||
|
[bar/system] |
||||
|
inherit = bar/common |
||||
|
bottom = true |
||||
|
fixed-center = true |
||||
|
width = 15% |
||||
|
offset-x = 84% |
||||
|
offset-y = 0 |
||||
|
padding-left = 1 |
||||
|
separator = " " |
||||
|
modules-margin-left = 2 |
||||
|
modules-margin-right = 2 |
||||
|
modules-left = battery backlight pulseaudio |
||||
|
modules-center = date |
||||
tray-position = right |
tray-position = right |
||||
|
|
||||
; If true, the bar will not shift its |
|
||||
; contents when the tray changes |
|
||||
tray-detached = false |
tray-detached = false |
||||
|
|
||||
; Tray icon max size |
|
||||
tray-maxsize = 16 |
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-background = ${color.background} |
||||
|
|
||||
; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) |
|
||||
tray-offset-x = 0 |
tray-offset-x = 0 |
||||
tray-offset-y = 0 |
tray-offset-y = 0 |
||||
|
|
||||
; Pad the sides of each tray icon |
|
||||
tray-padding = 0 |
tray-padding = 0 |
||||
|
|
||||
; Scale factor for tray clients |
|
||||
tray-scale = 1.0 |
tray-scale = 1.0 |
||||
|
|
||||
; fixes issue with bar drawn over fullscreen windows |
|
||||
wm-restack = bspwm |
|
||||
|
|
||||
; 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 = 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 |
|
||||
|
|
||||
;openbox |
|
||||
;awesome |
|
||||
;etc |
|
||||
|
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ |
|
||||
|
|
||||
;; 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 |
|
||||
|
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ |
|
||||
;; __________ ______ |
|
||||
;; / ____/ __ \/ ____/ |
|
||||
;; / __/ / / / / /_ |
|
||||
;; / /___/ /_/ / __/ |
|
||||
;; /_____/\____/_/ |
|
||||
;; |
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ |
|
||||
|
|
||||
|
|
1035
.config/polybar/modules.ini
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -1,311 +0,0 @@ |
|||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ |
|
||||
;; |
|
||||
;; __ __ __ ___ __ __ |
|
||||
;; / / / /_______ _____ / |/ /___ ____/ /_ __/ /__ _____ |
|
||||
;; / / / / ___/ _ \/ ___/ / /|_/ / __ \/ __ / / / / / _ \/ ___/ |
|
||||
;; / /_/ (__ ) __/ / / / / / /_/ / /_/ / /_/ / / __(__ ) |
|
||||
;; \____/____/\___/_/ /_/ /_/\____/\__,_/\__,_/_/\___/____/ |
|
||||
;; |
|
||||
;; Created By Aditya Shakya @adi1090x |
|
||||
;; |
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ |
|
||||
|
|
||||
[module/checknetwork] |
|
||||
type = custom/script |
|
||||
|
|
||||
; Available tokens: |
|
||||
; %counter% |
|
||||
; Command to be executed (using "/usr/bin/env sh -c [command]") |
|
||||
exec = ~/.config/polybar/scripts/check-network |
|
||||
|
|
||||
; Conditional command that, if defined, needs to exit successfully |
|
||||
; before the main exec command is invoked. |
|
||||
; Default: "" |
|
||||
;;exec-if = "" |
|
||||
|
|
||||
; Will the script output continous content? |
|
||||
; Default: false |
|
||||
tail = true |
|
||||
|
|
||||
; Seconds to sleep between updates |
|
||||
; Default: 2 (0 if `tail = true`) |
|
||||
interval = 5 |
|
||||
|
|
||||
; Available tags: |
|
||||
; <output> - deprecated |
|
||||
; <label> (default) |
|
||||
;;format = <label> |
|
||||
;;format-background = #999 |
|
||||
;;format-foreground = #000 |
|
||||
;;format-padding = 4 |
|
||||
|
|
||||
; Available tokens: |
|
||||
; %output% |
|
||||
; Default: %output% |
|
||||
;;label = %output:0:15:...% |
|
||||
|
|
||||
; Available tokens: |
|
||||
; %counter% |
|
||||
; %pid% |
|
||||
; |
|
||||
; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c [command]" |
|
||||
click-left = networkmanager_dmenu & |
|
||||
click-middle = networkmanager_dmenu & |
|
||||
click-right = networkmanager_dmenu & |
|
||||
;;double-click-left = echo double left %counter% |
|
||||
;;double-click-middle = echo double middle %counter% |
|
||||
;;double-click-right = echo double right %counter% |
|
||||
|
|
||||
; Available tokens: |
|
||||
; %counter% |
|
||||
; %pid% |
|
||||
; |
|
||||
; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c [command]" |
|
||||
;;scroll-up = echo scroll up %counter% |
|
||||
;;scroll-down = echo scroll down %counter% |
|
||||
|
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ |
|
||||
|
|
||||
;[module/updates] |
|
||||
;type = custom/script |
|
||||
|
|
||||
; Available tokens: |
|
||||
; %counter% |
|
||||
; Command to be executed (using "/usr/bin/env sh -c [command]") |
|
||||
;exec = ~/.config/polybar/scripts/updates.sh |
|
||||
|
|
||||
; Conditional command that, if defined, needs to exit successfully |
|
||||
; before the main exec command is invoked. |
|
||||
; Default: "" |
|
||||
;;exec-if = "" |
|
||||
|
|
||||
; Will the script output continous content? |
|
||||
; Default: false |
|
||||
;tail = true |
|
||||
|
|
||||
; Seconds to sleep between updates |
|
||||
; Default: 2 (0 if `tail = true`) |
|
||||
;interval = 5 |
|
||||
|
|
||||
; Available tags: |
|
||||
; <output> - deprecated |
|
||||
; <label> (default) |
|
||||
;;format = <label> |
|
||||
;;format-background = #999 |
|
||||
;;format-foreground = #000 |
|
||||
;;format-padding = 4 |
|
||||
|
|
||||
; Available tokens: |
|
||||
; %output% |
|
||||
; Default: %output% |
|
||||
;;label = %output:0:15:...% |
|
||||
|
|
||||
; Available tokens: |
|
||||
; %counter% |
|
||||
; %pid% |
|
||||
; |
|
||||
; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c [command]" |
|
||||
;click-left = ~/.config/polybar/scripts/lupdates & |
|
||||
;;click-middle = ~/.config/polybar/scripts/lupdates & |
|
||||
;;click-right = ~/.config/polybar/scripts/lupdates & |
|
||||
;;double-click-left = echo double left %counter% |
|
||||
;;double-click-middle = echo double middle %counter% |
|
||||
;;double-click-right = echo double right %counter% |
|
||||
|
|
||||
; Available tokens: |
|
||||
; %counter% |
|
||||
; %pid% |
|
||||
; |
|
||||
; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c [command]" |
|
||||
;;scroll-up = echo scroll up %counter% |
|
||||
;;scroll-down = echo scroll down %counter% |
|
||||
|
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ |
|
||||
|
|
||||
[module/window_switch] |
|
||||
type = custom/text |
|
||||
content = Switch |
|
||||
|
|
||||
; "content" has the same properties as "format-NAME" |
|
||||
;;content-background = #000 |
|
||||
;;content-foreground = #fff |
|
||||
;;content-padding = 4 |
|
||||
|
|
||||
; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c $COMMAND" |
|
||||
click-left = skippy-xd |
|
||||
click-middle = skippy-xd |
|
||||
click-right = ~/.config/polybar/scripts/windows |
|
||||
|
|
||||
; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c $COMMAND" |
|
||||
;;scroll-up = skippy-xd |
|
||||
;;scroll-down = skippy-xd |
|
||||
|
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ |
|
||||
|
|
||||
[module/launcher] |
|
||||
type = custom/text |
|
||||
content = L |
|
||||
|
|
||||
; "content" has the same properties as "format-NAME" |
|
||||
content-background = ${color.accent} |
|
||||
content-foreground = ${color.modulefg} |
|
||||
content-padding = 3 |
|
||||
|
|
||||
; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c $COMMAND" |
|
||||
click-left = ~/.config/polybar/scripts/launcher |
|
||||
;;click-middle = ~/.config/polybar/scripts/launcher-full |
|
||||
click-right = ~/.config/polybar/scripts/launcher-alt |
|
||||
|
|
||||
; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c $COMMAND" |
|
||||
;;scroll-up = ~/.config/polybar/scripts/launcher-full |
|
||||
scroll-down = ~/.config/polybar/scripts/launcher-full |
|
||||
|
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ |
|
||||
|
|
||||
[module/sysmenu] |
|
||||
type = custom/text |
|
||||
content = SM |
|
||||
|
|
||||
; "content" has the same properties as "format-NAME" |
|
||||
content-background = ${color.accent} |
|
||||
content-foreground = ${color.modulefg} |
|
||||
content-padding = 3 |
|
||||
|
|
||||
; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c $COMMAND" |
|
||||
click-left = ~/.config/polybar/scripts/powermenu |
|
||||
;;click-middle = ~/.config/polybar/scripts/powermenu |
|
||||
click-right = ~/.config/polybar/scripts/powermenu-alt |
|
||||
|
|
||||
; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c $COMMAND" |
|
||||
;;scroll-up = ~/.config/polybar/scripts/powermenu |
|
||||
;;scroll-down = ~/.config/polybar/scripts/powermenu |
|
||||
|
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ |
|
||||
|
|
||||
[module/powermenu] |
|
||||
type = custom/menu |
|
||||
|
|
||||
; If true, <label-toggle> will be to the left of the menu items (default). |
|
||||
; If false, it will be on the right of all the items. |
|
||||
expand-right = true |
|
||||
|
|
||||
; "menu-LEVEL-N" has the same properties as "label-NAME" with |
|
||||
; the additional "exec" property |
|
||||
; |
|
||||
; Available exec commands: |
|
||||
; menu-open-LEVEL |
|
||||
; menu-close |
|
||||
; Other commands will be executed using "/usr/bin/env sh -c $COMMAND" |
|
||||
menu-0-0 = reboot |
|
||||
menu-0-0-exec = menu-open-1 |
|
||||
menu-0-1 = shutdown |
|
||||
menu-0-1-exec = menu-open-2 |
|
||||
|
|
||||
menu-1-0 = back |
|
||||
menu-1-0-exec = menu-open-0 |
|
||||
menu-1-1 = reboot |
|
||||
menu-1-1-exec = systemctl reboot |
|
||||
|
|
||||
menu-2-0 = shutdown |
|
||||
menu-2-0-exec = systemctl poweroff |
|
||||
menu-2-1 = back |
|
||||
menu-2-1-exec = menu-open-0 |
|
||||
|
|
||||
; Available tags: |
|
||||
; <label-toggle> (default) - gets replaced with <label-(open|close)> |
|
||||
; <menu> (default) |
|
||||
; Note that if you use <label-toggle> you must also include |
|
||||
; the definition for <label-open> |
|
||||
|
|
||||
;;format = <label-toggle> <menu> |
|
||||
;;format-prefix = ${menu.icon-menu} |
|
||||
format-spacing = 1 |
|
||||
|
|
||||
label-open = O |
|
||||
label-close = C |
|
||||
|
|
||||
|
|
||||
; Optional item separator |
|
||||
; Default: none |
|
||||
label-separator = | |
|
||||
|
|
||||
label-open-foreground = ${color.accent} |
|
||||
label-close-foreground = ${color.accent} |
|
||||
label-separator-foreground = ${color.accent} |
|
||||
|
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ |
|
||||
|
|
||||
[module/menu] |
|
||||
type = custom/menu |
|
||||
|
|
||||
; If true, <label-toggle> will be to the left of the menu items (default). |
|
||||
; If false, it will be on the right of all the items. |
|
||||
expand-right = true |
|
||||
|
|
||||
; "menu-LEVEL-N" has the same properties as "label-NAME" with |
|
||||
; the additional "exec" property |
|
||||
; |
|
||||
; Available exec commands: |
|
||||
; menu-open-LEVEL |
|
||||
; menu-close |
|
||||
; Other commands will be executed using "/usr/bin/env sh -c $COMMAND" |
|
||||
menu-0-0 =Menu |
|
||||
menu-0-0-exec = ~/.config/polybar/scripts/launcher & |
|
||||
menu-0-1 =Files |
|
||||
menu-0-1-exec = thunar & |
|
||||
menu-0-2 =Terminal |
|
||||
menu-0-2-exec = termite & |
|
||||
menu-0-3 =Browser |
|
||||
menu-0-3-exec = firefox & |
|
||||
|
|
||||
; Available tags: |
|
||||
; <label-toggle> (default) - gets replaced with <label-(open|close)> |
|
||||
; <menu> (default) |
|
||||
; Note that if you use <label-toggle> you must also include |
|
||||
; the definition for <label-open> |
|
||||
|
|
||||
;;format = <label-toggle> <menu> |
|
||||
;;format-prefix = ${menu.icon-menu} |
|
||||
format-spacing = 1 |
|
||||
|
|
||||
label-open = o |
|
||||
label-close = c |
|
||||
|
|
||||
|
|
||||
; Optional item separator |
|
||||
; Default: none |
|
||||
label-separator = | |
|
||||
|
|
||||
label-open-foreground = ${color.accent} |
|
||||
label-close-foreground = ${color.accent} |
|
||||
label-separator-foreground = ${color.accent} |
|
||||
|
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ |
|
||||
|
|
||||
[module/colors-switch] |
|
||||
type = custom/text |
|
||||
content = cs |
|
||||
|
|
||||
; "content" has the same properties as "format-NAME" |
|
||||
;;content-background = ${color.accent} |
|
||||
;;content-foreground = ${color.background} |
|
||||
;;content-padding = 3 |
|
||||
|
|
||||
; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c $COMMAND" |
|
||||
click-left = ~/.config/polybar/scripts/color-switch.sh & |
|
||||
;;click-middle = ~/.config/polybar/scripts/color-switch.sh & |
|
||||
click-right = ~/.config/polybar/scripts/color-switch.sh & |
|
||||
|
|
||||
; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c $COMMAND" |
|
||||
;;scroll-up = ~/.config/polybar/scripts/powermenu |
|
||||
;;scroll-down = ~/.config/polybar/scripts/powermenu |
|
||||
|
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ |
|
||||
;; __________ ______ |
|
||||
;; / ____/ __ \/ ____/ |
|
||||
;; / __/ / / / / /_ |
|
||||
;; / /___/ /_/ / __/ |
|
||||
;; /_____/\____/_/ |
|
||||
;; |
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ |
|
||||
|
|