From 61dbf7829eb865932041aa0c576147d67c665e0d Mon Sep 17 00:00:00 2001 From: dakedres Date: Tue, 10 Oct 2023 17:24:29 -0400 Subject: [PATCH] Fixes and stuff --- config/tint2/tint2rc | 8 +++++--- scripts/qutesearch | 3 +-- scripts/sxhkd-help | 5 +++++ scripts/tabc-smart-detach | 2 +- 4 files changed, 12 insertions(+), 6 deletions(-) create mode 100755 scripts/sxhkd-help diff --git a/config/tint2/tint2rc b/config/tint2/tint2rc index 5861cbe..39180e5 100755 --- a/config/tint2/tint2rc +++ b/config/tint2/tint2rc @@ -1,4 +1,4 @@ -#---- Generated by tint2conf 6ad2 ---- +#---- Generated by tint2conf 3884 ---- # See https://gitlab.com/o9000/tint2/wikis/Configure for # full documentation of the configuration options. #------------------------------------- @@ -110,7 +110,7 @@ scale_relative_to_screen_height = 0 # Taskbar taskbar_mode = multi_desktop taskbar_hide_if_empty = 0 -taskbar_padding = 0 2 4 +taskbar_padding = 0 0 4 taskbar_background_id = 0 taskbar_active_background_id = 0 taskbar_name = 1 @@ -121,6 +121,7 @@ taskbar_always_show_all_desktop_tasks = 0 taskbar_name_padding = 1 0 taskbar_name_background_id = 0 taskbar_name_active_background_id = 2 +taskbar_name_font = Ubuntu Ultra-Bold 10 taskbar_name_font_color = #e3e3e3 100 taskbar_name_active_font_color = #ffffff 100 taskbar_distribute_size = 1 @@ -236,7 +237,7 @@ separator_padding = 1 0 # Separator 3 separator = new separator_background_id = 0 -separator_color = #777777 83 +separator_color = #777777 80 separator_style = empty separator_size = 3 separator_padding = 1 0 @@ -274,6 +275,7 @@ button_rclick_command = button_mclick_command = button_uwheel_command = button_dwheel_command = +button_font = Ubuntu 10 button_font_color = #ffffff 100 button_padding = 0 7 button_background_id = 0 diff --git a/scripts/qutesearch b/scripts/qutesearch index a4aa8ca..4ecd999 100755 --- a/scripts/qutesearch +++ b/scripts/qutesearch @@ -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" - diff --git a/scripts/sxhkd-help b/scripts/sxhkd-help new file mode 100755 index 0000000..1729369 --- /dev/null +++ b/scripts/sxhkd-help @@ -0,0 +1,5 @@ +#!/bin/bash + +awk '/^[a-z]/ && last {print "",$0,"\t",last,""} {last=""} /^#/{last=$0}' ~/.config/sxhkd/sxhkdrc{,.common} | + column -t -s $'\t' | + rofi -dmenu -i -markup-rows -no-show-icons -width 1000 -lines 15 diff --git a/scripts/tabc-smart-detach b/scripts/tabc-smart-detach index 5467080..8cf34eb 100755 --- a/scripts/tabc-smart-detach +++ b/scripts/tabc-smart-detach @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh id=$(bspc query -N -n); if [ "$(tabc printclass $id)" == "tabbed" ]; then