Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f7e6fc79ff | |||
| 70b02662aa |
@@ -126,7 +126,7 @@ history_filter = [
|
|||||||
## Configure the maximum height of the preview to show.
|
## Configure the maximum height of the preview to show.
|
||||||
## Useful when you have long scripts in your history that you want to distinguish
|
## Useful when you have long scripts in your history that you want to distinguish
|
||||||
## by more than the first few lines.
|
## by more than the first few lines.
|
||||||
max_preview_height = 20
|
# max_preview_height = 4
|
||||||
|
|
||||||
## Configure whether or not to show the help row, which includes the current Atuin
|
## 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
|
## version (and whether an update is available), a keymap hint, and the total
|
||||||
|
|||||||
@@ -213,12 +213,7 @@ map("n", "<leader><tab>p", "<cmd>tabprevious<cr>", { desc = "Previous Tab" })
|
|||||||
-- other
|
-- other
|
||||||
map("n", "<leader>cw", [[:cd %:p:h<cr>]], { desc = "Set Workspace To Buffer Path" })
|
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", "<leader>o", "m`o<Esc>``", { desc = "Insert Newline" })
|
||||||
map(
|
map("n", "\\", "n.", { noremap = true, silent = true, desc = "Repeat And Goto Next" })
|
||||||
"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", "<F2>", "<cmd>Lazy<cr>", { desc = "Lazy" })
|
||||||
map(
|
map(
|
||||||
"n",
|
"n",
|
||||||
|
|||||||
+3
-3
@@ -287,7 +287,6 @@ exec hash dbus-update-activation-environment 2>/dev/null && \
|
|||||||
|
|
||||||
# Idle configuration
|
# Idle configuration
|
||||||
exec_always swayidle -w \
|
exec_always swayidle -w \
|
||||||
timeout 240 'brightnessctl set 1' resume 'brightnessctl -r' \
|
|
||||||
timeout 1200 'gtklock -d' \
|
timeout 1200 'gtklock -d' \
|
||||||
timeout 2400 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
|
timeout 2400 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
|
||||||
before-sleep 'gtklock -d' \
|
before-sleep 'gtklock -d' \
|
||||||
@@ -376,8 +375,9 @@ input type:touchpad {
|
|||||||
}
|
}
|
||||||
|
|
||||||
input type:keyboard {
|
input type:keyboard {
|
||||||
xkb_layout "us,us_norwegian"
|
xkb_layout "us"
|
||||||
xkb_options "grp:shifts_toggle,caps:escape"
|
xkb_variant "altgr-weur"
|
||||||
|
xkb_options "caps:escape"
|
||||||
}
|
}
|
||||||
|
|
||||||
input type:mouse {
|
input type:mouse {
|
||||||
|
|||||||
@@ -80,10 +80,6 @@ bind D choose-client
|
|||||||
bind : command-prompt
|
bind : command-prompt
|
||||||
bind '~' show-messages
|
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
|
# Copy mode
|
||||||
bind c copy-mode
|
bind c copy-mode
|
||||||
|
|
||||||
|
|||||||
@@ -1,15 +0,0 @@
|
|||||||
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,6 +6,7 @@
|
|||||||
# ]
|
# ]
|
||||||
# ///
|
# ///
|
||||||
# TODO
|
# TODO
|
||||||
|
# fix btop colors
|
||||||
# pre-luks remote ssh
|
# pre-luks remote ssh
|
||||||
# add ufw setup
|
# add ufw setup
|
||||||
# - sudo ufw allow 22/tcp comment "ssh"
|
# - sudo ufw allow 22/tcp comment "ssh"
|
||||||
@@ -403,7 +404,6 @@ def install_sway(overwrite: bool, reinstall: bool) -> None:
|
|||||||
"nwg-drawer",
|
"nwg-drawer",
|
||||||
"xdg-desktop-portal-wlr",
|
"xdg-desktop-portal-wlr",
|
||||||
"foot",
|
"foot",
|
||||||
"xkb/symbols",
|
|
||||||
]:
|
]:
|
||||||
helper_clone_foldercontents(CFG_SRC, CFG_TGT, sub, overwrite)
|
helper_clone_foldercontents(CFG_SRC, CFG_TGT, sub, overwrite)
|
||||||
helper_maybe_copy(CFG_SRC, CFG_TGT, "xdg-terminals.list", overwrite, symlink=True)
|
helper_maybe_copy(CFG_SRC, CFG_TGT, "xdg-terminals.list", overwrite, symlink=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user