Small tweaks to dk

This commit is contained in:
natemaia 2022-01-09 02:20:37 -08:00
parent 70b03b1b10
commit 0869b65b6b
2 changed files with 9 additions and 14 deletions

View File

@ -1,32 +1,27 @@
# example sxhkdrc for use with dk # sxhkdrc for use with dk
######################################################### #########################################################
# web browser
super + w
exo-open --launch WebBrowser
# terminal emulator # terminal emulator
super + Return super + Return
exo-open --launch TerminalEmulator exo-open --launch TerminalEmulator
alt + shift + Return
# file manager exo-open --launch TerminalEmulator
super + f super + t
exo-open --launch FileManager exo-open --launch TerminalEmulator
# program launcher # program launcher
super + @space alt + p
rofi_run -r rofi_run -r
# program launcher
alt + F1 alt + F1
rofi_run -r rofi_run -r
super + @space
rofi_run -r
# make sxhkd reload its configuration files: # make sxhkd reload its configuration files:
super + shift + r super + shift + r
pkill -USR1 -x sxhkd pkill -USR1 -x sxhkd
# quit dk # quit dk
alt + shift + q alt + shift + q
dkcmd exit dkcmd exit

View File

@ -11,7 +11,7 @@ highlight="#6699ee"
underline=3 underline=3
separator="┃" separator="┃"
# xfonts # xfonts (adjust size based on resolution)
size=$(xrandr | grep ' connected' | grep -o '[0-9]\+x[0-9]\+' | cut -d'x' -f2) size=$(xrandr | grep ' connected' | grep -o '[0-9]\+x[0-9]\+' | cut -d'x' -f2)
if (( size >= 2160 )); then if (( size >= 2160 )); then
font0="-xos4-terminus-medium-r-normal--24-240-72-72-c-120-iso10646-1" font0="-xos4-terminus-medium-r-normal--24-240-72-72-c-120-iso10646-1"