Update .config/sway/config
This commit is contained in:
parent
a699a85ff9
commit
77375799d5
|
@ -4,8 +4,6 @@ font Cascadia Code 9
|
|||
# Remove title
|
||||
default_border pixel 2
|
||||
|
||||
default_orientation auto
|
||||
|
||||
# Logo key. Use Mod1 for Alt.
|
||||
set $mod Mod4
|
||||
|
||||
|
@ -18,21 +16,11 @@ set $right l
|
|||
# Terminal emulator
|
||||
set $term foot
|
||||
|
||||
# Your preferred application launcher
|
||||
# Note: pass the final command to swaymsg so that the resulting window can be opened
|
||||
# on the original workspace that the command was run on.
|
||||
set $menu dmenu_path | dmenu | xargs swaymsg exec --
|
||||
|
||||
# Application launcher
|
||||
exec /usr/bin/python3 /usr/bin/ulauncher --no-window-shadow --hide-window 1 > /dev/null
|
||||
set $menu ulauncher-toggle
|
||||
|
||||
set $menu ulauncher-toggle`
|
||||
for_window [title="Ulauncher - Application Launcher"] border none
|
||||
|
||||
input * {
|
||||
xkb_layout "us,ru"
|
||||
xkb_options "grp:caps_toggle"
|
||||
}
|
||||
|
||||
#input <identifier> xkb_model "pc101"
|
||||
|
||||
### Output configuration
|
||||
|
@ -58,22 +46,17 @@ output * bg /home/v/.config/sway/wallpaper_1.png fill
|
|||
# your displays after another 300 seconds, and turn your screens back on when
|
||||
# resumed. It will also lock your screen before your computer goes to sleep.
|
||||
|
||||
# Input config
|
||||
|
||||
input * {
|
||||
xkb_layout "us,ru"
|
||||
xkb_options "grp:caps_toggle"
|
||||
}
|
||||
input type:touchpad {
|
||||
tap enabled
|
||||
natural_scroll enabled
|
||||
}
|
||||
|
||||
### Input configuration
|
||||
#
|
||||
# Example configuration:
|
||||
#
|
||||
# input "2:14:SynPS/2_Synaptics_TouchPad" {
|
||||
# dwt enabled
|
||||
# tap enabled
|
||||
#natural_scroll enabled
|
||||
# middle_emulation enabled
|
||||
# }
|
||||
#
|
||||
#dwt enabled
|
||||
}
|
||||
|
||||
bindsym $mod+F1 exec "firefox-developer-edition"
|
||||
bindsym $mod+F2 exec "code --enable-features=UseOzonePlatform --ozone-platform=wayland"
|
||||
|
@ -137,6 +120,11 @@ bindsym $mod+Shift+e exec swaymsg exit
|
|||
bindsym $mod+Shift+Down move down
|
||||
bindsym $mod+Shift+Up move up
|
||||
bindsym $mod+Shift+Right move right
|
||||
|
||||
bindsym $mod+Alt+$left workspace prev
|
||||
bindsym $mod+Alt+$right workspace next
|
||||
bindsym $mod+Alt+Left workspace prev
|
||||
bindsym $mod+Alt+Right workspace next
|
||||
#
|
||||
# Workspaces:
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue