mirror of
https://github.com/captn3m0/dotfiles.git
synced 2024-09-28 22:22:51 +00:00
[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`
|
||||
# Write the current layout
|
||||
echo $1 > ~/.screenlayout/current
|
||||
if [[ -e "~/Pictures/$1.jpg" ]]; then
|
||||
(cd ~/Pictures && cp "$1.jpg" "./xin_1.jpg")
|
||||
fi
|
||||
nitrogen --restore
|
||||
}
|
||||
|
||||
|
@ -9,6 +9,6 @@ mode=4
|
||||
bgcolor=#000000
|
||||
|
||||
[xin_1]
|
||||
file=/home/nemo/Pictures/xin_1.jpg
|
||||
file=/home/nemo/Pictures/korra-1920x1080.jpg
|
||||
mode=4
|
||||
bgcolor=#000000
|
||||
|
@ -1,8 +1,8 @@
|
||||
[geometry]
|
||||
posx=1080
|
||||
posy=840
|
||||
sizex=1920
|
||||
sizey=1062
|
||||
posx=965
|
||||
posy=626
|
||||
sizex=945
|
||||
sizey=1040
|
||||
|
||||
[nitrogen]
|
||||
view=icon
|
||||
|
1
files/display/.gitignore
vendored
Normal file
1
files/display/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.config/nitrogen/bg-saved.cfg
|
@ -1,2 +1,2 @@
|
||||
#!/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
Block a user