commit 4774c1020e7f4f906fdc68806b7f074f24dbaa23
parent 412c7b5e44b210032bfb006e88c78fa68f20e503
Author: Gabriel G. de Brito <me@gboncoffee.dev.br>
Date: Sun, 13 Sep 2026 20:02:24 -0300
Fonts.
Diffstat:
13 files changed, 71 insertions(+), 20 deletions(-)
diff --git a/emacs/config.org b/emacs/config.org
@@ -59,12 +59,12 @@ Prettify symbols.
#+END_SRC
*** Fonts
-Noto Sans and Hack. Use variable pitch for Org mode.
+Liberation. Use variable pitch for Org mode.
#+BEGIN_SRC emacs-lisp
-(set-face-attribute 'default nil :family "Hack" :height 110)
-(set-face-attribute 'fixed-pitch nil :family "Hack" :height 110)
-(set-face-attribute 'variable-pitch nil :family "Noto Sans" :height 110)
+(set-face-attribute 'default nil :family "Liberation Mono" :height 120)
+(set-face-attribute 'fixed-pitch nil :family "Liberation Mono" :height 120)
+(set-face-attribute 'variable-pitch nil :family "Liberation Sans" :height 120)
#+END_SRC
Make some reading modes use variable text. Help mode variable pitch is only enabled in actual help buffers, because various modes use the help mode and they usually don't look good with variable pitch.
@@ -338,6 +338,7 @@ File management.
(setq dired-kill-when-opening-new-dired-buffer t)
(setq dired-delete-by-moving-to-trash t)
(setq dired-listing-switches "-lahD --group-directories-first")
+(setq dired-dwim-target t)
(use-package async
:init
(dired-async-mode 1))
@@ -691,6 +692,43 @@ Hide and fontify everything.
(setq org-superstar-leading-bullet ?\s)
#+END_SRC
+Function to count the amount of ~.~ characters in the current line, because I write poetry and like to use it to separate syllables.
+
+#+BEGIN_SRC emacs-lisp
+(defun count-dots-in-line ()
+ "Count the amount of . characters in the current line"
+ (interactive)
+ (save-excursion
+ (let* ((start (line-beginning-position))
+ (end (line-end-position))
+ (count (count-matches "\\." start end)))
+ (message "%d" count))))
+#+END_SRC
+
+Another function to remove them.
+
+#+BEGIN_SRC emacs-lisp
+(defun remove-dots-in-line ()
+ "Remove all . characters from the current line."
+ (interactive)
+ (save-excursion
+ (let ((start (line-beginning-position))
+ (end (line-end-position)))
+ (goto-char start)
+ (while (search-forward "." end t)
+ (replace-match "" nil t)
+ ;; The line became shorter, so keep END in sync.
+ (setq end (1- end))))))
+#+END_SRC
+
+Bind them in Org mode.
+
+#+BEGIN_SRC emacs-lisp
+(with-eval-after-load 'org
+ (define-key org-mode-map (kbd "C-c f") #'count-dots-in-line)
+ (define-key org-mode-map (kbd "C-c d") #'remove-dots-in-line))
+#+END_SRC
+
*** Fonts and faces.
#+BEGIN_SRC emacs-lisp
(setq org-n-level-faces 4)
diff --git a/git/config b/git/config
@@ -6,8 +6,6 @@
whitespace = error
[advice]
addEmptyPathspec = false
-[init]
- defaultBranch = main
[status]
showStash = true
[diff]
diff --git a/qt5ct/qt5ct.conf b/qt5ct/qt5ct.conf
@@ -6,8 +6,8 @@ standard_dialogs=gtk3
style=kvantum-dark
[Fonts]
-fixed="Hack,11,-1,5,50,0,0,0,0,0,Regular"
-general="Inter,10,-1,5,50,0,0,0,0,0,Regular"
+fixed="Liberation Mono,11,-1,5,50,0,0,0,0,0,Regular"
+general="Liberation Sans,11,-1,5,50,0,0,0,0,0,Regular"
[Interface]
activate_item_on_single_click=1
diff --git a/qt6ct/qt6ct.conf b/qt6ct/qt6ct.conf
@@ -6,8 +6,8 @@ standard_dialogs=gtk3
style=kvantum-dark
[Fonts]
-fixed="Hack,11,-1,5,400,0,0,0,0,0,0,0,0,0,0,1,Regular,0,0"
-general="Inter,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1,Regular,0,0"
+fixed="Liberation Mono,11,-1,5,400,0,0,0,0,0,0,0,0,0,0,1,Regular,0,0"
+general="Liberation Sans,11,-1,5,400,0,0,0,0,0,0,0,0,0,0,1,Regular,0,0"
[Interface]
activate_item_on_single_click=1
@@ -25,7 +25,7 @@ underline_shortcut=1
wheel_scroll_lines=3
[SettingsWindow]
-geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x2\xd3\0\0\x1\x3\0\0\x5\xbb\0\0\x3\x63\0\0\x2\xd8\0\0\x1 \0\0\x5\xb6\0\0\x3^\0\0\0\0\0\0\0\0\a\x80\0\0\x2\xd8\0\0\x1 \0\0\x5\xb6\0\0\x3^)
+geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x1w\0\0\0\xef\0\0\x4_\0\0\x3O\0\0\x1|\0\0\x1\f\0\0\x4Z\0\0\x3J\0\0\0\0\0\0\0\0\a\x80\0\0\x1|\0\0\x1\f\0\0\x4Z\0\0\x3J)
[Troubleshooting]
force_raster_widgets=1
diff --git a/qt6ct/style-colors.conf b/qt6ct/style-colors.conf
@@ -1,4 +1,4 @@
[ColorScheme]
active_colors=#ffffffff, #ff333333, #ff5a5a5a, #ff555555, #ff171717, #ff3c3c3c, #ffffffff, #ffffffff, #ffffffff, #ff2d2d2d, #ff353535, #ff000000, #ff15539e, #ffffffff, #ff2eb8e6, #ffff6666, #ff323232, #ff000000, #ff000000, #ffffffff, #80ffffff, #ff308cc6
-disabled_colors=#ffbebebe, #ffefefef, #ffffffff, #ffcacaca, #ffbebebe, #ffb8b8b8, #ffbebebe, #ffffffff, #ffbebebe, #ffefefef, #ffefefef, #ffb1b1b1, #ff919191, #ffffffff, #ff0000ff, #ffff00ff, #fff7f7f7, #ff000000, #ffffffdc, #ff000000, #80000000, #ff919191
+disabled_colors=#ffa0a0a0, #ff333333, #ff5a5a5a, #ff555555, #ff171717, #ff3c3c3c, #ffa0a0a0, #ffffffff, #ffa0a0a0, #ff2d2d2d, #ff353535, #ff000000, #ff15539e, #66ffffff, #ff2eb8e6, #ffff6666, #ff323232, #ff000000, #ff000000, #ffffffff, #80ffffff, #ff919191
inactive_colors=#ffffffff, #ff333333, #ff5a5a5a, #ff555555, #ff171717, #ff3c3c3c, #ffffffff, #ffffffff, #ffffffff, #ff2d2d2d, #ff353535, #ff000000, #ff15539e, #ffffffff, #ff2eb8e6, #ffff6666, #ff323232, #ff000000, #ff000000, #ffffffff, #80ffffff, #ff308cc6
diff --git a/xfce4/xfce4-screenshooter b/xfce4/xfce4-screenshooter
@@ -6,7 +6,7 @@ show_in_folder=false
screenshot_dir=file:///home/gabriel/pictures
action=2
delay=0
-region=1
+region=2
show_mouse=1
show_border=1
diff --git a/xfce4/xfconf/xfce-perchannel-xml/parole.xml b/xfce4/xfconf/xfce-perchannel-xml/parole.xml
@@ -10,4 +10,7 @@
<property name="audio" type="empty">
<property name="volume" type="int" value="50"/>
</property>
+ <property name="folders" type="empty">
+ <property name="last-used-media" type="string" value="/home/gabriel"/>
+ </property>
</channel>
diff --git a/xfce4/xfconf/xfce-perchannel-xml/thunar.xml b/xfce4/xfconf/xfce-perchannel-xml/thunar.xml
@@ -4,4 +4,8 @@
<property name="last-view" type="string" value="ThunarIconView"/>
<property name="misc-single-click" type="bool" value="false"/>
<property name="last-icon-view-zoom-level" type="string" value="THUNAR_ZOOM_LEVEL_100_PERCENT"/>
+ <property name="last-window-width" type="int" value="1070"/>
+ <property name="last-window-height" type="int" value="744"/>
+ <property name="last-window-maximized" type="bool" value="false"/>
+ <property name="last-separator-position" type="int" value="170"/>
</channel>
diff --git a/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml b/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml
@@ -5,8 +5,10 @@
<property name="date-time-custom-format" type="string" value="%a %H:%M:%S"/>
<property name="applications" type="empty">
<property name="known_applications" type="array">
+ <value type="string" value="chromium"/>
<value type="string" value="Xfce volume control"/>
<value type="string" value="Xfce4-notifyd settings"/>
+ <value type="string" value="xfce4-settings-helper"/>
</property>
</property>
</channel>
diff --git a/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml b/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml
@@ -40,6 +40,8 @@
<property name="plugin-6" type="string" value="systray">
<property name="square-icons" type="bool" value="true"/>
<property name="known-items" type="array">
+ <value type="string" value="obs"/>
+ <value type="string" value="discord_status_icon_1"/>
<value type="string" value="qBittorrent"/>
<value type="string" value="steam"/>
</property>
@@ -50,7 +52,7 @@
<property name="plugin-8" type="string" value="clock">
<property name="digital-layout" type="uint" value="3"/>
<property name="digital-time-format" type="string" value="%F %T"/>
- <property name="digital-time-font" type="string" value="DejaVu Sans 9"/>
+ <property name="digital-time-font" type="string" value="Liberation Sans 11"/>
</property>
<property name="plugin-9" type="string" value="separator">
<property name="style" type="uint" value="0"/>
@@ -76,9 +78,12 @@
<property name="show-button-title" type="bool" value="true"/>
<property name="button-title" type="string" value="Menu"/>
<property name="recent" type="array">
- <value type="string" value="org.qbittorrent.qBittorrent.desktop"/>
- <value type="string" value="qt6ct.desktop"/>
<value type="string" value="qt5ct.desktop"/>
+ <value type="string" value="qt6ct.desktop"/>
+ <value type="string" value="org.vinegarhq.Sober.desktop"/>
+ <value type="string" value="com.obsproject.Studio.desktop"/>
+ <value type="string" value="thunar.desktop"/>
+ <value type="string" value="org.qbittorrent.qBittorrent.desktop"/>
<value type="string" value="htop.desktop"/>
<value type="string" value="xfce4-taskmanager.desktop"/>
</property>
diff --git a/xfce4/xfconf/xfce-perchannel-xml/xfce4-terminal.xml b/xfce4/xfconf/xfce-perchannel-xml/xfce4-terminal.xml
@@ -1,7 +1,7 @@
<?xml version="1.1" encoding="UTF-8"?>
<channel name="xfce4-terminal" version="1.0">
- <property name="font-name" type="string" value="Hack 12"/>
+ <property name="font-name" type="string" value="Liberation Mono 12"/>
<property name="color-foreground" type="string" value="#ffffff"/>
<property name="color-background" type="string" value="#000000"/>
<property name="color-background-vary" type="bool" value="false"/>
@@ -20,4 +20,5 @@
<property name="text-blink-mode" type="string" value="TERMINAL_TEXT_BLINK_MODE_NEVER"/>
<property name="shortcuts-no-mnemonics" type="bool" value="true"/>
<property name="shortcuts-no-menukey" type="bool" value="true"/>
+ <property name="font-use-system" type="bool" value="false"/>
</channel>
diff --git a/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml b/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml
@@ -62,7 +62,7 @@
<property name="theme" type="string" value="Default"/>
<property name="tile_on_move" type="bool" value="true"/>
<property name="title_alignment" type="string" value="center"/>
- <property name="title_font" type="string" value="Noto Sans 10"/>
+ <property name="title_font" type="string" value="Liberation Sans 11"/>
<property name="title_horizontal_offset" type="int" value="0"/>
<property name="titleless_maximize" type="bool" value="false"/>
<property name="title_shadow_active" type="string" value="false"/>
diff --git a/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml b/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
@@ -23,8 +23,8 @@
<property name="Gtk" type="empty">
<property name="CanChangeAccels" type="empty"/>
<property name="ColorPalette" type="empty"/>
- <property name="FontName" type="string" value="Noto Sans 10"/>
- <property name="MonospaceFontName" type="string" value="Hack 10"/>
+ <property name="FontName" type="string" value="Liberation Sans 11"/>
+ <property name="MonospaceFontName" type="string" value="Liberation Mono 11"/>
<property name="IconSizes" type="empty"/>
<property name="KeyThemeName" type="empty"/>
<property name="MenuImages" type="empty"/>