Compare commits
3 Commits
51d42223f5
...
fd26b3544a
Author | SHA1 | Date | |
---|---|---|---|
fd26b3544a | |||
924b3c3a06 | |||
cb50361cf2 |
10
kanshi/config
Normal file
10
kanshi/config
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
profile external-dell {
|
||||||
|
output eDP-1 disable
|
||||||
|
# Dell P2416D, 23.8 inches, 123.41 PPI (see https://www.sven.de/dpi/)
|
||||||
|
# "make model serial" from `swaymsg -t get_outputs`
|
||||||
|
output "Dell Inc. DELL P2416D 6RC2C54O0NWS" mode 2560x1440 position 0,0 scale 1.75
|
||||||
|
}
|
||||||
|
|
||||||
|
profile internal {
|
||||||
|
output eDP-1 enable mode 2560x1440 scale 1.75 position 0,0
|
||||||
|
}
|
40
sway/config
40
sway/config
@ -51,43 +51,8 @@ output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
|
|||||||
#
|
#
|
||||||
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
||||||
|
|
||||||
# eDP-1 is the internal laptop display
|
# Manage outputs with kanshi
|
||||||
output eDP-1 {
|
exec_always pkill kanshi; exec kanshi
|
||||||
scale 2
|
|
||||||
resolution 2560x1440
|
|
||||||
position 0,0
|
|
||||||
}
|
|
||||||
|
|
||||||
# DP-1, DP-2, DP-3, and DP-4 are display port when connected to dock
|
|
||||||
output DP-1 {
|
|
||||||
scale 2
|
|
||||||
resolution 2560x1440
|
|
||||||
position 1280,0
|
|
||||||
}
|
|
||||||
|
|
||||||
output DP-2 {
|
|
||||||
scale 2
|
|
||||||
resolution 2560x1440
|
|
||||||
position 1280,0
|
|
||||||
}
|
|
||||||
|
|
||||||
output DP-3 {
|
|
||||||
scale 2
|
|
||||||
resolution 2560x1440
|
|
||||||
position 1280,0
|
|
||||||
}
|
|
||||||
|
|
||||||
output DP-4 {
|
|
||||||
scale 2
|
|
||||||
resolution 2560x1440
|
|
||||||
position 1280,0
|
|
||||||
}
|
|
||||||
|
|
||||||
output HDMI-A-1 {
|
|
||||||
scale 1
|
|
||||||
resolution 1280x720
|
|
||||||
position 1280,0
|
|
||||||
}
|
|
||||||
|
|
||||||
# Wayland overlay bar for sound and brightness level
|
# Wayland overlay bar for sound and brightness level
|
||||||
exec mkfifo $SWAYSOCK.wob && tail -f $SWAYSOCK.wob | wob
|
exec mkfifo $SWAYSOCK.wob && tail -f $SWAYSOCK.wob | wob
|
||||||
@ -123,6 +88,7 @@ exec swayidle \
|
|||||||
# Read `man 5 sway-input` for more information about this section.
|
# Read `man 5 sway-input` for more information about this section.
|
||||||
|
|
||||||
input type:touchpad {
|
input type:touchpad {
|
||||||
|
# note that DWT only works for internal touchpads (see libinput issue #524)
|
||||||
dwt enabled
|
dwt enabled
|
||||||
tap enabled
|
tap enabled
|
||||||
natural_scroll enabled
|
natural_scroll enabled
|
||||||
|
Loading…
Reference in New Issue
Block a user