dotfiles

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

commit a609df449a18ff29623190cad162592def85353c
parent 420dab585aff61a1ba21d16ab7ba52adf41fe6e9
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Tue,  2 Feb 2021 23:09:06 -0500

Move X11 files to standard locations

Diffstat:
R.config/X11/Xresources -> .Xresources | 0
D.config/X11/xinitrc | 44--------------------------------------------
M.profile | 6+-----
A.xinitrc | 44++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 45 insertions(+), 49 deletions(-)

diff --git a/.config/X11/Xresources b/.Xresources diff --git a/.config/X11/xinitrc b/.config/X11/xinitrc @@ -1,44 +0,0 @@ -#!/bin/sh - -# Set DPI -# xrandr --fb 5760x3240 \ -# --output HDMI-1 --mode 1920x1080 \ -# --output DVI-D-1 --mode 1920x1080 --scale 2 --pos 1920x0 - -# Load Xresources -xrdb -load $XDG_CONFIG_HOME/X11/Xresources - -# Start SSH Agent (with environment variables) -eval "$(ssh-agent -s)" - -# Set caps lock to be compose key -setxkbmap -option "compose:caps" - -# Set default cursor shape to "regular" mouse cursor -xsetroot -cursor_name left_ptr & - -# Disable bel -xset -b & - -# Hide mouse cursor after n seconds of inactivity -pkill unclutter -unclutter -idle 3 -root & - -# Auto lock the screen after n seconds -pkill xautolock -xautolock -detectsleep -time 60 -locker "betterlockscreen -l blur" -corners -000 & - -# Start status bar -pkill slstatus; slstatus & - -# Set background image -feh --bg-fill --no-fehbg ~/media/pics/wallpapers/136dc68ed8b644b7f56558a55ba46743.jpg & - -### Launch programs ### -picom & # Compositor (replace with picom in future) -dunst & # Notification daemon -pkill pulseaudio # Explicitly kill pulseaudio -pulseaudio --start # Start pulseaudio -syncthing -no-browser & # Syncthing daemon - -exec dwm diff --git a/.profile b/.profile @@ -28,17 +28,13 @@ export XDG_CACHE_HOME="$HOME/.cache" export XDG_DATA_HOME="$HOME/.local/share" # Tell various programs to respect the XDG Base Directory specification -# Removes ~/.Xauthority -export XAUTHORITY="$XDG_CONFIG_HOME/X11/Xauthority" -# Removes ~/.xinitrc -export XINITRC="$XDG_CONFIG_HOME/X11/xinitrc" # Removes ~/.gtkrc-2.0 export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc" # Removes ~/.weechat export WEECHAT_HOME="$XDG_CONFIG_HOME/weechat" # Removes ~/.lesshst export LESSHISTFILE="$XDG_CACHE_HOME/lesshst" -# Removes ~/.bash_history +# Removes ~/.bash_history or equivalent export HISTFILE="$XDG_CACHE_HOME/shell_history" # Removes ~/.lynxrc export LYNX_CFG="$HOME/.config/lynx/lynx.cfg" diff --git a/.xinitrc b/.xinitrc @@ -0,0 +1,44 @@ +#!/bin/sh + +# Set DPI +# xrandr --fb 5760x3240 \ +# --output HDMI-1 --mode 1920x1080 \ +# --output DVI-D-1 --mode 1920x1080 --scale 2 --pos 1920x0 + +# Load Xresources +xrdb -load ~/.Xresources + +# Start SSH Agent (with environment variables) +eval "$(ssh-agent -s)" + +# Set caps lock to be compose key +setxkbmap -option "compose:caps" + +# Set default cursor shape to "regular" mouse cursor +xsetroot -cursor_name left_ptr & + +# Disable bel +xset -b & + +# Hide mouse cursor after n seconds of inactivity +pkill unclutter +unclutter -idle 3 -root & + +# Auto lock the screen after n seconds +pkill xautolock +xautolock -detectsleep -time 60 -locker "betterlockscreen -l blur" -corners -000 & + +# Start status bar +pkill slstatus; slstatus & + +# Set background image +feh --bg-fill --no-fehbg ~/media/pics/wallpapers/136dc68ed8b644b7f56558a55ba46743.jpg & + +### Launch programs ### +picom & # Compositor (replace with picom in future) +dunst & # Notification daemon +pkill pulseaudio # Explicitly kill pulseaudio +pulseaudio --start # Start pulseaudio +syncthing -no-browser & # Syncthing daemon + +exec dwm