mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-06 00:04:20 +02:00
start: adapt configuration to new machine
This commit is contained in:
parent
37e0594248
commit
8d36a30774
1 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,8 @@
|
||||||
-- Setup display
|
-- Setup display
|
||||||
local xrandr = {
|
local xrandr = {
|
||||||
naruto = "--output VGA1 --auto --output DVI1 --auto --left-of VGA1",
|
naruto = "--output VGA1 --auto --output DVI1 --auto --left-of VGA1",
|
||||||
neo = "--output HDMI-0 --auto --output DVI-0 --auto --right-of HDMI-0"
|
neo = "--output HDMI-0 --auto --output DVI-0 --auto --right-of HDMI-0",
|
||||||
|
alucard = "--output DVI-0 --auto --output DVI-1 --auto --right-of DVI-0"
|
||||||
}
|
}
|
||||||
if xrandr[config.hostname] then
|
if xrandr[config.hostname] then
|
||||||
os.execute("xrandr " .. xrandr[config.hostname])
|
os.execute("xrandr " .. xrandr[config.hostname])
|
||||||
|
@ -26,7 +27,7 @@ local execute = {
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Keyboard/Mouse configuration
|
-- Keyboard/Mouse configuration
|
||||||
if config.hostname == "naruto" then
|
if config.hostname == "alucard" then
|
||||||
execute = awful.util.table.join(
|
execute = awful.util.table.join(
|
||||||
execute, {
|
execute, {
|
||||||
-- Keyboard and mouse
|
-- Keyboard and mouse
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue