Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 93d36adea8 | |||
| c8e3d09a09 | |||
| f2494ee53e | |||
| 8fb6d19af1 |
@@ -126,7 +126,7 @@ history_filter = [
|
||||
## Configure the maximum height of the preview to show.
|
||||
## Useful when you have long scripts in your history that you want to distinguish
|
||||
## by more than the first few lines.
|
||||
# max_preview_height = 4
|
||||
max_preview_height = 20
|
||||
|
||||
## Configure whether or not to show the help row, which includes the current Atuin
|
||||
## version (and whether an update is available), a keymap hint, and the total
|
||||
|
||||
@@ -213,7 +213,12 @@ map("n", "<leader><tab>p", "<cmd>tabprevious<cr>", { desc = "Previous Tab" })
|
||||
-- other
|
||||
map("n", "<leader>cw", [[:cd %:p:h<cr>]], { desc = "Set Workspace To Buffer Path" })
|
||||
map("n", "<leader>o", "m`o<Esc>``", { desc = "Insert Newline" })
|
||||
map("n", "\\", "n.", { noremap = true, silent = true, desc = "Repeat And Goto Next" })
|
||||
map(
|
||||
"n",
|
||||
"\\",
|
||||
function() vim.api.nvim_feedkeys(vim.api.nvim_replace_termcodes("n.", true, true, true), "n", true) end,
|
||||
{ noremap = true, silent = true, desc = "Repeat And Goto Next" }
|
||||
)
|
||||
map("n", "<F2>", "<cmd>Lazy<cr>", { desc = "Lazy" })
|
||||
map(
|
||||
"n",
|
||||
|
||||
+3
-3
@@ -287,6 +287,7 @@ exec hash dbus-update-activation-environment 2>/dev/null && \
|
||||
|
||||
# Idle configuration
|
||||
exec_always swayidle -w \
|
||||
timeout 240 'brightnessctl set 1' resume 'brightnessctl -r' \
|
||||
timeout 1200 'gtklock -d' \
|
||||
timeout 2400 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
|
||||
before-sleep 'gtklock -d' \
|
||||
@@ -375,9 +376,8 @@ input type:touchpad {
|
||||
}
|
||||
|
||||
input type:keyboard {
|
||||
xkb_layout "us"
|
||||
xkb_variant "altgr-weur"
|
||||
xkb_options "caps:escape"
|
||||
xkb_layout "us,us_norwegian"
|
||||
xkb_options "grp:shifts_toggle,caps:escape"
|
||||
}
|
||||
|
||||
input type:mouse {
|
||||
|
||||
@@ -80,6 +80,10 @@ bind D choose-client
|
||||
bind : command-prompt
|
||||
bind '~' show-messages
|
||||
|
||||
# Fix Home and End keys
|
||||
bind-key -n Home send-keys "\033[H"
|
||||
bind-key -n End send-keys "\033[F"
|
||||
|
||||
# Copy mode
|
||||
bind c copy-mode
|
||||
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
partial alphanumeric_keys
|
||||
xkb_symbols "basic" {
|
||||
include "us(basic)"
|
||||
name[Group1]= "US Custom Norwegian";
|
||||
|
||||
key <AD01> { [ q, Q, aring, Aring ] };
|
||||
key <AD11> { [ bracketleft, braceleft, aring, Aring ] };
|
||||
key <AD02> { [ w, W, ae, AE ] };
|
||||
key <AC11> { [apostrophe, quotedbl, ae, AE ] };
|
||||
key <AD05> { [ t, T, oslash, Oslash ] };
|
||||
key <AC10> { [ semicolon, colon, oslash, Oslash ] };
|
||||
key <AC03> { [ d, D, eacute, Eacute ] };
|
||||
|
||||
include "level3(ralt_switch)"
|
||||
};
|
||||
@@ -6,7 +6,6 @@
|
||||
# ]
|
||||
# ///
|
||||
# TODO
|
||||
# fix btop colors
|
||||
# pre-luks remote ssh
|
||||
# add ufw setup
|
||||
# - sudo ufw allow 22/tcp comment "ssh"
|
||||
@@ -404,6 +403,7 @@ def install_sway(overwrite: bool, reinstall: bool) -> None:
|
||||
"nwg-drawer",
|
||||
"xdg-desktop-portal-wlr",
|
||||
"foot",
|
||||
"xkb/symbols",
|
||||
]:
|
||||
helper_clone_foldercontents(CFG_SRC, CFG_TGT, sub, overwrite)
|
||||
helper_maybe_copy(CFG_SRC, CFG_TGT, "xdg-terminals.list", overwrite, symlink=True)
|
||||
|
||||
Reference in New Issue
Block a user