alpha
Login
or
Join now
j3s.sh
/
dotfiles
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
my dotz
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
bemenu prettifying
author
Jes Olson
date
4 years ago
(Jun 21, 2022, 5:51 PM -0500)
commit
bf1bae89
bf1bae89a14ef1d5baf5f9d349e1084a036f61aa
parent
ef09c6ba
ef09c6ba57ff252d063368db2da3ca0c0ab5abe0
+3
-3
3 changed files
Expand all
Collapse all
Unified
Split
.config
sway
config
bin
pa-bemenu
zora
jira-bemenu
+1
-1
.config/sway/config
Reviewed
···
48
48
bindsym Delete exec makoctl dismiss
49
49
bindsym $mod+Delete exec makoctl dismiss --all
50
50
bindsym Mod1+Shift+Return Return
51
51
-
bindsym $mod+d exec bemenu-run -b
51
51
+
bindsym $mod+d exec bemenu-run -l 20 -c -W 0.2
52
52
bindsym $mod+Shift+p exec --no-startup-id pa-bemenu
53
53
bindsym $mod+Shift+c reload
54
54
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'
+1
-1
bin/pa-bemenu
Reviewed
···
10
10
11
11
cd "${PA_DIR:-$HOME/.local/share/pa}"
12
12
password_files="$(find * -type f | grep -v '/.git')"
13
13
-
password=$(printf '%s\n' "$password_files" | sed 's/.age//' | bemenu -b "$@")
13
13
+
password=$(printf '%s\n' "$password_files" | sed 's/.age//' | bemenu -c -W 0.2 -l 20 "$@")
14
14
15
15
pa show "$password" | head -n 1 | tr -d '\n' | wtype -
+1
-1
bin/zora/jira-bemenu
Reviewed
···
4
4
# ticket, and opens it
5
5
6
6
# upcase because jira wants that i guess
7
7
-
jira_id=$(printf "" | bemenu -b | tr '[a-z]' '[A-Z]')
7
7
+
jira_id=$(printf "" | bemenu -c -W 0.2 | tr '[a-z]' '[A-Z]')
8
8
[ "$jira_id" = "" ] && exit 1
9
9
10
10
xdg-open "https://jira.internal.digitalocean.com/browse/$jira_id"