Merge branch 'main' of git.ensarsarajcic.com:esensar/dotfiles

main
Ensar Sarajčić 2022-07-23 21:37:39 +02:00
commit a43fa0b5b7
9 changed files with 20 additions and 5 deletions

View File

@ -234,12 +234,12 @@ prepare_scripts_cache_dir: check_os
.PHONY: clone_personal_vimwiki
clone_personal_vimwiki: check_os
@echo "Cloning personal vimwiki"
@git clone git@ensarsarajcic.com:esensar/vimwiki.wiki.git ~/vimwiki
@git clone git@git.ensarsarajcic.com:esensar/vimwiki.wiki.git ~/vimwiki
.PHONY: clone_termux_shortcuts
clone_termux_shortcuts: check_os
@echo "Cloning termux shortcuts"
@git clone git@ensarsarajcic.com:esensar/termux-shortcuts.git ~/.shortcuts
@git clone git@git.ensarsarajcic.com:esensar/termux-shortcuts.git ~/.shortcuts
.PHONY: prepare_ssh_dir
prepare_ssh_dir: check_os

View File

@ -4,6 +4,7 @@ aerc
fish
foot
htop
kanshi
ulauncher
waybar
wl-clipboard

View File

@ -4,6 +4,7 @@ aerc
fish
foot
htop
kanshi
ulauncher
waybar
wl-clipboard

View File

@ -4,6 +4,7 @@ aerc
fish
foot
htop
kanshi
ulauncher
waybar
wl-clipboard

View File

@ -19,6 +19,7 @@ alias cat "bat"
if which termux-info &> /dev/null
else
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
export MANROFFOPT="-c"
end
abbr -a batdiff "git diff --name-only --diff-filter=d | xargs bat --diff"

View File

@ -0,0 +1,6 @@
setlocal textwidth=72
setlocal formatoptions+=n
setlocal shiftwidth=4
setlocal tabstop=4
setlocal expandtab
setlocal softtabstop=4

View File

@ -1,9 +1,11 @@
# Define locker script
set $locker swaylock -f -i "$(shuf -n1 -e ~/Pictures/Lockscreens/*.png)" -s fill
set $locker 'swaylock -f -i "$(shuf -n1 -e ~/Pictures/Lockscreens/*.png)" -s fill'
bindsym $alt+L exec $locker
# IDLE CONFIG
exec swayidle -w \
timeout 300 $locker \
timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
before-sleep $locker
timeout 330 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
timeout 600 'systemctl suspend' \
before-sleep $locker \
before-sleep 'playerctl pause'

View File

@ -4,3 +4,4 @@ exec kdeconnect-indicator
exec ulauncher --hide-window
exec libinput-gestures-setup start
exec foot --server
exec kanshi

View File

@ -37,3 +37,5 @@
rebase = false
[init]
defaultBranch = main
[sendemail]
annotate = yes