Add symlink_xorg task
This commit is contained in:
parent
6afd1ed99c
commit
d6ecadf101
@ -23,6 +23,7 @@ EndSection
|
|||||||
Section "Monitor"
|
Section "Monitor"
|
||||||
Identifier "DVI-D-0"
|
Identifier "DVI-D-0"
|
||||||
Option "Primary" "true"
|
Option "Primary" "true"
|
||||||
|
Option "DPI" "96 x 96"
|
||||||
EndSection
|
EndSection
|
||||||
|
|
||||||
Section "Monitor"
|
Section "Monitor"
|
||||||
|
@ -31,3 +31,14 @@ SERVICES = [
|
|||||||
@task
|
@task
|
||||||
def install_pacaur(ctx):
|
def install_pacaur(ctx):
|
||||||
ctx.run(os.path.join(RESOURCES_DIRECTORY, "install_pacaur.sh"))
|
ctx.run(os.path.join(RESOURCES_DIRECTORY, "install_pacaur.sh"))
|
||||||
|
|
||||||
|
|
||||||
|
@task
|
||||||
|
def symlink_xorg(ctx, xorg_target="/etc/X11/xorg.conf"):
|
||||||
|
ctx.run("sudo mv {} {}".format(
|
||||||
|
xorg_target, xorg_target + ".backup"
|
||||||
|
))
|
||||||
|
ctx.run("sudo ln -s {} {}".format(
|
||||||
|
os.path.join(RESOURCES_DIRECTORY, "xorg.conf"),
|
||||||
|
xorg_target,
|
||||||
|
))
|
||||||
|
Loading…
Reference in New Issue
Block a user