summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/.config/kanshi/config8
-rw-r--r--zsh/.zshenv7
2 files changed, 14 insertions, 1 deletions
diff --git a/desktop/.config/kanshi/config b/desktop/.config/kanshi/config
new file mode 100644
index 0000000..56607d0
--- /dev/null
+++ b/desktop/.config/kanshi/config
@@ -0,0 +1,8 @@
+profile dock-office {
+ output eDP-1 disable
+ output "HP Inc. HP Z27n G2 6CM9450CCQ" enable
+}
+
+profile default {
+ output "*" enable
+} \ No newline at end of file
diff --git a/zsh/.zshenv b/zsh/.zshenv
index 9e8fe5d..c7725af 100644
--- a/zsh/.zshenv
+++ b/zsh/.zshenv
@@ -4,7 +4,7 @@ export EDITOR=emacsclient
export TERMINAL=urxvt
export LEDGER_FILE=$HOME/org/hledger/2021.journal
export CHEMACS_PROFILE=default
-if [[ $(hostname) =~ pincer* ]]; then
+if [[ $(hostname) =~ pincer* || $(hostname) =~ dex* ]]; then
export MOZ_ENABLE_WAYLAND=1
export GDK_BACKEND=wayland
export QT_QPA_PLATFORM=wayland
@@ -20,3 +20,8 @@ source ~/.zshenv.local
export XKB_DEFAULT_LAYOUT="us(dvorak)"
export XKB_DEFAULT_OPTIONS="caps:ctrl_modifier,compose:ralt"
+
+if [[ $(hostname) =~ dex* ]]; then
+ # US keyboard layout works better with the Corne keymap.
+ export XKB_DEFAULT_LAYOUT="us"
+fi