Browse Source

Switch sway to alacritty

master
Arti Zirk 6 years ago
parent
commit
4f621d032d
  1. 8
      .config/alacritty/alacritty.yml
  2. 5
      .config/sway/config

8
.config/alacritty/alacritty.yml

@ -3,14 +3,14 @@
# Any items in the `env` entry below will be added as # Any items in the `env` entry below will be added as
# environment variables. Some entries may override variables # environment variables. Some entries may override variables
# set by alacritty itself. # set by alacritty itself.
#env: env:
# TERM variable # TERM variable
# #
# This value is used to set the `$TERM` environment variable for # This value is used to set the `$TERM` environment variable for
# each instance of Alacritty. If it is not present, alacritty will # each instance of Alacritty. If it is not present, alacritty will
# check the local terminfo database and use `alacritty` if it is # check the local terminfo database and use `alacritty` if it is
# available, otherwise `xterm-256color` is used. # available, otherwise `xterm-256color` is used.
#TERM: xterm-256color TERM: xterm-256color
window: window:
# Window dimensions (changes require restart) # Window dimensions (changes require restart)
@ -61,7 +61,7 @@ scrolling:
# Number of lines the viewport will move for every line scrolled when # Number of lines the viewport will move for every line scrolled when
# scrollback is enabled (history > 0). # scrollback is enabled (history > 0).
multiplier: 3 multiplier: 10
# Faux Scrolling # Faux Scrolling
# #
@ -70,7 +70,7 @@ scrolling:
# to allow mouse scrolling for applications like `man`. # to allow mouse scrolling for applications like `man`.
# #
# Specifying `0` will disable faux scrolling. # Specifying `0` will disable faux scrolling.
faux_multiplier: 3 faux_multiplier: 10
# Scroll to the bottom when new text is written to the terminal. # Scroll to the bottom when new text is written to the terminal.
auto_scroll: false auto_scroll: false

5
.config/sway/config

@ -14,7 +14,7 @@ set $down j
set $up k set $up k
set $right l set $right l
# Your preferred terminal emulator # Your preferred terminal emulator
set $term gnome-terminal set $term alacritty
# Your preferred application launcher # Your preferred application launcher
# None: it's recommended that you pass the final command to sway # None: it's recommended that you pass the final command to sway
#set $menu dmenu_path | dmenu | xargs swaymsg exec #set $menu dmenu_path | dmenu | xargs swaymsg exec
@ -60,8 +60,7 @@ bindsym Scroll_Lock exec swaylock -c 333333AA -s tile -i ~/Pildid/background.png
# Dropbox # Dropbox
exec ~/code/dropbox-filesystem-fix/dropbox_start.py exec ~/code/dropbox-filesystem-fix/dropbox_start.py
#bindsym Alt+Tab exec gnome-terminal --title=swayapplauncher -- ~/.bin/sway-apps.py
bindsym Alt+Tab exec gnome-terminal --title=swayapplauncher -- ~/.bin/sway-apps.py
### Input configuration ### Input configuration
# #

Loading…
Cancel
Save