fix dpi
This commit is contained in:
parent
9cf5b3a83e
commit
3880668f25
1
home/user/.Xresources
Normal file
1
home/user/.Xresources
Normal file
@ -0,0 +1 @@
|
||||
Xft.dpi: 100
|
||||
@ -20,7 +20,8 @@ exec --no-startup-id nitrogen --restore; sleep 1; picom -b --config ~/.config/pi
|
||||
exec --no-startup-id hsetroot
|
||||
exec --no-startup-id feh --randomize --no-fehbg --bg-scale $HOME/.wallpaper/*
|
||||
|
||||
font xft:FiraCode 12
|
||||
set $font_size 11
|
||||
font xft:FiraCode $font_size
|
||||
|
||||
# Use pactl to adjust volume in PulseAudio.
|
||||
set $refresh_i3status killall -SIGUSR1 i3status
|
||||
@ -49,7 +50,7 @@ bindsym $mod+Return exec alacritty --working-directory ~
|
||||
bindsym $mod+Shift+q kill
|
||||
|
||||
# start dmenu (a program launcher)
|
||||
bindsym $mod+d exec --no-startup-id dmenu_run -i -b -p "Program to run: " -fn "FiraCode:pixelsize=16"
|
||||
bindsym $mod+d exec --no-startup-id dmenu_run -i -b -p "Program to run: " -fn xft:FiraCode:size=$font_size
|
||||
|
||||
# change focus
|
||||
bindsym $mod+h focus left
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
bssid="$(bluetoothctl devices | dmenu -p "Devices: " -l 20 | cut -d' ' -f2)"
|
||||
bssid="$(bluetoothctl devices | dmenu -b -p "Devices: " -l 20 | cut -d' ' -f2)"
|
||||
|
||||
exit_counter=0
|
||||
until bluetoothctl connect "$bssid"
|
||||
|
||||
@ -1,5 +1,7 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
bssid="$(nmcli -f BSSID,SSID,SIGNAL,RATE,BARS,SECURITY dev wifi list | sed -n '1!p' | dmenu -p "WiFi: " -l 20 | cut -d' ' -f1)"
|
||||
pass="$(echo "" | dmenu -p "Password: ")"
|
||||
set -eo pipefail
|
||||
|
||||
bssid="$(nmcli -f BSSID,SSID,SIGNAL,RATE,BARS,SECURITY dev wifi list | sed -n '1!p' | dmenu -b -p "WiFi: " -l 20 | cut -d' ' -f1)"
|
||||
pass="$(echo "" | dmenu -b -p "Password: ")"
|
||||
nmcli device wifi connect "$bssid" "password" "$pass"
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
[[ -r ~/.Xresources ]] && xrdb -merge -I$HOME ~/.Xresources
|
||||
[[ -r ~/.xprofile ]] && source ~/.xprofile
|
||||
|
||||
session=${1:-i3}
|
||||
|
||||
case $session in
|
||||
|
||||
1
home/user/.xprofile
Normal file
1
home/user/.xprofile
Normal file
@ -0,0 +1 @@
|
||||
export PATH="$PATH:$HOME/.local/bin"
|
||||
2
install
2
install
@ -20,7 +20,7 @@ declare -A TARGETS=(
|
||||
["git"]=".config/git"
|
||||
["ranger"]=".config/ranger"
|
||||
["gpg"]=""
|
||||
["i3"]=".xinitrc .config/i3 .config/i3status .local/bin/i3status_wrapper .config/picom .local/bin/slm"
|
||||
["i3"]=".xinitrc .xprofile .Xresources .config/i3 .config/i3status .local/bin/i3status_wrapper .config/picom .local/bin/slm .local/bin/wifi .local/bin/bluetooth"
|
||||
["bat"]=".config/bat"
|
||||
["font"]=""
|
||||
["termux"]=""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user