Fixes and stuff

This commit is contained in:
2023-10-10 17:24:29 -04:00
parent b4039c9502
commit 61dbf7829e
4 changed files with 12 additions and 6 deletions

View File

@@ -1,7 +1,6 @@
#!/bin/sh
db=$HOME/.local/share/qutebrowser/history.sqlite
url=$(sqlite3 "$db" "select url, title, atime from History" | tac | awk -F '|' '{print $1}' | rofi -dmenu)
url=$(sqlite3 "$db" "select title,url from History" | tac | rofi -dmenu | awk -F '|' '{print $NF}')
[ -z "$url" ] && exit
qutebrowser --target window "$url"

5
scripts/sxhkd-help Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
awk '/^[a-z]/ && last {print "<small>",$0,"\t",last,"</small>"} {last=""} /^#/{last=$0}' ~/.config/sxhkd/sxhkdrc{,.common} |
column -t -s $'\t' |
rofi -dmenu -i -markup-rows -no-show-icons -width 1000 -lines 15

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
id=$(bspc query -N -n);
if [ "$(tabc printclass $id)" == "tabbed" ]; then