1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-12-12 00:15:17 +00:00
dotfiles/.config/fish/functions/focusmode.fish

10 lines
205 B
Fish
Raw Normal View History

2019-12-24 04:20:17 +00:00
# Defined in /tmp/fish.bZW0nu/focusmode.fish @ line 1
function focusmode
xmodmap -pke > /tmp/xmod
if cmp /tmp/xmod ~/.Xmodmap
xmodmap ~/.Xfocus
else
xmodmap ~/.Xmodmap
end
end