Compare commits

..

No commits in common. "7075dad3964b726ed78619773ece2bc57906c08e" and "6d8f842798b0eff6437607a9e4c3c58062de5933" have entirely different histories.

4 changed files with 13 additions and 14 deletions

View file

@ -1,4 +1,4 @@
font=IosevkaTerm Nerd Font:size=10 font=Iosevka Nerd Font:size=10
dpi-aware=yes dpi-aware=yes
pad=4x2 center pad=4x2 center

View file

@ -8,7 +8,6 @@ return {
wk.add({ wk.add({
{ '<leader>f', group = 'find' }, { '<leader>f', group = 'find' },
{ '<leader>h', group = 'help' }, { '<leader>h', group = 'help' },
{ '<leader>e', group = 'explore' },
}) })
end, end,
} }

View file

@ -12,6 +12,7 @@ return {
"MunifTanjim/nui.nvim", "MunifTanjim/nui.nvim",
}, },
keys = { keys = {
{ '<leader>e', group = 'neotree' },
{ '<leader>ee', ':Neotree toggle<CR>', desc='toggle' }, { '<leader>ee', ':Neotree toggle<CR>', desc='toggle' },
} }
} }

View file

@ -1,18 +1,16 @@
#!/bin/sh #!/bin/sh
# Variables # Variables
term="foot" # term="foot"
term_client="footclient" # term_client="footclient"
term_float="foot --app-id=float -w 1120x700" # term_float="foot --app-id=float -w 1120x700"
# term="kitty" term="kitty"
# term_client="kitty" term_client="kitty"
# term_float="kitty --app-id=float -w 1120x700" term_float="kitty --app-id=float -w 1120x700"
browser="firefox" browser="firefox"
email="thunderbird" email="thunderbird"
emacs="emacsclient --create-frame --alternate-editor='emacs'" emacs="emacsclient --create-frame --alternate-editor='emacs'"
mod=Super mod=Super
books="$HOME/.local/bin/books.sh"
papers="$HOME/.local/bin/papers.sh"
wobsock=$XDG_RUNTIME_DIR/wob.sock wobsock=$XDG_RUNTIME_DIR/wob.sock
rm -f $wobsock && mkfifo $wobsock && tail -f $wobsock | wob & rm -f $wobsock && mkfifo $wobsock && tail -f $wobsock | wob &
@ -23,8 +21,8 @@ riverctl map normal $mod+Shift Return spawn $term
riverctl map normal $mod Semicolon spawn fuzzel riverctl map normal $mod Semicolon spawn fuzzel
riverctl map normal $mod BracketRight spawn "$browser" riverctl map normal $mod BracketRight spawn "$browser"
riverctl map normal $mod T spawn "$email" riverctl map normal $mod T spawn "$email"
riverctl map normal $mod Z spawn "$books" riverctl map normal $mod Z spawn "books.sh"
riverctl map normal $mod Y spawn "$papers" riverctl map normal $mod Y spawn "papers.sh"
riverctl map normal $mod E spawn "$emacs" riverctl map normal $mod E spawn "$emacs"
riverctl map normal $mod+Control O spawn "swaylock" riverctl map normal $mod+Control O spawn "swaylock"
@ -154,7 +152,7 @@ scratch_tag=$((1 << 20))
riverctl map normal $mod Slash toggle-focused-tags $scratch_tag riverctl map normal $mod Slash toggle-focused-tags $scratch_tag
riverctl map normal $mod+Shift Slash set-view-tags $scratch_tag riverctl map normal $mod+Shift Slash set-view-tags $scratch_tag
riverctl map normal $mod+Control Slash toggle-view-tags $scratch_tag riverctl map normal $mod+Control Slash toggle-view-tags $scratch_tag
riverctl map normal $mod S spawn "$term_float" riverctl map normal $mod S spawn $term_float
riverctl rule-add -app-id float float riverctl rule-add -app-id float float
# SSD (so GTK apps show border) # SSD (so GTK apps show border)
@ -172,6 +170,7 @@ riverctl rule-add -app-id com.github.xournalpp.xournalpp ssd
# spawn stuff # spawn stuff
pgrep wbg || wbg ~/.config/wallpaper.png & pgrep wbg || wbg ~/.config/wallpaper.png &
wlr-randr --output eDP-1 --scale 1.25 wlr-randr --output eDP-1 --scale 1.25
# pgrep yambar || yambar &
pgrep waybar || waybar & pgrep waybar || waybar &
# mako stuff # mako stuff
@ -183,7 +182,7 @@ riverctl map normal $mod+Shift D spawn 'makoctl dismiss --all'
blueman-applet & blueman-applet &
# foot server # foot server
foot --server & # TODO: figure out systemd service # foot --server & # TODO: figure out systemd service
# pianobar # pianobar
riverctl map normal $mod+Shift S spawn '~/.config/pianobar/change_station.sh' riverctl map normal $mod+Shift S spawn '~/.config/pianobar/change_station.sh'