Compare commits

..

6 commits

8 changed files with 31 additions and 7 deletions

View file

@ -306,6 +306,11 @@
:custom :custom
(c-default-style '((java-mode . "java") (awk-mode . "awk") (other . "linux")))) (c-default-style '((java-mode . "java") (awk-mode . "awk") (other . "linux"))))
#+end_src #+end_src
** Prolog
#+begin_src emacs-lisp
(use-package ediprolog
:bind (("C-c C-e" . ediprolog-dwim)))
#+end_src
* Latex * Latex
** Auctex ** Auctex
#+begin_src emacs-lisp #+begin_src emacs-lisp

View file

@ -2,6 +2,9 @@ font=IosevkaTerm Nerd Font:size=10
dpi-aware=yes dpi-aware=yes
pad=4x2 center pad=4x2 center
[cursor]
blink=yes
[colors] [colors]
foreground=cdd6f4 # Text foreground=cdd6f4 # Text
background=1e1e2e # Base background=1e1e2e # Base

View file

@ -1,4 +1,8 @@
return { return {
{
'norcalli/nvim-colorizer.lua',
config = true
},
{ {
'catppuccin/nvim', 'catppuccin/nvim',
name = 'catppuccin', name = 'catppuccin',
@ -9,7 +13,7 @@ return {
}) })
vim.cmd.colorscheme([[catppuccin-mocha]]) vim.cmd.colorscheme([[catppuccin-mocha]])
end end
} },
-- { -- {
-- "Mofiqul/adwaita.nvim", -- "Mofiqul/adwaita.nvim",
-- lazy = false, -- lazy = false,

View file

@ -1,5 +1,6 @@
#!/bin/bash #!/bin/bash
choice=$(cat "$HOME/.config/pianobar/info" | grep "station[0-9]" | cut -d "=" -f 2 | fuzzel --dmenu) dmenu="bemenu -p station --center --list 20 down --width-factor 0.5 --border 2 --bdr #f6c2e7"
choice=$(cat "$HOME/.config/pianobar/info" | grep "station[0-9]" | cut -d "=" -f 2 | $dmenu)
[ -z "$choice" ] || echo "s$(cat "$HOME/.config/pianobar/info" | grep "$choice" | cut -d "=" -f 1 | sed "s/station//")" > "$HOME/.config/pianobar/ctl" [ -z "$choice" ] || echo "s$(cat "$HOME/.config/pianobar/info" | grep "$choice" | cut -d "=" -f 1 | sed "s/station//")" > "$HOME/.config/pianobar/ctl"

View file

@ -4,7 +4,7 @@
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"
browser="librewolf" browser="qutebrowser"
email="thunderbird" email="thunderbird"
emacs="emacsclient --create-frame --alternate-editor='emacs'" emacs="emacsclient --create-frame --alternate-editor='emacs'"
mod=Super mod=Super
@ -17,13 +17,17 @@ rm -f $wobsock && mkfifo $wobsock && tail -f $wobsock | wob &
# Launch things # Launch things
riverctl map normal $mod Return spawn $term_client riverctl map normal $mod Return spawn $term_client
riverctl map normal $mod+Shift Return spawn $term riverctl map normal $mod+Shift Return spawn $term
riverctl map normal $mod Semicolon spawn fuzzel riverctl map normal $mod R span "bemenu-run -p launch"
riverctl map normal $mod Semicolon spawn "bemenu-run -p launch"
riverctl map normal $mod+Shift P spawn "passmenu -p password"
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"
riverctl map normal $mod Y spawn "$papers" riverctl map normal $mod Y spawn "$papers"
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"
riverctl map normal $mod B spawn "bluetoothctl connect 88:C9:E8:D7:60:85"
riverctl map normal $mod+Shift B spawn "bluetoothctl disconnect 88:C9:E8:D7:60:85"
# Close windows & exit wm # Close windows & exit wm
riverctl map normal $mod+Shift C close riverctl map normal $mod+Shift C close
@ -129,7 +133,8 @@ riverctl border-width 2
# options # options
riverctl set-repeat 50 300 riverctl set-repeat 50 300
riverctl keyboard-layout -options "altwin:swap_lalt_lwin" us # riverctl keyboard-layout -options "altwin:swap_lalt_lwin" us
riverctl keyboard-layout -options "grp:alt_space_toggle" -variant ,dvorak us,us
riverctl focus-follows-cursor normal riverctl focus-follows-cursor normal
riverctl hide-cursor timeout 10000 riverctl hide-cursor timeout 10000
@ -184,6 +189,9 @@ blueman-applet &
# foot server # foot server
foot --server & # TODO: figure out systemd service foot --server & # TODO: figure out systemd service
# emacs daemon
emacs --daemon
# 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'
riverctl map normal $mod P spawn 'echo "p" > ~/.config/pianobar/ctl' riverctl map normal $mod P spawn 'echo "p" > ~/.config/pianobar/ctl'

View file

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
prefix=$HOME/Nextcloud/Books/ prefix=$HOME/Nextcloud/Books/
dmenu="fuzzel -d -w 60" dmenu="bemenu -p books --center --list 20 down --width-factor 0.5 --border 2 --bdr #f6c2e7"
pdf=zathura pdf=zathura
choice=$(find $prefix -type f | sed "s|$prefix||;s/_/ /g" | $dmenu) choice=$(find $prefix -type f | sed "s|$prefix||;s/_/ /g" | $dmenu)

View file

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
prefix=$HOME/Nextcloud/Papers/ prefix=$HOME/Nextcloud/Papers/
dmenu="fuzzel -d -w 60" dmenu="bemenu -p papers --center --list 20 down --width-factor 0.5 --border 2 --bdr #f6c2e7"
pdf=zathura pdf=zathura
choice=$(find $prefix -type f | sed "s|$prefix||;s/_/ /g" | $dmenu) choice=$(find $prefix -type f | sed "s|$prefix||;s/_/ /g" | $dmenu)

View file

@ -3,6 +3,9 @@
# Add directories to PATH # Add directories to PATH
export PATH="$HOME/.local/share/cargo/bin:$HOME/.cache/cabal/bin:$HOME/.local/bin:$HOME/j9.5/bin:$HOME/.local/share/rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin:/usr/lib/smlnj/bin:$HOME/.config/emacs/bin:$HOME/.elan/bin:$HOME/.local/share/pack/bin:$PATH" export PATH="$HOME/.local/share/cargo/bin:$HOME/.cache/cabal/bin:$HOME/.local/bin:$HOME/j9.5/bin:$HOME/.local/share/rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin:/usr/lib/smlnj/bin:$HOME/.config/emacs/bin:$HOME/.elan/bin:$HOME/.local/share/pack/bin:$PATH"
# Bemenu
export BEMENU_OPTS='--fb "#1e1e2e" --ff "#cdd6f4" --nb "#1e1e2e" --nf "#cdd6f4" --tb "#1e1e2e" --hb "#1e1e2e" --tf "#f5c2e7" --hf "#f9e2af" --af "#cdd6f4" --ab "#1e1e2e" --fn "Iosevka Nerd Font 16" --hp 5 --no-overlap --wrap'
# XDG directories # XDG directories
export XDG_CACHE_HOME="$HOME/.cache" export XDG_CACHE_HOME="$HOME/.cache"
export XDG_CONFIG_HOME="$HOME/.config" export XDG_CONFIG_HOME="$HOME/.config"