sway: Configure buran monitors
This commit is contained in:
@ -25,7 +25,18 @@ xwayland enable
|
|||||||
|
|
||||||
### Output configuration
|
### Output configuration
|
||||||
#
|
#
|
||||||
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
|
# Example configuration:
|
||||||
|
#
|
||||||
|
# output HDMI-A-1 resolution 1920x1080 position 1920,0
|
||||||
|
#
|
||||||
|
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
||||||
|
{% if hostname == "vostok" %}
|
||||||
|
output eDP-1 scale 1.5
|
||||||
|
output DP-1 scale 1.5
|
||||||
|
{% elif hostname == "buran" %}
|
||||||
|
output eDP-1 scale 2.0
|
||||||
|
output DP-1 scale 1.5
|
||||||
|
{% end %}
|
||||||
output * bg ~/.config/wallpapers/2560x1440/rocket.jpg fill
|
output * bg ~/.config/wallpapers/2560x1440/rocket.jpg fill
|
||||||
|
|
||||||
# Window decoration
|
# Window decoration
|
||||||
@ -36,14 +47,6 @@ client.unfocused #56636e #56636e #e0c1c1 #7c818c #56636e
|
|||||||
client.urgent #7c818c #bf616a #ffffff #900000 #56636e
|
client.urgent #7c818c #bf616a #ffffff #900000 #56636e
|
||||||
client.placeholder #000000 #0c0c0c #ffffff #000000 #56636e
|
client.placeholder #000000 #0c0c0c #ffffff #000000 #56636e
|
||||||
|
|
||||||
#
|
|
||||||
# Example configuration:
|
|
||||||
#
|
|
||||||
# output HDMI-A-1 resolution 1920x1080 position 1920,0
|
|
||||||
#
|
|
||||||
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
|
||||||
output eDP-1 scale 1.5 position 3413,480
|
|
||||||
output DP-2 resolution 5120x2160 scale 1.5 position 0,0
|
|
||||||
|
|
||||||
### Autostart
|
### Autostart
|
||||||
exec nextcloud
|
exec nextcloud
|
||||||
@ -117,8 +120,8 @@ input * {
|
|||||||
bindsym XF86AudioLowerVolume exec voldown
|
bindsym XF86AudioLowerVolume exec voldown
|
||||||
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
|
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||||
bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
|
bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
|
||||||
bindsym XF86MonBrightnessDown exec brightnessctl set 10%-
|
bindsym XF86MonBrightnessDown exec brightnessctl --min-value=10 set 10%-
|
||||||
bindsym XF86MonBrightnessUp exec brightnessctl set +10%
|
bindsym XF86MonBrightnessUp exec brightnessctl --min-value=10 set +10%
|
||||||
bindsym XF86AudioPlay exec playerctl play-pause
|
bindsym XF86AudioPlay exec playerctl play-pause
|
||||||
bindsym XF86AudioNext exec playerctl next
|
bindsym XF86AudioNext exec playerctl next
|
||||||
bindsym XF86AudioPrev exec playerctl previous
|
bindsym XF86AudioPrev exec playerctl previous
|
||||||
Reference in New Issue
Block a user