Replace rofi with fuzzel, add jira-fuzzel
Jes Olson jolson@digitalocean.com
Fri, 29 Oct 2021 17:11:02 -0500
2 files changed,
13 insertions(+),
7 deletions(-)
M
.config/sway/config
→
.config/sway/config
@@ -15,11 +15,6 @@ set $up k
set $right l # Your preferred terminal emulator set $term foot -# Your preferred application launcher -# Note: pass the final command to swaymsg so that the resulting window can be opened -# on the original workspace that the command was run on. -# set $menu dmenu_path | dmenu | xargs swaymsg exec -- -set $launcher dmenu_path | fzf | xargs swaymsg exec -- ### Output configuration #@@ -90,8 +85,10 @@ # Kill focused window
bindsym $mod+Shift+q kill # Start your launcher - # bindsym $mod+d exec $menu - bindsym $mod+d exec "rofi -modi drun,run -show drun" + bindsym $mod+d exec fuzzel + + # Jira ticket picker + bindsym $mod+Shift+i exec jira-fuzzel # Password manager bindsym $mod+Shift+p exec --no-startup-id pa-rofi
A
bin/jira-fuzzel
@@ -0,0 +1,9 @@
+#!/bin/sh +# +# this script launches fuzzel, takes a jira +# ticket, and opens it + +# upcase because jira wants that i guess +jira_id=$(printf "" | fuzzel -d | tr '[a-z]' '[A-Z]') + +xdg-open "https://jira.internal.digitalocean.com/browse/$jira_id"