Browse Source

add autorandr config

master
Jonathan Tremesaygues 11 months ago
parent
commit
69e172d7f2
7 changed files with 48 additions and 0 deletions
  1. +0
    -0
      dot_autorandr/docked/.keep
  2. +19
    -0
      dot_autorandr/docked/config
  3. +2
    -0
      dot_autorandr/docked/setup
  4. +11
    -0
      dot_autorandr/executable_postswitch
  5. +0
    -0
      dot_autorandr/laptop/.keep
  6. +15
    -0
      dot_autorandr/laptop/config
  7. +1
    -0
      dot_autorandr/laptop/setup

+ 0
- 0
dot_autorandr/docked/.keep View File


+ 19
- 0
dot_autorandr/docked/config View File

@ -0,0 +1,19 @@
output DP1
off
output HDMI1
off
output VIRTUAL1
off
output eDP1
crtc 0
gamma 1.0:0.769:0.556
mode 1920x1080
pos 0x0
primary
rate 60.00
output HDMI2
crtc 1
gamma 1.0:0.769:0.556
mode 1280x1024
pos 1920x0
rate 60.02

+ 2
- 0
dot_autorandr/docked/setup View File

@ -0,0 +1,2 @@
HDMI2 00ffffffffffff0026cd32482b0100002512010380261e782ace50a3544c99260f5054bfef0081800101010101010101010101010101302a009851002a4030701300782d1100001e000000ff0030353834314838393030323939000000fd00374b1e530e000a202020202020000000fc00504c313930320a2020202020200054
eDP1 00ffffffffffff000daea714000000002c170104951f117802fda59255529428245054000000010101010101010101010101010101015e358096703814402c1c240034ad10000018000000fe004e3134304847452d4541410a20000000fe00434d4e0a202020202020202020000000fe004e3134304847452d4541410a2000d4

+ 11
- 0
dot_autorandr/executable_postswitch View File

@ -0,0 +1,11 @@
#!/bin/fish
# Get the current workspace
set current_workspace (i3-msg -t get_workspaces | jq '.[] | select(.focused == true).num')
# Focus the workspace 10 and move it to the right screen
i3-msg workspace 10
i3-msg move workspace to output right
# Restore the focus
i3-msg workspace $current_workspace

+ 0
- 0
dot_autorandr/laptop/.keep View File


+ 15
- 0
dot_autorandr/laptop/config View File

@ -0,0 +1,15 @@
output DP1
off
output HDMI1
off
output HDMI2
off
output VIRTUAL1
off
output eDP1
crtc 0
gamma 1.0:0.769:0.556
mode 1920x1080
pos 0x0
primary
rate 60.00

+ 1
- 0
dot_autorandr/laptop/setup View File

@ -0,0 +1 @@
eDP1 00ffffffffffff000daea714000000002c170104951f117802fda59255529428245054000000010101010101010101010101010101015e358096703814402c1c240034ad10000018000000fe004e3134304847452d4541410a20000000fe00434d4e0a202020202020202020000000fe004e3134304847452d4541410a2000d4

Loading…
Cancel
Save