diff --git a/README.md b/README.md index e67a616..cac3a3f 100644 --- a/README.md +++ b/README.md @@ -985,8 +985,10 @@ bindsym $mod+r mode "resize" ### clipboard ```conf -exec wl-paste -t text --watch clipman store --max-items=60 --histpath="~/.config/clipman/clipman.json" -bindsym $mod+y exec clipman pick --tool="wofi" --max-items=30 -- +set $clipboard "~/.clipboard" +exec wl-paste -t text --watch clipman store --max-items 1024 --histpath=$clipboard +exec wl-paste -t text -p --watch clipman store --max-items 1024 --histpath=$clipboard +bindsym $mod+y exec clipman pick --tool="wofi" --max-items=30 --histpath=$clipboard ``` @@ -2043,7 +2045,7 @@ notify-send -t 3000 "${@}" ``` - + ### ~/bin/sway/sway-screen @@ -2064,7 +2066,7 @@ swaymsg "output ${m} ${c}" ### ~/bin/sway/sway-screen-menu -Gui to select a display and enable/disable it. Calls down to [~/bin/sway/sway-screen](#org7495c60). +Gui to select a display and enable/disable it. Calls down to [~/bin/sway/sway-screen](#orgb3364d5). :ID: 82455cae-1c48-48b2-a8b3-cb5d44eeaee9 diff --git a/dot-config/sway/config b/dot-config/sway/config index 5e7fc24..b0908a3 100644 --- a/dot-config/sway/config +++ b/dot-config/sway/config @@ -182,8 +182,10 @@ bindsym $mod+r mode "default" bindsym $mod+r mode "resize" -exec wl-paste -t text --watch clipman store --max-items=60 --histpath="~/.config/clipman/clipman.json" -bindsym $mod+y exec clipman pick --tool="wofi" --max-items=30 -- +set $clipboard "~/.clipboard" +exec wl-paste -t text --watch clipman store --max-items 1024 --histpath=$clipboard +exec wl-paste -t text -p --watch clipman store --max-items 1024 --histpath=$clipboard +bindsym $mod+y exec clipman pick --tool="wofi" --max-items=30 --histpath=$clipboard bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% && sway-volume-notify bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% && sway-volume-notify diff --git a/linux-config.org b/linux-config.org index c69d880..2758165 100644 --- a/linux-config.org +++ b/linux-config.org @@ -1669,8 +1669,10 @@ I want a key to create and then toggle a terminal. #+end_src *** clipboard #+begin_src conf - exec wl-paste -t text --watch clipman store --max-items=60 --histpath="~/.config/clipman/clipman.json" - bindsym $mod+y exec clipman pick --tool="wofi" --max-items=30 -- + set $clipboard "~/.clipboard" + exec wl-paste -t text --watch clipman store --max-items 1024 --histpath=$clipboard + exec wl-paste -t text -p --watch clipman store --max-items 1024 --histpath=$clipboard + bindsym $mod+y exec clipman pick --tool="wofi" --max-items=30 --histpath=$clipboard #+end_src *** audio :audio: **** volume :volume: