1
0
mirror of https://github.com/artizirk/dotfiles.git synced 2025-07-25 11:40:19 +03:00

Compare commits

...

6 Commits

6 changed files with 21 additions and 5 deletions

View File

@ -113,7 +113,7 @@ elif [[ "$ID" == "debian" ]]; then
fi
apt-get update
apt-get install --yes --no-install-recommends locales dbus ssh python3 libnss-resolve
apt-get install --yes --no-install-recommends locales dbus ssh python3
echo "locales locales/default_environment_locale select en_US.UTF-8" | debconf-set-selections
echo "locales locales/locales_to_be_generated multiselect en_US.UTF-8 UTF-8, et_EE.UTF-8 UTF-8" | debconf-set-selections
@ -128,6 +128,9 @@ ln -sf /usr/share/nvim/runtime/macros/less.sh /usr/local/bin/vless
systemctl enable systemd-networkd
# systemd-resolved package also replaces /etc/resolv.conf with a symlink that breaks DNS in our current pre setup environment
apt install --yes --no-install-recommends libnss-resolve
# Needed by libnss-resolve config in /etc/nsswitch.conf
systemctl enable systemd-resolved
EOF

View File

@ -9,8 +9,12 @@ set cursorline
hi cursorline cterm=none term=none
autocmd WinEnter * setlocal cursorline
autocmd WinLeave * setlocal nocursorline
highlight CursorLine guibg=#303000 ctermbg=234
"highlight CursorLine guibg=#303000 ctermbg=lightgray
if $TERMINAL_EMULATOR == "JetBrains-JediTerm"
highlight CursorLine guibg=#303000 ctermbg=lightgray
else
highlight CursorLine guibg=#303000 ctermbg=234
endif
" configure reasonable swap file
" https://begriffs.com/posts/2019-07-19-history-use-vim.html?hn=3#backups-and-undo

View File

@ -20,4 +20,7 @@ exec systemd-run --user --unit=slack-flatpak /usr/bin/flatpak run com.slack.Slac
for_window [app_id="telegramdesktop"] move to workspace $chat_workspace
for_window [app_id="org.telegram.desktop"] move to workspace $chat_workspace
exec systemd-run --user --unit=telegram /usr/bin/env XDG_CURRENT_DESKTOP=GNOME telegram-desktop
exec systemd-run --user --unit=telegram /usr/bin/env XDG_CURRENT_DESKTOP=GNOME Telegram
# for earlyoom notifications
exec systemd-run --user --unit=systembus-notify /usr/bin/systembus-notify

View File

@ -1,4 +1,5 @@
# 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"

View File

@ -5,5 +5,10 @@ exec /usr/bin/swaynag-battery --threshold 5
#set $right_disp "Unknown 0x0791 0x00000000"
set $chat_workspace 10
set $laptop eDP-1
bindswitch lid:on output $laptop disable
bindswitch lid:off output $laptop enable
output $left_disp pos 0 0
output $right_disp pos 370 1440

2
.zshrc
View File

@ -335,7 +335,7 @@ fi
# https://neovim.io/doc/user/various.html#less
function vless {
/usr/share/nvim/runtime/macros/less.sh $@
/usr/share/nvim/runtime/scripts/less.sh $@
}
# If running under windows with pageagent then use it