mirror of
https://github.com/eRgo35/dots.git
synced 2026-02-04 13:06:12 +01:00
ulauncher setup
This commit is contained in:
9
thor/bin/workspaces_prepare
Normal file
9
thor/bin/workspaces_prepare
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
#First, configure stuff with xrandr
|
||||
#Get user path
|
||||
[[ $(who) != "" ]] && USER=$(who | grep :0\) | cut -f 1 -d ' ') || \
|
||||
USER=$(echo /home/* | cut -f 3 -d '/')
|
||||
|
||||
export DISPLAY=:0.0
|
||||
export XAUTHORITY=/home/$USER/.Xauthority
|
||||
Reference in New Issue
Block a user