From af678e177a7e674c70cbcd38073583e851b57303 Mon Sep 17 00:00:00 2001 From: KK Date: Mon, 8 Jun 2026 23:27:30 +0200 Subject: [PATCH] Update aliases and sway config (cliphist) --- .config/{.bash_aliases => bash_aliases} | 2 +- .config/sway/config | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) rename .config/{.bash_aliases => bash_aliases} (86%) diff --git a/.config/.bash_aliases b/.config/bash_aliases similarity index 86% rename from .config/.bash_aliases rename to .config/bash_aliases index 47c6010..c1866dc 100644 --- a/.config/.bash_aliases +++ b/.config/bash_aliases @@ -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' diff --git a/.config/sway/config b/.config/sway/config index d3c7586..7047629 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -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: #