From 0869b65b6bad5f5430eb0627f120ee46c1e6f2d8 Mon Sep 17 00:00:00 2001 From: natemaia Date: Sun, 9 Jan 2022 02:20:37 -0800 Subject: [PATCH] Small tweaks to dk --- dk-home/.config/dk/sxhkdrc | 21 ++++++++------------- dk-home/.local/bin/bar | 2 +- 2 files changed, 9 insertions(+), 14 deletions(-) diff --git a/dk-home/.config/dk/sxhkdrc b/dk-home/.config/dk/sxhkdrc index d2f97a8a..b3b67088 100644 --- a/dk-home/.config/dk/sxhkdrc +++ b/dk-home/.config/dk/sxhkdrc @@ -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 super + Return exo-open --launch TerminalEmulator - -# file manager -super + f - exo-open --launch FileManager +alt + shift + Return + exo-open --launch TerminalEmulator +super + t + exo-open --launch TerminalEmulator # program launcher -super + @space +alt + p rofi_run -r - -# program launcher alt + F1 rofi_run -r +super + @space + rofi_run -r # make sxhkd reload its configuration files: super + shift + r pkill -USR1 -x sxhkd - # quit dk alt + shift + q dkcmd exit diff --git a/dk-home/.local/bin/bar b/dk-home/.local/bin/bar index 2624296d..af8e6c7d 100755 --- a/dk-home/.local/bin/bar +++ b/dk-home/.local/bin/bar @@ -11,7 +11,7 @@ highlight="#6699ee" underline=3 separator="┃" -# xfonts +# xfonts (adjust size based on resolution) size=$(xrandr | grep ' connected' | grep -o '[0-9]\+x[0-9]\+' | cut -d'x' -f2) if (( size >= 2160 )); then font0="-xos4-terminus-medium-r-normal--24-240-72-72-c-120-iso10646-1"