dotfiles/sway/config
James Patrick a97cb96f87 Added support for clipman.
super + alt => rofi clip history
super + alt + shift => rofi delete clip history
2020-04-25 23:09:44 -04:00

34 lines
964 B
Plaintext

### Variables
#
# Logo key. Use Mod1 for Alt.
set $mod Mod4
set $ctrl Control
# 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
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 $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
# Status Bar:
bar {
swaybar_command waybar
}
include config.d/*