diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2022-04-12 15:16:39 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2022-04-12 15:16:39 +0200 |
commit | a2ca771a797a295938a0ebae7f88f1173a8101c7 (patch) | |
tree | 35318f84ef85ba4cb2daf738d914563547316c8c /.local | |
parent | New script to show date as notification; (diff) | |
download | dotfiles-bsd-a2ca771a797a295938a0ebae7f88f1173a8101c7.tar.gz dotfiles-bsd-a2ca771a797a295938a0ebae7f88f1173a8101c7.tar.bz2 dotfiles-bsd-a2ca771a797a295938a0ebae7f88f1173a8101c7.tar.xz dotfiles-bsd-a2ca771a797a295938a0ebae7f88f1173a8101c7.tar.zst dotfiles-bsd-a2ca771a797a295938a0ebae7f88f1173a8101c7.zip |
update
Diffstat (limited to '')
-rwxr-xr-x | .local/bin/kb | 1 | ||||
-rwxr-xr-x | .local/bin/scrwork | 7 | ||||
-rwxr-xr-x | .local/bin/setscreens.sh | 19 |
3 files changed, 14 insertions, 13 deletions
diff --git a/.local/bin/kb b/.local/bin/kb index 0ebc0be..89bd4dc 100755 --- a/.local/bin/kb +++ b/.local/bin/kb @@ -46,6 +46,7 @@ xset r rate 200 150 setxkbmap -layout us,fr -option grp:alt_shift_toggle +setxkbmap -option ctrl:swapcaps setxkbmap -option caps:none xmodmap -e 'keycode 9 = Tab' xmodmap -e 'keycode 23 = Escape' diff --git a/.local/bin/scrwork b/.local/bin/scrwork index 3e7224b..bb1935d 100755 --- a/.local/bin/scrwork +++ b/.local/bin/scrwork @@ -39,14 +39,15 @@ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # scrwork -# Mon Apr 11 20:02:06 CEST 2022 +# Tue Apr 12 14:47:59 CEST 2022 # Joe # # Screen setup when I'm at work -xrandr --output LVDS-1 --primary --mode 1366x768 --pos 0x312 --rotate normal +xrandr --output LVDS-1 --primary --mode 1366x768 --pos 0x649 --rotate normal xrandr --output VGA-1 --off -xrandr --output HDMI-1 --mode 1920x1080 --pos 1366x0 --rotate normal --output DP-1 --off +xrandr --output HDMI-1 --mode 1920x1080 --pos 1366x0 --rotate normal +xrandr --output DP-1 --off xrandr --output HDMI-2 --off xrandr --output HDMI-3 --off xrandr --output DP-2 --off diff --git a/.local/bin/setscreens.sh b/.local/bin/setscreens.sh index 194ae90..2bab3a0 100755 --- a/.local/bin/setscreens.sh +++ b/.local/bin/setscreens.sh @@ -44,16 +44,15 @@ # # Script to set screens, loaded at startx only. -if xrandr | grep 'HDMI-1 connected'; then - if xrandr | grep 'VGA-1 connected'; then - xrandr --output LVDS-1 --off - xrandr --output HDMI-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal - xrandr --output DP-1 --off - xrandr --output VGA-1 --mode 1440x900 --pos 1920x180 --rotate normal - xrandr --output HDMI-2 --off - xrandr --output HDMI-3 --off - xrandr --output DP-2 --off - xrandr --output DP-3 --off +if xrandr | grep 'HDMI-1 connected' && xrandr | grep 'VGA-1 connected'; then + xrandr --output LVDS-1 --off + xrandr --output HDMI-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal + xrandr --output DP-1 --off + xrandr --output VGA-1 --mode 1440x900 --pos 1920x180 --rotate normal + xrandr --output HDMI-2 --off + xrandr --output HDMI-3 --off + xrandr --output DP-2 --off + xrandr --output DP-3 --off else xrandr --output LVDS-1 --primary --mode 1366x768 --pos 0x0 --rotate normal xrandr --output VGA-1 --off |