Added polybar + rofi configs and symlinks
This commit is contained in:
@@ -0,0 +1,133 @@
|
||||
;==========================================================
|
||||
; Polybar config - Qogir themed
|
||||
; Place at ~/.config/polybar/config.ini
|
||||
;==========================================================
|
||||
|
||||
[colors]
|
||||
background = #282A33
|
||||
background-alt = #3c3c3c
|
||||
foreground = #d3dae3
|
||||
foreground-alt = #000000
|
||||
accent = #5294e2
|
||||
accent-alt = #6ba0e8
|
||||
red = #e35b5b
|
||||
green = #98c379
|
||||
yellow = #e5c07b
|
||||
disabled = #707880
|
||||
|
||||
[bar/main]
|
||||
width = 100%
|
||||
height = 35px
|
||||
radius = 0
|
||||
fixed-center = true
|
||||
|
||||
background = ${colors.background}
|
||||
foreground = ${colors.foreground}
|
||||
|
||||
line-size = 0px
|
||||
line-color = ${colors.accent}
|
||||
|
||||
border-size = 0px
|
||||
border-color = #00000000
|
||||
|
||||
padding-left = 1
|
||||
padding-right = 1
|
||||
|
||||
module-margin = 1
|
||||
|
||||
separator = "|"
|
||||
separator-foreground = ${colors.disabled}
|
||||
|
||||
font-0 = "JetBrainsMono Nerd Font:size=14;3"
|
||||
font-1 = "JetBrainsMono Nerd Font:size=14;3"
|
||||
|
||||
modules-left = xworkspaces xwindow
|
||||
modules-right = filesystem pulseaudio memory cpu eth date tray
|
||||
|
||||
cursor-click = pointer
|
||||
cursor-scroll = ns-resize
|
||||
|
||||
enable-ipc = true
|
||||
|
||||
;==========================================================
|
||||
; Workspaces
|
||||
;==========================================================
|
||||
[module/xworkspaces]
|
||||
type = internal/xworkspaces
|
||||
|
||||
label-active = " %name% "
|
||||
label-active-background = ${colors.accent}
|
||||
label-active-foreground = ${colors.background}
|
||||
label-active-underline = ${colors.accent-alt}
|
||||
label-active-padding = 1
|
||||
|
||||
label-occupied = " %name% "
|
||||
label-occupied-foreground = #ffffff
|
||||
label-occupied-padding = 1
|
||||
|
||||
label-urgent = " %name% "
|
||||
label-urgent-background = ${colors.red}
|
||||
label-urgent-foreground = ${colors.background}
|
||||
label-urgent-padding = 1
|
||||
|
||||
label-empty = " %name% "
|
||||
label-empty-foreground = ${colors.disabled}
|
||||
label-empty-padding = 1
|
||||
|
||||
;==========================================================
|
||||
; Focused window title - focus indicator
|
||||
;==========================================================
|
||||
[module/xwindow]
|
||||
type = internal/xwindow
|
||||
label = %title%
|
||||
label-foreground = #ffffff
|
||||
label-padding = 1
|
||||
|
||||
;==========================================================
|
||||
; Date / time
|
||||
;==========================================================
|
||||
[module/date]
|
||||
type = internal/date
|
||||
interval = 1
|
||||
|
||||
;date = %Y-%m-%d %H:%M:%S
|
||||
date = %Y-%m-%d %H:%M
|
||||
date-alt = %H:%M
|
||||
|
||||
label = %date%
|
||||
label-foreground = ${colors.foreground}
|
||||
label-padding = 1
|
||||
|
||||
;==========================================================
|
||||
; Pulseaudio
|
||||
;==========================================================
|
||||
[module/pulseaudio]
|
||||
type = internal/pulseaudio
|
||||
|
||||
format-volume-prefix = "VOL "
|
||||
format-volume-prefix-foreground = ${colors.accent}
|
||||
format-volume = <label-volume>
|
||||
|
||||
label-volume = %percentage%%
|
||||
label-volume-padding = 1
|
||||
|
||||
label-muted = "MUTED"
|
||||
label-muted-foreground = ${colors.disabled}
|
||||
label-muted-padding = 1
|
||||
|
||||
;==========================================================
|
||||
; Pulseaudio
|
||||
;==========================================================
|
||||
[module/tray]
|
||||
type = internal/tray
|
||||
tray-maxsize = 16
|
||||
tray-padding = 4
|
||||
tray-background = ${colors.background}
|
||||
|
||||
;==========================================================
|
||||
; Settings
|
||||
;==========================================================
|
||||
[settings]
|
||||
screenchange-reload = true
|
||||
pseudo-transparency = false
|
||||
|
||||
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Terminate already running bar instances
|
||||
pkill -x polybar
|
||||
|
||||
# Wait until the processes have been shut down
|
||||
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
||||
|
||||
polybar main &
|
||||
Reference in New Issue
Block a user