mirror of
https://github.com/tuxdotrs/tuxOS.git
synced 2025-07-07 18:26:34 +05:30
added packages
This commit is contained in:
94
packages/tuxos-bspwm/bspwm/polybar/config.ini
Normal file
94
packages/tuxos-bspwm/bspwm/polybar/config.ini
Normal file
@ -0,0 +1,94 @@
|
||||
[color]
|
||||
bg = #000
|
||||
fg = #F1F1F1
|
||||
mb = #000
|
||||
|
||||
trans = #00000000
|
||||
white = #FFFFFF
|
||||
black = #000000
|
||||
|
||||
red = #f7768e
|
||||
pink = #FF0677
|
||||
purple = #583794
|
||||
blue = #7aa2f7
|
||||
blue-arch = #0A9CF5
|
||||
cyan = #4DD0E1
|
||||
teal = #00B19F
|
||||
green = #9ece6a
|
||||
lime = #B9C244
|
||||
yellow = #e0af68
|
||||
amber = #FBC02D
|
||||
orange = #E57C46
|
||||
brown = #AC8476
|
||||
grey = #8C8C8C
|
||||
indigo = #6C77BB
|
||||
blue-gray = #6D8895
|
||||
|
||||
[global/wm]
|
||||
margin-bottom = 0
|
||||
margin-top = 0
|
||||
include-file = modules.ini
|
||||
|
||||
[bar/astro]
|
||||
monitor-strict = false
|
||||
override-redirect = false
|
||||
bottom = false
|
||||
fixed-center = true
|
||||
width = 99%
|
||||
height = 26
|
||||
offset-x = 0.5%
|
||||
offset-y = 1%
|
||||
background = ${color.bg}
|
||||
foreground = ${color.fg}
|
||||
radius = 1.0
|
||||
line-size = 2
|
||||
line-color = ${color.blue}
|
||||
border-size = 8px
|
||||
border-color = ${color.bg}
|
||||
padding = 1
|
||||
module-margin-left = 0
|
||||
module-margin-right = 0
|
||||
|
||||
font-0 = "FiraCode Nerd Font:style=Bold:pixelsize=13;4"
|
||||
font-1 = "FiraCode Nerd Font:size=18;3"
|
||||
|
||||
modules-left = cpu_bar sep memory_bar sep filesystem
|
||||
modules-center = bspwm
|
||||
modules-right = network sep pulseaudio sep battery sep date
|
||||
|
||||
spacing = 0
|
||||
separator =
|
||||
dim-value = 1.0
|
||||
tray-position = right
|
||||
tray-detached = false
|
||||
tray-maxsize = 16
|
||||
tray-background = ${color.bg}
|
||||
tray-offset-x = 0
|
||||
tray-offset-y = 0
|
||||
tray-padding = 0
|
||||
tray-scale = 1.0
|
||||
wm-restack = bspwm
|
||||
enable-ipc = true
|
||||
cursor-click = pointer
|
||||
cursor-scroll =
|
||||
|
||||
[settings]
|
||||
screenchange-reload = false
|
||||
compositing-background = source
|
||||
compositing-foreground = over
|
||||
compositing-overline = over
|
||||
compositing-underline = over
|
||||
compositing-border = over
|
||||
pseudo-transparency = false
|
||||
|
||||
; 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 = amdgpu_bl0
|
||||
sys_network_interface = wlan0
|
215
packages/tuxos-bspwm/bspwm/polybar/modules.ini
Normal file
215
packages/tuxos-bspwm/bspwm/polybar/modules.ini
Normal file
@ -0,0 +1,215 @@
|
||||
[module/bi]
|
||||
type = custom/text
|
||||
content = "%{T5}%{T-}"
|
||||
content-foreground = ${color.mb}
|
||||
content-background = ${color.bg}
|
||||
|
||||
[module/bd]
|
||||
type = custom/text
|
||||
content = "%{T5}%{T-}"
|
||||
content-foreground = ${color.mb}
|
||||
content-background = ${color.bg}
|
||||
|
||||
[module/sep]
|
||||
type = custom/text
|
||||
content = " "
|
||||
content-foreground = ${color.bg}
|
||||
|
||||
######################################################
|
||||
|
||||
[module/cpu_bar]
|
||||
type = internal/cpu
|
||||
interval = 0.5
|
||||
format = <label>
|
||||
format-prefix = ""
|
||||
format-prefix-font = 2
|
||||
format-prefix-background = ${color.mb}
|
||||
format-prefix-foreground = ${color.red}
|
||||
label = " %percentage%%"
|
||||
label-background = ${color.mb}
|
||||
|
||||
######################################################
|
||||
|
||||
[module/memory_bar]
|
||||
type = internal/memory
|
||||
interval = 3
|
||||
format = <label>
|
||||
format-prefix = ""
|
||||
format-prefix-font = 2
|
||||
format-prefix-background = ${color.mb}
|
||||
format-prefix-foreground = ${color.cyan}
|
||||
label = " %used%"
|
||||
label-background = ${color.mb}
|
||||
|
||||
######################################################
|
||||
|
||||
[module/filesystem]
|
||||
type = internal/fs
|
||||
mount-0 = /
|
||||
interval = 60
|
||||
fixed-values = true
|
||||
format-mounted = <label-mounted>
|
||||
format-mounted-prefix = ""
|
||||
format-mounted-prefix-font = 2
|
||||
format-mounted-prefix-background = ${color.mb}
|
||||
format-mounted-prefix-foreground = ${color.amber}
|
||||
format-unmounted = <label-unmounted>
|
||||
format-unmounted-prefix-font = 2
|
||||
format-unmounted-prefix = ""
|
||||
label-mounted = " %used%"
|
||||
label-mounted-background = ${color.mb}
|
||||
label-unmounted = %mountpoint%: not mounted
|
||||
|
||||
######################################################
|
||||
|
||||
[module/bspwm]
|
||||
type = internal/bspwm
|
||||
enable-click = true
|
||||
enable-scroll = true
|
||||
reverse-scroll = true
|
||||
pin-workspaces = true
|
||||
occupied-scroll = false
|
||||
format = <label-state>
|
||||
format-font = 2
|
||||
label-focused =
|
||||
label-focused-background = ${color.mb}
|
||||
label-focused-padding = 1
|
||||
label-focused-foreground = ${color.yellow}
|
||||
label-occupied =
|
||||
label-occupied-padding = 1
|
||||
label-occupied-background = ${color.mb}
|
||||
label-occupied-foreground= ${color.blue}
|
||||
label-urgent = %icon%
|
||||
label-urgent-padding = 0
|
||||
label-empty =
|
||||
label-empty-foreground = ${color.purple}
|
||||
label-empty-padding = 1
|
||||
label-empty-background = ${color.mb}
|
||||
|
||||
######################################################
|
||||
|
||||
[module/network]
|
||||
type = internal/network
|
||||
interface = "wlan0"
|
||||
|
||||
interval = 3.0
|
||||
accumulate-stats = true
|
||||
unknown-as-up = true
|
||||
|
||||
format-connected = <label-connected>
|
||||
format-connected-prefix = " "
|
||||
format-connected-prefix-font = 2
|
||||
format-connected-background = ${color.mb}
|
||||
format-connected-foreground = ${color.green}
|
||||
|
||||
speed-unit = ""
|
||||
label-connected = "%netspeed%"
|
||||
label-connected-background = ${color.mb}
|
||||
label-connected-foreground = ${color.amber}
|
||||
|
||||
format-disconnected = <label-disconnected>
|
||||
format-disconnected-prefix = " "
|
||||
format-disconnected-prefix-font = 2
|
||||
format-disconnected-prefix-background = ${color.mb}
|
||||
format-disconnected-foreground = ${color.red}
|
||||
|
||||
label-disconnected = "Offline"
|
||||
label-disconnected-background = ${color.mb}
|
||||
label-disconnected-foreground = ${color.red}
|
||||
|
||||
|
||||
######################################################
|
||||
|
||||
[module/pulseaudio]
|
||||
type = internal/pulseaudio
|
||||
|
||||
use-ui-max = true
|
||||
interval = 5
|
||||
|
||||
format-volume = <label-volume>
|
||||
format-volume-prefix = " "
|
||||
format-volume-prefix-font = 2
|
||||
format-volume-background = ${color.mb}
|
||||
format-volume-foreground = ${color.indigo}
|
||||
|
||||
label-volume = "%percentage%%"
|
||||
label-volume-background = ${color.mb}
|
||||
label-volume-foreground = ${color.fg}
|
||||
|
||||
format-muted = <label-muted>
|
||||
format-muted-prefix = " "
|
||||
format-muted-prefix-font = 2
|
||||
format-muted-foreground = ${color.indigo}
|
||||
format-muted-background = ${color.mb}
|
||||
label-muted = "Muted"
|
||||
label-muted-foreground = ${color.red}
|
||||
label-muted-background = ${color.mb}
|
||||
|
||||
ramp-volume-0 =
|
||||
ramp-volume-1 =
|
||||
ramp-volume-2 =
|
||||
ramp-volume-3 =
|
||||
ramp-volume-4 =
|
||||
|
||||
click-right = OpenApps --soundcontrol
|
||||
|
||||
######################################################
|
||||
|
||||
[module/battery]
|
||||
type = internal/battery
|
||||
full-at = 99
|
||||
battery = ${system.sys_battery}
|
||||
adapter = ${system.sys_adapter}
|
||||
poll-interval = 2
|
||||
time-format = %H:%M
|
||||
|
||||
format-charging = <animation-charging><label-charging>
|
||||
format-charging-prefix-font = 2
|
||||
format-charging-prefix-foreground = ${color.red}
|
||||
label-charging = " %percentage%%"
|
||||
|
||||
format-discharging = <ramp-capacity><label-discharging>
|
||||
label-discharging = " %percentage%%"
|
||||
|
||||
format-full = <label-full>
|
||||
format-full-prefix =
|
||||
format-full-prefix-font = 2
|
||||
format-full-prefix-foreground = ${color.green}
|
||||
label-full = " %percentage%%"
|
||||
|
||||
ramp-capacity-0 =
|
||||
ramp-capacity-1 =
|
||||
ramp-capacity-2 =
|
||||
ramp-capacity-3 =
|
||||
ramp-capacity-4 =
|
||||
ramp-capacity-foreground = ${color.yellow}
|
||||
ramp-capacity-font = 2
|
||||
|
||||
animation-charging-0 =
|
||||
animation-charging-1 =
|
||||
animation-charging-2 =
|
||||
animation-charging-3 =
|
||||
animation-charging-4 =
|
||||
animation-charging-foreground = ${color.green}
|
||||
animation-charging-font = 2
|
||||
animation-charging-framerate = 700
|
||||
|
||||
######################################################
|
||||
|
||||
[module/date]
|
||||
type = internal/date
|
||||
|
||||
interval = 1.0
|
||||
|
||||
time = %I:%M %P
|
||||
format-background = ${color.mb}
|
||||
format-foreground = ${color.fg}
|
||||
date-alt = "%A, %d %B %Y"
|
||||
|
||||
format = <label>
|
||||
format-prefix = ""
|
||||
format-prefix-font = 2
|
||||
format-prefix-background = ${color.mb}
|
||||
format-prefix-foreground = ${color.blue-gray}
|
||||
|
||||
label = %date% %time%
|
Reference in New Issue
Block a user