diff options
Diffstat (limited to '')
| -rw-r--r-- | .config/dosbox/dosbox.conf | 2 | ||||
| -rw-r--r-- | .config/mutt/accounts/1-gmx_rbo.muttrc | 12 | ||||
| -rw-r--r-- | .config/mutt/accounts/2-gmx_shop.muttrc | 10 | ||||
| -rw-r--r-- | .config/mutt/accounts/3-gmail_br.muttrc | 12 | ||||
| -rw-r--r-- | .config/mutt/accounts/4-gmail_oon.muttrc | 12 | ||||
| -rw-r--r-- | .config/nvim/lua/config/settings.lua | 3 | ||||
| -rw-r--r-- | .config/nvim/lua/plugins/lualine.lua | 2 | ||||
| -rw-r--r-- | .config/tremc/settings.cfg | 2 | ||||
| -rwxr-xr-x | .local/bin/dmlog | 15 | ||||
| -rwxr-xr-x | .local/bin/hddmnt | 16 | ||||
| -rwxr-xr-x | .local/bin/hddumnt | 12 |
11 files changed, 47 insertions, 51 deletions
diff --git a/.config/dosbox/dosbox.conf b/.config/dosbox/dosbox.conf index 955c1f9..a70b87b 100644 --- a/.config/dosbox/dosbox.conf +++ b/.config/dosbox/dosbox.conf @@ -288,7 +288,7 @@ serial4=disabled # keyboardlayout: Language code of the keyboard layout (or none). xms=false -ems=true +ems=false umb=true keyboardlayout=auto diff --git a/.config/mutt/accounts/1-gmx_rbo.muttrc b/.config/mutt/accounts/1-gmx_rbo.muttrc index c9c7596..86fd01e 100644 --- a/.config/mutt/accounts/1-gmx_rbo.muttrc +++ b/.config/mutt/accounts/1-gmx_rbo.muttrc @@ -22,12 +22,12 @@ macro index o "<shell-escape>killall mbsync >/dev/null 2>&1; mbsync gmx_rbo<ente unmailboxes * named-mailboxes \ - " inbox" =INBOX \ - " sent" =Sent \ - " draft" =Drafts \ - " junk" =Spam \ - " trash" =Trash \ - " keep" =Keep + "inbox" =INBOX \ + "sent" =Sent \ + "draft" =Drafts \ + "junk" =Spam \ + "trash" =Trash \ + "keep" =Keep macro index,pager gi "<change-folder>=INBOX<enter>" "go to inbox" macro index,pager Mi ";<save-message>=INBOX<enter>" "move mail to inbox" diff --git a/.config/mutt/accounts/2-gmx_shop.muttrc b/.config/mutt/accounts/2-gmx_shop.muttrc index bfda76c..41d353d 100644 --- a/.config/mutt/accounts/2-gmx_shop.muttrc +++ b/.config/mutt/accounts/2-gmx_shop.muttrc @@ -22,11 +22,11 @@ macro index o "<shell-escape>killall mbsync >/dev/null 2>&1; mbsync gmx_shop<ent unmailboxes * named-mailboxes \ - " inbox" =INBOX \ - " sent" =Sent \ - " draft" =Drafts \ - " junk" =Spam \ - " trash" =Trash + "inbox" =INBOX \ + "sent" =Sent \ + "draft" =Drafts \ + "junk" =Spam \ + "trash" =Trash macro index,pager gi "<change-folder>=INBOX<enter>" "go to inbox" macro index,pager Mi ";<save-message>=INBOX<enter>" "move mail to inbox" diff --git a/.config/mutt/accounts/3-gmail_br.muttrc b/.config/mutt/accounts/3-gmail_br.muttrc index d114173..04c7af6 100644 --- a/.config/mutt/accounts/3-gmail_br.muttrc +++ b/.config/mutt/accounts/3-gmail_br.muttrc @@ -22,12 +22,12 @@ macro index o "<shell-escape>killall mbsync >/dev/null 2>&1; mbsync gmail_br<ent unmailboxes * named-mailboxes \ - " inbox" =INBOX \ - " sent" "=[Gmail]/Sent Mail" \ - " draft" =[Gmail]/Drafts \ - " junk" =[Gmail]/Spam \ - " trash" =[Gmail]/Trash \ - " keep" =Keep + "inbox" =INBOX \ + "sent" "=[Gmail]/Sent Mail" \ + "draft" =[Gmail]/Drafts \ + "junk" =[Gmail]/Spam \ + "trash" =[Gmail]/Trash \ + "keep" =Keep macro index,pager gi "<change-folder>=INBOX<enter>" "go to inbox" macro index,pager Mi ";<save-message>=INBOX<enter>" "move mail to inbox" diff --git a/.config/mutt/accounts/4-gmail_oon.muttrc b/.config/mutt/accounts/4-gmail_oon.muttrc index c69f27e..1782bc9 100644 --- a/.config/mutt/accounts/4-gmail_oon.muttrc +++ b/.config/mutt/accounts/4-gmail_oon.muttrc @@ -22,12 +22,12 @@ macro index o "<shell-escape>killall mbsync >/dev/null 2>&1; mbsync gmail_oon<en unmailboxes * named-mailboxes \ - " inbox" =INBOX \ - " sent" "=[Gmail]/Sent Mail" \ - " draft" =[Gmail]/Drafts \ - " junk" =[Gmail]/Spam \ - " trash" =[Gmail]/Trash \ - " keep" =Keep + "inbox" =INBOX \ + "sent" "=[Gmail]/Sent Mail" \ + "draft" =[Gmail]/Drafts \ + "junk" =[Gmail]/Spam \ + "trash" =[Gmail]/Trash \ + "keep" =Keep macro index,pager gi "<change-folder>=INBOX<enter>" "go to inbox" macro index,pager Mi ";<save-message>=INBOX<enter>" "move mail to inbox" diff --git a/.config/nvim/lua/config/settings.lua b/.config/nvim/lua/config/settings.lua index aac3187..846ee47 100644 --- a/.config/nvim/lua/config/settings.lua +++ b/.config/nvim/lua/config/settings.lua @@ -109,3 +109,6 @@ vim.diagnostic.config({ update_in_insert = true, severity_sort = true, }) + +vim.api.nvim_set_hl(0, "NormalFloat", { bg = "#32302f" }) +vim.api.nvim_set_hl(0, "LspFloatWinNormal", { bg = "#32302f" }) diff --git a/.config/nvim/lua/plugins/lualine.lua b/.config/nvim/lua/plugins/lualine.lua index f6223c6..6dcdb8a 100644 --- a/.config/nvim/lua/plugins/lualine.lua +++ b/.config/nvim/lua/plugins/lualine.lua @@ -121,7 +121,7 @@ return { show_modified_status = true, icons_enabled = false, symbols = { - modified = '+', -- Text to show when the buffer is modified + modified = '[+]', -- Text to show when the buffer is modified alternate_file = '', -- Text to show to identify the alternate file }, buffers_color = { diff --git a/.config/tremc/settings.cfg b/.config/tremc/settings.cfg index 8234a8a..81ea83e 100644 --- a/.config/tremc/settings.cfg +++ b/.config/tremc/settings.cfg @@ -13,7 +13,7 @@ filter = invert = False [Misc] -lines_per_torrent = 3 +lines_per_torrent = 1 torrentname_is_progressbar = True file_viewer = xdg-open %%s file_open_in_terminal = True diff --git a/.local/bin/dmlog b/.local/bin/dmlog index c31a270..a5f9b15 100755 --- a/.local/bin/dmlog +++ b/.local/bin/dmlog @@ -27,13 +27,6 @@ use constant CONFIRM => [ "yes" ]; -my $icon; - -$icon = ""; -$icon = " " if HOSTNAME eq 'mother'; -$icon = " " if HOSTNAME eq 'po-rbo'; -$icon = " " if HOSTNAME eq 'mars'; - sub notify { my ($str) = @_; @@ -82,7 +75,7 @@ sub action "-fail-color", "0xcc241d"); } else { - exec(SLOCK_PATH . " && exec herbe '$icon welcome back, partner!'"); + exec(SLOCK_PATH . " && exec herbe 'welcome back, partner!'"); } } elsif ($var eq ${+LIST}[1]) { @@ -99,7 +92,7 @@ sub action } } else { - notify("$icon g'night, partner!"); + notify("g'night, partner!"); sleep 2; if (HOSTNAME eq 'mother') { system('umount', '-f', '/var/dev/ceres'); @@ -128,13 +121,13 @@ sub action elsif (HOSTNAME eq 'po-rbo') { exec('doas', 'systemctl', 'reboot'); } - notify("$icon rebootin', partner!"); + notify("rebootin', partner!"); exec(SHUTDOWN_PATH, '-r', 'now'); } } elsif ($var eq ${+LIST}[4]) { if (confirm($var, $color) == 1) { - notify("$icon farewell, partner!"); + notify("farewell, partner!"); sleep 2; if (HOSTNAME eq 'mother') { exec(LOGINCTL_PATH, 'poweroff'); diff --git a/.local/bin/hddmnt b/.local/bin/hddmnt index c3b73d3..d7115f1 100755 --- a/.local/bin/hddmnt +++ b/.local/bin/hddmnt @@ -7,38 +7,38 @@ case "$(hostname -s)" in mother|po-rbo) dev=$(find /dev/sd* -type b -exec bash -c 'doas cryptsetup isLuks {} && echo {}' \; | head -n1) if [ -z "$dev" ]; then - herbe ' crypt dev not detected' & + herbe 'crypt dev not detected' & exit 1 fi if ! doas cryptsetup open "$dev" "$devname"; then - herbe " failed to uncrypt dev $dev" & + herbe "failed to uncrypt dev $dev" & exit 1 fi mkdir -p "$mountpoint" if ! doas mount /dev/mapper/"$devname" "$mountpoint"; then - herbe " failed to mount dev $dev" & + herbe "failed to mount dev $dev" & exit 1 fi - herbe " crypt dev mounted to $mountpoint" & + herbe "crypt dev mounted to $mountpoint" & ;; mars) if ! diskinfo da0 >/dev/null; then - herbe ' HDD not detected' & + herbe 'hdd not detected' & exit 1 fi if mount | grep -F /dev/da0p1; then herbe \ - " HDD already mounted to \ + "hdd already mounted to \ $(mount | grep -F '/dev/da0p1' | awk '{print $3}')" exit 1 fi if ! dmenu -m 0 -p 'Enter password: ' -P | geli attach -k /root/geli_keys/fathdd_ext.key -j - da0p1; then - herbe ' Failed to mount HDD' & + herbe 'failed to mount hdd' & exit 1 fi mkdir -p "$HOME"/hdd mount /dev/da0p1.eli "$HOME"/hdd - herbe ' HDD mounted to ~/hdd' & + herbe 'hdd mounted to ~/hdd' & ;; esac diff --git a/.local/bin/hddumnt b/.local/bin/hddumnt index 1b5da66..d4034ae 100755 --- a/.local/bin/hddumnt +++ b/.local/bin/hddumnt @@ -6,25 +6,25 @@ mountpoint="$HOME/$devname" case "$(hostname -s)" in mother|po-rbo) if ! doas umount "$mountpoint"; then - herbe " failed to dismount $mountpoint" & + herbe "failed to dismount $mountpoint" & fi if ! doas cryptsetup close "$devname"; then - herbe " failed to close crypt dev $devname" & + herbe "failed to close crypt dev $devname" & fi rmdir "$mountpoint" - herbe " crypt dev dismounted from $mountpoint" & + herbe "crypt dev dismounted from $mountpoint" & ;; mars) if ! mount | grep -F /dev/da0p1; then - herbe ' HDD not mounted' & + herbe 'hdd not mounted' & exit 1 fi if ! umount /dev/da0p1.eli; then - herbe ' failed to dismount hdd' & + herbe 'failed to dismount hdd' & exit 1 fi geli detach da0p1.eli rmdir "$HOME"/hdd - herbe ' hdd dismounted from ~/hdd' & + herbe 'hdd dismounted from ~/hdd' & ;; esac |
