dotfiles/polybar/config.ini

391 lines
8.7 KiB
INI

;==========================================================
;
;
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
;
;
; To learn more about how to configure Polybar
; go to https://github.com/polybar/polybar
;
; The README contains a lot of information
;
;==========================================================
[colors]
background = #282A2E
background-alt = #373B41
foreground = #C5C8C6
primary = #F0C674
secondary = #8ABEB7
alert = #A54242
disabled = #707880
[bar/example]
monitor = ${env:MONITOR:}
width = 100%
height = 24pt
radius = 6
; dpi = 96
background = ${colors.background}
foreground = ${colors.foreground}
line-size = 3pt
border-size = 4pt
border-color = #00000000
padding-left = 2
padding-right =2
module-margin = 2
separator = |
separator-foreground = ${colors.disabled}
font-0 = fixed:pixelsize=12;1
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
font-2 = siji:pixelsize=10;1
font-3 = FontAwesome5Free:style=Solid:pixelsize=16:antialias=false;5
font-4 = FontAwesome5Brands:style=Solid:pixelsize=16:antialias=false;5
modules-left = i3
modules-center = date
modules-right = filesystem wlan memory cpu screenshot volume battery brightness launcher i3touchmenu powermenu
cursor-click = pointer
cursor-scroll = ns-resize
enable-ipc = true
[module/i3]
type = internal/i3
format = <label-state> <label-mode>
index-sort = true
wrapping-scroll = false
; Only show workspaces on the same output as the bar
pin-workspaces = true
label-mode-padding = 2
label-mode-foreground = #000
label-mode-background = ${colors.primary}
; focused = Active workspace on focused monitor
label-focused = %index%
label-focused-background = ${colors.background-alt}
label-focused-underline= ${colors.primary}
label-focused-padding = 2
; unfocused = Inactive workspace on any monitor
label-unfocused = %index%
label-unfocused-padding = 2
#visible = Active workspace on unfocused monitor
label-visible = %index%
label-visible-background = ${self.label-focused-background}
label-visible-underline = ${self.label-focused-underline}
label-visible-padding = ${self.label-focused-padding}
; urgent = Workspace with urgency hint set
label-urgent = %index%
label-urgent-background = ${colors.alert}
label-urgent-padding = 2
; Separator in between workspaces
; label-separator = |
[module/filesystem]
type = internal/fs
interval = 25
mount-0 = /
label-mounted = %{F#F0C674}%mountpoint%%{F-} %percentage_used%%
label-unmounted = %mountpoint% not mounted
label-unmounted-foreground = ${colors.disabled}
[module/memory]
type = internal/memory
interval = 2
format-prefix = ""
format-prefix-foreground = ${colors.primary}
label = %used:2%
[module/cpu]
type = internal/cpu
interval = 2
format-prefix = ""
format-prefix-foreground = ${colors.primary}
label = %percentage:2%%
[network-base]
type = internal/network
interval = 5
format-connected = <label-connected>
format-disconnected = <label-disconnected>
label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected
[module/wlan]
inherit = network-base
interface-type = wireless
label-connected = %{F#F0C674}%ifname%%{F-} %essid% %local_ip%
[module/eth]
inherit = network-base
interface-type = wired
label-connected = %{F#F0C674}%ifname%%{F-} %local_ip%
[module/date]
type = internal/date
interval = 1
date-alt = %H:%M
date = %Y-%m-%d - %H:%M
label = %date%
label-foreground = ${colors.primary}
[settings]
screenchange-reload = true
pseudo-transparency = true
; vim:ft=dosini
[module/launcher]
type = custom/text
content =
content-background = black
content-foreground = green
click-left = ~/.config/rofi/launchers/type-1/launcher.sh
click-right = launcher_t1
;; Power Menu Module
[module/powermenu]
type = custom/text
content =
content-background = black
content-foreground = red
click-left = ~/.config/rofi/powermenu/type-1/powermenu.sh
click-right = powermenu_t1
;; Volume Menu Module
[module/volume]
type = custom/text
content =
content-background = black
content-foreground = red
click-left = ~/.config/rofi/applets/bin/volume.sh
click-right = volume_t1
;; Brightness Menu Module
[module/brightness]
type = custom/text
content =
content-background = black
content-foreground = red
click-left = ~/.config/rofi/applets/bin/brightness.sh
click-right = volume_t1
;; Screenshot Menu Module
[module/screenshot]
type = custom/text
content =
content-background = black
content-foreground = red
click-left = ~/.config/rofi/applets/bin/screenshot.sh
click-right = volume_t1
;; Battery Menu Module
[module/battery]
type = custom/text
content =
content-background = black
content-foreground = red
click-left = ~/.config/rofi/applets/bin/battery.sh
click-right = volume_t1
[module/i3touchmenu]
type = custom/menu
expand-right = true
format-spacing = 1
;; Open the menu
label-open = " "
label-open-foreground = #FFF
;; Close the menu
label-close =
label-close-foreground = ${colors.secondary}
label-separator = " "
label-separator-foreground = ${colors.foreground-alt}
;; Move
menu-0-0 =
menu-0-0-exec = menu-open-1
;; Layout
menu-0-1 =
menu-0-1-exec = menu-open-2
;; Split
menu-0-2 =
menu-0-2-exec = menu-open-3
;; Resize
menu-0-3 =
menu-0-3-exec = menu-open-4
;; Move to workspace
menu-0-4 =
menu-0-4-exec = menu-open-5
;; Kill
menu-0-5 =
menu-0-5-exec = menu-open-6
;; Keyboard
menu-0-6 =
menu-0-6-exec = menu-open-7
;; Move: Back to main menu
menu-1-0 =
menu-1-0-exec = menu-open-0
;; Move: Left
menu-1-1 =
menu-1-1-exec = i3-msg 'move left'
;; Move: Right
menu-1-2 =
menu-1-2-exec = i3-msg 'move right'
;; Move: Up
menu-1-3 =
menu-1-3-exec = i3-msg 'move up'
;; Move: Down
menu-1-4 = " "
menu-1-4-exec = i3-msg 'move down'
;; Layout: Back to main menu
menu-2-0 =
menu-2-0-exec = menu-open-0
;; Layout: Split
menu-2-1 =
menu-2-1-exec = i3-msg 'layout toggle split'
;; Layout: Stacking
menu-2-2 =
menu-2-2-exec = i3-msg 'layout stacking'
;; Layout: Tabbed
menu-2-3 =
menu-2-3-exec = i3-msg 'layout tabbed'
;; Layout: Toggle floating
menu-2-4 = " "
menu-2-4-exec = i3-msg 'floating toggle'
;; Split: Back to main menu
menu-3-0 =
menu-3-0-exec = menu-open-0
;; Split: Vertical
menu-3-1 =
menu-3-1-exec = i3-msg 'split v'
;; Split: Horizontal
menu-3-2 = " "
menu-3-2-exec = i3-msg 'split h'
;; Resize: Back to main menu
menu-4-0 =
menu-4-0-exec = menu-open-0
;; Resize: Grow height
menu-4-1 =
menu-4444-1-exec = i3-msg 'resize grow height 5 px or 5 ppt'
;; Resize: Shrink height
menu-4-2 =
menu-4-2-exec = i3-msg 'resize shrink height 5 px or 5 ppt'
;; Resize: Grow width
menu-4-3 =
menu-4-3-exec = i3-msg 'resize grow width 5 px or 5 ppt'
;; Resize: Shrink width
menu-4-4 = " "
menu-4-4-exec = i3-msg 'resize shrink width 5 px or 5 ppt'
;; Move to workspace: Back to main menu
menu-5-0 =
menu-5-0-exec = menu-open-0
;; Move to workspace: 1
menu-5-1 = 1
menu-5-1-exec = i3-msg 'move container to workspace 1'
;; Move to workspace: 2
menu-5-2 = 2
menu-5-2-exec = i3-msg 'move container to workspace 2'
;; Move to workspace: 3
menu-5-3 = 3
menu-5-3-exec = i3-msg 'move container to workspace 3'
;; Move to workspace: 4
menu-5-4 = 4
menu-5-4-exec = i3-msg 'move container to workspace 4'
;; Move to workspace: 5
menu-5-5 = 5
menu-5-5-exec = i3-msg 'move container to workspace 5'
;; Move to workspace: 6
menu-5-6 = 6
menu-5-6-exec = i3-msg 'move container to workspace 6'
;; Move to workspace: 7
menu-5-7 = 7
menu-5-7-exec = i3-msg 'move container to workspace 7'
;; Move to workspace: 8
menu-5-8 = 8
menu-5-8-exec = i3-msg 'move container to workspace 8'
;; Move to workspace: 9
menu-5-9 = 9
menu-5-9-exec = i3-msg 'move container to workspace 9'
;; Move to workspace: 10
menu-5-10 = "10 "
menu-5-10-exec = i3-msg 'move container to workspace 10'
;; Kill: Back to main menu
menu-6-0 =
menu-6-0-exec = menu-open-0
;; Kill: Kill
menu-6-1 = "You sure?  "
menu-6-1-exec = i3-msg 'kill'
menu-7-0 = ""
menu-7-0-exec = cellwriter --show-window
menu-7-1 = ""
menu-7-1-exec = cellwriter --hide-window