1
0
mirror of https://github.com/artizirk/dotfiles.git synced 2026-06-10 01:00:36 +03:00

New computer

This commit is contained in:
2026-05-26 14:43:02 +03:00
parent 64adf936cf
commit 66634b12c5
2 changed files with 17 additions and 15 deletions
@@ -1,20 +1,18 @@
# Work computer
exec /usr/bin/swaynag-battery --threshold 5
set $left_disp "Dell Inc. DELL U2724DE C9YPBP3"
set $right_disp "Dell Inc. DELL U2724D J3XFCP3"
set $left_disp "Dell Inc. DELL P2723DE HXD80N3"
set $right_disp "Dell Inc. DELL P2723DE G1330N3"
#set $left_disp "Dell Inc. DELL S2721DGF 8SVBP83"
output "Dell Inc. DELL S2721DGF 8SVBP83" pos 0 0
#set $right_disp "Dell Inc. DELL U2715H GH85D66Q08QS"
output "Dell Inc. DELL U2715H GH85D66Q08QS" pos 2560 0
set $chat_workspace 10
output $left_disp pos 0 0
output $left_disp mode 2560x1440@120.000Hz
output $left_disp mode 2560x1440@60.000Hz
output $right_disp pos 2560 0
output $right_disp mode 2560x1440@120.000Hz
output $right_disp mode 2560x1440@60.000Hz
set $laptop eDP-1
bindswitch lid:on output $laptop disable
+13 -9
View File
@@ -95,14 +95,14 @@ function config {
# git based dotfiles setup end
# GRML profiles
zstyle ':chpwd:profiles:/home/arti/code/messente(|/|/*)' profile messente
function chpwd_profile_messente() {
zstyle ':chpwd:profiles:/home/arti/code/sensusq(|/|/*)' profile sensusq
function chpwd_profile_sensusq() {
[[ ${profile} == ${CHPWD_PROFILE} ]] && return 1
export GIT_AUTHOR_EMAIL="arti.zirk@messente.com"
export GIT_COMMITTER_EMAIL="arti.zirk@messente.com"
export GIT_AUTHOR_EMAIL="arti.zirk@sensusq.com"
export GIT_COMMITTER_EMAIL="arti.zirk@sensusq.com"
}
function chpwd_leave_profile_messente() {
function chpwd_leave_profile_sensusq() {
[[ ${profile} == ${CHPWD_PROFILE} ]] && return 1
unset GIT_AUTHOR_EMAIL \
@@ -118,11 +118,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 messente=~/code/messente
hash -d sensusq=~/code/sensusq
function hash_projects() {
# hash everything under messente projects
# hash everything under work projects
local project_folder
for project_folder in ~/code/messente/*; do
for project_folder in ~/code/sensusq/*; do
hash -d "${project_folder:t}"="${project_folder}"
done
unset project_folder
@@ -329,7 +329,11 @@ fi
# https://neovim.io/doc/user/various.html#less
function vless {
/usr/share/nvim/runtime/scripts/less.sh $@
if [[ -e /usr/share/nvim/runtime/macros/less.sh ]]; then
/usr/share/nvim/runtime/macros/less.sh $@
else;
/usr/share/nvim/runtime/scripts/less.sh $@
fi
}
# If running under windows with pageagent then use it