2019-04-18 02:24:19 +00:00
|
|
|
### Variables
|
|
|
|
#
|
|
|
|
# Logo key. Use Mod1 for Alt.
|
|
|
|
set $mod Mod4
|
2019-11-25 17:23:38 +00:00
|
|
|
set $ctrl Control
|
2019-04-18 02:24:19 +00:00
|
|
|
# Home row direction keys, like vim
|
|
|
|
set $left h
|
|
|
|
set $down j
|
|
|
|
set $up k
|
|
|
|
set $right l
|
|
|
|
# Your preferred terminal emulator
|
|
|
|
set $term kitty
|
2019-06-16 22:47:19 +00:00
|
|
|
set $menu bash ~/.config/sway/scripts/menu
|
|
|
|
set $gopass_menu bash ~/.config/sway/scripts/menu_gopass
|
|
|
|
set $clipman_menu bash ~/.config/sway/scripts/menu_clipman
|
|
|
|
set $printscreen bash ~/.config/sway/scripts/printscreen
|
2019-06-02 04:04:28 +00:00
|
|
|
|
2019-10-06 05:36:31 +00:00
|
|
|
# Support for picture in picture mode.
|
|
|
|
# There is currently no support for automatically positioning it in the bottom
|
|
|
|
# left corner as xdotool doesn't exist in wayland
|
2019-05-15 02:37:21 +00:00
|
|
|
set $PIP floating enabled ; sticky enabled ; border pixel 0
|
|
|
|
for_window [class="mpv"] $PIP
|
|
|
|
for_window [class="pip"] $PIP
|
2019-08-22 03:07:24 +00:00
|
|
|
for_window [window_role="PictureInPicture"] $PIP
|
2019-11-25 17:23:38 +00:00
|
|
|
for_window [class="feh"] floating enabled ; border pixel 0
|
2019-04-18 02:24:19 +00:00
|
|
|
|
|
|
|
# Status Bar:
|
|
|
|
bar {
|
|
|
|
swaybar_command waybar
|
|
|
|
}
|
|
|
|
|
2019-06-02 02:03:51 +00:00
|
|
|
include config.d/*
|