Update aliases and sway config (cliphist)

This commit is contained in:
KK
2026-06-08 23:27:30 +02:00
parent 50d768e3a1
commit af678e177a
2 changed files with 8 additions and 1 deletions

View File

@@ -1,3 +1,3 @@
alias ls='ls -lahtr' alias ls='ls -lahtr'
alias vi='vim' 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'

View File

@@ -78,6 +78,10 @@ input "1267:12734:ELAN06FA:00_04F3:31BE_Touchpad" {
scroll_factor 0.8 scroll_factor 0.8
} }
# Clipboard history
exec wl-paste --type text --watch cliphist store
exec wl-paste --type image --watch cliphist store
### Key bindings ### Key bindings
# #
# Basics: # Basics:
@@ -229,6 +233,9 @@ bindsym $mod+r mode "resize"
# Special key to take a screenshot with grim # Special key to take a screenshot with grim
bindsym Print exec 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: # Status Bar:
# #