Jelajahi Sumber

A few things to work with FreeBSD

Colin Powell 5 tahun lalu
induk
melakukan
adc472661f
3 mengubah file dengan 13 tambahan dan 29 penghapusan
  1. 8 18
      alacritty/.config/alacritty/alacritty.yml
  2. 2 1
      bin/.bin/changepaper.sh
  3. 3 10
      bin/.bin/syncmail.sh

+ 8 - 18
alacritty/.config/alacritty/alacritty.yml

@@ -26,8 +26,10 @@ window:
   # Blank space added around the window in pixels. This padding is scaled
   # by DPI and the specified value is always added at both opposing sides.
   padding:
-    x: 2
-    y: 2
+    x: 15
+    y: 15
+
+  dynamic_padding: true
 
   # Window decorations
   #
@@ -56,15 +58,6 @@ scrolling:
   # scrollback is enabled (history > 0).
   multiplier: 3
 
-  # Faux Scrolling
-  #
-  # The `faux_multiplier` setting controls the number of lines the terminal
-  # should scroll when the alternate screen buffer is active. This is used
-  # to allow mouse scrolling for applications like `man`.
-  #
-  # Specifying `0` will disable faux scrolling.
-  faux_multiplier: 3
-
   # Scroll to the bottom when new text is written to the terminal.
   auto_scroll: false
 
@@ -81,24 +74,24 @@ tabspaces: 8
 font:
   # Normal (roman) font face
   normal:
-    family: Iosevka
+    family: Go Mono
     # The `style` can be specified to pick a specific face.
     #style: Regular
 
   # Bold font face
   bold:
-    family: Iosevka
+    family: Go Mono
     # The `style` can be specified to pick a specific face.
     #style: Bold
 
   # Italic font face
   italic:
-    family: Iosevka
+    family: Go Mono
     # The `style` can be specified to pick a specific face.
     #style: Italic
 
   # Point size
-  size: 10.0
+  size: 7.0
 
   # Offset is the extra space around each character. `offset.y` can be thought of
   # as modifying the line spacing, and `offset.x` as modifying the letter spacing.
@@ -119,9 +112,6 @@ font:
   # it is recommended to set `use_thin_strokes` to `false`
   use_thin_strokes: true
 
-# Display the time it takes to redraw each frame.
-render_timer: false
-
 # If `true`, bold text is drawn using the bright color variants.
 draw_bold_text_with_bright_colors: true
 

+ 2 - 1
bin/.bin/changepaper.sh

@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 # This Script downloads National Geographic Photo of the day, and sets it as desktop background (gnome, unity)
 # Copyright (C) 2012 Saman Barghi - All Rights Reserved
 # Permission to copy, modify, and distribute is granted under GPLv3
@@ -7,6 +7,7 @@
 
 # For feh, we need display set properly
 export DISPLAY=:0.0
+export XAUTHORITY=/home/powellc/.Xauthority
 
 
 # Get daily Astrobin PotD

+ 3 - 10
bin/.bin/syncmail.sh

@@ -1,13 +1,6 @@
 #!/bin/sh
 
-STATE=`nmcli networking connectivity`
-
-if [ $STATE = 'full' ]
-then
-        notmuch search --output=files tag:deleted | xargs -l rm	
-	notmuch new
-	muchsync rhea.unbl.ink
-	exit 0
-fi
-echo "No internet connection"
+notmuch search --output=files tag:deleted | xargs -0 rm
+notmuch new
+muchsync rhea.unbl.ink
 exit 0