From e9ef5569e9a3db88b6abbbc091db40cc90211c7f Mon Sep 17 00:00:00 2001 From: wlinator Date: Tue, 25 Jun 2024 13:39:02 +0200 Subject: [PATCH] wofi conf with clipboard --- .config/sway/config | 5 ++--- .config/wofi/style.css | 51 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+), 3 deletions(-) create mode 100644 .config/wofi/style.css diff --git a/.config/sway/config b/.config/sway/config index 9e3a4d7..9e56551 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -14,9 +14,8 @@ bindsym $mod+Return exec $term bindsym $mod+Shift+q kill bindsym $mod+d exec $menu bindsym $mod+Shift+n exec swaync-client -t -sw -#bindsym --release Print+Control exec --no-startup-id swaymsg -t get_tree | jq -r '.. | select(.pid? and .visible?) | .rect | "\(.x),\(.y) \(.width)x\(.height)"' | slurp | grim -g - - | swappy -f - bindsym Print exec flameshot gui -bindsym $mod+v exec clipman pick --tool=CUSTOM --tool-args="fuzzel -d" +bindsym $mod+v exec cliphist list | wofi -S dmenu | cliphist decode | wl-copy bindsym $mod+l exec swaylock -ef bindsym $mod+Shift+r reload bindsym $mod+Shift+e exec swaynag -t warning -m 'Exit?' -B 'Yes, exit sway' 'swaymsg exit' @@ -81,7 +80,7 @@ bindsym --locked $mod+Shift+Prior exec playerctl previous exec swaync exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 -exec wl-paste -t text --watch clipman store --no-persist +exec wl-paste --watch cliphist store exec_always nm-applet --indicator diff --git a/.config/wofi/style.css b/.config/wofi/style.css new file mode 100644 index 0000000..c109c67 --- /dev/null +++ b/.config/wofi/style.css @@ -0,0 +1,51 @@ +window { +margin: 0px; +border: 1px solid #bd93f9; +background-color: #282a36; +} + +#input { +margin: 5px; +border: none; +color: #f8f8f2; +background-color: #44475a; +} + +#inner-box { +margin: 5px; +border: none; +background-color: #282a36; +} + +#outer-box { +margin: 5px; +border: none; +background-color: #282a36; +} + +#scroll { +margin: 0px; +border: none; +} + +#text { +margin: 5px; +border: none; +color: #f8f8f2; +} + +#entry.activatable #text { +color: #282a36; +} + +#entry > * { +color: #f8f8f2; +} + +#entry:selected { +background-color: #44475a; +} + +#entry:selected #text { +/*font-weight: bold;*/ +}