Cleanup and small tweaks

This commit is contained in:
Riyyi
2020-04-08 01:29:18 +02:00
parent b9e5a8c9be
commit 55c6f990f7
14 changed files with 55 additions and 27 deletions
+3 -2
View File
@@ -10,7 +10,6 @@ padding = 10
shrink = false
frame_width = 3
frame_color = "#676E7D"
separator_height = 3
separator_color = frame
@@ -41,13 +40,15 @@ history = ctrl+grave
context = ctrl+shift+period
[urgency_low]
background = "#404552"
background = "#8C9440"
foreground = "#FFFFFF"
frame_color = "#B5BD68"
timeout = 10
[urgency_normal]
background = "#404552"
foreground = "#FFFFFF"
frame_color = "#676E7D"
timeout = 10
[urgency_critical]
+2
View File
@@ -1,3 +1,5 @@
; -*- conf -*-
; Xresources colors
[colors]
foreground = ${xrdb:foreground:#c5c8c6}
+5 -2
View File
@@ -1,3 +1,5 @@
; -*- conf -*-
; https://github.com/polybar/polybar/wiki/Module:-bspwm
[module/bspwm]
type = internal/bspwm
@@ -11,7 +13,8 @@ label-focused-padding = 2
label-occupied = %name%
label-occupied-padding = 2
label-urgent = %name%!
label-urgent = %name%
label-urgent-foreground = ${colors.white-bright}
label-urgent-background = ${wmcolors.bgcolor-urgent}
label-urgent-padding = 2
@@ -114,7 +117,7 @@ format-full-foreground = ${colors.green-bright}
format-discharging = <ramp-capacity> <label-discharging>
format-discharging-foreground = ${colors.white-bright}
ramp-capacity-0 = %{F#a54242}
ramp-capacity-0 = %{F#dc7a43}
ramp-capacity-1 = 
ramp-capacity-2 = 
ramp-capacity-3 = 
+1 -1
View File
@@ -1,4 +1,4 @@
# -*-conf-*-
# -*- conf -*-
##--- Control ---##
+1 -1
View File
@@ -1,4 +1,4 @@
# -*-conf-*-
# -*- conf -*-
#--- General ---#
+1 -1
View File
@@ -67,7 +67,7 @@ export BROWSER="firefox"
export WGETRC="$XDG_CONFIG_HOME/wget/wgetrc"
# WM
export WM="i3"
export WM="bspwm"
# Xorg
export XINITRC="$XDG_CONFIG_HOME/xorg/xinitrc"
+15 -6
View File
@@ -42,7 +42,7 @@ zstyle ':vcs_info:*' formats '%F{cyan}(%F{red}%b%F{cyan})%f %c%u'
compinit -d "$XDG_CACHE_HOME/zsh/zcompdump"
zstyle ':completion::complete:*' use-cache 1
zstyle ':completion::complete:*' cache-path "$XDG_CACHE_HOME/zsh/zcompcache"
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|=*' 'l:|=* r:|=*'
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
zstyle ':completion:*' list-colors ''
zstyle ':completion:*' menu select
@@ -74,15 +74,22 @@ SAVEHIST=10000
## Aliases
# General
alias ..="cd .."
alias ...="cd ../.."
alias ....="cd ../../.."
alias q="exit"
alias la="ls -laGh --color --group-directories-first"
alias la="ls -lAGh --color --group-directories-first"
alias ls="ls --color --group-directories-first"
alias grep="grep --color"
alias df="df -h"
alias md="mkdir -p"
alias rm="rm -i"
alias se="sudoedit"
alias v="vim --servername VIM"
alias vim="vim --servername VIM"
alias svim="sudoedit"
alias fuck='sudo $(fc -ln -1)'
alias pkill="pkill -9"
alias ss="sudo systemctl"
# Config
alias c="$HOME/.scripts/config.sh"
@@ -109,13 +116,14 @@ alias depend="$HOME/.scripts/alias.sh depend"
alias jdoc="$HOME/.scripts/alias.sh java-doc"
alias jr="$HOME/.scripts/alias.sh java-run"
alias raspbian="$HOME/.scripts/alias.sh raspbian"
alias ser="pio serialports monitor -b 9600"
alias ser="pio device monitor -b 9600"
alias upl="pio run -t upload"
alias qmake="qmake -makefile ../ && make"
# Git
alias g="git"
alias ga="git add"
alias gap="git add -p"
alias gs="git status"
alias gc="git commit"
alias gp="git pull"
@@ -131,7 +139,8 @@ alias vp="$HOME/.scripts/vimplugin.sh"
alias mpvshuffle="$HOME/.scripts/mpv.sh shuffle"
# Other
alias mysql-workbench="GDK_SCALE=1 GDK_DPI_SCALE=1 mysql-workbench 1>/dev/null 2>&1 &; disown"
alias weather="curl -s 'http://wttr.in/dordrecht?q&n&p' | head -n -3"
alias weather="curl -s 'https://wttr.in/dordrecht?q&n&p' | head -n -3"
alias workbench="GDK_SCALE=1 GDK_DPI_SCALE=1 mysql-workbench > /dev/null 2>&1 & disown"
alias ytaudio="youtube-dl -f bestaudio -x --audio-format mp3"
[ -f "$ZDOTDIR/.zshrc_extended" ] && source "$ZDOTDIR/.zshrc_extended"