Compare commits

..

2 Commits

Author SHA1 Message Date
Henrik Bakken f7e6fc79ff swayidle don't reduce brightness 2026-02-11 00:56:33 +01:00
Henrik Bakken 70b02662aa btop+tmux 2026-01-27 10:17:55 +01:00
6 changed files with 6 additions and 30 deletions
+1 -1
View File
@@ -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 = 20
# max_preview_height = 4
## 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
+1 -6
View File
@@ -213,12 +213,7 @@ 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",
"\\",
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", "\\", "n.", { noremap = true, silent = true, desc = "Repeat And Goto Next" })
map("n", "<F2>", "<cmd>Lazy<cr>", { desc = "Lazy" })
map(
"n",
+3 -3
View File
@@ -287,7 +287,6 @@ 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' \
@@ -376,8 +375,9 @@ input type:touchpad {
}
input type:keyboard {
xkb_layout "us,us_norwegian"
xkb_options "grp:shifts_toggle,caps:escape"
xkb_layout "us"
xkb_variant "altgr-weur"
xkb_options "caps:escape"
}
input type:mouse {
-4
View File
@@ -80,10 +80,6 @@ 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
-15
View File
@@ -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)"
};
+1 -1
View File
@@ -6,6 +6,7 @@
# ]
# ///
# TODO
# fix btop colors
# pre-luks remote ssh
# add ufw setup
# - sudo ufw allow 22/tcp comment "ssh"
@@ -403,7 +404,6 @@ 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)