forked from extern/nix-config
70757528fc
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.
8 lines
362 B
Fish
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
|