mirror of
https://github.com/artizirk/dotfiles.git
synced 2024-11-10 03:30:59 +02:00
Work PC config
This commit is contained in:
parent
9fe7853f49
commit
4a87e5957f
@ -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
Normal file
18
.config/sway/hiir
Normal file
@ -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
16
.zshrc
@ -98,14 +98,14 @@ function config {
|
|||||||
# git based dotfiles setup end
|
# git based dotfiles setup end
|
||||||
|
|
||||||
# GRML profiles
|
# GRML profiles
|
||||||
zstyle ':chpwd:profiles:/home/arti/code/krakul(|/|/*)' profile krakul
|
zstyle ':chpwd:profiles:/home/arti/code/messente(|/|/*)' profile messente
|
||||||
function chpwd_profile_krakul() {
|
function chpwd_profile_messente() {
|
||||||
[[ ${profile} == ${CHPWD_PROFILE} ]] && return 1
|
[[ ${profile} == ${CHPWD_PROFILE} ]] && return 1
|
||||||
|
|
||||||
export GIT_AUTHOR_EMAIL="arti@krakul.eu"
|
export GIT_AUTHOR_EMAIL="arti.zirk@messente.com"
|
||||||
export GIT_COMMITTER_EMAIL="arti@krakul.eu"
|
export GIT_COMMITTER_EMAIL="arti.zirk@messente.com"
|
||||||
}
|
}
|
||||||
function chpwd_leave_profile_krakul() {
|
function chpwd_leave_profile_messente() {
|
||||||
[[ ${profile} == ${CHPWD_PROFILE} ]] && return 1
|
[[ ${profile} == ${CHPWD_PROFILE} ]] && return 1
|
||||||
|
|
||||||
unset GIT_AUTHOR_EMAIL \
|
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
|
# First clear grml-zsh-config provided directory hashes
|
||||||
hash -d -r
|
hash -d -r
|
||||||
# shorten dir name in prompt
|
# shorten dir name in prompt
|
||||||
hash -d krakul=~/code/krakul
|
hash -d messente=~/code/messente
|
||||||
function hash_projects() {
|
function hash_projects() {
|
||||||
# hash everything under krakul projects
|
# hash everything under messente projects
|
||||||
local project_folder
|
local project_folder
|
||||||
for project_folder in ~/code/krakul/*; do
|
for project_folder in ~/code/messente/*; do
|
||||||
hash -d "${project_folder:t}"="${project_folder}"
|
hash -d "${project_folder:t}"="${project_folder}"
|
||||||
done
|
done
|
||||||
unset project_folder
|
unset project_folder
|
||||||
|
Loading…
Reference in New Issue
Block a user