dotfiles/sway/config
James Patrick 7999a4110e Moving fzf-pass local versioning.
I'm loosing the versioning but I think I'm going to take this in a
different direction.

1. work with standard browser pass format. Including with pass or as
leading line.
2. Be fully system agnostic (ydotool, of clipboard stuff can be added on
top)
3. Have option to print current full text.

All of these will require significant changes.
2020-06-27 00:30:05 -04:00

37 lines
1.0 KiB
Plaintext

### Variables
#
set $mod Mod4
set $ctrl Control
set $left h
set $down j
set $up k
set $right l
set $term kitty
set $scripts $HOME/.config/sway/scripts
set $tty-popup $scripts/tty-popup
set $menu bash ~/.config/sway/scripts/menu
set $pass_menu $tty-popup pass $scripts/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 [class="feh"] $PIP
for_window [app_id="firefox" title="^Picture-in-Picture$"] $PIP
for_window [app_id="tty-popup"] focus; $PIP
for_window [app_id="tty-popup" title="^pass$"] resize set 33 ppt 33 ppt
# Status Bar:
bar {
swaybar_command waybar
}
include config.d/*