mirror of
https://github.com/arnaucube/configs.git
synced 2026-02-10 12:36:42 +01:00
Add bin/ screens & movetosecondaryscreen scripts
This commit is contained in:
7
bin/movetosecondaryscreen
Executable file
7
bin/movetosecondaryscreen
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import os
|
||||
import subprocess
|
||||
|
||||
d = os.popen("xrandr --listmonitors | grep '+' | awk {'print $4'}").read().splitlines()
|
||||
subprocess.run(["i3-msg", "move", "workspace", "to", "output", d[1]])
|
||||
Reference in New Issue
Block a user