From 1b68b981536ce209cac4b81c8760e6dde8d53a15 Mon Sep 17 00:00:00 2001 From: finga Date: Sun, 7 May 2023 01:39:42 +0200 Subject: [PATCH 1/3] gtk: Prefer dark themes in gtk-3.0 --- .config/gtk-3.0/settings.ini | 2 ++ .gitignore.d/x11 | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 .config/gtk-3.0/settings.ini diff --git a/.config/gtk-3.0/settings.ini b/.config/gtk-3.0/settings.ini new file mode 100644 index 0000000..29322c1 --- /dev/null +++ b/.config/gtk-3.0/settings.ini @@ -0,0 +1,2 @@ +[Settings] +gtk-application-prefer-dark-theme=1 diff --git a/.gitignore.d/x11 b/.gitignore.d/x11 index af044f2..0ec1d95 100644 --- a/.gitignore.d/x11 +++ b/.gitignore.d/x11 @@ -1,9 +1,8 @@ * -!/.config +!/.config/gtk-3.0/settings.ini !/.config/mimeapps.list !/.config/user-dirs.dirs !/.config/user-dirs.locale -!/.gitignore.d !/.gitignore.d/x11 !/.Xresources !/.xsession From a5c98a4930d4d824735a79c71f994e8faeb9fa19 Mon Sep 17 00:00:00 2001 From: finga Date: Sun, 7 May 2023 01:52:01 +0200 Subject: [PATCH 2/3] firefox: Configure firefox as default browser --- .config/mimeapps.list | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/.config/mimeapps.list b/.config/mimeapps.list index 194ec9d..09cc4fe 100644 --- a/.config/mimeapps.list +++ b/.config/mimeapps.list @@ -1,3 +1,24 @@ - [Default Applications] application/pdf=atril.desktop +x-scheme-handler/http=firefox-esr.desktop +x-scheme-handler/https=firefox-esr.desktop +x-scheme-handler/chrome=firefox-esr.desktop +text/html=firefox-esr.desktop +application/x-extension-htm=firefox-esr.desktop +application/x-extension-html=firefox-esr.desktop +application/x-extension-shtml=firefox-esr.desktop +application/xhtml+xml=firefox-esr.desktop +application/x-extension-xhtml=firefox-esr.desktop +application/x-extension-xht=firefox-esr.desktop + +[Added Associations] +x-scheme-handler/http=firefox-esr.desktop; +x-scheme-handler/https=firefox-esr.desktop; +x-scheme-handler/chrome=firefox-esr.desktop; +text/html=firefox-esr.desktop; +application/x-extension-htm=firefox-esr.desktop; +application/x-extension-html=firefox-esr.desktop; +application/x-extension-shtml=firefox-esr.desktop; +application/xhtml+xml=firefox-esr.desktop; +application/x-extension-xhtml=firefox-esr.desktop; +application/x-extension-xht=firefox-esr.desktop; From d46585227b4af9da10f3d844495dceed784c0792 Mon Sep 17 00:00:00 2001 From: finga Date: Tue, 12 Mar 2024 16:39:24 +0100 Subject: [PATCH 3/3] font: Change font and style Change the font to NotoSansMono, add xft font settings and colorize the cursor. --- .Xresources | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/.Xresources b/.Xresources index d5d187d..c5dc986 100644 --- a/.Xresources +++ b/.Xresources @@ -1,10 +1,16 @@ ! urxvt ------------------------------------------------------------------------ URxvt.termName: rxvt-unicode ! - use font -URxvt.font: -jmk-neep alt-medium-r-*-*-13-120-*-*-*-*-iso8859-15 -URxvt.boldFont: -jmk-neep alt-bold-r-*-*-13-120-*-*-*-*-iso8859-15 -URxvt.italicFont: -jmk-neep alt-medium-r-*-*-13-120-*-*-*-*-iso8859-15 -URxvt.boldItalicFont: -jmk-neep alt-bold-r-*-*-13-120-*-*-*-*-iso8859-15 +Xft.autohint: 0 +Xft.lcdfilter: lcddefault +Xft.hintstyle: hintslight +Xft.hinting: 1 +Xft.antialias: 1 +URxvt.letterSpace: -1 +URxvt.font: xft:NotoSansMono-Regular:size=8 +URxvt.boldFont: xft:NotoSansMono-Bold:size=8 +URxvt.italicFont: xft:NotoSansMono-Regular:size=8 +URxvt.boldItalicFont: xft:NotoSansMono-Regular:size=8 ! - remove scrollbar URxvt.scrollBar: false ! - bell on urgent @@ -17,13 +23,15 @@ URxvt.iso14755_52: false ! - load perl modules URxvt.perl-ext-common: default,resize-font ! - resize-font -URxvt.keysym.C-minus: resize-font:smaller -URxvt.keysym.C-plus: resize-font:bigger -URxvt.keysym.C-0: resize-font:reset -URxvt.keysym.C-question: resize-font:show +URxvt.keysym.C-minus: resize-font:smaller +URxvt.keysym.C-plus: resize-font:bigger +URxvt.keysym.C-0: resize-font:reset +URxvt.keysym.C-question: resize-font:show +URxvt.resize-font.step: 1 ! - color scheme URxvt.background: #000000 URxvt.foreground: #CCCCCC +URxvt.cursorColor: #00cc00 ! - blue URxvt.color4: #6666ff URxvt.color12: #3399FF