diff --git a/dot/file/profile b/dot/file/profile index 62e713e..4f4966f 100755 --- a/dot/file/profile +++ b/dot/file/profile @@ -68,7 +68,7 @@ export-loop \ INDENT '" "'\ \ GOPATH '$HOME/app/go' \ - GOBIN '$HOME/exe'\ + GOBIN '$HOME/bin'\ XDG_UTILS_DEBUG_LEVEL '3'\ XDG_CONFIG_HOME '$HOME/.config' \ XDG_DATA_HOME '$HOME/dat' \ @@ -80,6 +80,7 @@ export-loop \ XCOMPOSER 'river' \ XTERMINAL 'wayst' \ XRUNNER 'fuzzel' \ + XDMENU 'fuzzel -d' \ XBAR 'waybar' \ XBLUETOOTH_MANAGER 'blueman-manager' \ XOUTPUT_DAEMON 'kanshi' \ @@ -91,8 +92,11 @@ export-loop \ XNOTIFY 'dunstify' \ XLOCKER 'swaylock' \ XSUSPEND 'systemctl suspend' \ + XCLIPBOARD_MANAGER 'clipman store' \ SSH_ASKPASS ''\ +export XCLIPBOARD_TOOL="clipman pick --tool=CUSTOM --tool-args='$XDMENU'" + source-if-exist "$ETC/script/lf.sh" test -r $SETENV && . "$SETENV" && setenv profile diff --git a/river/init b/river/init index ebc31a0..5e184cf 100755 --- a/river/init +++ b/river/init @@ -187,8 +187,11 @@ riverctl default-layout rivertile riverctl focus-follows-cursor normal +riverctl map normal Super C spawn "clipman pick --tool=CUSTOM --tool-args='fuzzel -d' || $XNOTIFY 'Problem calling clip'" + # Only first time, no reloading. if test -z "$RIVER_RELOAD" ; then + wl-paste -t text --watch $XCLIPBOARD_MANAGER rivertile -view-padding 0 -outer-padding 0 & eval $XPUSH_NOTIFICATION_DAEMON & eval $XOUTPUT_DAEMON &