Compare commits

..

12 commits

8 changed files with 27 additions and 75 deletions

View file

@ -62,7 +62,7 @@ local on_attach = function(client, bufnr)
end end
local servers = { 'zls' } local servers = { 'zls', 'gopls' }
for _, lsp in ipairs(servers) do for _, lsp in ipairs(servers) do
nvim_lsp[lsp].setup { nvim_lsp[lsp].setup {
on_attach = on_attach, on_attach = on_attach,
@ -70,3 +70,5 @@ for _, lsp in ipairs(servers) do
} }
end end
EOF EOF
noremap <space>f :FZF<return>

View file

@ -35,4 +35,4 @@ riverctl csd-filter-add app-id gnome-calendar
~/.config/river/keys ~/.config/river/keys
riverctl default-layout stacktile riverctl default-layout stacktile
exec stacktile --per-tag-config --drop-empty-configs --outer-padding=6 --inner-padding=10 --primary-sublayout=stack exec stacktile --per-tag-config --drop-empty-configs --outer-padding=0 --inner-padding=6 --primary-sublayout=stack

View file

@ -76,7 +76,6 @@ define_tag $((1 << 16)) 6
define_tag $((1 << 17)) 7 define_tag $((1 << 17)) 7
define_tag $((1 << 18)) 8 define_tag $((1 << 18)) 8
define_tag $((1 << 19)) 9 define_tag $((1 << 19)) 9
define_tag $((1 << 20)) 0
all_tags=$(((1 << 32) - 1)) all_tags=$(((1 << 32) - 1))
riverctl map normal $mod 0 set-focused-tags $all_tags riverctl map normal $mod 0 set-focused-tags $all_tags

View file

@ -6,9 +6,3 @@ riverctl border-color-focused 0x$border_focused
riverctl border-color-unfocused 0x$border_unfocused riverctl border-color-unfocused 0x$border_unfocused
riverctl border-width 2 riverctl border-width 2
riverctl spawn 'killall yambar ; yambar' riverctl spawn 'killall yambar ; yambar'
if $dark; then
riverctl spawn 'killall swaybg ; swaybg -m fill -i ~/.config/river/windows-11-wallpapers/win21.jpg'
else
riverctl spawn 'killall swaybg ; swaybg -m fill -i ~/.config/river/windows-11-wallpapers/win13.jpg'
fi

View file

@ -4,10 +4,10 @@ set -e
# https://github.com/jan-warchol/selenized/blob/e93e0d9fb47c7485f18fa16f9bdb70c2ee7fb5db/the-values.md # https://github.com/jan-warchol/selenized/blob/e93e0d9fb47c7485f18fa16f9bdb70c2ee7fb5db/the-values.md
echo "# Autogenerated by ~/.config/themer/foot.ini.sh echo "# Autogenerated by ~/.config/themer/foot.ini.sh
font=JetBrains Mono:style=Regular:size=9 font=JetBrains Mono:style=Regular:size=10
font-bold=JetBrains Mono:style=Bold:size=9 font-bold=JetBrains Mono:style=Bold:size=10
font-italic=JetBrains Mono:style=Italic:size=9 font-italic=JetBrains Mono:style=Italic:size=10
font-bold-italic=JetBrains Mono:style=Bold Italic:size=9 font-bold-italic=JetBrains Mono:style=Bold Italic:size=10
pad=5x5 pad=5x5

View file

@ -11,7 +11,7 @@ rose_pine () {
border_unfocused=$inactive border_unfocused=$inactive
else else
border_focused=$subtle border_focused=$subtle
border_unfocused=$surface border_unfocused=$overlay
fi fi
echo " echo "
export background=$base export background=$base

View file

@ -1,15 +1,13 @@
nerd: &nerd Overpass Nerd Font:size=14
bar: bar:
height: 20 height: 20
location: bottom location: top
layer: top layer: top
spacing: 8 spacing: 8
right-margin: 8 right-margin: 8
background: *bg background: *bg
foreground: *fg foreground: *fg
font: Inter:style=Bold:size=14 font: Inter:style=Medium:size=14
left: left:
- river: - river:
@ -80,9 +78,8 @@ bar:
on-click: /bin/sh -c "pamixer --default-source --toggle-mute" on-click: /bin/sh -c "pamixer --default-source --toggle-mute"
tag: muted tag: muted
values: values:
false: true: {string: {text: Mic en mute, foreground: *accent}}
- string: {text: , font: *nerd} false: {string: {text: "Mic {percent}%"}}
true: {string: {text: , font: *nerd, foreground: *accent}}
- alsa: - alsa:
card: pulse card: pulse
mixer: Master mixer: Master
@ -91,14 +88,8 @@ bar:
on-click: /bin/sh -c "pamixer --toggle-mute" on-click: /bin/sh -c "pamixer --toggle-mute"
tag: muted tag: muted
values: values:
true: {string: {text: ﱝ, font: *nerd, foreground: *accent}} true: {string: {text: Audio en mute, foreground: *accent}}
false: false: {string: {text: "Audio {percent}%"}}
- ramp:
tag: volume
items:
- string: {text: 奄, font: *nerd}
- string: {text: 奔, font: *nerd}
- string: {text: 墳, font: *nerd}
- network: - network:
name: eth0 name: eth0
@ -110,74 +101,39 @@ bar:
true: true:
map: map:
tag: state tag: state
default: {string: {text: , font: *nerd, foreground: *accent}}
values: values:
down: {string: {text: Ethernet down, foreground: *accent}}
up: up:
map: map:
tag: ipv4 tag: ipv4
default: {string: {text: , font: *nerd}} default: {string: {text: Ethernet}}
values: values:
"": {string: {text: , font: *nerd, foreground: *accent}} "": {string: {text: Ethernet sin IPv4, foreground: *accent}}
- network: - network:
name: wlan0 name: wlan0
content: content:
map: map:
tag: state tag: state
default: {string: {text: 直, font: *nerd, foreground: *accent}}
values: values:
down: {string: {text: 睊, font: *nerd, foreground: *accent}} down: {string: {text: WiFi down, foreground: *accent}}
up: up:
map: map:
tag: ipv4 tag: ipv4
default: {string: {text: 直, font: *nerd}} default: {string: {text: WiFi}}
values: values:
"": {string: {text: 直, font: *nerd, foreground: *accent}} "": {string: {text: WiFi sin IPv4, foreground: *accent}}
- battery: - battery:
name: BAT0 name: BAT0
poll-interval: 30 poll-interval: 30
anchors:
charging: &charging
list:
items:
- ramp:
tag: capacity
items:
- string: {text: , foreground: *accent, font: *nerd}
- string: {text: , foreground: *accent, font: *nerd}
- string: {text: , font: *nerd}
- string: {text: , font: *nerd}
- string: {text: , font: *nerd}
- string: {text: , font: *nerd}
- string: {text: , font: *nerd}
- string: {text: " {capacity}%"}
content: content:
map: map:
tag: state tag: state
values: values:
discharging: discharging: {string: {text: "{capacity}%"}}
- ramp: unknown: {string: {text: "{capacity}% limite"}}
tag: capacity charging: {string: {text: "{capacity}% cargando"}}
items: full: {string: {text: "{capacity}% full"}}
- string: {text: , foreground: *accent, font: *nerd}
- string: {text: , foreground: *accent, font: *nerd}
- string: {text: , font: *nerd}
- string: {text: , font: *nerd}
- string: {text: , font: *nerd}
- string: {text: , font: *nerd}
- string: {text: , font: *nerd}
- string: {text: , font: *nerd}
- string: {text: , font: *nerd}
- string: {text: , font: *nerd}
- string: {text: , foreground: *accent, font: *nerd}
- string: {text: " {capacity}%"}
unknown:
<<: *charging
charging:
<<: *charging
full:
- string: {text: , foreground: *accent, font: *nerd}
- string: {text: " {capacity}% full"}
- clock: - clock:
date-format: "%A %d of %B" date-format: "%A %d of %B"

View file

@ -2,13 +2,14 @@
set -e set -e
cd ~ cd ~
file="$(find \ file="$(find \
Documents Sync Pictures Downloads \ Documents Sync Pictures Downloads Proyectos \
-iname '*.jpg' -or \ -iname '*.jpg' -or \
-iname '*.png' -or \ -iname '*.png' -or \
-iname '*.js' -or \ -iname '*.js' -or \
-iname '*.md' -or \ -iname '*.md' -or \
-iname '*.txt' -or \ -iname '*.txt' -or \
-iname '*.pdf' -or \ -iname '*.pdf' -or \
-iname '*.epub' -or \
-iname '*.docx' -or \ -iname '*.docx' -or \
-iname '*.mp3' -or \ -iname '*.mp3' -or \
-type d \ -type d \