i3: disable middle mouse paste

inky
Elnu 2 years ago
parent 846c2e12f2
commit 015a277c47

@ -10,8 +10,19 @@ in with theme.colors; {
wmctrl # For rofi power menu wmctrl # For rofi power menu
xborders # Active window borders xborders # Active window borders
maim xdotool unclutter # Active window screenshots maim xdotool unclutter # Active window screenshots
xbindkeys xsel xdotool # Disable middle mouse paste
]; ];
home.file = {
# Disable middle mouse paste
# May require running xbindkeys -p first time after rebuild
# https://unix.stackexchange.com/a/277488
".xbindkeysrc".text = ''
"echo -n | xsel -n -i; pkill xbindkeys; xdotool click 2; xbindkeys"
b:2 + Release
'';
};
# Screenshots # Screenshots
services.flameshot = { services.flameshot = {
enable = true; enable = true;

Loading…
Cancel
Save