mirror of https://github.com/captn3m0/dotfiles.git
[display] Office layout now includes monitor on right
- Check for layout wallpaper before setting it - Ignores the bg-saved.cfg file in git
This commit is contained in:
parent
e4be7ff15d
commit
e0540a4410
|
@ -366,7 +366,9 @@ function display() {
|
||||||
`cd ~/.screenlayout && sh $1.sh`
|
`cd ~/.screenlayout && sh $1.sh`
|
||||||
# Write the current layout
|
# Write the current layout
|
||||||
echo $1 > ~/.screenlayout/current
|
echo $1 > ~/.screenlayout/current
|
||||||
(cd ~/Pictures && cp "$1.jpg" "./xin_1.jpg")
|
if [[ -e "~/Pictures/$1.jpg" ]]; then
|
||||||
|
(cd ~/Pictures && cp "$1.jpg" "./xin_1.jpg")
|
||||||
|
fi
|
||||||
nitrogen --restore
|
nitrogen --restore
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,6 @@ mode=4
|
||||||
bgcolor=#000000
|
bgcolor=#000000
|
||||||
|
|
||||||
[xin_1]
|
[xin_1]
|
||||||
file=/home/nemo/Pictures/xin_1.jpg
|
file=/home/nemo/Pictures/korra-1920x1080.jpg
|
||||||
mode=4
|
mode=4
|
||||||
bgcolor=#000000
|
bgcolor=#000000
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
[geometry]
|
[geometry]
|
||||||
posx=1080
|
posx=965
|
||||||
posy=840
|
posy=626
|
||||||
sizex=1920
|
sizex=945
|
||||||
sizey=1062
|
sizey=1040
|
||||||
|
|
||||||
[nitrogen]
|
[nitrogen]
|
||||||
view=icon
|
view=icon
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
.config/nitrogen/bg-saved.cfg
|
|
@ -1,2 +1,2 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
xrandr --output VIRTUAL1 --off --output eDP1 --mode 1920x1080 --pos 1080x840 --rotate normal --output DP1 --mode 1920x1080 --pos 0x0 --rotate left --output HDMI2 --off --output HDMI1 --off --output VGA1 --off
|
xrandr --output VIRTUAL1 --off --output eDP1 --mode 1920x1080 --pos 0x432 --rotate normal --output DP1 --mode 1920x1080 --pos 1920x0 --rotate normal --output HDMI2 --off --output HDMI1 --off --output VGA1 --off
|
||||||
|
|
Loading…
Reference in New Issue