diff options
Diffstat (limited to 'nixpkgs')
| -rwxr-xr-x | nixpkgs/.config/nixpkgs/common/scripts/spiceconnect | 3 | ||||
| -rwxr-xr-x | nixpkgs/.config/nixpkgs/common/scripts/start | 6 |
2 files changed, 8 insertions, 1 deletions
diff --git a/nixpkgs/.config/nixpkgs/common/scripts/spiceconnect b/nixpkgs/.config/nixpkgs/common/scripts/spiceconnect new file mode 100755 index 0000000..9bceee6 --- /dev/null +++ b/nixpkgs/.config/nixpkgs/common/scripts/spiceconnect @@ -0,0 +1,3 @@ +#!/bin/bash + +remote-viewer ~/Downloads/"$(ls -1t ~/Downloads | head -n1)" diff --git a/nixpkgs/.config/nixpkgs/common/scripts/start b/nixpkgs/.config/nixpkgs/common/scripts/start index a264ac9..6811a52 100755 --- a/nixpkgs/.config/nixpkgs/common/scripts/start +++ b/nixpkgs/.config/nixpkgs/common/scripts/start @@ -23,4 +23,8 @@ sleep 1 # set bg exec walp & -exec way-displays > "/tmp/way-displays.${XDG_VTNR}.${USER}.log" 2>&1 +# set monitor to be left of the laptop display +exec wlr-randr --output DP-1 --pos 0,0 & + +# fix for screen-sharing +exec fixwlr |
