Update .config/sway/config

This commit is contained in:
V 2022-12-03 20:48:21 +04:00
parent a699a85ff9
commit 77375799d5

View file

@ -4,8 +4,6 @@ font Cascadia Code 9
# Remove title # Remove title
default_border pixel 2 default_border pixel 2
default_orientation auto
# Logo key. Use Mod1 for Alt. # Logo key. Use Mod1 for Alt.
set $mod Mod4 set $mod Mod4
@ -18,21 +16,11 @@ set $right l
# Terminal emulator # Terminal emulator
set $term foot set $term foot
# Your preferred application launcher # 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 --
exec /usr/bin/python3 /usr/bin/ulauncher --no-window-shadow --hide-window 1 > /dev/null 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 for_window [title="Ulauncher - Application Launcher"] border none
input * {
xkb_layout "us,ru"
xkb_options "grp:caps_toggle"
}
#input <identifier> xkb_model "pc101" #input <identifier> xkb_model "pc101"
### Output configuration ### 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 # 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. # 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 { input type:touchpad {
tap enabled tap enabled
natural_scroll enabled
}
### Input configuration
#
# Example configuration:
#
# input "2:14:SynPS/2_Synaptics_TouchPad" {
# dwt enabled
# tap enabled
#natural_scroll enabled #natural_scroll enabled
# middle_emulation enabled #dwt enabled
# } }
#
bindsym $mod+F1 exec "firefox-developer-edition" bindsym $mod+F1 exec "firefox-developer-edition"
bindsym $mod+F2 exec "code --enable-features=UseOzonePlatform --ozone-platform=wayland" 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+Down move down
bindsym $mod+Shift+Up move up bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right 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: # Workspaces:
# #