remove nvim config, switch fonts to Berkeley Mono, remove swhkd, add xonsh and ghostty

This commit is contained in:
= 2025-01-06 09:30:48 -05:00
parent 4e5d4ff812
commit 2eac48ffb6
18 changed files with 85 additions and 88 deletions

View file

@ -17,6 +17,7 @@
.config/rofi/wal.rasi
.config/nvim
.config/sway/outputs
.config/systemd/user/default.target.wants
.inputrc
.env
{{- end }}

View file

@ -139,6 +139,10 @@ esac
export LOCALE_ARCHIVE=/usr/lib/locale/locale-archive
# this better fix libadwaita?
export ADW_DISABLE_PORTAL=1
# fix firefox wayland?
export MOZ_ENABLE_WAYLAND=1
# fix sway setting env vars?
export XDG_CURRENT_DESKTOP="${XDG_CURRENT_DESKTOP:-sway}"
export FREETYPE_PROPERTIES="truetype:interpreter-version=40"
# fix font rendering?
export FREETYPE_PROPERTIES="truetype:interpreter-version=40 cff:no-stem-darkening=0 autofitter:no-stem-darkening=0"

View file

@ -1 +1,2 @@
https://nixos.org/channels/nixos-unstable nixos-unstable
# https://github.com/nix-community/NUR/archive/master.tar.gz nur
https://nixos.org/channels/nixpkgs-unstable nixpkgs

View file

@ -138,10 +138,7 @@ load_aliases() {
alias fd="fdfind"
fi
if [[ $TERM =~ ".*kitty*" ]]; then
alias icat="kitty +kitten icat"
alias ssh="kitten ssh"
fi
}
load_aliases
unset -f load_aliases

View file

@ -106,4 +106,4 @@ fi
PATH=$OLDPATH
unset OLDPATH
source /home/mira/.config/broot/launcher/bash/br
# export UUID=552fbc4c-1e9b-11b2-a85c-a01fe49e12ee

@ -1 +0,0 @@
Subproject commit c0d58e2334df16128533abb0d6deb2d49c272e27

View file

@ -0,0 +1,34 @@
clipboard-read = allow
clipboard-write = allow
clipboard-trim-trailing-spaces = true
window-theme = dark
mouse-shift-capture = true
gtk-titlebar = false
gtk-wide-tabs = false
font-family = TX-02
confirm-close-surface = false
window-padding-x = 4,2
window-padding-y = 0
minimum-contrast=1
background = #010206
foreground = #ebf6ff
palette = 0=#1e1b30
palette = 1=#a04558
palette = 2=#76aa73
palette = 3=#ad9d3d
palette = 4=#334773
palette = 5=#a34a78
palette = 6=#2a97b1
palette = 7=#9a9ab8
palette = 8=#504573
palette = 9=#ed8096
palette = 10=#a0dc9b
palette = 11=#c1b254
palette = 12=#445f9b
palette = 13=#ee5e95
palette = 14=#5bcefa
palette = 15=#c1c7db

View file

@ -19,10 +19,10 @@
#: heavy. Setting them manually is useful for font families that have
#: many weight variants like Book, Medium, Thick, etc. For example::
font_family MonaspiceNe Nerd Font Mono
bold_family MonaspiceNe Nerd Font Mono
italic_family MonaspiceNe Nerd Font Mono
bold_italic_family MonaspiceNe Nerd Font Mono
font_family TX-02
# bold_family MonaspiceNe Nerd Font Mono
# italic_family MonaspiceNe Nerd Font Mono
# bold_italic_family MonaspiceNe Nerd Font Mono
font_size 12.0

View file

@ -1,4 +1,4 @@
font=Atkinson Hyperlegible, FontAwesome 12
font=TX-02, FontAwesome 11
max-icon-size=32
height=300
width=300
@ -7,3 +7,4 @@ text-color=#fbfbff
border-radius=8
border-color=#746e95
default-timeout=10000
layer=overlay

@ -1 +0,0 @@
Subproject commit e3a99eb8f20c358f8376579594c0ebbf62c1db55

View file

@ -1,6 +1,7 @@
configuration {
modes: "window,drun,run,ssh,combi";
font: "Atkinson Hyperlegible 12";
/*font: "FOT-UDKakugo_Large Pr6N semibold 12";*/
font: "TX-02 bold 12";
/* location: 0;*/
/* yoffset: 0;*/
/* xoffset: 0;*/

View file

@ -160,10 +160,11 @@ style = "bg:bright-blue fg:black"
format = '[ $time ]($style)'
[shell]
bash_indicator = ""
bash_indicator = " "
powershell_indicator = " "
zsh_indicator = " "
nu_indicator = "ν"
xonsh_indicator = "🐚"
style = "bg:bright-purple fg:black"
format = '[$indicator]($style)'
disabled = false

View file

@ -1,5 +1,5 @@
# start a terminal
bindsym $mod+Shift+Return exec kitty
bindsym $mod+Return exec ghostty
# kill focused window
bindsym $mod+Shift+q kill
@ -148,3 +148,27 @@ bindsym $mod+Shift+z move workspace to output left
bindsym $mod+Shift+n move container to output up
bindsym $mod+Shift+m move workspace to output up
# Pipewire controls
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
bindsym XF86AudioPlay exec playerctl play-pause
bindsym XF86AudioNext exec playerctl next
bindsym XF86AudioPrev exec playerctl previous
# Sreen brightness controls
bindsym XF86MonBrightnessUp exec brightnessctl -e s 5%+
bindsym XF86MonBrightnessDown exec brightnessctl -e s 5%-
bindsym $mod+b exec xdg-open http://
bindsym $mod+Shift+e exec rofi -show p -modi p:'rofi-power-menu --symbols-font "Symbols Nerd Font Mono"' -theme lunar-witch
bindsym $mod+space exec rofi -combi-modi "drun#run" -show combi -show-icons -theme lunar-witch
bindsym Print exec grim - | tee "$XDG_PICTURES_DIR/screenshots/$(date -Is).png" | wl-copy -t image/png
bindsym Shift+Print exec grim -g "$(slurp)" - | tee "$XDG_PICTURES_DIR/screenshots/$(date -Is).png" | wl-copy -t image/png
bindsym Ctrl+Print exec TEMP=$(mktemp); grim -g "$(slurp)" $TEMP && notify-send "$TEMP" && flatpak run org.gimp.GIMP -- $TEMP
bindsym $mod+Shift+v exec cliphist list | rofi -dmenu -display-columns 2 -p "Select item to copy" -lines 10 -width 35 -theme lunar-witch | cliphist decode | wl-copy
# bindsym $mod+Shift+. exec rofi -show emoji -modi emoji -theme lunar-witch | cb

View file

@ -11,11 +11,15 @@ client.urgent $urgent $urgent $fg $bg $bg
client.placeholder $bg $bg $fg $bg $bg
client.background $bg
font pango:Atkinson Hyperlegible bold 9
# font pango:Atkinson Hyperlegible bold 9
# font pango:FOT-UDKakugo_Large Pr6N semibold 10
font pango:TX-02 bold 11
bar {
status_command i3blocks -c ~/.config/sway/i3blocks.conf
font pango:MonaspiceNe NF, CommitMono Nerd Font, FontAwesome 9
# font pango:MonaspiceNe NF, CommitMono Nerd Font, FontAwesome 9
font pango:TX-02 bold 11
# font pango:FOT-UDKakugo_Large Pr6N semibold 10
#mode hide
colors {
background $inactive

View file

@ -1,7 +0,0 @@
#!/usr/bin/env bash
set -x
killall swhks
source ~/.envrc
SWHKDRC="${XDG_CONFIG_HOME:-$HOME/.config}/swhkd/swhkdrc"
swhks & pkexec swhkd -d -c $SWHKDRC

View file

@ -1,60 +0,0 @@
# Browser
super + b
exec xdg-open http://
# Pipewire controls
XF86AudioRaiseVolume
exec pactl set-sink-volume @DEFAULT_SINK@ +5%;# increase sound volume
XF86AudioLowerVolume
exec pactl set-sink-volume @DEFAULT_SINK@ -5%; # decrease sound volume
XF86AudioMute
exec pactl set-sink-mute @DEFAULT_SINK@ toggle # mute sound
# Media player controls
XF86AudioPlay
exec playerctl play-pause
XF86AudioNext
exec playerctl next
XF86AudioPrev
exec playerctl previous
# Sreen brightness controls
#sudo chmod +s $(which brightnessctl)
XF86MonBrightnessUp
exec brightnessctl -e s 5%+
XF86MonBrightnessDown
exec brightnessctl -e s 5%-
super + enter
exec kitty
super + shift + e
exec rofi \
exec -show p \
exec -modi p:'rofi-power-menu --symbols-font "Symbols Nerd Font Mono"' \
exec -theme lunar-witch
super + space
exec rofi -combi-modi "drun#run" -show combi -show-icons -theme lunar-witch
super + tab
exec rofi -show window -show-icons -theme lunar-witch
print
exec grim - | tee "$XDG_PICTURES_DIR/screenshots/$(date -Is).png" | wl-copy -t image/png
shift + print
exec grim -g "$(slurp)" - | tee "$XDG_PICTURES_DIR/screenshots/$(date -Is).png" | wl-copy -t image/png
ctrl + print
exec TEMP=$(mktemp); grim -g "$(slurp)" $TEMP && notify-send "$TEMP" && flatpak run org.gimp.GIMP -- $TEMP
super + shift + v
exec cliphist list | rofi -dmenu -display-columns 2 -p "Select item to copy" -lines 10 -width 35 -theme lunar-witch | cliphist decode | wl-copy
# super + shift + v
# cb hs $(cb hs | jq '.[] | .content.path? // .content' | rofi -dmenu -format i -theme lunar-witch)
super + shift + .
exec rofi -show emoji -modi emoji -theme lunar-witch | cb

View file

@ -1 +0,0 @@
/home/mira/.config/systemd/user/hotkeys.service

View file

@ -1 +0,0 @@
/usr/lib/systemd/user/syncthing.service