i3: disable middle mouse paste
This commit is contained in:
parent
846c2e12f2
commit
015a277c47
1 changed files with 11 additions and 0 deletions
|
@ -10,8 +10,19 @@ in with theme.colors; {
|
|||
wmctrl # For rofi power menu
|
||||
xborders # Active window borders
|
||||
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
|
||||
services.flameshot = {
|
||||
enable = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue