sway: Update sway configuration
This commit is contained in:
parent
5594c8c814
commit
c094e4157d
2 changed files with 24 additions and 11 deletions
|
@ -7,9 +7,9 @@
|
||||||
# Logo key. Use Mod1 for Alt.
|
# Logo key. Use Mod1 for Alt.
|
||||||
set $mod Mod4
|
set $mod Mod4
|
||||||
# Home row direction keys, like vim
|
# Home row direction keys, like vim
|
||||||
set $left h
|
set $left h
|
||||||
set $down j
|
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 st
|
set $term st
|
||||||
|
@ -24,10 +24,27 @@ set $screenclip slurp | grim -g - ~/Pictures/screenshots/scrn-$(date +"%Y-%m-%d-
|
||||||
# Lock
|
# Lock
|
||||||
set $lock swaylock
|
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
|
### Output configuration
|
||||||
#
|
#
|
||||||
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
|
# Default wallpaper
|
||||||
output * bg ~/Wallpapers/space.jpg fill
|
output * bg ~/.config/sway/wallpaper.jpg fill
|
||||||
|
|
||||||
#
|
#
|
||||||
# Example configuration:
|
# 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
|
# 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.
|
# Read `man 5 sway-input` for more information about this section.
|
||||||
input * {
|
input "type:keyboard" {
|
||||||
xkb_layout "us"
|
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
|
### Key bindings
|
||||||
#
|
#
|
||||||
# Basics:
|
# Basics:
|
||||||
|
|
BIN
sway/.config/sway/wallpaper.jpg
Normal file
BIN
sway/.config/sway/wallpaper.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.1 MiB |
Loading…
Reference in a new issue