dotfiles/sway/config
James Patrick 161278221b Started using fzf-pass by ReekyMarko
There are still some issues with this. Primarily that it doesn't work
with the browserpass format. I will probably need to fork this to get
this to work.
2020-05-15 12:15:58 -04:00

34 lines
944 B
Plaintext

### Variables
#
set $mod Mod4
set $ctrl Control
set $left h
set $down j
set $up k
set $right l
set $term kitty
set $menu bash ~/.config/sway/scripts/menu
set $pass_menu $term --class fzf-pass -e sh -c /usr/bin/fzf-pass
set $clipman_menu bash ~/.config/sway/scripts/menu_clipman
set $clipman_clear_menu bash ~/.config/sway/scripts/clipman_clear_menu
set $printscreen bash ~/.config/sway/scripts/printscreen
# 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
set $PIP floating enabled ; sticky enabled ; border pixel 0
for_window [class="mpv"] $PIP
for_window [class="pip"] $PIP
for_window [window_role="PictureInPicture"] $PIP
for_window [class="feh"] floating enabled ; border pixel 0
for_window [app_id="fzf-pass"] focus, floating enabled, border pixel 1
# Status Bar:
bar {
swaybar_command waybar
}
include config.d/*