James Patrick
e79c2439f9
Currently this adds file object and descriptions separated by a control delim, rather than raw clipboard text, fixes some issues with invalidly rendered null terminated clipped objects. I am also working on a delete function that uses fzf --bind method and the reload function. This is currently not working for some unknown issue. I'm working on resolving this issue.
36 lines
930 B
Plaintext
36 lines
930 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 $scripts $HOME/.config/sway/scripts
|
|
set $tty-popup $scripts/tty-popup
|
|
|
|
set $menu bash $scripts/menu
|
|
set $pass_menu $tty-popup pass $scripts/fzf-pass
|
|
set $clip_menu $tty-popup pass $scripts/clipboard menu
|
|
|
|
set $printscreen bash $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 [class="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/*
|