fresh init
This commit is contained in:
1 parent
d50317cdcf
commit
5c63104f84
8 files changed
+480
No files matched your search
Whitespace-only changes.
@@ -0,0 +1,15 @@
|
||||
; ____ ___ _ ___ ____ ____
|
||||
; / ___/ _ \| | / _ \| _ \/ ___|
|
||||
; | | | | | | | | | | | |_) \___ \
|
||||
; | |__| |_| | |__| |_| | _ < ___) |
|
||||
; \____\___/|_____\___/|_| \_\____/
|
||||
|
||||
[colors]
|
||||
background = #E61a1e25
|
||||
foreground = #cbcbcb
|
||||
red = #F37F97
|
||||
green = #5ADECD
|
||||
yellow = #F2A272
|
||||
purple = #C574DD
|
||||
amber = #FBC02D
|
||||
blue = #3CFAB4
|
||||
@@ -0,0 +1,52 @@
|
||||
; ____ _ _
|
||||
;| _ \ ___ | |_ _| |__ __ _ _ __ o0xjack
|
||||
;| |_) / _ \| | | | | '_ \ / _` | '__| https://github.com/S4NKALP/bspwm
|
||||
;| __/ (_) | | |_| | |_) | (_| | |
|
||||
;|_| \___/|_|\__, |_.__/ \__,_|_|
|
||||
; |___/ by o0xjack
|
||||
|
||||
|
||||
|
||||
include-file = modules/modules
|
||||
include-file = modules/mediaModules
|
||||
include-file = modules/separatorsModules
|
||||
include-file = modules/monitoringModules
|
||||
include-file = colors.ini
|
||||
include-file = system.ini
|
||||
|
||||
[bar/example]
|
||||
tray-position = none
|
||||
|
||||
cursor-click = pointer
|
||||
dpi-x = 98
|
||||
dpi-y = 98
|
||||
width = 100%
|
||||
height = 34
|
||||
;offset-x = 0.5%
|
||||
offset-y = 1%
|
||||
;radius = 16
|
||||
|
||||
|
||||
# Bar Colour
|
||||
background = #001a1e25
|
||||
foreground = ${colors.foreground}
|
||||
bottom = false
|
||||
border-top-size = 5
|
||||
border-bottom-size = 0
|
||||
border-radius = 16
|
||||
border-top-color = #001a1e25
|
||||
border-bottom-color = #001a1e25
|
||||
|
||||
line-size = 0
|
||||
;wm-restack = bspwm
|
||||
|
||||
modules-left = round-left launcher round-right empty-space round-left bspwm round-right empty-space round-left xkeyboard spacee updates spacee weather sapcee round-right empty-space round-left wlan round-right
|
||||
modules-center = round-left2 title round-right2
|
||||
modules-right = round-left cpu memory round-right empty-space round-left music-player battery setting round-right empty-space round-left date round-right
|
||||
|
||||
font-0 = JetBrainsMono Nerd Font:style=Bold:pixelsize=11;3
|
||||
font-1 = JetBrainsMono Nerd Font:size= 20;5
|
||||
font-2 = Material Design Icons:style=Bold:size=11;3
|
||||
font-3 = Font Awesome 6 Free Solid:size=11;3
|
||||
font-4 = "Quicksand-Bold Free:style=bold:pixelsize=11;2.5"
|
||||
font-5 = "NotoSansJP-Bold Free:style=bold:Font:size=11;2.5"
|
||||
Executable
+52
@@ -0,0 +1,52 @@
|
||||
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/volume]
|
||||
type = internal/pulseaudio
|
||||
interval = 1.0
|
||||
|
||||
format-volume = <ramp-volume> <label-volume>
|
||||
format-volume-background = ${colors.background}
|
||||
format-volume-padding = 0
|
||||
format-volume-foreground = ${colors.foreground}
|
||||
format-muted = <label-muted>
|
||||
format-muted-prefix = " 婢 "
|
||||
format-muted-background = ${colors.background}
|
||||
format-muted-padding = 0
|
||||
format-muted-prefix-foreground = ${colors.foreground}
|
||||
|
||||
|
||||
label-muted = "Muted"
|
||||
label-muted-foreground = ${colors.foreground}
|
||||
ramp-volume-0 = " "
|
||||
ramp-volume-1 = " 奔"
|
||||
ramp-volume-2 = " 墳"
|
||||
|
||||
click-right = OpenApps --soundcontrol
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/music-player]
|
||||
type = custom/text
|
||||
content = " "
|
||||
content-foreground = ${colors.purple}
|
||||
content-background = ${colors.background}
|
||||
|
||||
click-left = OpenApps --Player
|
||||
click-right = OpenApps --music
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/mic]
|
||||
type = custom/script
|
||||
exec = pipewire-microphone.sh
|
||||
tail = true
|
||||
click-left = pipewire-microphone.sh --toggle &
|
||||
scroll-up = pipewire-microphone.sh --increase &
|
||||
scroll-down = pipewire-microphone.sh --decrease &
|
||||
format-background = ${colors.background}
|
||||
format-foreground = ${colors.foreground}
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
Executable
+156
@@ -0,0 +1,156 @@
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/backlight]
|
||||
type = internal/backlight
|
||||
card = ${system.sys_graphics_card}
|
||||
|
||||
enable-scroll = true
|
||||
|
||||
format = <ramp> <label>
|
||||
format-foreground = ${colors.foreground}
|
||||
format-background = ${colors.background}
|
||||
label = "%percentage%% "
|
||||
|
||||
ramp-0 = " "
|
||||
ramp-1 = " "
|
||||
ramp-2 = " "
|
||||
ramp-3 = " "
|
||||
ramp-4 = " "
|
||||
ramp-5 = " "
|
||||
ramp-6 = " "
|
||||
ramp-7 = " "
|
||||
ramp-8 = " "
|
||||
ramp-9 = " "
|
||||
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/bspwm]
|
||||
type = internal/bspwm
|
||||
|
||||
enable-click = true
|
||||
enable-scroll = false
|
||||
reverse-scroll = false
|
||||
pin-workspaces = true
|
||||
|
||||
|
||||
label-font = 4
|
||||
label-monitor = %name%
|
||||
format = <label-state> <label-mode>
|
||||
|
||||
|
||||
|
||||
label-focused = %name%
|
||||
label-focused-background = ${colors.background}
|
||||
;label-focused-underline= #000000
|
||||
label-focused-padding = 1
|
||||
label-focused-foreground = #58baf1
|
||||
|
||||
label-occupied = %name%
|
||||
label-occupied-padding = 1
|
||||
label-occupied-background = ${colors.background}
|
||||
label-occupied-foreground = ${colors.red}
|
||||
|
||||
label-urgent = %name%
|
||||
label-urgent-background = ${colors.background}
|
||||
label-urgent-foreground = ${colors.yellow}
|
||||
label-urgent-padding = 1
|
||||
|
||||
label-empty = %name%
|
||||
label-empty-foreground = ${colors.foreground}
|
||||
label-empty-padding = 1
|
||||
label-empty-background = ${colors.background}
|
||||
|
||||
format-foreground = ${colors.foreground}
|
||||
format-background = ${colors.background}
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/date]
|
||||
type = internal/date
|
||||
|
||||
interval = 1.0
|
||||
|
||||
time = %I:%M %p - %d %b %y
|
||||
;;date-alt = " %a, %d %b %Y"
|
||||
|
||||
format = <label>
|
||||
format-prefix = " "
|
||||
format-prefix-foreground = #8897F4
|
||||
format-background = ${colors.background}
|
||||
format-foreground = ${colors.foreground}
|
||||
|
||||
label = "%time%"
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
[module/wlan]
|
||||
type = internal/network
|
||||
interface = ${system.sys_network_interface}
|
||||
interval = 1.0
|
||||
format-connected = <label-connected>
|
||||
format-disconnected = <label-disconnected>
|
||||
|
||||
label-connected = " %essid% %netspeed%"
|
||||
label-connected-foreground = ${colors.green}
|
||||
label-connected-background = ${colors.background}
|
||||
|
||||
label-disconnected = "%{A1:nmd &:}睊 OFFLINE%{A}"
|
||||
label-disconnected-foreground = ${colors.red}
|
||||
label-disconnected-background = ${colors.background}
|
||||
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/xkeyboard]
|
||||
type = internal/xkeyboard
|
||||
blacklist-0 = num lock
|
||||
blacklist-1 = scroll lock
|
||||
#blacklist-0 = caps lock
|
||||
label-indicator-on-capslock = CL
|
||||
label-foregroud = ${colors.blue}
|
||||
format-foreground = ${colors.blue}
|
||||
format-prefix = ""
|
||||
label-layout = " %icon%"
|
||||
label-layout-font = 1
|
||||
layout-icon-default = some-icon
|
||||
layout-icon-0 = us;US
|
||||
layout-icon-1 = np;NP
|
||||
label = %layout%
|
||||
format-padding = 0
|
||||
format-background = ${colors.background}
|
||||
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/launcher]
|
||||
type = custom/text
|
||||
content = ""
|
||||
content-foreground = #8897F4
|
||||
click-left = OpenApps --menu
|
||||
click-right = sidebar
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/info-panel]
|
||||
type = custom/text
|
||||
|
||||
content = " "
|
||||
content-font = 5
|
||||
content-foreground = ${colors.amber}
|
||||
content-background = ${colors.background}
|
||||
content-padding = 0
|
||||
|
||||
click-left = info-panel
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/setting]
|
||||
type = custom/text
|
||||
|
||||
content = " "
|
||||
content-font = 5
|
||||
content-padding = 0
|
||||
content-foreground = ${colors.foreground}
|
||||
click-left = eww -c ~/.config/bspwm/widgets/tray open --toggle tray
|
||||
content-background = ${colors.background}
|
||||
+144
@@ -0,0 +1,144 @@
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/battery]
|
||||
type = internal/battery
|
||||
|
||||
full-at = 100
|
||||
battery = ${system.sys_battery}
|
||||
adapter = ${system.sys_adapter}
|
||||
poll-interval = 2
|
||||
time-format = %H:%M
|
||||
|
||||
format-charging = <animation-charging> <label-charging>
|
||||
format-charging-background = ${colors.background}
|
||||
format-charging-foreground = ${colors.foreground}
|
||||
format-charging-padding = 0
|
||||
format-discharging = <ramp-capacity> <label-discharging>
|
||||
format-discharging-background = ${colors.background}
|
||||
format-discharging-foreground = ${colors.foreground}
|
||||
format-discharging-padding = 0
|
||||
format-full =<label-full>
|
||||
format-full-prefix = " "
|
||||
format-full-background = ${colors.background}
|
||||
format-full-foreground = ${colors.foreground}
|
||||
format-full-padding = 0
|
||||
label-charging = "%percentage%%"
|
||||
label-discharging = "%percentage%%"
|
||||
label-full = "%percentage%%"
|
||||
|
||||
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 =
|
||||
|
||||
animation-charging-framerate = 600
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/cpu]
|
||||
type = internal/cpu
|
||||
|
||||
interval = 0.5
|
||||
|
||||
format = <label>
|
||||
format-prefix = " "
|
||||
format-prefix-background = ${colors.background}
|
||||
format-prefix-foreground = ${colors.red}
|
||||
|
||||
label = "%percentage%%"
|
||||
label-background = ${colors.background}
|
||||
format-background = ${colors.background}
|
||||
format-foreground = ${colors.foreground}
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/temperature]
|
||||
type = custom/script
|
||||
exec = sensors | awk '/^Core 0/ {print $3}' | cut -c2- | tr -d '+°C'
|
||||
interval = 1
|
||||
label = %output%°C
|
||||
format-background = ${colors.background}
|
||||
format-foreground = ${colors.foreground}
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/memory]
|
||||
type = internal/memory
|
||||
interval = 2
|
||||
format-prefix = " "
|
||||
format-prefix-foreground = ${colors.red}
|
||||
format-background = ${colors.background}
|
||||
format = <label>
|
||||
label = %used%
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/updates]
|
||||
type = custom/script
|
||||
exec = Updates --get-updates
|
||||
format = <label>
|
||||
interval = 1.0
|
||||
tail = true
|
||||
label = %output%
|
||||
format-background = ${colors.background}
|
||||
format-foreground = ${colors.foreground}
|
||||
|
||||
click-left = OpenApps --update
|
||||
click-right = OpenApps --checkupdates
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/weather]
|
||||
type = custom/script
|
||||
exec = Weather wmodule
|
||||
interval = 1
|
||||
format = <label>
|
||||
label = "%output%"
|
||||
format-foreground = ${colors.yellow}
|
||||
format-background = ${colors.background}
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/title]
|
||||
type = custom/script
|
||||
exec = application.sh
|
||||
tail = true
|
||||
format = <label>
|
||||
label-maxlen = 30
|
||||
format-background = ${colors.background}
|
||||
format-foreground = #5294E2
|
||||
|
||||
|
||||
[module/filesystem]
|
||||
type = internal/fs
|
||||
|
||||
mount-0 = /
|
||||
interval = 30
|
||||
fixed-values = true
|
||||
spacing = 4
|
||||
warn-percentage = 80
|
||||
|
||||
format-mounted = <label-mounted>
|
||||
format-mounted-background = ${colors.background}
|
||||
format-mounted-padding = 1
|
||||
format-mounted-prefix = ""
|
||||
format-mounted-prefix-font = 3
|
||||
format-mounted-prefix-foreground = ${colors.blue}
|
||||
|
||||
format-warn = <label-warn>
|
||||
format-warn-background = ${colors.background}
|
||||
format-warn-padding = 1
|
||||
format-warn-prefix = ""
|
||||
format-warn-prefix-font = 3
|
||||
format-warn-prefix-foreground = ${colors.red}
|
||||
|
||||
label-mounted = %used%
|
||||
label-warn = %used%/%total%!
|
||||
+46
@@ -0,0 +1,46 @@
|
||||
[module/empty-space]
|
||||
type = custom/text
|
||||
content = " "
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/space]
|
||||
type = custom/text
|
||||
content = " "
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/spacee]
|
||||
type = custom/text
|
||||
content = " "
|
||||
content-background = ${colors.background}
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/round-left]
|
||||
type = custom/text
|
||||
content = %{T3}%{T-}
|
||||
content-foreground = ${colors.background}
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/round-right]
|
||||
type = custom/text
|
||||
content = %{T3}%{T-}
|
||||
content-foreground = ${colors.background}
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/round-left2]
|
||||
type = custom/text
|
||||
content = %{T3}%{T-}
|
||||
content-foreground = ${colors.background}
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/round-right2]
|
||||
type = custom/text
|
||||
content = %{T3}%{T-}
|
||||
content-foreground = ${colors.background}
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
@@ -0,0 +1,15 @@
|
||||
; ╔═╗╦ ╦╔═╗╔╦╗╔═╗╔╦╗ ╦ ╦╔═╗╦═╗╦╔═╗╔╗ ╦ ╔═╗╔═╗
|
||||
; ╚═╗╚╦╝╚═╗ ║ ║╣ ║║║ ╚╗╔╝╠═╣╠╦╝║╠═╣╠╩╗║ ║╣ ╚═╗
|
||||
; ╚═╝ ╩ ╚═╝ ╩ ╚═╝╩ ╩ ╚╝ ╩ ╩╩╚═╩╩ ╩╚═╝╩═╝╚═╝╚═╝
|
||||
; The variables for the polybar modules are taken from this file.
|
||||
|
||||
;; Edit according to your system
|
||||
;; Run `ls -1 /sys/class/power_supply/` to list list batteries and adapters.
|
||||
;; Run `ls -1 /sys/class/backlight/` to list available graphics cards.
|
||||
;; Run `ip link | awk '/state UP/ {print $2}' | tr -d :` to get active network interface.
|
||||
|
||||
[system]
|
||||
sys_adapter = AC
|
||||
sys_battery = BAT0
|
||||
sys_graphics_card = intel_backlight
|
||||
sys_network_interface = wlan0
|
||||
Reference in new issue
Block a user