Update .config/sway/config

This commit is contained in:
V 2022-12-03 20:48:21 +04:00
parent a699a85ff9
commit 77375799d5
1 changed files with 15 additions and 27 deletions

View File

@ -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,23 +46,18 @@ 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
#natural_scroll enabled
#dwt enabled
}
### Input configuration
#
# Example configuration:
#
# input "2:14:SynPS/2_Synaptics_TouchPad" {
# dwt enabled
# tap enabled
# natural_scroll enabled
# middle_emulation enabled
# }
#
bindsym $mod+F1 exec "firefox-developer-edition"
bindsym $mod+F2 exec "code --enable-features=UseOzonePlatform --ozone-platform=wayland"
bindsym $mod+F3 exec $term ranger
@ -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:
#