summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/foot/foot.ini10
-rw-r--r--.config/sway/config13
-rw-r--r--.profile2
-rw-r--r--.vimrc5
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:
#
diff --git a/.profile b/.profile
index d97e6ee..64f7ed6 100644
--- a/.profile
+++ b/.profile
@@ -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
diff --git a/.vimrc b/.vimrc
index cf4a9e4..f900305 100644
--- a/.vimrc
+++ b/.vimrc
@@ -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,^//,,