mirror of
https://github.com/artizirk/dotfiles.git
synced 2024-11-21 16:00:59 +02:00
Compare commits
4 Commits
d8954dd588
...
1eabf5b21f
Author | SHA1 | Date | |
---|---|---|---|
1eabf5b21f | |||
df06a7af7b | |||
4a87e5957f | |||
9fe7853f49 |
1
.config/firefoxprofileswitcher/config.json
Normal file
1
.config/firefoxprofileswitcher/config.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{"browser_binary": "/usr/bin/firefox-developer-edition"}
|
@ -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
|
|
||||||
}
|
|
@ -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
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