Compare commits

...

5 Commits

Author SHA1 Message Date
dabruh d291720428 Redirect output to dev null 2023-11-15 18:24:44 +01:00
dabruh 34ac6a1809 Use double quotes 2023-11-15 17:38:50 +01:00
dabruh 19c3047c78 Set Code password store arg 2023-11-15 17:38:27 +01:00
dabruh 053bb13130 Use command -v 2023-11-15 17:30:43 +01:00
dabruh 363486883a Start authentication agent with i3 2023-11-15 17:27:46 +01:00
3 changed files with 17 additions and 8 deletions

View File

@ -7,3 +7,6 @@ bindsym $mod+Ctrl+Shift+l exec --no-startup-id dmenuxautolock -t 0 -n 0
# Run i3hwlock # Run i3hwlock
exec_always --no-startup-id pgrep i3hwlock || i3hwlock exec_always --no-startup-id pgrep i3hwlock || i3hwlock
# Start authentication agent
exec_always --no-startup-id $auth_agent

View File

@ -15,3 +15,5 @@ set $browser firefox
set $terminal kitty set $terminal kitty
set $flashfocus_bin /opt/dotfiles/pyenv/bin/flashfocus set $flashfocus_bin /opt/dotfiles/pyenv/bin/flashfocus
set $auth_agent /usr/lib/mate-polkit/polkit-mate-authentication-agent-1

View File

@ -6,24 +6,28 @@ alias \
ls="ls --color=auto" \ ls="ls --color=auto" \
bc="bc -ql" \ bc="bc -ql" \
cp="cp -iv" \ cp="cp -iv" \
df='df -h' \ df="df -h" \
e="${EDITOR:-vim}" \ e="${EDITOR:-vim}" \
ffmpeg="ffmpeg -hide_banner" \ ffmpeg="ffmpeg -hide_banner" \
free='free -m' \ free="free -m" \
g="git" \ g="git" \
ka="killall" \ ka="killall" \
mkd="mkdir -pv" \ mkd="mkdir -pv" \
mv="mv -iv" \ mv="mv -iv" \
rm="rm -vI" \ rm="rm -vI" \
shrd="shred -zuvn3" \ shrd="shred -zuvn3" \
tmux='tmux -f ~/.config/tmux/tmux.conf' tmux="tmux -f ~/.config/tmux/tmux.conf"
# Misc # Misc
alias \ alias \
w='curl https://wttr.in/' w="curl https://wttr.in/"
which codium >/dev/null && alias code=codium c=codium for cmd in code codium; do
which pacman >/dev/null && alias p=pacman command -v $cmd >/dev/null && alias $cmd="$cmd --password-store='gnome'"
which zathura >/dev/null && alias z=zathura done
which ranger >/dev/null && alias r=ranger command -v codium >/dev/null && alias c=code
command -v pacman >/dev/null && alias p=pacman
command -v zathura >/dev/null && alias z=zathura
command -v ranger >/dev/null && alias r=ranger
[ -s "$NVM_DIR/nvm.sh" ] && alias load-nvm="source '$NVM_DIR/nvm.sh'" [ -s "$NVM_DIR/nvm.sh" ] && alias load-nvm="source '$NVM_DIR/nvm.sh'"