diff options
| author | jason | 2024-06-07 15:53:12 -0600 |
|---|---|---|
| committer | jason | 2024-06-07 15:53:19 -0600 |
| commit | 7b37f178bac7549e83da784e9fc3701ef14a2448 (patch) | |
| tree | 2e32f435040bbf40d1dad8ffa644058f84e4b9d8 | |
| parent | 7ad79b7200323e1796f7137e115e92a1dc75a50c (diff) | |
| download | dotfiles-7b37f178bac7549e83da784e9fc3701ef14a2448.tar.gz dotfiles-7b37f178bac7549e83da784e9fc3701ef14a2448.zip | |
sway clipboard history
| -rw-r--r-- | sway/.config/sway/config | 24 |
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 -- |
| 35 | set $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 | 38 | set $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 \ | 42 | bindsym 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' | ||
| 46 | for_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 |
| 280 | exec [ ! "$(pidof pipewire)" ] && pipewire | 282 | exec [ ! "$(pidof pipewire)" ] && pipewire |
| 281 | exec [ ! "$(pidof syncthing)" ] && syncthing serve | 283 | exec [ ! "$(pidof syncthing)" ] && syncthing serve |
| 284 | exec [ ! "$(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 |
| 283 | exec dbus-update-activation-environment DISPLAY XAUTHORITY | 287 | exec dbus-update-activation-environment DISPLAY XAUTHORITY |
| 284 | 288 | ||