2022-01-22 22:14:01 +00:00
|
|
|
#!/bin/sh
|
|
|
|
setxkbmap -model abnt2 -layout br -variant ,abnt2
|
2023-06-23 13:10:17 +00:00
|
|
|
#exit 0
|
|
|
|
|
|
|
|
# 1280x720 = Max resolution monitor can do that fits blackout
|
|
|
|
|
|
|
|
xrandr --output HDMI2 --mode 1366x768 --pos 0x0 --rate 59.79 \
|
|
|
|
--output HDMI1 --mode 1280x720 --right-of HDMI2 --rate 60.00
|
|
|
|
|
|
|
|
#xrandr --output HDMI1 --mode 1280x720 #Max resolution monitor can do that fits blackout
|
|
|
|
#xrandr --output HDMI2 --mode 1366x768
|
2022-10-07 11:40:50 +00:00
|
|
|
|
|
|
|
win_list=$(wmctrl -x -l | grep -i "OXO|" | awk '{print $1}' )
|
|
|
|
for win in "${win_list[@]}"
|
|
|
|
do
|
|
|
|
wmctrl -r "$win" -i -b add,maximized_vert,maximized_horz
|
|
|
|
done
|
2023-06-23 13:10:17 +00:00
|
|
|
echo "blackout" > /home/bruno/.layout
|