From dea54fe72a20f5d72cba91a39eda4dcf69792f63 Mon Sep 17 00:00:00 2001 From: VectorKappa Date: Tue, 29 Jun 2021 19:10:06 +0200 Subject: [PATCH] polybar rice --- bspwm/.config/bspwm/autostart | 12 +++- polybar/.config/polybar/config | 103 ++++++++++++++++++--------------- 2 files changed, 65 insertions(+), 50 deletions(-) diff --git a/bspwm/.config/bspwm/autostart b/bspwm/.config/bspwm/autostart index b701493..149e73f 100755 --- a/bspwm/.config/bspwm/autostart +++ b/bspwm/.config/bspwm/autostart @@ -4,6 +4,7 @@ export GTK2_RC_FILES="$HOME/.gtkrc-2.0" & xrdb merge .Xresources & ## Wallpaper. sh ~/.fehbg & +## Composition manager picom -b & ## enable local fonts in .fonts directory xset +fp /usr/share/fonts/local & @@ -21,15 +22,20 @@ xset -dpms & eval $(awk -F'=' '/Exec=/ {print $2}' ~/.config/autostart/lxrandr-autostart.desktop) & ## Map super key to trigger rofi when used alone xcape -e 'Super_L=Super_L|Shift_L|space' & + ## Polkit agent -#/usr/lib/mate-polkit/polkit-mate-authentication-agent-1 & +polkit-dumb-agent & + ## Gnome keyring gnome-keyring-daemon & -thunar --daemon & + dunst & xss-lock -v i3lock-fancy-dualmonitor & dockd --daemon & flameshot & -$HOME/.config/polybar/launch.sh +run_keybase -a & +telegram-desktop -startintray & +sleep 3 & +$HOME/.config/polybar/launch.sh & diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config index ed5b123..1b32d2f 100644 --- a/polybar/.config/polybar/config +++ b/polybar/.config/polybar/config @@ -49,18 +49,18 @@ padding-left = 0 padding-right = 2 module-margin-left = 1 -module-margin-right = 2 +module-margin-right = 1 -font-0 = fixed:pixelsize=10;1 +font-0 = SauceCodePro Nerd Font Mono:size=10 font-1 = unifont:fontformat=truetype:size=8:antialias=false;0 font-2 = siji:pixelsize=10;1 modules-left = rofi bspwm modules-center = mpd title -modules-right = xbacklight pulseaudio memory cpu wlan eth battery temperature date powermenu +modules-right = xkeyboard xbacklight pulseaudio memory cpu wlan eth battery temperature date powermenu tray-position = right -tray-padding = 2 +tray-padding = 10 ;tray-background = #0063ff wm-restack = bspwm @@ -81,11 +81,11 @@ label = %title:0:30:...% type = internal/xkeyboard blacklist-0 = num lock -format-prefix = " " +format-prefix = format-prefix-foreground = ${colors.foreground-alt} format-prefix-underline = ${colors.secondary} -label-layout = %layout% +label-layout = label-layout-underline = ${colors.secondary} label-indicator-padding = 2 @@ -106,29 +106,29 @@ label-unmounted-foreground = ${colors.foreground-alt} [module/bspwm] type = internal/bspwm -label-focused = %index% +label-focused = %icon%%name% label-focused-background = ${colors.background-alt} label-focused-underline= ${colors.primary} -label-focused-padding = 2 +label-focused-padding = 1 -label-occupied = %index% -label-occupied-padding = 2 +label-occupied = %name% +label-occupied-padding = 1 -label-urgent = %index%! +label-urgent = %name%! label-urgent-background = ${colors.alert} -label-urgent-padding = 2 +label-urgent-padding = 1 -label-empty = %index% +label-empty = %name% label-empty-foreground = ${colors.foreground-alt} -label-empty-padding = 2 +label-empty-padding = 1 ; Separator in between workspaces ; label-separator = | -ws-icon-0 = Web; -ws-icon-1 = Terminals;♛ -ws-icon-2 = Info;♜ -ws-icon-3 = Code;♝ -ws-icon-7 = Communication;♞ +ws-icon-0 = Web;爵 +ws-icon-1 = Terminals; +ws-icon-2 = Info; +ws-icon-3 = Code; +ws-icon-7 = Communication; ; ws-icon-default = [module/mpd] @@ -148,7 +148,7 @@ label-song-ellipsis = true type = internal/xbacklight format =