forked from extern/nix-config
polybar: - Properly referenced all the xrdb colors - Decreased the height of the bar to 85 while floating - Made the border color translucent - Added line-size (gives line emphasis to modules) bspwm: - Decreased window_gap (aka increased the working space) - Added presel_feedback_color (used when selecting where to open new windows) sxhkd: - Added super + shift + return to start a new tmux session - Updated polybar show / hide with new top_padding value - Added keybind for the private flag
125 lines
3.1 KiB
INI
125 lines
3.1 KiB
INI
# New Start: A modern Arch workflow built with an emphasis on functionality.
|
|
# Copyright (C) 2017-2018 Donovan Glover
|
|
|
|
[color]
|
|
background = ${xrdb:color0}
|
|
red = ${xrdb:color1}
|
|
green = ${xrdb:color2}
|
|
yellow = ${xrdb:color3}
|
|
blue = ${xrdb:color4}
|
|
magenta = ${xrdb:color5}
|
|
cyan = ${xrdb:color6}
|
|
text = ${xrdb:color7}
|
|
background-alt = ${xrdb:color8}
|
|
|
|
[bar/main]
|
|
modules-left = bspwm
|
|
modules-center = mpd
|
|
modules-right = cpu ram volume date time
|
|
|
|
monitor = VGA-1
|
|
foreground = ${color.text}
|
|
background = ${color.background}
|
|
font-0 = "Fira Mono:size=22"
|
|
font-1 = "Noto Sans CJK JP:size=22"
|
|
|
|
# NOTE: You may want to change height to 80 if you don't want float
|
|
# Also do a grep for 80 and change the other places as well
|
|
height = 85
|
|
padding-left = 2
|
|
padding-right = 2
|
|
module-margin = 1
|
|
border-color = 88FFFFFF
|
|
|
|
# Make the bar float
|
|
# NOTE: offset-x should be the same as window_gap in your bspwmrc
|
|
offset-x = 20
|
|
# NOTE: offset-y depends on window_gap as well; it's usually the same as offset-x
|
|
offset-y = 20
|
|
# NOTE: width = screen resolution - offset-x * 2
|
|
width = 3800
|
|
# NOTE: border-size should be the same as border_width in your bspwmrc
|
|
border-size = 3
|
|
|
|
line-size = 8
|
|
|
|
[module/bspwm]
|
|
type = internal/bspwm
|
|
pin-workspaces = true
|
|
|
|
label-focused-foreground = ${color.green}
|
|
label-urgent-foreground = ${color.yellow}
|
|
label-occupied-foreground = ${color.text}
|
|
label-empty-foreground = ${color.background-alt}
|
|
label-focused-padding = 2
|
|
label-urgent-padding = 2
|
|
label-occupied-padding = 2
|
|
label-empty-padding = 2
|
|
|
|
label-focused-underline = ${color.green}
|
|
|
|
ws-icon-0 = 1;一
|
|
ws-icon-1 = 2;二
|
|
ws-icon-2 = 3;三
|
|
ws-icon-3 = 4;四
|
|
ws-icon-4 = 5;五
|
|
ws-icon-5 = 6;六
|
|
ws-icon-6 = 7;七
|
|
ws-icon-7 = 8;八
|
|
ws-icon-8 = 9;九
|
|
ws-icon-9 = 10;十
|
|
|
|
[module/cpu]
|
|
type = internal/cpu
|
|
label = CPU: %percentage%%
|
|
format-foreground = ${color.blue}
|
|
format-underline = ${color.blue}
|
|
|
|
[module/ram]
|
|
type = internal/memory
|
|
label = RAM: %gb_used%
|
|
format-foreground = ${color.cyan}
|
|
format-underline = ${color.cyan}
|
|
|
|
[module/date]
|
|
type = internal/date
|
|
date = %d.%m.%y
|
|
#date = %B %d, %Y
|
|
#date = %A
|
|
format-foreground = ${color.yellow}
|
|
format-underline = ${color.yellow}
|
|
|
|
[module/time]
|
|
type = internal/date
|
|
date = %H:%M
|
|
format-foreground = ${color.magenta}
|
|
format-underline = ${color.magenta}
|
|
|
|
[module/battery]
|
|
type = internal/battery
|
|
battery = BAT0
|
|
adapter = AC
|
|
full-at = 98
|
|
label-full = %percentage%%
|
|
label-charging = %percentage%%
|
|
label-discharigng = %percentage%
|
|
|
|
[module/mpd]
|
|
type = internal/mpd
|
|
format-offline = No song is currently playing.
|
|
label-song-maxlen = 100
|
|
label-song-ellipsis = true
|
|
format-online = <label-song>
|
|
format-offline-foreground = ${color.cyan}
|
|
format-offline-underline = ${color.cyan}
|
|
format-online-foreground = ${color.cyan}
|
|
format-online-underline = ${color.cyan}
|
|
|
|
[module/volume]
|
|
type = internal/volume
|
|
label-volume = VOL: %percentage%%
|
|
format-volume-foreground = ${color.green}
|
|
format-volume-underline = ${color.green}
|
|
|
|
; vim:ft=dosini
|