Massive changes for archlinux move

- Add Xft Xresources to make fonts not ugly
- Add dunstrc now that I'm using dunst
- Manage GTK settings now that I'm free of mate-settings
- Add an i3 keybind for pcmanfm
- Make kitty font size chords +/- by 1pt and not 2pt
- Explicitly specify fonts everywhere
- Put barrier and dunst in xinitrc
- Make QT theme explicit via env var
- Move ZSH keybinds to global since Arch doesn't bind them
This commit is contained in:
Trysdyn Black 2021-04-15 18:54:43 -07:00
parent a1166b8a18
commit 68cf038d05
9 changed files with 134 additions and 7 deletions

View file

@ -43,3 +43,11 @@
*color15: base07
! %%base16_template_end%%
Xft.lcdfilter: lcddefault
Xft.antialias: true
Xft.autohint: 0
Xft.hinting: true
Xft.hintstyle: hintslight
Xft.rgba: rgb
Xft.dpi: 96

95
.config/dunst/dunstrc Normal file
View file

@ -0,0 +1,95 @@
[global]
geometry = "600x10"
shrink = no
follow = mouse
indicate_hidden = yes
transparency = 0
frame_width = 2
sort = no
idle_threshold = 1
markup = full
alignment = left
# The format of the message. Possible variables are:
# %a appname
# %s summary
# %b body
# %i iconname (including its path)
# %I iconname (without its path)
# %p progress value if set ([ 0%] to [100%]) or nothing
# %n progress value if set without any extra characters
# %% Literal %
# Markup is allowed
format = "<b>%s</b>\n%b"
show_age_threshold = 60
word_wrap = no
ellipsize = end
ignore_newline = yes
stack_duplicates = false
hide_duplicate_count = false
show_indicators = yes
icon_position = left
min_icon_size = 0
max_icon_size = 32
icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
sticky_history = yes
history_length = 20
browser = /bin/x-www-browser
# Define the title of the windows spawned by dunst
title = Dunst
# Define the class of the windows spawned by dunst
class = Dunst
# Print a notification on startup.
# This is mainly for error detection, since dbus (re-)starts dunst
# automatically after a crash.
startup_notification = true
# Manage dunst's desire for talking
# Can be one of the following values:
# crit: Critical features. Dunst aborts
# warn: Only non-fatal warnings
# mesg: Important Messages
# info: all unimportant stuff
# debug: all less than unimportant stuff
verbosity = mesg
# Define the corner radius of the notification window
# in pixel size. If the radius is 0, you have no rounded
# corners.
# The radius will be automatically lowered if it exceeds half of the
# notification height to avoid clipping text and/or icons.
corner_radius = 0
# Ignore the dbus closeNotification message.
# Useful to enforce the timeout set by dunst configuration. Without this
# parameter, an application may close the notification sent before the
# user defined timeout.
ignore_dbusclose = false
# %%base16_template: dunst##default %%
frame_color = "#f0f0f0"
separator_color = "#f0f0f0"
[base16_low]
msg_urgency = low
background = "#202020"
foreground = "#606060"
[base16_normal]
msg_urgency = normal
background = "#311647"
foreground = "#f0f0f0"
[base16_critical]
msg_urgency = critical
background = "#ed008c"
foreground = "#c0c0c0"
# %%base16_template_end%%

View file

@ -0,0 +1,5 @@
[Settings]
gtk-icon-theme-name = Arc
gtk-theme-name = Arc-Dark
gtk-font-name = DejaVu Sans 11
gtk-application-prefer-dark-theme = true

View file

@ -38,7 +38,7 @@ bar {
status_command "~/bin/statusbar"
position bottom
font pango:Terminus (TTF), Font Awesome 5 Free Regular 12
font pango:Terminus (TTF) 12
colors {
background $base00
@ -75,6 +75,9 @@ bindsym $mod+Tab exec "rofi -show window"
# rofi launcher
bindsym $mod+space exec "rofi -show run"
# pcmanfm -- file manager
bindsym $mod+Shift+Return exec "pcmanfm"
# change focus
bindsym $mod+Left focus left
bindsym $mod+Down focus down

View file

@ -20,13 +20,16 @@ map kitty_mod+right move_tab_forward
map kitty_mod+left move_tab_backward
map kitty_mod+t new_tab_with_cwd
map kitty_mod+equal change_font_size all +2.0
map kitty_mod+minus change_font_size all -2.0
map kitty_mod+equal change_font_size all +1.0
map kitty_mod+minus change_font_size all -1.0
map kitty_mod+backspace change_font_size all 0
map kitty_mod+u input_unicode_character
map kitty_mod+f2 edit_config_file
font_size 11
font_family DejaVu Sans Mono
# %%base16_template: kitty##default-256 %%
background #000000
foreground #f0f0f0

View file

@ -302,6 +302,9 @@ c.colors.tabs.selected.even.bg = base02
### END COLOR SCHEME
c.fonts.default_size = "10pt"
c.fonts.default_family = "DejaVu Sans Mono"
# Don't autoplay video, especially since we'll export it to MPV
c.content.autoplay = False

3
.gtkrc-2.0 Normal file
View file

@ -0,0 +1,3 @@
gtk-icon-theme-name = "Arc"
gtk-theme-name = "Arc-Dark"
gtk-font-name = "DejaVu Sans 11"

View file

@ -1,2 +1,3 @@
barrierc -n `hostname` 192.168.1.10
barrier &
dunst &
exec i3

12
.zshrc
View file

@ -25,17 +25,23 @@ export PATH=~/bin:$PATH
export EDITOR=vim
export VISUAL=$EDITOR
# QT theme via qt5ct app
export QT_QPA_PLATFORMTHEME=qt5ct
# most does not exist on every system I touch
if [[ -a /usr/bin/most ]]; then
export PAGER=most
fi
# Key binds
bindkey "^[[H" beginning-of-line # HOME
bindkey "^[[F" end-of-line # END
bindkey "^[[3~" delete-char # DEL
bindkey '^R' history-incremental-search-backward
# OS-specific directives
case "$OSTYPE" in
darwin*)
bindkey "^[[H" beginning-of-line # HOME
bindkey "^[[F" end-of-line # END
bindkey "^[[3~" delete-char # DEL
alias ls='ls -G'
;;
linux*)