Muh dotfiles

This commit is contained in:
2026-05-18 13:08:10 +02:00
commit 8f354b8983
7 changed files with 59 additions and 0 deletions

21
.bashrc Normal file
View File

@ -0,0 +1,21 @@
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
export PATH="$HOME/.local/bin:$PATH"
# Auto-start dwl on tty1 login
if [[ -z "$DISPLAY" ]] && [[ "$(tty)" = "/dev/tty1" ]]; then
exec ~/start_dwl.sh
fi
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
alias ls='ls --color=auto'
alias ll='ls -lah'
alias grep='grep --color=auto'
alias vim='nvim'
# PS1='[\u@\h \W]\$ '

8
.config/kanshi/config Normal file
View File

@ -0,0 +1,8 @@
profile {
output eDP-1 enable
}
profile {
output HDMI-A-1 enable
output eDP-1 disable
}

16
.config/user-dirs.dirs Normal file
View File

@ -0,0 +1,16 @@
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run.
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_VIDEOS_DIR="$HOME/Videos"
XDG_PROJECTS_DIR="$HOME/Projects"

1
.config/user-dirs.locale Normal file
View File

@ -0,0 +1 @@
en_US

3
.local/bin/dwl-session.sh Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env sh
swaybg -i /home/bd/Pictures/wallpaperMoon.png &
kanshi &

8
.local/bin/screenshot.sh Executable file
View File

@ -0,0 +1,8 @@
#!/usr/bin/env sh
timeout 10 slurp > /tmp/selection.txt 2>/dev/null
if [ $? -eq 0 ] && [ -s /tmp/selection.txt ]; then
grim -g "$(cat /tmp/selection.txt)" - | wl-copy
else
grim - | wl-copy
fi
rm -f /tmp/selection.txt

2
.local/bin/start_dwl.sh Executable file
View File

@ -0,0 +1,2 @@
#!/usr/bin/env sh
slstatus -s | dwl -s "~/.local/bin/dwl-session.sh"