From d8808683653aa32cea7e96dcedb06b4a04ff6025 Mon Sep 17 00:00:00 2001 From: Suleyman Farajli Date: Sat, 10 Feb 2024 00:02:10 +0400 Subject: first commit, version 0.1 --- src/dotfiles/polybar/config.ini | 172 ++++++++++++++++++++++++++++++++++++++++ src/dotfiles/polybar/launch.sh | 14 ++++ 2 files changed, 186 insertions(+) create mode 100755 src/dotfiles/polybar/config.ini create mode 100755 src/dotfiles/polybar/launch.sh (limited to 'src/dotfiles/polybar') diff --git a/src/dotfiles/polybar/config.ini b/src/dotfiles/polybar/config.ini new file mode 100755 index 0000000..fb996e9 --- /dev/null +++ b/src/dotfiles/polybar/config.ini @@ -0,0 +1,172 @@ +[colors] +grayish = #928374 +background = #282828 +foreground = #ebdbb2 +red = #fb4934 +green = #b8bb26 +yellow = #fcf55f +blue = #83a598 +purple = #d3869b +teal = #8ec07c +orange = #fe8019 +gray = #a89984 + +[bar/example] +width = 100% +height = 19 +; Change if using another window manager +wm-restack = bspwm + +; Align modules fixed to middle +fixed-center = true + +; Colors +background = ${colors.background} +foreground = ${colors.foreground} + +; Underline +line-size = 2 +line-color = ${colors.foreground} + +; Border +border-size = 1 +border-color = ${colors.background} + +; Padding +padding-left = 4 +padding-right = 4 + +; Margin of modules +module-margin-left = 2 +module-margin-right = 2 + +; Font +font-0 = "Roboto:size=11;3" + +; Modlues +; add "date" for clock +; beggining of modules-left is recommended for date module +modules-left = pulseaudio backlight +modules-center = bspwm +modules-right = battery cpu memory + +; Cursor actions +cursor-click = pointer +cursor-scroll = ns-resize +font-2 = "Noto Sans:size=11;1" + +[module/xworkspaces] +type = internal/xworkspaces +label = %title:0:60:...% +label-active-padding = 2 +label-urgent-padding = 2 +label-empty-padding = 2 +label-occupied-padding=2 + +label-urgent-foreground = ${colors.gray} +label-occupied-foreground = ${colors.gray} +label-active-font = 1 + +[module/bspwm] +type = internal/bspwm + +pin-workspaces = true +label-focused = %index% +label-focused-padding = 2 + +label-occupied = %index% +label-occupied-foreground = ${colors.gray} +label-occupied-padding = 2 + +label-urgent = %index% +label-urgent-foreground = ${colors.red} +label-urgent-padding = 2 + +label-empty = + +[module/battery] +type=internal/battery +full-at=99 +low-at=15 +battery=BAT0 +adapter=ADP1 +poll-interval=5 +format-discharging=Battery: +label-discharging=%percentage%% +format-charging=Charging: +label-charging=%percentage%% +format-discharging-foreground=${colors.grayish} +label-discharging-foreground=${colors.foreground} + +[module/backlight] +type = internal/backlight +card = intel_backlight +use-actual-brightness = true +enable-scroll = true +format = Brightness: