From 58673db4b58c5efff39fbbd9d1c1218390682a47 Mon Sep 17 00:00:00 2001 From: fanyx Date: Sat, 19 Feb 2022 16:05:55 +0100 Subject: [PATCH] lil cleanup --- .config/polybar/config | 238 -------------------------------------- .config/polybar/launch.sh | 13 --- .config/sv/mpd/run | 4 - .config/sv/mpdas/run | 2 - .void.bash_aliases | 3 + .void.bashrc | 2 - 6 files changed, 3 insertions(+), 259 deletions(-) delete mode 100644 .config/polybar/config delete mode 100755 .config/polybar/launch.sh delete mode 100755 .config/sv/mpd/run delete mode 100755 .config/sv/mpdas/run diff --git a/.config/polybar/config b/.config/polybar/config deleted file mode 100644 index e000d74..0000000 --- a/.config/polybar/config +++ /dev/null @@ -1,238 +0,0 @@ -;========================================================== -; - -; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ -; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ -; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ -; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ -; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ -; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ -; -; -; To learn more about how to configure Polybar -; go to https://github.com/polybar/polybar -; -; The README contains a lot of information -; -;========================================================== - -[colors] -background = ${xrdb:color0:#222} -foreground = ${xrdb:color7:#555} - -background-alt = ${xrdb:color1:#222} -foreground-alt = ${xrdb:color7:#555} - -primary = ${xrdb:color1:#222} -secondary = ${xrdb:color2:#222} -alert = ${xrdb:color3:#222} - -[bar/main] -monitor = ${env:MONITOR:} -width = 100% -height = 28 -fixed-center = false - -background = ${colors.background} -foreground = ${colors.foreground} - -line-size = 3 -line-color = #f00 - -border-size = 4 -border-color = #00000000 - -padding-left = 0 -padding-right = 2 - -module-margin-left = 1 -module-margin-right = 1 - -font-0 = JetBrains Mono:pixelsize=10:style=Bold;1 - -modules-left = bspwm date -modules-center = xwindow -modules-right = filesystem pulseaudio memory cpu eth powermenu - -separator = | - -tray-position = right -tray-padding = 2 -tray-background = ${colors.xcolor4} - -cursor-click = pointer -cursor-scroll = ns-resize - -wm-restack = bspwm - -[module/xwindow] -type = internal/xwindow -label = %title:0:50:...% - -format-underline = ${colors.secondary} - -[module/filesystem] -type = internal/fs -interval = 25 - -mount-0 = / -mount-1 = /mnt/win/c -mount-2 = /mnt/win/d -mount-3 = /mnt/win/e - -label-mounted = %{F#739E81}%mountpoint%%{F-}: %percentage_used%% -label-unmounted = %mountpoint% not mounted -label-unmounted-foreground = ${colors.foreground-alt} - -[module/bspwm] -type = internal/bspwm - -label-focused = %index% -label-focused-background = ${colors.background-alt} -label-focused-underline = ${colors.primary} -label-focused-padding = 2 - -label-occupied = %index% -label-occupied-padding = 2 - -label-urgent = %index%! -label-urgent-background = ${colors.alert} -label-urgent-padding = 2 - -label-empty = %index% -label-empty-foreground = ${colors.foreground-alt} -label-empty-padding = 2 - -; Separator in between workspaces -; label-separator = | - -[module/mpd] -type = internal/mpd -format-online = - -icon-prev =  -icon-stop =  -icon-play =  -icon-pause =  -icon-next =  - -label-song-maxlen = 25 -label-song-ellipsis = true - -[module/cpu] -type = internal/cpu -interval = 2 -format-prefix = " " -format-prefix-foreground = ${colors.foreground-alt} -format-underline = ${colors.secondary} -label = %percentage:2%% - -[module/memory] -type = internal/memory -interval = 2 -format-prefix = " " -format-prefix-foreground = ${colors.foreground-alt} -format-underline = ${colors.secondary} -label = %percentage_used%% - -[module/eth] -type = internal/network -interface = enp6s0 -interval = 3.0 - -format-connected-underline = ${colors.secondary} -format-connected-prefix = " " -format-connected-prefix-foreground = ${colors.foreground-alt} -label-connected = %local_ip% - -format-disconnected = -;format-disconnected = -;format-disconnected-underline = ${self.format-connected-underline} -;label-disconnected = %ifname% disconnected -;label-disconnected-foreground = ${colors.foreground-alt} - -[module/date] -type = internal/date -interval = 1 - -date = -date-alt = " %Y-%m-%d" - -time = %H:%M -time-alt = %H:%M:%S - -format-prefix =  -format-prefix-foreground = ${colors.foreground-alt} -;format-underline = ${colors.secondary} - -label = %date% %time% - -[module/pulseaudio] -type = internal/pulseaudio - -format-volume = -label-volume = VOL %percentage%% -label-volume-foreground = ${root.foreground} - -label-muted = 🔇 muted -label-muted-foreground = #666 - -bar-volume-width = 10 -bar-volume-foreground-0 = ${colors.primary} -bar-volume-foreground-1 = ${colors.primary} -bar-volume-foreground-2 = ${colors.primary} -bar-volume-foreground-3 = ${colors.primary} -bar-volume-foreground-4 = ${colors.primary} -bar-volume-foreground-5 = ${colors.primary} -bar-volume-foreground-6 = ${colors.primary} -bar-volume-gradient = false -bar-volume-indicator = | -bar-volume-indicator-font = 2 -bar-volume-fill = ─ -bar-volume-fill-font = 2 -bar-volume-empty = ─ -bar-volume-empty-font = 2 -bar-volume-empty-foreground = ${colors.foreground-alt} - -[module/powermenu] -type = custom/menu - -expand-right = true - -format-spacing = 1 - -label-open =  -label-open-foreground = ${colors.secondary} -label-close =  cancel -label-close-foreground = ${colors.secondary} -label-separator = | -label-separator-foreground = ${colors.foreground-alt} - -menu-0-0 = reboot -menu-0-0-exec = menu-open-1 -menu-0-1 = power off -menu-0-1-exec = menu-open-2 - -menu-1-0 = cancel -menu-1-0-exec = menu-open-0 -menu-1-1 = reboot -menu-1-1-exec = sudo reboot - -menu-2-0 = power off -menu-2-0-exec = sudo poweroff -menu-2-1 = cancel -menu-2-1-exec = menu-open-0 - -[settings] -screenchange-reload = true -;compositing-background = xor -;compositing-background = screen -;compositing-foreground = source -;compositing-border = over -;pseudo-transparency = false - -[global/wm] -margin-top = 5 -margin-bottom = 5 - -; vim:ft=dosini diff --git a/.config/polybar/launch.sh b/.config/polybar/launch.sh deleted file mode 100755 index dbf900d..0000000 --- a/.config/polybar/launch.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -pkill polybar - -if type "xrandr"; then - for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do - MONITOR=$m polybar --reload main & - done -else - polybar --reload main & -fi - -echo "Polybar launched." diff --git a/.config/sv/mpd/run b/.config/sv/mpd/run deleted file mode 100755 index 0309afe..0000000 --- a/.config/sv/mpd/run +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -[ -r conf ] && . ./conf -# install -d -m 0755 -o mpd -g mpd /run/mpd -exec mpd --no-daemon ${OPTS:-} diff --git a/.config/sv/mpdas/run b/.config/sv/mpdas/run deleted file mode 100755 index a6e206a..0000000 --- a/.config/sv/mpdas/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec mpdas diff --git a/.void.bash_aliases b/.void.bash_aliases index e0bcb8f..bcc75a8 100644 --- a/.void.bash_aliases +++ b/.void.bash_aliases @@ -17,3 +17,6 @@ alias xql="xqr -l" alias xqq="xql | grep ${1}" alias xcln="xr -o" + +# Docker +alias dc=docker-compose diff --git a/.void.bashrc b/.void.bashrc index a6cd9aa..f54d3e9 100644 --- a/.void.bashrc +++ b/.void.bashrc @@ -7,8 +7,6 @@ # If not running interactively, don't do anything [[ $- != *i* ]] && return -cd - PATH=~/.local/bin:$PATH #################################