Update aliases and sway config (cliphist)
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
alias ls='ls -lahtr'
|
||||
alias vi='vim'
|
||||
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfilesrepo/ --work-tree=$HOME
|
||||
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfilesrepo/ --work-tree=$HOME'
|
||||
@@ -78,6 +78,10 @@ input "1267:12734:ELAN06FA:00_04F3:31BE_Touchpad" {
|
||||
scroll_factor 0.8
|
||||
}
|
||||
|
||||
# Clipboard history
|
||||
exec wl-paste --type text --watch cliphist store
|
||||
exec wl-paste --type image --watch cliphist store
|
||||
|
||||
### Key bindings
|
||||
#
|
||||
# Basics:
|
||||
@@ -229,6 +233,9 @@ bindsym $mod+r mode "resize"
|
||||
# Special key to take a screenshot with grim
|
||||
bindsym Print exec grim
|
||||
|
||||
# Pick an entry from clipboard history and copy it back to the clipboard
|
||||
bindsym $mod+c exec sh -c 'cliphist list | wmenu | cliphist decode | wl-copy'
|
||||
|
||||
#
|
||||
# Status Bar:
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user