summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2023-04-23 16:10:27 -0400
committerKjetil Orbekk <kj@orbekk.com>2023-04-23 16:10:27 -0400
commitda22fdaec980aa4f2d88323da8eec3d5992b823a (patch)
treeb260ddd1e13a6c411ec71cb841ba8e18de8c3b10
parentc799bba769f169d40589511504b0b1f81d7091f1 (diff)
Monitor config
-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