1
0
mirror of https://github.com/artizirk/dotfiles.git synced 2024-11-22 00:10:59 +02:00

Compare commits

...

4 Commits

5 changed files with 32 additions and 20 deletions

View File

@ -0,0 +1 @@
{"browser_binary": "/usr/bin/firefox-developer-edition"}

View File

@ -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
}

View File

@ -358,6 +358,10 @@ input 1267:32:Elan_TrackPoint {
accel_profile "flat" accel_profile "flat"
} }
input 1267:12693:ELAN0676:00_04F3:3195_Touchpad {
natural_scroll enabled
}
input 1133:16534:Logitech_ERGO_M575 { input 1133:16534:Logitech_ERGO_M575 {
pointer_accel 0.5 pointer_accel 0.5
scroll_method on_button_down scroll_method on_button_down
@ -365,4 +369,5 @@ input 1133:16534:Logitech_ERGO_M575 {
} }
include /etc/sway/config.d/* include /etc/sway/config.d/*
exec systemctl --user set-environment XDG_CURRENT_DESKTOP=sway
include autostart include autostart

18
.config/sway/hiir Normal file
View 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
View File

@ -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