HiDPI and fonts
This commit is contained in:
Submodule .config/nvim updated: c07c881bae...17d7beb6f8
@@ -44,7 +44,7 @@ export ELECTRUMDIR="${XDG_DATA_HOME:-$HOME/.local/share}/electrum"
|
||||
|
||||
# Other program settings
|
||||
export DICS="/usr/share/stardicts/dic/"
|
||||
export SUDO_ASK_PASS="$HOME/.local/bin/dmenupass"
|
||||
export SUDO_ASKPASS="$HOME/.local/bin/dmenupass"
|
||||
export FZF_DEFAULT_OPTS="--layout=reverse --height 40%"
|
||||
export LESS=-R
|
||||
export LESS_TERMCAP_mb="$(printf '%b' '\e[1;31m')"
|
||||
|
||||
@@ -3,8 +3,16 @@
|
||||
# This file runs when a DM logs you into a graphical session.
|
||||
# If you use startx/xinit, this file will also be sourced.
|
||||
|
||||
# xrdb ${XDG_CONFIG_HOME:-$HOME/.config}/x11/xresources & # Use Xresources colors/settings on startup
|
||||
setbg & # set the background
|
||||
xrdb ${XDG_CONFIG_HOME:-$HOME/.config}/x11/xresources # Use Xresources colors/settings on startup
|
||||
|
||||
if [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/x11/.DPI" ]; then
|
||||
DPI="$(cat "${XDG_CONFIG_HOME:-$HOME/.config}/x11/.DPI")"
|
||||
echo "Xft.dpi: $DPI" | xrdb -merge
|
||||
xrandr --dpi "$DPI"
|
||||
fi
|
||||
|
||||
setbg ~/Scarif/Pictures/Wallpapers/Dual\ 4K & # set the background
|
||||
enpass & # start password manager
|
||||
xcompmgr & # xcompmgr for transparency
|
||||
dunst & # dunst for notifications
|
||||
xset r rate 300 50 & # Speed xrate up
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
!! Transparency (0-1):
|
||||
*.alpha: 0.8
|
||||
*.alpha: 0.9
|
||||
|
||||
!! Set a default font and font size as below:
|
||||
*.font: FiraCode:size=15
|
||||
*.font: FiraCode:size=13
|
||||
|
||||
/* name dark light */
|
||||
/* black 0 8 */
|
||||
|
||||
Reference in New Issue
Block a user