diff options
| author | Marc Vertes <mvertes@free.fr> | 2024-05-16 23:01:12 +0200 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2024-05-16 23:01:12 +0200 |
| commit | 10a035abbe68303ab3dca621c2553c1ceb04461c (patch) | |
| tree | 42941f199ac2194abd86e4233299be66294bfbbf | |
| parent | d1641e78b60aafbcd6233f2aa4cd50385a63ba92 (diff) | |
update
| -rw-r--r-- | .config/foot/foot.ini | 10 | ||||
| -rw-r--r-- | .config/sway/config | 13 | ||||
| -rw-r--r-- | .profile | 2 | ||||
| -rw-r--r-- | .vimrc | 5 |
4 files changed, 24 insertions, 6 deletions
diff --git a/.config/foot/foot.ini b/.config/foot/foot.ini index f01343c..bf504ef 100644 --- a/.config/foot/foot.ini +++ b/.config/foot/foot.ini @@ -1,5 +1,13 @@ [main] -font=monospace:size=9 +#font=Mono:size=9 +#font=MiscFixed:pixelsize=14 +#font=MiscFixedSC613:size=9 +font=Misc MiscFixed:pixelsize=13 +pad=2x0 center [cursor] color=ffffff ff0000 + +[colors] +background=ffffff +foreground=000000 diff --git a/.config/sway/config b/.config/sway/config index 6b67de0..01b9ca1 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -4,6 +4,13 @@ # # Read `man 5 sway` for a complete reference. +# font pango:monospace 9 +font pango:MiscFixedSC613 9 + +exec /usr/libexec/pipewire-launcher +exec dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway +exec foot -s + ### Variables # # Logo key. Use Mod1 for Alt. @@ -14,7 +21,7 @@ set $down j set $up k set $right l # Your preferred terminal emulator -set $term foot +set $term footclient # Your preferred application launcher # 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. @@ -24,7 +31,8 @@ set $menu dmenu_path | bemenu-run -p "" --hf "#00ff00" | xargs swaymsg exec -- ### Output configuration # # Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/) -output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill +# output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill +output * bg #103040 solid_color # # Example configuration: # @@ -148,7 +156,6 @@ input type:touchpad { # Cycle through active workspaces bindsym $mod+Tab workspace next bindsym $mod+Shift+Tab workspace prev - # # Layout stuff: # @@ -2,3 +2,5 @@ export PATH=~/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:~/go/bin export XDG_RUNTIME_DIR=/run/user/1000 [ "$SHELL" = /bin/ash ] && export ENV=~/.shrc + +[ "$(tty)" = /dev/tty1 ] && exec dbus-run-session -- sway @@ -58,8 +58,9 @@ autocmd filetype python,yaml set ts=2 sts=2 sw=2 et " noremap <M-f> :!cscope -7 <cfile>
" Paragraph format / unformat -noremap <leader>f !}fmt
-noremap <leader>F !}fmt -c -w 2048
+" noremap <leader>f !}fmt
+" noremap <leader>F !}fmt -c -w 2048
+noremap <leader>f gqip " noremap <buffer> K :s,^,//,
" noremap <buffer> <C-K> :s,^//,,
|
