dotfiles

Configuration for the software I use.
git clone https://git.sr.ht/~jbauer/dotfiles
Log | Files | Refs | README | LICENSE

commit ffe43561d547d081bf907a56bac03096dac5e051
parent 96877daa6ebaaa686291795cc1a263e84d784ba2
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Tue, 25 Aug 2020 18:41:42 -0400

Update configuration upon switching to Artix

Diffstat:
M.bashrc | 2++
M.config/X11/xinitrc | 5++---
D.config/alacritty/alacritty.yml | 94-------------------------------------------------------------------------------
D.config/compton.conf | 72------------------------------------------------------------------------
M.config/git/config | 2+-
A.config/picom.conf | 66++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
M.profile | 2+-
7 files changed, 72 insertions(+), 171 deletions(-)

diff --git a/.bashrc b/.bashrc @@ -55,6 +55,7 @@ export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quo alias rm='rm -Iv --preserve-root' alias mv='mv -iv' alias cp='cp -iv' +alias vi='nvim' alias tmux='tmux -f "$XDG_CONFIG_HOME"/tmux/tmux.conf' alias wget='wget --hsts-file="$XDG_CACHE_HOME/wget-hsts"' alias copy='xclip -sel c' @@ -63,6 +64,7 @@ alias lpr='lpr -o fit-to-page -o two-sided-long-edge' alias config='git --git-dir="$HOME"/docs/proj/dotfiles --work-tree="$HOME"' alias units='units --history "$XDG_CACHE_HOME"/units_history' alias cal='ncal -bM3' +alias poweroff='doas pacman -Syyu && doas poweroff' # Disable CTRL-S and CTRL-Q stty -ixon diff --git a/.config/X11/xinitrc b/.config/X11/xinitrc @@ -30,9 +30,8 @@ pkill slstatus; slstatus & feh --bg-fill --no-fehbg ~/media/pics/wallpapers/04092435d043527b3bd3d2d42f19b79e.jpg & ### Launch programs ### -pulseaudio --start # Audio server -compton & # Compositor (replace with picom in future) +picom & # Compositor (replace with picom in future) dunst & # Notification daemon -lxpolkit & # Polkit agent +syncthing -no-browser & # Syncthing daemon exec dwm diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml @@ -1,94 +0,0 @@ -# Configuration for Alacritty, the GPU enhanced terminal emulator. - -env: - TERM: xterm-256color - -# Live config reload (changes require restart) -live_config_reload: true - -window: - title: Alacritty - class: - instance: Alacritty - general: Alacritty - padding: - x: 2 - y: 2 - # Spread additional padding evenly around the terminal content. - dynamic_padding: true - -scrolling: - history: 100000 - -# Font configuration -font: - size: 14.0 - normal: - family: DejaVu Sans Mono - style: Regular - bold: - family: DejaVu Sans Mono - style: Bold - italic: - family: DejaVu Sans Mono - style: Italic - bold_italic: - family: DejaVu Sans Mono - style: Bold Italic - -draw_bold_text_with_bright_colors: true - -# Colors -colors: - # Default colors - primary: - background: '#161821' - foreground: '#c6c8d1' - - # Cursor colors - cursor: - text: '#161821' - cursor: '#c6c8d1' - vi_mode_cursor: - text: '#161821' - cursor: '#c6c8d1' - selection: - text: '#161821' - background: '#c6c8d1' - - # Search colors - search: - matches: - foreground: '#000000' - background: '#ffffff' - bar: - background: CellForeground - foreground: CellBackground - - # Normal colors - normal: - black: '#161821' - red: '#e27878' - green: '#b4be82' - yellow: '#e2a478' - blue: '#84a0c6' - magenta: '#a093c7' - cyan: '#89b8c2' - white: '#c6c8d1' - - # Bright colors - bright: - black: '#6b7089' - red: '#e98989' - green: '#c0ca8e' - yellow: '#e9b189' - blue: '#91acd1' - magenta: '#ada0d3' - cyan: '#95c4ce' - white: '#d2d4de' - -# Cursor style -cursor: - style: Block - vi_mode_style: Block - unfocused_hollow: true diff --git a/.config/compton.conf b/.config/compton.conf @@ -1,72 +0,0 @@ -#+----------------------------------------+ -#| Backend | -#+----------------------------------------+ -backend="glx"; # (xrender|glx|xr_glx_hybrid) - -# Xrender backend -xrender-sync=true; -xrender-sync-fence=true; # may be needed for nvidia with glx backend - -# GLX backend -glx-no-stencil=true; -# glx-copy-from-front=true; -# glx-use-copysubbuffermesa=false; -glx-no-rebind-pixmap=true; -glx-swap-method="undefined"; -glx-use-gpushader4=false; - -#+----------------------------------------+ -#| Shadows | -#+----------------------------------------+ -shadow=true; -shadow-radius=8; # default 12 -shadow-offset-x=-15; # left offset, default -15 -shadow-offset-y=-8; # top offset, default -15 -shadow-opacity=0.85; # default 0.75 - -shadow-red=0.1 # default 0 = black (1.0 = white) -shadow-green=0.1 # default 0 = black (1.0 = white) -shadow-blue=0.1 # default 0 = black (1.0 = white) - -no-dnd-shadow=true; # "dnd" stands for "drag-n-drop" -no-dock-shadow=false; # also applies to panels -clear-shadow=true; # may not work with fully transparent ARGB -shadow-ignore-shaped=true; - -#+----------------------------------------+ -#| Opacity, Blur, and Fading | -#+----------------------------------------+ -menu-opacity=0.95; # default 1.0 -inactive-dim=0.2 -opacity-rule = [ - "90:class_g = 'Alacritty'" -]; - -#+----------------------------------------+ -#| Other Options | -#+----------------------------------------+ -refresh-rate=0; # let compton figure it out via XRandR -detect-rounded-corners=true; -detect-client-opacity=true; -detect-transient=true; -detect-client-leader=true; -vsync="opengl"; -paint-on-overlay=true; -sw-opti=false; -# Unredirect all windows if a full-screen opaque window is detected, to -# maximize performance for full-screen windows, like games. -unredir-if-possible=true; - -#+----------------------------------------+ -#| Window Type Settings | -#+----------------------------------------+ -wintypes: -{ - tooltip = - { - fade=false; - shadow=false; - opacity=1; - focus=true; - }; -}; diff --git a/.config/git/config b/.config/git/config @@ -1,5 +1,5 @@ [core] - editor = vim + editor = nvim [user] email = jbauer@paritybit.ca name = Jake Bauer diff --git a/.config/picom.conf b/.config/picom.conf @@ -0,0 +1,66 @@ +#+----------------------------------------+ +#| Backend | +#+----------------------------------------+ +backend="glx"; # (xrender|glx|xr_glx_hybrid) + +# Xrender backend +xrender-sync-fence=true; # may be needed for nvidia with glx backend + +# GLX backend +glx-no-stencil=true; +# glx-copy-from-front=true; +# glx-use-copysubbuffermesa=false; +glx-no-rebind-pixmap=true; +use-damage=true; +glx-use-gpushader4=false; + +#+----------------------------------------+ +#| Shadows | +#+----------------------------------------+ +shadow=true; +shadow-radius=8; # default 12 +shadow-offset-x=-15; # left offset, default -15 +shadow-offset-y=-8; # top offset, default -15 +shadow-opacity=0.85; # default 0.75 + +shadow-red=0.1 # default 0 = black (1.0 = white) +shadow-green=0.1 # default 0 = black (1.0 = white) +shadow-blue=0.1 # default 0 = black (1.0 = white) + +shadow-ignore-shaped=true; + +#+----------------------------------------+ +#| Opacity, Blur, and Fading | +#+----------------------------------------+ +inactive-dim=0.2 +opacity-rule = [ + "90:class_g = 'St'" +]; + +#+----------------------------------------+ +#| Other Options | +#+----------------------------------------+ +refresh-rate=0; # let compton figure it out via XRandR +detect-rounded-corners=true; +detect-client-opacity=true; +detect-transient=true; +detect-client-leader=true; +vsync=true; +sw-opti=false; +# Unredirect all windows if a full-screen opaque window is detected, to +# maximize performance for full-screen windows, like games. +unredir-if-possible=true; + +#+----------------------------------------+ +#| Window Type Settings | +#+----------------------------------------+ +wintypes: +{ + tooltip = + { + fade=false; + shadow=false; + opacity=1; + focus=true; + }; +}; diff --git a/.profile b/.profile @@ -74,5 +74,5 @@ export GROFF_NO_SGR=1 #For starting X on first login of a shell if [ ! $DISPLAY ] && [ $XDG_VTNR -eq 1 ]; then - exec startx "$XDG_CONFIG_HOME/X11/xinitrc" # may requre '-- vt1'? + exec startx fi