sway: add host-specific configs
This commit is contained in:
parent
9b4673ace4
commit
766b958c32
2 changed files with 26 additions and 21 deletions
22
config
22
config
|
@ -1,4 +1,5 @@
|
||||||
# Default config for sway
|
# Default config for sway
|
||||||
|
# vim: ft=i3config
|
||||||
#
|
#
|
||||||
# Copy this to ~/.config/sway/config and edit it to your liking.
|
# Copy this to ~/.config/sway/config and edit it to your liking.
|
||||||
#
|
#
|
||||||
|
@ -28,9 +29,6 @@ output * bg $background fill
|
||||||
# Example configuration:
|
# Example configuration:
|
||||||
# output HDMI-A-1 resolution 1920x1080 position 1920,0
|
# output HDMI-A-1 resolution 1920x1080 position 1920,0
|
||||||
# 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
|
||||||
output eDP-1 pos 0 0
|
|
||||||
output DP-1 pos 1920 0
|
|
||||||
output DP-1 disable
|
|
||||||
|
|
||||||
### Idle configuration
|
### Idle configuration
|
||||||
bindsym $mod+Ctrl+Escape exec $lock_cmd
|
bindsym $mod+Ctrl+Escape exec $lock_cmd
|
||||||
|
@ -43,28 +41,10 @@ exec swayidle -w \
|
||||||
### Input configuration
|
### Input configuration
|
||||||
# You can get the names of your inputs by running: swaymsg -t get_inputs
|
# You can get the names of your inputs by running: swaymsg -t get_inputs
|
||||||
# Read `man 5 sway-input` for more information about this section.
|
# Read `man 5 sway-input` for more information about this section.
|
||||||
|
|
||||||
input type:keyboard {
|
input type:keyboard {
|
||||||
xkb_layout "eu"
|
xkb_layout "eu"
|
||||||
}
|
}
|
||||||
|
|
||||||
input "1739:30383:CUST0001:00_06CB:76AF_Touchpad" {
|
|
||||||
click_method clickfinger
|
|
||||||
dwt enabled # disable while typing
|
|
||||||
# drag enabled
|
|
||||||
# drag_lock enabled
|
|
||||||
scroll_method two_finger
|
|
||||||
tap enabled
|
|
||||||
tap_button_map lrm
|
|
||||||
natural_scroll enabled
|
|
||||||
middle_emulation enabled
|
|
||||||
}
|
|
||||||
|
|
||||||
input "1:1:AT_Translated_Set_2_keyboard" {
|
|
||||||
xkb_layout "eu"
|
|
||||||
xkb_options "xk5:vim,xk5:fn"
|
|
||||||
}
|
|
||||||
|
|
||||||
### Key bindings
|
### Key bindings
|
||||||
#
|
#
|
||||||
# Basics:
|
# Basics:
|
||||||
|
|
25
config.d/silence
Normal file
25
config.d/silence
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
### silence specific settings
|
||||||
|
# vim: ft=i3config
|
||||||
|
|
||||||
|
### Output configuration
|
||||||
|
output eDP-1 position 0 0
|
||||||
|
output DP-1 position 1920 0
|
||||||
|
output DP-1 disable
|
||||||
|
|
||||||
|
### Input configuration
|
||||||
|
input "1739:30383:CUST0001:00_06CB:76AF_Touchpad" {
|
||||||
|
click_method clickfinger
|
||||||
|
dwt enabled # disable while typing
|
||||||
|
# drag enabled
|
||||||
|
# drag_lock enabled
|
||||||
|
scroll_method two_finger
|
||||||
|
tap enabled
|
||||||
|
tap_button_map lrm
|
||||||
|
natural_scroll enabled
|
||||||
|
middle_emulation enabled
|
||||||
|
}
|
||||||
|
|
||||||
|
input "1:1:AT_Translated_Set_2_keyboard" {
|
||||||
|
xkb_layout "eu"
|
||||||
|
xkb_options "xk5:vim,xk5:fn"
|
||||||
|
}
|
Loading…
Reference in a new issue