diff --git a/.config/fish/alias.fish b/.config/fish/alias.fish index a61e9e7..ac6ff7a 100644 --- a/.config/fish/alias.fish +++ b/.config/fish/alias.fish @@ -8,7 +8,7 @@ if command -q git alias gp "git pull" alias gs "git status" alias home "git --git-dir=$HOME/.home/ --work-tree=$HOME" - alias homeinit "git clone --bare https://git.urbach.dev/sys/home $HOME/.home && home checkout" + alias homeinit "git clone --bare https://git.urbach.dev/eduard/home $HOME/.home && home checkout" alias h "home" alias hs "home status" alias hd "home diff --ignore-space-at-eol" @@ -44,10 +44,13 @@ if command -q ls alias lp "ls -l --no-filesize --no-time" end -# Lsof -if command -q lsof - alias tcp "lsof -PniTCP" - alias udp "lsof -PniUDP" +# Netstat +if command -q netstat + alias tcp "netstat -tpen" + alias udp "netstat -upen" + alias tcps "netstat -tlpen" + alias udps "netstat -ulpen" + alias servers "netstat -tulpen" end # MPV diff --git a/.config/hypr/keys.conf b/.config/hypr/keys.conf index 8f392d7..2908f2d 100644 --- a/.config/hypr/keys.conf +++ b/.config/hypr/keys.conf @@ -2,8 +2,8 @@ $main = SUPER # Apps bind = $main, B, exec, $browser -bind = $main, E, exec, $editor -bind = $main, F, exec, $files +bind = $main, D, exec, $editor +bind = $main, E, exec, $files bind = $main, K, exec, $calendar bind = $main, L, exec, $lockscreen bind = $main, M, exec, $email @@ -21,7 +21,7 @@ bind =, Print, exec, $screenshot bind = $main, C, killactive, bind = $main, J, togglesplit, bind = $main, V, togglefloating, -bind = $main, X, fullscreen, +bind = $main, F, fullscreen, # Session management bind = $main, Backspace, exit, diff --git a/.config/nvim/lua/commands.lua b/.config/nvim/lua/commands.lua index e179f40..0d1f08e 100644 --- a/.config/nvim/lua/commands.lua +++ b/.config/nvim/lua/commands.lua @@ -1,8 +1,10 @@ -- ToggleComment vim.api.nvim_create_user_command("ToggleComment", function() local comments = { + apkbuild = "#", bash = "#", c = "//", + conf = "#", cpp = "//", editorconfig = "#", fish = "#", diff --git a/.config/yazi/keymap.toml b/.config/yazi/keymap.toml new file mode 100644 index 0000000..cb552e5 --- /dev/null +++ b/.config/yazi/keymap.toml @@ -0,0 +1,5 @@ +[mgr] +prepend_keymap = [ + { on = "e", run = "open", desc = "Edit selected file" }, + { on = "", run = "enter", desc = "Enter the child directory" }, +] \ No newline at end of file diff --git a/.config/yazi/yazi.toml b/.config/yazi/yazi.toml new file mode 100644 index 0000000..10b7424 --- /dev/null +++ b/.config/yazi/yazi.toml @@ -0,0 +1,2 @@ +[mgr] +ratio = [0, 3, 1] \ No newline at end of file