From 8b415874eb9358252dd056de732d5968dcce6bf2 Mon Sep 17 00:00:00 2001 From: c0dev0id Date: Tue, 10 Jan 2023 08:20:01 +0100 Subject: [PATCH] Update 2023-01-10 08:20 OpenBSD/amd64 --- .bin/_config | 7 ++++--- .bin/sp | 10 ++++------ .config/luakit/rc.lua | 2 +- .config/luakit/theme.lua | 2 +- .config/spectrwm/spectrwm.conf | 7 +++---- .kshrc | 2 +- .mutt/signature | 3 +++ .reminders/all.rem | 13 +++++++++++++ 8 files changed, 30 insertions(+), 16 deletions(-) diff --git a/.bin/_config b/.bin/_config index 9a9bc78..0909470 100644 --- a/.bin/_config +++ b/.bin/_config @@ -5,9 +5,10 @@ # FONTS # DFONT="FuraCodeNerdFont-13" # Font for dmenu -SFONT="FuraCodeNerdFont-11" # productive -BFONT="FuraCodeNerdFont-20" # couch distance -HFONT="FuraCodeNerdFont-21" # presentation +#SFONT="FuraCodeNerdFont-11" # productive +SFONT="-uw-ttyp0-medium-r-normal--18-170-75-75-c-90-iso8859-1" +BFONT="FuraCodeNerdFont-15" # couch distance +HFONT="FuraCodeNerdFont-19" # presentation # # TERMINALS diff --git a/.bin/sp b/.bin/sp index 7445ce1..c83083e 100755 --- a/.bin/sp +++ b/.bin/sp @@ -8,19 +8,17 @@ WID=$(wmctrl -x -l scratchpad | fgrep '.scratchpad' | cut -d" " -f1) if [ -z "$WID" ] then - st -c scratchpad -g 128x38+250+150 & + sterm -c scratchpad -g 156x42+240+140 & else # check if window is iconfified or on another WS (or both) if xwininfo -id $WID | fgrep -q IsUnMapped then - # get current workspace ID - CWID=$(wmctrl -d | awk '{ if ($2 == "*") print $1 }') + # move window to current workspace + wmctrl -i -r $WID -t $(xprop -root _NET_CURRENT_DESKTOP | cut -d'=' -f2) # remove hidden flag wmctrl -i -r $WID -b remove,hidden - # move window to current workspace - wmctrl -i -r $WID -t $CWID # activate (give focus) - wmctrl -i -R $WID + wmctrl -i -a $WID else # window is visible => hide wmctrl -i -r $WID -b add,hidden diff --git a/.config/luakit/rc.lua b/.config/luakit/rc.lua index 36716e0..55f6c15 100644 --- a/.config/luakit/rc.lua +++ b/.config/luakit/rc.lua @@ -60,7 +60,7 @@ local settings_chrome = require "settings_chrome" settings.window.home_page = "luakit://newtab" settings.window.scroll_step = 20 settings.window.zoom_step = 0.2 -settings.webview.zoom_level = 150 +settings.webview.zoom_level = 100 settings.window.close_with_last_tab = true -- search engines diff --git a/.config/luakit/theme.lua b/.config/luakit/theme.lua index 7405903..cbe5eb5 100644 --- a/.config/luakit/theme.lua +++ b/.config/luakit/theme.lua @@ -5,7 +5,7 @@ local theme = {} -- Default settings -theme.font = "22px Terminus" +theme.font = "16px Terminus" theme.fg = "#D8D8D8" theme.bg = "#181818" diff --git a/.config/spectrwm/spectrwm.conf b/.config/spectrwm/spectrwm.conf index 0e2a046..c03e972 100644 --- a/.config/spectrwm/spectrwm.conf +++ b/.config/spectrwm/spectrwm.conf @@ -3,8 +3,8 @@ border_width = 2 color_focus = rgb:99/99/99 color_focus_maximized = rgb:28/28/28 color_unfocus = rgb:47/47/47 -region_padding = 8 -tile_gap = 12 +region_padding = 4 +tile_gap = 6 # Bar Settings bar_border_width = 4 @@ -32,8 +32,7 @@ stack_mark_max = '' # Custom Quirks quirk[IPMIView20-IPMIView20:IPMIView20-IPMIView20] = FLOAT + ANYWHERE -quirk[scratchpad] = FLOAT + ANYWHERE + OBEYAPPFOCUSREQ -quirk[scratchpad:tabbed] = FLOAT + ANYWHERE +quirk[scratchpad] = FLOAT + ANYWHERE + FOCUSPREV quirk[Nsxiv:tabbed] = NOFOCUSONMAP + FOCUSPREV # Window Manager Keys diff --git a/.kshrc b/.kshrc index ab8150f..7665b53 100644 --- a/.kshrc +++ b/.kshrc @@ -151,7 +151,7 @@ alias rem-edit="cd ~/.reminders && ./edit.sh" alias rem-week="remind -c+cl1 ~/.reminders" alias rem-all="remind -s -n1 ~/.reminders | sort" -alias rem="remind -s+2 ~/.reminders | cut -d' ' -f1 -f6- | sort" +alias rem="remind -s+2 -ga ~/.reminders | cut -d' ' -f1 -f6- | cut -d'|' -f1" alias rem-edit-birthdays="vim ~/.reminders/birthdays.rem" alias rem-edit-personal="vim ~/.reminders/personal.rem" diff --git a/.mutt/signature b/.mutt/signature index e69de29..2454fb4 100644 --- a/.mutt/signature +++ b/.mutt/signature @@ -0,0 +1,3 @@ +-- +Best regards, +Stefan Hagen diff --git a/.reminders/all.rem b/.reminders/all.rem index 0e5d627..d31474d 100644 --- a/.reminders/all.rem +++ b/.reminders/all.rem @@ -1,2 +1,15 @@ +BANNER % + INCLUDE /home/sdk/.reminders/personal/ INCLUDE /home/sdk/.reminders/uugrn/ + +REM 9 Jan 2023 ++1 MSG Not so important +REM 10 Jan 2023 ++7 MSG Way in the future +REM 11 Jan 2023 MSG Important Reminder +REM 12 Jan 2023 ++1 MSG Not so important - B + + +FSET sortbanner(x) iif(x == today(), \ + "***** THINGS TO DO TODAY *****", \ + "----- Things to do %b -----") +