commit 8f354b8983b59ef2eba7cfc3460cd6fa2842947c Author: bdnugget Date: Mon May 18 13:08:10 2026 +0200 Muh dotfiles diff --git a/.bashrc b/.bashrc new file mode 100644 index 0000000..002818d --- /dev/null +++ b/.bashrc @@ -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]\$ ' diff --git a/.config/kanshi/config b/.config/kanshi/config new file mode 100644 index 0000000..5965c06 --- /dev/null +++ b/.config/kanshi/config @@ -0,0 +1,8 @@ +profile { + output eDP-1 enable +} + +profile { + output HDMI-A-1 enable + output eDP-1 disable +} diff --git a/.config/user-dirs.dirs b/.config/user-dirs.dirs new file mode 100644 index 0000000..c0560d5 --- /dev/null +++ b/.config/user-dirs.dirs @@ -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" diff --git a/.config/user-dirs.locale b/.config/user-dirs.locale new file mode 100644 index 0000000..3e0b419 --- /dev/null +++ b/.config/user-dirs.locale @@ -0,0 +1 @@ +en_US \ No newline at end of file diff --git a/.local/bin/dwl-session.sh b/.local/bin/dwl-session.sh new file mode 100755 index 0000000..1290fd4 --- /dev/null +++ b/.local/bin/dwl-session.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env sh +swaybg -i /home/bd/Pictures/wallpaperMoon.png & +kanshi & diff --git a/.local/bin/screenshot.sh b/.local/bin/screenshot.sh new file mode 100755 index 0000000..ea0cd97 --- /dev/null +++ b/.local/bin/screenshot.sh @@ -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 diff --git a/.local/bin/start_dwl.sh b/.local/bin/start_dwl.sh new file mode 100755 index 0000000..4f93b91 --- /dev/null +++ b/.local/bin/start_dwl.sh @@ -0,0 +1,2 @@ +#!/usr/bin/env sh +slstatus -s | dwl -s "~/.local/bin/dwl-session.sh"