Muh dotfiles
This commit is contained in:
21
.bashrc
Normal file
21
.bashrc
Normal 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
8
.config/kanshi/config
Normal 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
16
.config/user-dirs.dirs
Normal 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
1
.config/user-dirs.locale
Normal file
@ -0,0 +1 @@
|
|||||||
|
en_US
|
||||||
3
.local/bin/dwl-session.sh
Executable file
3
.local/bin/dwl-session.sh
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/usr/bin/env sh
|
||||||
|
swaybg -i /home/bd/Pictures/wallpaperMoon.png &
|
||||||
|
kanshi &
|
||||||
8
.local/bin/screenshot.sh
Executable file
8
.local/bin/screenshot.sh
Executable 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
2
.local/bin/start_dwl.sh
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
#!/usr/bin/env sh
|
||||||
|
slstatus -s | dwl -s "~/.local/bin/dwl-session.sh"
|
||||||
Reference in New Issue
Block a user