X-Git-Url: http://git.vanrenterghem.biz/Dotty.git/blobdiff_plain/626a504431eb4dc74b7ca3c2901d4ff825042e5e..993b0b918b042be5b957fbaf7565a2ae14f8b974:/i3/.config/i3/config diff --git a/i3/.config/i3/config b/i3/.config/i3/config index f5c43e7..e2a1d76 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -9,8 +9,18 @@ # # Please see https://i3wm.org/docs/userguide.html for a complete reference! +# Set up laptop monitor as primary screen and external screen on its right +# Managed by autorandr +exec --no-startup-id autorandr --change +#exec_always --no-startup-id xrandr --output eDP-1 --mode 2048x1152 --primary \ +# --output DP-1-2 --auto --mode 2560x1440 --right-of eDP-1 + set $mod Mod4 +# Move the current workspace to the next output +# (effectively toggles when you only have two outputs) +bindsym $mod+x move workspace to output next + # Font for window titles. Will also be used by the bar unless a different font # is used in the bar {} block below. font pango:monospace 8 @@ -180,8 +190,6 @@ bar { status_command i3status } -# Display Resolution -exec_always xrandr --output eDP-1 --mode 1920x1080 # Display Wallpaper exec_always feh --bg-fill images/20180418T1659__Outback_regenboog.jpg @@ -190,4 +198,4 @@ exec_always feh --bg-fill images/20180418T1659__Outback_regenboog.jpg bindsym --release Print exec --no-startup-id import /tmp/`date +%Y%m%dT%H%M%S`--screenshot-`hostname`.png # Take a screenshot upon pressing PrtSc (select an area) -bindsym --release Shift+Print exec --no-startup-id import -window root /tmp/`date +%Y%m%dT%H%M%S`--screenshot-`hostname`.png \ No newline at end of file +bindsym --release Shift+Print exec --no-startup-id import -window root /tmp/`date +%Y%m%dT%H%M%S`--screenshot-`hostname`.png