1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-11-22 10:51:49 +08:00

structure(sway): decouple the structure

This commit is contained in:
Ryan 2024-01-10 17:28:42 +08:00
parent 1eb781ce84
commit 6d7afd19ba
5 changed files with 17 additions and 20 deletions

View File

@ -1,4 +1,4 @@
# vim: filetype=swayconfig # vim: filetype=swayconfig
include /etc/sway/config.d/* include /usr/local/etc/sway/config.d/*
exec /usr/libexec/polkit-gnome-authentication-agent-1 exec /usr/libexec/polkit-gnome-authentication-agent-1

View File

@ -7,13 +7,13 @@ output 'Lectron Company Ltd LECOO M2412HL GG30A137' subpixel rgb
# output 'Lectron Company Ltd LECOO M2412HL GG30A137' max_render_time 5 # output 'Lectron Company Ltd LECOO M2412HL GG30A137' max_render_time 5
# lab screen # lab screen
output "XMI Redmi 27 NU 3948622WH08F4" mode --custom 2560x1440@60Hz # output "XMI Redmi 27 NU 3948622WH08F4" mode --custom 2560x1440@60Hz
output "XMI Redmi 27 NU 3948622WH08F4" scale 1.5 # output "XMI Redmi 27 NU 3948622WH08F4" scale 1.5
output "XMI Redmi 27 NU 3948622WH08F4" transform 90 output "XMI Redmi 27 NU 3948622WH08F4" transform 90
output "XMI Redmi 27 NU 3948622WH08F4" pos 2560 0 output "XMI Redmi 27 NU 3948622WH08F4" pos 2560 0
output "XMI Redmi 27 NU 3948622WH08F4" subpixel rgb output "XMI Redmi 27 NU 3948622WH08F4" subpixel rgb
output "XMI Redmi 27 NU 3948622WH08F4" max_render_time 3 # output "XMI Redmi 27 NU 3948622WH08F4" max_render_time 3
output "XMI Redmi 27 NU 3948622WH08F4" render_bit_depth 10 # output "XMI Redmi 27 NU 3948622WH08F4" render_bit_depth 10
# laptop screen # laptop screen
output 'Thermotrex Corporation TL160ADMP03-0 Unknown' subpixel rgb output 'Thermotrex Corporation TL160ADMP03-0 Unknown' subpixel rgb

View File

@ -1,13 +0,0 @@
# vim: filetype=swayconfig
# laptop output mode
set $laptop eDP-1
bindswitch --reload --locked lid:on output $laptop disable
bindswitch --reload --locked lid:off output $laptop enable
# bar
# bar swaybar_command waybar
#workspace_auto_back_and_forth yes
force_display_urgency_hint 500 ms
smart_borders no_gaps

View File

@ -6,5 +6,3 @@ exec mkfifo /tmp/kitty
exec wlsunset -s 19:00 -S 07:00 -d 1800 exec wlsunset -s 19:00 -S 07:00 -d 1800
exec xbacklight -set 70 exec xbacklight -set 70
exec playerctld daemon exec playerctld daemon
include /usr/local/etc/sway/config.d/*

View File

@ -1,3 +1,15 @@
# vim: filetype=swayconfig # vim: filetype=swayconfig
include ~/.config/sway/conf.d/themes/dark include ~/.config/sway/conf.d/themes/dark
# laptop output mode
set $laptop eDP-1
bindswitch --reload --locked lid:on output $laptop disable
bindswitch --reload --locked lid:off output $laptop enable
# bar
# bar swaybar_command waybar
#workspace_auto_back_and_forth yes
force_display_urgency_hint 500 ms
smart_borders no_gaps