Skip to content

Commit

Permalink
Add shortcut to use laptop as display
Browse files Browse the repository at this point in the history
  • Loading branch information
joaothallis committed Feb 2, 2024
1 parent 523321b commit e4e9a27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .config/i3/config
Original file line number Diff line number Diff line change
Expand Up @@ -210,3 +210,5 @@ exec picom
exec guake

exec --no-startup-id feh --bg-fill ~/Pictures/wallpaper.jpg

bindsym $mod+Shift+s exec ~/.screenlayout/laptop.sh
2 changes: 2 additions & 0 deletions .screenlayout/laptop.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
xrandr --output eDP-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI-1 --off --output DP-1 --off --output HDMI-2 --off

0 comments on commit e4e9a27

Please sign in to comment.