Browse Source

Work PC config

master
Arti Zirk 6 months ago
parent
commit
4a87e5957f
  1. 12
      .config/sway/blue
  2. 18
      .config/sway/hiir
  3. 16
      .zshrc

12
.config/sway/blue

@ -1,12 +0,0 @@ @@ -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
}

18
.config/sway/hiir

@ -0,0 +1,18 @@ @@ -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
}

16
.zshrc

@ -98,14 +98,14 @@ function config { @@ -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 @@ -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

Loading…
Cancel
Save