1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-11-24 20:01:49 +08:00

better zshrc alias and remove output.sh

This commit is contained in:
juan 2021-09-03 23:08:46 +08:00
parent 4cdee12996
commit 0f0c9fb5bb
2 changed files with 3 additions and 4 deletions

View File

@ -18,9 +18,8 @@ exec playerctld daemon
#my keybinds #my keybinds
bindsym $mod+Ctrl+o exec ~/.config/sway/scripts/outputs.sh
bindsym $mod+Ctrl+l exec ~/.config/sway/scripts/logout.sh bindsym $mod+Ctrl+l exec ~/.config/sway/scripts/logout.sh
bindsym $mod+Print exec grim ~/Pictures/Screenshots/$(date +'%H:%M_%y%m%d.png'); \ bindsym $mod+Print exec grim ~/Pictures/Screenshots/$(date +'%H:%M_%y%m%d.png') && \
exec notify-send -t 3000 'Screenshot saved.' exec notify-send -t 3000 'Screenshot saved.'
#set gtk theme #set gtk theme

4
.zshrc
View File

@ -124,14 +124,14 @@ export MANLESS="Manual\ \$MAN_PN\ ?ltline\ %lt?L/%L.:byte\ %bB?s/%s..?\:?pB\ %pB
export LESS="-RSM~" export LESS="-RSM~"
#local path #local path
export PATH="${PATH}:${HOME}/.local/bin/:${HOME}/.scripts/:${HOME}/.cache/cargo/bin/:${HOME}/.cache/go/bin/" export PATH="${PATH}:${HOME}/.local/bin:${HOME}/.scripts:${HOME}/.cache/cargo/bin:${HOME}/.cache/go/bin"
export MANPATH="${MANPATH}:${HOME}/.local/share/man" export MANPATH="${MANPATH}:${HOME}/.local/share/man"
#ccache support #ccache support
export USE_CCACHE=1 export USE_CCACHE=1
export PATH="/usr/lib/ccache/bin${PATH:+:}$PATH" export PATH="/usr/lib/ccache/bin${PATH:+:}$PATH"
alias b='bat' alias b='bat -n'
alias btctl='bluetoothctl' alias btctl='bluetoothctl'
alias cp='cp -iv' alias cp='cp -iv'
alias df='df -h' alias df='df -h'