~yerinalexey/dotfiles

ref: 8579758ddf3d8383f2ea9cad38fab11934bc456e dotfiles/sway/config -rw-r--r-- 1.0 KiB
8579758dAlexey Yerin scripts/xdg-open: fix terminal command for foot 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Main Sway configuration file

# Variables
## Logo key. Use Mod1 for Alt.
set $mod Mod4

## Home row direction keys, like vim
set $left h
set $down j
set $up k
set $right l

## Your preferred terminal emulator
set $term alacritty

## Your preferred web browser
# --qt-flag ... is for prefers-color-scheme to work properly
set $browser qutebrowser

## Your preferred application launcher
set $menu "bemenu-run -p 'Run:' -i --no-exec | xargs swaymsg exec --"

# Uncomment to use dmenu
# set $menu dmenu_path | dmenu | xargs swaymsg exec --

# Set wallpaper
# output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
output * bg ~/.config/wall.jpg fill

# Input configuration
input type:keyboard {
  # English and Russian layouts
  xkb_layout us,ru

  # NumLock is always on
  xkb_numlock on

  # Switch layouts with Alt+Shift
  # and remap CapsLock to Escape
  xkb_options grp:alt_shift_toggle,caps:escape
}

# Include other configs
include ~/.config/sway/config.d/*
include ~/.config/sway/config.d/bindings/*