mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-24 02:38:33 +02:00
xrandr: setup xrandr in xsession
Since it requires awesome to be restarted, let's setup xrandr inside xsession instead.
This commit is contained in:
parent
6dbb49b162
commit
ccccb4098d
2 changed files with 9 additions and 9 deletions
|
@ -1,12 +1,3 @@
|
|||
-- Setup display
|
||||
local xrandr = {
|
||||
neo = "--output HDMI1 --auto --output HDMI2 --auto --right-of HDMI1",
|
||||
alucard = "--output DVI-0 --auto --primary --output DisplayPort-0 --auto --right-of DVI-0"
|
||||
}
|
||||
if xrandr[config.hostname] then
|
||||
os.execute("xrandr " .. xrandr[config.hostname])
|
||||
end
|
||||
|
||||
-- Spawn a composoting manager
|
||||
awful.util.spawn("compton", false)
|
||||
awful.util.spawn("xcompmgr", false) -- Will fail if compton has been started
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue