summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/foot/foot.ini3
-rw-r--r--.config/sway/config5
-rw-r--r--.vimrc7
-rwxr-xr-xbin/zzz2
4 files changed, 14 insertions, 3 deletions
diff --git a/.config/foot/foot.ini b/.config/foot/foot.ini
index bf504ef..7da346c 100644
--- a/.config/foot/foot.ini
+++ b/.config/foot/foot.ini
@@ -2,7 +2,8 @@
#font=Mono:size=9
#font=MiscFixed:pixelsize=14
#font=MiscFixedSC613:size=9
-font=Misc MiscFixed:pixelsize=13
+#font=Misc MiscFixed:pixelsize=13
+font=Misc MiscFixed:size=10
pad=2x0 center
[cursor]
diff --git a/.config/sway/config b/.config/sway/config
index 0174d2d..8246156 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -26,7 +26,8 @@ set $term foot
# Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on.
# set $menu dmenu_path | dmenu | xargs swaymsg exec --
-set $menu dmenu_path | wmenu | xargs swaymsg exec --
+# set $menu dmenu_path | wmenu | xargs swaymsg exec --
+set $menu fuzzel
### Output configuration
#
@@ -77,6 +78,8 @@ input type:touchpad {
natural_scroll enabled
}
+bindswitch lid:on exec swaylock -c "#103040"
+
### Key bindings
#
# Basics:
diff --git a/.vimrc b/.vimrc
index f900305..8fbe518 100644
--- a/.vimrc
+++ b/.vimrc
@@ -10,6 +10,13 @@ filetype plugin on
filetype plugin indent on
let mapleader = ","
+" Save all files at the same place
+set backupdir=~/.vim/backup//
+set directory=~/.vim/backup//
+set undodir=~/.vim/backup//
+set undofile
+set backup
+
"set rtp+=/opt/homebrew/opt/fzf
let g:fzf_preview = 'cat {}'
diff --git a/bin/zzz b/bin/zzz
index a520de0..9d5f2c1 100755
--- a/bin/zzz
+++ b/bin/zzz
@@ -1,2 +1,2 @@
#!/bin/sh
-exec doas sh -c 'echo mem > /sys/power/state'
+(sleep 0.1; doas sh -c 'echo mem > /sys/power/state') & swaylock -c "#103040"