1
0
forked from extern/nix-config
donovanglover-nix-config/dots/bspwm/.config/fish/functions/1080p.fish
Donovan Glover 70757528fc
Add other fish functions
This commit adds fish support for the other functions I used to use in
zsh. Since my dotfiles are now separated by environment, it's easy to
see which environment depends on which dotfiles, instead of stowing them
one by one based on software name.
2018-09-07 14:16:13 -04:00

8 lines
362 B
Fish

# Easily change the resolution to 1080p
# Note: Also changes DPI, but not for the programs you already have open.
function 1080p
xrandr --output VGA-1 --mode "1920x1080" # Change the resolution
sed -i '/Xft.dpi/c\Xft.dpi: 96' ~/.Xresources # Change the dpi line to 96
xrdb ~/.Xresources # Reload .Xresources
end