Compare commits

..

13 commits
main ... work

Author SHA1 Message Date
Vladan Popovic
715651ffa8 Fix scroll on new keyboard 2025-12-19 15:05:51 +01:00
Vladan Popovic
0bae1471b2 Add ruff lsp server to nvim 2025-12-19 14:49:31 +01:00
Vladan Popovic
e8c79d69e1 New keyboard settings 2025-12-19 14:49:07 +01:00
Vladan Popovic
63472d5b51 Remove redundant bashrc config 2025-12-19 14:44:31 +01:00
Vladan Popovic
6109fcdb48 Add kube config to environ 2025-12-19 14:44:05 +01:00
Vladan Popovic
b1e61391c4 update alacitty config 2025-12-08 11:53:36 +01:00
Vladan Popovic
407e8af538 Add entity operator completion and tiup, remove cal alias 2025-12-08 10:59:50 +01:00
Vladan Popovic
7a64c68df7 Rofi reconfig 2025-12-08 10:59:45 +01:00
Vladan Popovic
02ad955e9c Revert "Update alacritty - config format"
This reverts commit 9259e7b2ba.
2025-12-08 10:59:16 +01:00
Vladan Popovic
1d6d7238d0 alacritty: decrease font on big screen 2025-12-08 10:58:45 +01:00
bd2db8dcf7 change paths and config values for work host
- sway: use wlp* for waybar wifi interfaces
- containers: set home path
- gpg: use pinentry-gnome3
- git: change global user.email
2025-12-08 10:58:45 +01:00
4d296eba2a bash: update work profile (merge ubuntu with main) 2025-12-08 10:58:44 +01:00
c2099170a7 remove rofi screen offsets 2025-12-08 10:53:37 +01:00
15 changed files with 47 additions and 19 deletions

View file

@ -4,7 +4,6 @@ alias myip="curl http://ip.ie.mk/get"
alias ls="ls --color"
alias grep="grep --color"
alias virsh="virsh --connect qemu:///system"
alias cal="cal -m"
alias genpasswd="strings /dev/urandom | tr -cd '12345!@#$%qwertQWERTasdfgASDFGzxcvbZXCVB' | head -c 32; echo"
alias du="dust -r"
alias jsonpp="python -m json.tool"

View file

@ -23,16 +23,31 @@ shopt -s histappend
[[ -f $HOME/.bash_colors ]] && source "$HOME/.bash_colors"
[[ -f $HOME/.bash_functions ]] && source "$HOME/.bash_functions"
if ! shopt -oq posix; then
if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
elif [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
fi
while read -r completion ; do source "$completion" ; done < <(find $HOME/.bash_completion/*)
# Save working dir on every prompt.
# export PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"; pwd > $HOME/.cwd'
export PS1="${Blue}\d \A ${Off}${Yellow}\u@\h: ${Off}\w ${Green}\$(parse_branch git)${BRed}\$(parse_branch fossil)${Off}\n-$ "
# more is less
# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
debian_chroot=$(cat /etc/debian_chroot)
fi
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
# Use fzf if installed.
hash fzf 2>/dev/null && eval "$(fzf --bash)"
export FZF_DEFAULT_OPTS='--border=horizontal --info=inline --no-reverse --height=50%'
export FZF_DEFAULT_OPTS='--border=horizontal --info=inline --no-reverse --height=30%'
# Use gpg-agent as ssh agent (and get a nice graphical prompt).
unset SSH_AGENT_PID

View file

@ -407,9 +407,6 @@ history = 100000
save_to_clipboard = true
semantic_escape_chars = ",│`|:\"' ()[]{}<>\t"
[terminal.shell]
program = "/bin/bash"
[window]
decorations = "full"
dynamic_padding = false

View file

@ -1,4 +1,4 @@
[storage]
driver = "overlay"
runroot = "/run/user/1000"
graphroot = "/home/vladan/.local/share/containers/storage"
graphroot = "/home/vladanpopovic/.local/share/containers/storage"

View file

@ -1,5 +1,5 @@
[user]
email = vladanovic@gmail.com
email = vladan.popovic@hm.com
name = Vladan Popovic
[core]
excludesfile = /home/vladan/.config/git/ignore

View file

@ -0,0 +1,6 @@
-- ~/.config/nvim/after/lsp/ruff.lua
return {
cmd = { "ruff", "server" },
filetypes = { "python" },
root_dir = vim.fs.root(0, { ".git/", "pyproject.toml" }),
}

View file

@ -67,6 +67,7 @@ end
local capabilities = vim.lsp.protocol.make_client_capabilities()
vim.lsp.enable('ty')
vim.lsp.enable('ruff')
local servers = {
"clangd",

View file

@ -41,7 +41,7 @@ dap.adapters.lldb = {
type = 'server',
port = "${port}",
executable = {
command = '/usr/bin/lldb-dap',
command = '/usr/bin/lldb-dap-18',
args = { "--port", "${port}" },
},
}

View file

@ -3,11 +3,9 @@
@theme "sidebar"
configuration {
/* modes: "combi,drun,run,ssh,filebrowser";*/
modes: "combi,drun,run,ssh,filebrowser";
font: "mono 12";
location: 0;
yoffset: -150;
xoffset: 1920;
fixed-num-lines: true;
show-icons: true;
terminal: "alacritty";
@ -21,7 +19,7 @@ configuration {
icon-theme: "Papyrus";
/* drun-match-fields: "name,generic,exec,categories,keywords";*/
/* drun-categories: ;*/
/* drun-show-actions: false;*/
drun-show-actions: true;
/* drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]";*/
/* drun-url-launcher: "xdg-open";*/
/* disable-history: false;*/
@ -38,7 +36,6 @@ configuration {
/* parse-known-hosts: true;*/
combi-modes: "drun,run,ssh,filebrowser";
matching: "fuzzy";
/* tokenize: true;*/
/* m: "-5";*/
/* filter: ;*/
@ -77,3 +74,7 @@ configuration {
sorting-method: "name";
}
}
window {
transparency: "real";
width: 1000px;
}

View file

@ -1,7 +1,7 @@
### Variables
#
# Logo key. Use Mod1 for Alt.
set $mod Mod4
set $mod Mod1
# Home row direction keys, like vim
set $left h
set $down j

View file

@ -17,6 +17,14 @@ input 1:1:AT_Translated_Set_2_keyboard {
xkb_options "grp:caps_toggle"
}
input "6127:24704:Lite-On_Tech_Lenovo_USB_Travel_Keyboard_with_Ultra_Nav" {
xkb_layout "us,mk"
xkb_options "grp:caps_toggle"'
}
input "6127:24704:Lite-On_Tech_Lenovo_USB_Travel_Keyboard_with_Ultra_Nav_Mouse" {
scroll_method on_button_down
}
# Pulse Audio controls
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume 0 +5% #increase sound volume
bindsym XF86AudioLowerVolume exec pactl set-sink-volume 0 -5% #decrease sound volume

View file

@ -52,7 +52,7 @@
bindsym $mod+Shift+Right move right
#
# Workspaces:
#
#/home/vladanpopovic/.config/sway/config.d/10-variables.conf
# switch to workspace
bindsym $mod+1 workspace 1
bindsym $mod+2 workspace 2

View file

@ -21,7 +21,7 @@
},
"network": {
"tooltip": false,
"interface": "wlp3s0*",
"interface": "wlp*",
"format-wifi": " {essid} ({signalStrength}%)",
"format-ethernet": "{ifname}: {ipaddr}/{cidr}",
"format-linked": "{ifname} (No IP)",

View file

@ -14,3 +14,4 @@ export PYTHONDONTWRITEBYTECODE=1
export PYTHONUSERBASE=$HOME/.env/python
export TZ="Europe/Belgrade"
export FZF_DEFAULT_OPTS='--border=horizontal --info=inline --no-reverse --height=50%'
export KUBE_CONFIG_PATH=$HOME/.kube/config

View file

@ -1,5 +1,5 @@
default-cache-ttl 3600
pinentry-program /usr/bin/pinentry-qt5
pinentry-program /usr/bin/pinentry-gnome3
max-cache-ttl 72000
default-cache-ttl 72000
max-cache-ttl-ssh 72000