Skip to content

Instantly share code, notes, and snippets.

@elumbella
Created May 5, 2020 13:33
Show Gist options
  • Save elumbella/a546b85584948c4797f465c3e3ec4cfd to your computer and use it in GitHub Desktop.
Save elumbella/a546b85584948c4797f465c3e3ec4cfd to your computer and use it in GitHub Desktop.
set $mod Mod4
### input devices ###
input type:keyboard {
xkb_layout eu
#xkb_switch_layout 1
xkb_options grp:win_space_toggle
}
# enable NUMLOCK for external keyboard
input "1:1:AT_Translated_Set_2_keyboard" {
xkb_numlock enable
}
#TPPS/2 IBM TrackPoint
input type:pointer {
pointer_accel -.3
}
### output devices ###
output HDMI-A-3 {
mode 1920x1080@60Hz
pos 0 0 res 1920x1080
background ~/Pictures/wallpapers/wall stretch
}
output LVDS-1 {
mode 1366x768@60Hz
pos 1920 200 res 1366x768
background ~/Pictures/wallpapers/wall stretch
}
bar
{
position top
mode hide
hidden_state hide
swaybar_command waybar
}
### set workspace variable ###
set $workspace1 "1:"
set $workspace2 "2:"
set $workspace3 "3:"
set $workspace4 "4:"
set $workspace5 "5:"
set $workspace6 "6"
set $workspace7 "7:"
set $workspace8 "8"
set $workspace9 "9"
set $workspace10 "10"
exec "systemctl --user import-environment; systemctl --user start sway-session.target"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment