aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjason2024-06-07 15:53:12 -0600
committerjason2024-06-07 15:53:19 -0600
commit7b37f178bac7549e83da784e9fc3701ef14a2448 (patch)
tree2e32f435040bbf40d1dad8ffa644058f84e4b9d8
parent7ad79b7200323e1796f7137e115e92a1dc75a50c (diff)
downloaddotfiles-7b37f178bac7549e83da784e9fc3701ef14a2448.tar.gz
dotfiles-7b37f178bac7549e83da784e9fc3701ef14a2448.zip
sway clipboard history
-rw-r--r--sway/.config/sway/config24
1 files changed, 14 insertions, 10 deletions
diff --git a/sway/.config/sway/config b/sway/.config/sway/config
index 8ab6f9a..1e576c6 100644
--- a/sway/.config/sway/config
+++ b/sway/.config/sway/config
@@ -32,16 +32,18 @@ set $cmd_laptop_screen_enable swaymsg output $laptop_screen power on enable
32 32
33##### Default: wmenu 33##### Default: wmenu
34#set $menu dmenu_path | wmenu | xargs swaymsg exec -- 34#set $menu dmenu_path | wmenu | xargs swaymsg exec --
35set $menu dmenu_path | wofi -S dmenu | xargs swaymsg exec -- 35#set $menu dmenu_path | wofi -S dmenu | xargs swaymsg exec --
36 36
37##### Alacritty popup 37##### Terminal popup
38# Note: i haven't tested with the new lines + escapes 38set $menu exec foot \
39# set $menu exec $term \ 39 --app-id=launcher \
40# --class=launcher \ 40 bash -c 'compgen -c | grep -v fzf | sort -u \
41# -e bash \ 41 | fzf --layout=reverse | xargs -r swaymsg -t command exec'
42# -c 'compgen -c | grep -v fzf | sort -u | fzf --layout=reverse \ 42bindsym Ctrl+$alt+v exec foot \
43# | xargs -r swaymsg -t command exec' 43 --app-id=launcher \
44# for_window [app_id="^launcher$"] floating enable, border none, opacity 0.8 44 bash -c 'cliphist list | cliphist-fzf-sixel | cliphist decode \
45 | wl-copy --primary'
46for_window [app_id="^launcher$"] floating enable, border none, opacity 0.8
45 47
46############################################################################### 48###############################################################################
47# Output configuration 49# Output configuration
@@ -279,6 +281,8 @@ for_window [instance="sun-awt-X11-XWindowPeer"] border pixel 0
279# Startup Apps 281# Startup Apps
280exec [ ! "$(pidof pipewire)" ] && pipewire 282exec [ ! "$(pidof pipewire)" ] && pipewire
281exec [ ! "$(pidof syncthing)" ] && syncthing serve 283exec [ ! "$(pidof syncthing)" ] && syncthing serve
284exec [ ! "$(ps x | grep wl-paste.*cliphist | wc -l)" -ge 4 ] && wl-paste --watch cliphist store
285
282# Fix for "No Gcr prompter" with pinentry-gnome3 286# Fix for "No Gcr prompter" with pinentry-gnome3
283exec dbus-update-activation-environment DISPLAY XAUTHORITY 287exec dbus-update-activation-environment DISPLAY XAUTHORITY
284 288