M bash/.bashrc => bash/.bashrc +6 -2
@@ 21,5 21,9 @@ HISTCONTROL=ignoreboth
HISTSIZE=
HISTFILESIZE=
-[ $UID -eq 0 ] && PS1='# ' || PS1='$ '
-export PS1
+export PS1='\[\033[34;3m\]\W\[\033[m\] \$ '
+
+osc7_cwd() {
+ printf '\e]7;file://%s%s\e\\' "$HOSTNAME" "$PWD"
+}
+PROMPT_COMMAND=osc7_cwd
A electron/.config/electron-flags.conf => electron/.config/electron-flags.conf +2 -0
@@ 0,0 1,2 @@
+--enable-features=UseOzonePlatform
+--ozone-platform=wayland
M => +43 -113
@@ 1,136 1,66 @@
# shell=$SHELL (if set, otherwise user's default shell from /etc/passwd)
# term=foot (or xterm-256color if built with -Dterminfo=disabled)
term=foot-extra
# login-shell=no
font=JetBrainsMono-Regular:size=8
# font-bold=<bold variant of regular font>
# font-italic=<italic variant of regular font>
# font-bold-italic=<bold+italic variant of regular font>
# line-height=<font metrics>
# letter-spacing=0
# horizontal-letter-offset=0
# vertical-letter-offset=0
# box-drawings-uses-font-glyphs=no
# dpi-aware=yes
# initial-window-size-pixels=700x500 # Or,
# initial-window-size-chars=<COLSxROWS>
# initial-window-mode=windowed
# pad=2x2 # optionally append 'center'
# resize-delay-ms=100
# notify=notify-send -a foot -i foot ${title} ${body}
# url-launch=xdg-open ${url}
# bold-text-in-bright=no
# bell=none
# word-delimiters=,│`|:"'()[]{}<>
# jump-label-letters=sadfjklewcmpgh
# selection-target=primary
# workers=<number of logical CPUs>
# osc8-underline=url-mode
font-bold=JetBrainsMono-Bold:size=8:style=bold
font-italic=JetBrainsMono-Italic:size=8:style=italic
[scrollback]
# lines=1000
# multiplier=3.0
# indicator-position=relative
# indicator-format=
[cursor]
# style=block
# color=111111 dcdccc
# blink=no
lines=10000
multiplier=3
[mouse]
# hide-when-typing=no
# alternate-scroll-mode=yes
hide-when-typing=yes
[colors]
# alpha=1.0
# foreground=dcdccc
# background=111111
# regular0=222222 # black
# regular1=cc9393 # red
# regular2=7f9f7f # green
# regular3=d0bf8f # yellow
# regular4=6ca0a3 # blue
# regular5=dc8cc3 # magenta
# regular6=93e0e3 # cyan
# regular7=dcdccc # white
# bright0=666666 # bright black
# bright1=dca3a3 # bright red
# bright2=bfebbf # bright green
# bright3=f0dfaf # bright yellow
# bright4=8cd0d3 # bright blue
# bright5=fcace3 # bright magenta
# bright6=b3ffff # bright cyan
# bright7=ffffff # bright white
# selection-foreground=<inverse foreground/background>
# selection-background=<inverse foreground/background>
# jump-labels=<regular0> <regular3>
# urls=<regular3>
regular0=282828
regular1=cc241d
regular2=98971a
regular3=d79921
regular4=458588
regular5=b16286
regular6=689d6a
regular7=a89984
bright0=928374
bright1=fb4934
bright2=b8bb26
bright3=fabd2f
bright4=83a598
bright5=d3869b
bright6=8ec07c
bright7=ebdbb2
[csd]
# preferred=server
# size=26
# color=<foreground color>
# button-width=26
# button-minimize-color=<regular4>
# button-maximize-color=<regular2>
# button-close-color=<regular1>
foreground=ebdbb2
background=282828
[key-bindings]
scrollback-up-line=Mod1+k
scrollback-down-line=Mod1+j
scrollback-up-half-page=Mod1+u
scrollback-down-half-page=Mod1+d
clipboard-copy=Mod1+c
clipboard-paste=Mod1+v
# primary-paste=Shift+Insert
# search-start=Control+Shift+r
search-start=Mod1+space
spawn-terminal=Mod1+n
font-increase=Mod1+Shift+k
font-decrease=Mod1+Shift+j
# font-reset=Control+0 Control+KP_0
# spawn-terminal=Control+Shift+n
# minimize=none
# maximize=none
# fullscreen=none
# pipe-visible=[sh -c "xurls | fuzzel | xargs -r firefox"] none
# pipe-scrollback=[sh -c "xurls | fuzzel | xargs -r firefox"] none
# pipe-selected=[xargs -r firefox] none
font-reset=Mod1+Shift+r
show-urls-launch=Mod1+l
# show-urls-copy=none
show-urls-copy=Mod1+Shift+l
[search-bindings]
# cancel=Control+g Escape
# commit=Return
# find-prev=Control+r
# find-next=Control+s
# cursor-left=Left Control+b
# cursor-left-word=Control+Left Mod1+b
# cursor-right=Right Control+f
# cursor-right-word=Control+Right Mod1+f
# cursor-home=Home Control+a
# cursor-end=End Control+e
# delete-prev=BackSpace
# delete-prev-word=Mod1+BackSpace Control+BackSpace
# delete-next=Delete
# delete-next-word=Mod1+d Control+Delete
# extend-to-word-boundary=Control+w
# extend-to-next-whitespace=Control+Shift+w
# clipboard-paste=Control+v Control+y
# primary-paste=Shift+Insert
[url-bindings]
# cancel=Control+g Control+d Escape
# toggle-url-visible=t
cancel=Escape
commit=Return
find-prev=Mod1+p
find-next=Mod1+n
clipboard-paste=Mod1+v
[mouse-bindings]
# primary-paste=BTN_MIDDLE
# select-begin=BTN_LEFT
# select-begin-block=Control+BTN_LEFT
# select-extend=BTN_RIGHT
# select-extend-character-wise=Control+BTN_RIGHT
# select-word=BTN_LEFT-2
# select-word-whitespace=Control+BTN_LEFT-2
# select-row=BTN_LEFT-3
select-begin=BTN_LEFT
select-begin-block=Mod1+BTN_LEFT
select-extend=BTN_RIGHT
A kakoune/.config/kak-lsp/kak-lsp.toml => kakoune/.config/kak-lsp/kak-lsp.toml +4 -0
@@ 0,0 1,4 @@
+[language.zig]
+filetypes = ["zig"]
+roots = ["build.zig"]
+command = "zls"
A kakoune/.config/kak/autoload/detection => kakoune/.config/kak/autoload/detection +1 -0
@@ 0,0 1,1 @@
+/usr/share/kak/autoload/detection<
\ No newline at end of file
A kakoune/.config/kak/autoload/filetype => kakoune/.config/kak/autoload/filetype +1 -0
@@ 0,0 1,1 @@
+/usr/share/kak/autoload/filetype<
\ No newline at end of file
A kakoune/.config/kak/autoload/new-client.kak => kakoune/.config/kak/autoload/new-client.kak +1 -0
@@ 0,0 1,1 @@
+/usr/share/kak/autoload/windowing/new-client.kak<
\ No newline at end of file
A kakoune/.config/kak/autoload/tools => kakoune/.config/kak/autoload/tools +1 -0
@@ 0,0 1,1 @@
+/usr/share/kak/autoload/tools<
\ No newline at end of file
A kakoune/.config/kak/autoload/wayland.kak => kakoune/.config/kak/autoload/wayland.kak +14 -0
@@ 0,0 1,14 @@
+provide-module wayland %{
+
+define-command wayland-terminal -params 1.. -shell-completion %{
+ evaluate-commands -save-regs 'a' %{
+ set-register a %arg{@}
+ evaluate-commands %sh{
+ setsid foot sh -c "$kak_quoted_reg_a" < /dev/null > /dev/null 2>&1 &
+ }
+ }
+}
+
+alias global terminal wayland-terminal
+
+}
A kakoune/.config/kak/kakrc => kakoune/.config/kak/kakrc +29 -0
@@ 0,0 1,29 @@
+
+## Editor
+
+hook global WinSetOption filetype=zig %{
+ set-option window formatcmd 'zig fmt --stdin'
+
+ lsp-enable-window
+ hook window -group semantic-tokens BufReload .* lsp-semantic-tokens
+ hook window -group semantic-tokens NormalIdle .* lsp-semantic-tokens
+ hook window -group semantic-tokens InsertIdle .* lsp-semantic-tokens
+ hook -once -always window WinSetOption filetype=.* %{
+ remove-hooks window semantic-tokens
+ }
+}
+
+## WM
+
+require-module wayland
+
+## LSP
+
+eval %sh{kak-lsp --kakoune -s $kak_session}
+
+hook global WinSetOption filetype=(c|zig) %{
+ lsp-enable-window
+ lsp-auto-hover-enable
+ lsp-auto-signature-help-enable
+ lsp-auto-hover-insert-mode-disable
+}
M river/.config/river/autorun => river/.config/river/autorun +2 -3
@@ 1,10 1,9 @@
+dbus-update-activation-environment DISPLAY
+levee
foot --server
-waybar
gammastep
mako
nm-applet --indicator
-blueman-applet
-udiskie --automount --notify --tray
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
1password --silent
rivertile -main-ratio 0.5 -view-padding 8 -outer-padding 8
M river/.config/river/init => river/.config/river/init +1 -1
@@ 6,7 6,7 @@ riverctl map normal $mod Q spawn 'launcher'
riverctl map normal $mod W spawn '$BROWSER'
riverctl map normal $mod E spawn '$TERMINAL'
riverctl map normal $mod A spawn '$TERMINAL fff'
-riverctl map normal $mod G spawn '$TERMINAL amfora'
+riverctl map normal $mod G spawn '$TERMINAL astronaut'
riverctl map normal $mod P spawn '1password --quick-access'
riverctl map normal $mod BackSpace close
M sh/.profile => sh/.profile +1 -1
@@ 1,7 1,7 @@
#!/bin/sh
export EDITOR='vis'
-export BROWSER='firefox-beta'
+export BROWSER='firefox'
export TERMINAL='footclient'
export READER='zathura'
M xdg/.config/mimeapps.list => xdg/.config/mimeapps.list +2 -2
@@ 2,14 2,14 @@
application/epub+zip=org.pwmt.zathura.desktop;
application/gzip=zip.desktop;
application/pdf=org.pwmt.zathura.desktop;
-application/x-bittorent=torrent.desktop;
+application/x-bittorrent=torrent.desktop;
application/zip=zip.desktop
image/gif=imv.desktop;
image/jpeg=imv.desktop;
image/png=imv.desktop;
image/vnd.djvu=org.pwmt.zathura.desktop;
inode/directory=filemanager.desktop;
-text/html=firefox-beta.desktop;
+text/html=firefox.desktop;
text/plain=text.desktop;
text/x-c=text.desktop;
text/x-makefile=text.desktop;