diff --git a/.config/qtile/README.org b/.config/qtile/README.org index 14fda8e..96660ca 100644 --- a/.config/qtile/README.org +++ b/.config/qtile/README.org @@ -257,14 +257,14 @@ keys = [ #+end_src * Groups -Groups are really workspaces. group_names should remain 1-9 so the MOD+1-9 keybindings work as expected. group_labels are the labels of the groups that are displayed in the bar. Feel free to change group_labels to anything you wish. group_layouts sets the default layout for each group. +Groups are really workspaces. group_names should remain 0-9 so the MOD+0-9 keybindings work as expected. group_labels are the labels of the groups that are displayed in the bar. Feel free to change group_labels to anything you wish. group_layouts sets the default layout for each group. #+begin_src python groups = [] group_names = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0"] # Uncomment only one of the following lines -group_labels = ["", "", "", "", "", "", "⧳", "", "", "⛨"] +group_labels = ["", "", "👁", "", "", "", "✀", "꩜", "", "⎙"] #group_labels = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"] #group_labels = ["DEV", "WWW", "SYS", "DOC", "VBOX", "CHAT", "MUS", "VID", "GFX", "MISC"] @@ -406,11 +406,11 @@ def init_widgets_list(): foreground = colors[1] ), widget.GroupBox( - fontsize = 12, + fontsize = 11, margin_y = 5, - margin_x = 16, + margin_x = 14, padding_y = 0, - padding_x = 0, + padding_x = 2, borderwidth = 3, active = colors[8], inactive = colors[9], diff --git a/.config/qtile/config.py b/.config/qtile/config.py index e4d2ca6..9a4400f 100644 --- a/.config/qtile/config.py +++ b/.config/qtile/config.py @@ -182,7 +182,7 @@ groups = [] group_names = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0"] # Uncomment only one of the following lines -group_labels = ["", "", "", "", "", "", "⧳", "", "", "⛨"] +group_labels = ["", "", "👁", "", "", "", "✀", "꩜", "", "⎙"] #group_labels = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"] #group_labels = ["DEV", "WWW", "SYS", "DOC", "VBOX", "CHAT", "MUS", "VID", "GFX", "MISC"] @@ -284,11 +284,11 @@ def init_widgets_list(): foreground = colors[1] ), widget.GroupBox( - fontsize = 12, + fontsize = 11, margin_y = 5, - margin_x = 16, + margin_x = 14, padding_y = 0, - padding_x = 0, + padding_x = 2, borderwidth = 3, active = colors[8], inactive = colors[9], diff --git a/.local/bin/clock b/.local/bin/clock deleted file mode 100755 index 44ee7a4..0000000 --- a/.local/bin/clock +++ /dev/null @@ -1,4 +0,0 @@ -#! /bin/bash - -dte="$(date +"%a, %B %d %l:%M%p"| sed 's/ / /g')" -echo -e "$dte" diff --git a/.local/bin/dm-run b/.local/bin/dm-run deleted file mode 100755 index 83cc3df..0000000 --- a/.local/bin/dm-run +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env bash -# -# Script name: dm-run -# Description: The standard dmenu_run command with flags and a prompt. -# Dependencies: dmenu -# GitLab: https://www.gitlab.com/dwt1/dmscripts -# License: https://www.gitlab.com/dwt1/dmscripts/LICENSE -# Contributors: Derek Taylor - -# Set with the flags "-e", "-u","-o pipefail" cause the script to fail -# if certain things happen, which is a good thing. Otherwise, we can -# get hidden bugs that are hard to discover. -set -euo pipefail - -export _JAVA_AWT_WM_NONREPARENTING=1 -exec $(dmenu_path | dmenu -l 20 -g 3 -X 0 -Y 0 -W 680 -p 'Run: ' "$@") - diff --git a/.local/bin/kernel b/.local/bin/kernel deleted file mode 100755 index 605621d..0000000 --- a/.local/bin/kernel +++ /dev/null @@ -1,4 +0,0 @@ -#! /bin/bash - -kern="$(uname -r)" -echo -e "$kern " diff --git a/.local/bin/memory b/.local/bin/memory deleted file mode 100755 index decbf2e..0000000 --- a/.local/bin/memory +++ /dev/null @@ -1,4 +0,0 @@ -#! /bin/bash - -mem="$(free -h | awk '/^Mem:/ {print $3 "/" $2}')" -echo -e "$mem RAM " diff --git a/.local/bin/notify-log b/.local/bin/notify-log deleted file mode 100755 index c0bfe21..0000000 --- a/.local/bin/notify-log +++ /dev/null @@ -1,41 +0,0 @@ -#!/usr/bin/env bash - -logfile=$1 - -declare -a MSGBUF -STATE=off -MSGTIME= - -printbuf() { - JOINED=$( echo "${MSGBUF[@]}" | sed 's/,$//' ) - printf "%s\n%s\n" "--- ${MSGTIME} ---" "${JOINED}" -} - -procmsg() { - if [[ "${1}" =~ member=Notify$ ]]; then - STATE=on - MSGTIME=$(date '+%Y-%m-%d %H:%M:%S') - MSGBUF=() - elif [[ "${1}" =~ member=NotificationClosed$ ]]; then - STATE=off - printbuf - else - if [[ "${STATE}" == "on" ]]; then - if [[ "${1}" =~ ^string ]]; then - case "${1}" in - "string \"\"") ;; - "string \"urgency\"") ;; - "string \"sender-pid\"") ;; - *) - MSGBUF+=$( echo -n "${1}," ) - ;; - esac - fi - fi - fi -} - -dbus-monitor "interface='org.freedesktop.Notifications'" | \ - while read -r line; do - procmsg "$line" >> "$logfile" - done diff --git a/.local/bin/pacupdate b/.local/bin/pacupdate deleted file mode 100755 index 729ee8e..0000000 --- a/.local/bin/pacupdate +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -cupd=$(checkupdates | wc -l) -echo "$cupd updates " diff --git a/.local/bin/polybar-bspwm b/.local/bin/polybar-bspwm deleted file mode 100755 index 10d839c..0000000 --- a/.local/bin/polybar-bspwm +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env bash - -# Terminate already running bar instances -killall -q polybar - -# Wait until the processes have been shut down -while pgrep -u $UID -x polybar >/dev/null; do : ; done - -for m in $(polybar --list-monitors | cut -d":" -f1); do - WIRELESS=$(ls /sys/class/net/ | grep ^wl | awk 'NR==1{print $1}') MONITOR=$m polybar --reload mainbar-bspwm & -done - -echo "Bars launched..." diff --git a/.local/bin/polybar-xmonad b/.local/bin/polybar-xmonad deleted file mode 100755 index b44a851..0000000 --- a/.local/bin/polybar-xmonad +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env bash - -# Terminate already running bar instances -killall -q polybar - -# Wait until the processes have been shut down -while pgrep -u $UID -x polybar >/dev/null; do : ; done - -for m in $(polybar --list-monitors | cut -d":" -f1); do - WIRELESS=$(ls /sys/class/net/ | grep ^wl | awk 'NR==1{print $1}') MONITOR=$m polybar --reload mainbar-xmonad & -done - -echo "Bars launched..." diff --git a/.local/bin/upt b/.local/bin/upt deleted file mode 100755 index 670a10d..0000000 --- a/.local/bin/upt +++ /dev/null @@ -1,4 +0,0 @@ -#! /bin/bash - -upt="$(uptime --pretty | sed -e 's/up //g' -e 's/ days/d/g' -e 's/ day/d/g' -e 's/ hours/h/g' -e 's/ hour/h/g' -e 's/ minutes/m/g' -e 's/, / /g')" -echo -e "$upt " diff --git a/.local/bin/volume b/.local/bin/volume deleted file mode 100755 index dd372c4..0000000 --- a/.local/bin/volume +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -vol="$(amixer get Master | tail -n1 | sed -r 's/.*\[(.*)%\].*/\1/')" -echo "${vol}% volume "