sway: Update sway configuration

This commit is contained in:
Sanchayan Maity 2020-11-13 20:16:06 +05:30
parent 5594c8c814
commit c094e4157d
2 changed files with 24 additions and 11 deletions

View File

@ -7,9 +7,9 @@
# 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 $left h
set $down j
set $up k
set $right l
# Your preferred terminal emulator
set $term st
@ -24,10 +24,27 @@ set $screenclip slurp | grim -g - ~/Pictures/screenshots/scrn-$(date +"%Y-%m-%d-
# Lock
set $lock swaylock
# Colors
set $color_urgent #cc241d
set $color_focus #458588
set $color_bg #282828
# Client colors
client.focused $color_focus $color_focus $color_bg $color_focus $color_focus
client.focused_inactive $color_bg $color_bg $color_focus $color_bg $color_bg
client.unfocused $color_bg $color_bg $color_focus $color_bg $color_bg
client.urgent $color_urgent $color_urgent $color_bg $color_urgent $color_urgent
# Gaps & Borders
gaps inner 4
default_border pixel 1
default_floating_border pixel 1
### Output configuration
#
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
output * bg ~/Wallpapers/space.jpg fill
# Default wallpaper
output * bg ~/.config/sway/wallpaper.jpg fill
#
# Example configuration:
#
@ -61,15 +78,11 @@ output * bg ~/Wallpapers/space.jpg fill
#
# You can get the names of your inputs by running: swaymsg -t get_inputs
# Read `man 5 sway-input` for more information about this section.
input * {
input "type:keyboard" {
xkb_layout "us"
xkb_model "pc101"
}
input "AT Translated Set 2 keyboard" xkb_model "pc101"
# Get rid of title bars on applications
default_border none
### Key bindings
#
# Basics:

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB