From 69a4039c93266f4eeee9e897ccbde652e8fdcfc0 Mon Sep 17 00:00:00 2001 From: Stephan Raabe Date: Sun, 19 Mar 2023 17:58:09 +0100 Subject: [PATCH] Updates --- .bashrc | 1 + qtile/config.py | 5 +++-- scripts/figlet.sh | 24 ++++++++++++++++++++++++ 3 files changed, 28 insertions(+), 2 deletions(-) create mode 100755 scripts/figlet.sh diff --git a/.bashrc b/.bashrc index a6a3420..0fb746b 100644 --- a/.bashrc +++ b/.bashrc @@ -81,4 +81,5 @@ cat ~/.cache/wal/sequences # ----------------------------------------------------- # NEOFETCH # ----------------------------------------------------- +echo "" pfetch diff --git a/qtile/config.py b/qtile/config.py index c2f0024..0e818ed 100644 --- a/qtile/config.py +++ b/qtile/config.py @@ -184,7 +184,8 @@ layout_theme = { "border_width": 3, "margin": 15, "border_focus": "ffffff", - "border_normal": ColorC + "border_normal": ColorC, + "single_border_width": 3 } # -------------------------------------------------------- @@ -205,7 +206,7 @@ layouts = [ # layout.TreeTab(), # layout.VerticalTile(), # layout.Zoomy(), - # layout.Floating(**layout_theme) + layout.Floating(**layout_theme) ] # -------------------------------------------------------- diff --git a/scripts/figlet.sh b/scripts/figlet.sh new file mode 100755 index 0000000..6554786 --- /dev/null +++ b/scripts/figlet.sh @@ -0,0 +1,24 @@ +#!/bin/bash +# _____ _ _ _ +# | ___(_) __ _| | ___| |_ +# | |_ | |/ _` | |/ _ \ __| +# | _| | | (_| | | __/ |_ +# |_| |_|\__, |_|\___|\__| +# |___/ +# +# by Stephan Raabe (2023) +# ----------------------------------------------------- +# Script to create ascii font based header on user input +# and copy the result to the clipboard +# ----------------------------------------------------- + +read -p "Enter the text for ascii encoding: " mytext +figlet "$mytext" > ~/figlet.txt +echo "" >> ~/figlet.txt +echo "by Stephan Raabe (2023)" >> ~/figlet.txt +echo "-----------------------------------------------------" >> ~/figlet.txt +sed -i 's/^/# /; s/$/ /' ~/figlet.txt + +xclip -sel clip ~/figlet.txt + +echo "Text copied to clipboard!"