From 4a87e5957f749f21fd0f1d5586b5576e80fbb2ae Mon Sep 17 00:00:00 2001 From: Arti Zirk Date: Tue, 11 Jun 2024 16:22:24 +0300 Subject: [PATCH] Work PC config --- .config/sway/blue | 12 ------------ .config/sway/hiir | 18 ++++++++++++++++++ .zshrc | 16 ++++++++-------- 3 files changed, 26 insertions(+), 20 deletions(-) delete mode 100644 .config/sway/blue create mode 100644 .config/sway/hiir diff --git a/.config/sway/blue b/.config/sway/blue deleted file mode 100644 index 13548a0..0000000 --- a/.config/sway/blue +++ /dev/null @@ -1,12 +0,0 @@ -# Work computer - -set $left_disp "Dell Inc. DELL U2719D 3PFNP83" -set $right_disp "Dell Inc. DELL U2719D JNFNP83" -set $chat_workspace 10 - -output $left_disp pos 0 0 -output $right_disp pos 2560 0 - -input * { - xkb_numlock disabled -} diff --git a/.config/sway/hiir b/.config/sway/hiir new file mode 100644 index 0000000..9868e72 --- /dev/null +++ b/.config/sway/hiir @@ -0,0 +1,18 @@ +# Work computer + +set $left_disp "Dell Inc. DELL U2724DE C9YPBP3" +set $right_disp "Dell Inc. DELL U2724D J3XFCP3" +set $chat_workspace 10 + +output $left_disp pos 0 0 +output $left_disp mode 2560x1440@120.000Hz +output $right_disp pos 2560 0 +output $right_disp mode 2560x1440@120.000Hz + +set $laptop "LG Display 0x06ED Unknown" +bindswitch lid:on output $laptop disable +bindswitch lid:off output $laptop enable + +input * { + xkb_numlock disabled +} diff --git a/.zshrc b/.zshrc index 44a1928..8335b8d 100644 --- a/.zshrc +++ b/.zshrc @@ -98,14 +98,14 @@ function config { # git based dotfiles setup end # GRML profiles -zstyle ':chpwd:profiles:/home/arti/code/krakul(|/|/*)' profile krakul -function chpwd_profile_krakul() { +zstyle ':chpwd:profiles:/home/arti/code/messente(|/|/*)' profile messente +function chpwd_profile_messente() { [[ ${profile} == ${CHPWD_PROFILE} ]] && return 1 - export GIT_AUTHOR_EMAIL="arti@krakul.eu" - export GIT_COMMITTER_EMAIL="arti@krakul.eu" + export GIT_AUTHOR_EMAIL="arti.zirk@messente.com" + export GIT_COMMITTER_EMAIL="arti.zirk@messente.com" } -function chpwd_leave_profile_krakul() { +function chpwd_leave_profile_messente() { [[ ${profile} == ${CHPWD_PROFILE} ]] && return 1 unset GIT_AUTHOR_EMAIL \ @@ -121,11 +121,11 @@ zstyle ':completion:*:*:git:*' user-commands subrepo:'perform git-subrepo operat # First clear grml-zsh-config provided directory hashes hash -d -r # shorten dir name in prompt -hash -d krakul=~/code/krakul +hash -d messente=~/code/messente function hash_projects() { - # hash everything under krakul projects + # hash everything under messente projects local project_folder - for project_folder in ~/code/krakul/*; do + for project_folder in ~/code/messente/*; do hash -d "${project_folder:t}"="${project_folder}" done unset project_folder