Per host monitor configs for sway

This commit is contained in:
TheWanderingCrow 2024-09-24 07:24:24 -04:00
parent 871e16e888
commit 0541838da2
4 changed files with 17 additions and 0 deletions

View file

@ -3,6 +3,9 @@ let
hyprMonitorConfig = if osConfig.networking.hostName == "Parzival" then ./hypr/parzival-monitors.conf
else if osConfig.networking.hostName == "Parzival-Mobile" then ./hypr/parzival_mobile-monitors.conf
else null;
swayMonitorConfig = if osConfig.networking.hostName == "Parzival" then ./sway/parzival-monitors.conf
else if osConfig.networking.hostName == "Parzival-Mobile" then ./sway/parzival_mobile-monitors.conf
else null;
in
{
home = {

View file

@ -0,0 +1,6 @@
output HDMI-A-1 mode 1920x1080@74.973Hz
output HDMI-A-1 pos 0 0
output HDMI-A-1 transfor 90 anticlockwise
output DP-2 mode 2560x1440@169.831Hz
output DP-2 pos 1080 215

View file

@ -1,3 +1,10 @@
################
### MONITORS ###
################
include /home/crow/.config/sway/monitors.conf
###################
### MY PROGRAMS ###
###################
@ -5,6 +12,7 @@
set $term foot
set $menu wofi --show run | xargs swaymsg exec --
exec waybar
exec swaync
exec udiskie
exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1