Compare commits

...

4 commits

7 changed files with 30 additions and 9 deletions

View file

@ -16,6 +16,9 @@
(fset 'yes-or-no-p 'y-or-n-p)
(setq default-frame-alist '((undecorated . t)))
(scroll-bar-mode -1)
; get rid of that stupid popup
(setq native-comp-async-report-warnings-errors 'silent)
#+end_src
** Backups
#+begin_src emacs-lisp
@ -412,6 +415,9 @@ I don't really use markdown ([[Org Mode]] is a strict improvement imo), but it's
"NN" "\\N"
"ZZ" "\\Z"
"QQ" "\\Q"
"rt" "\\upharpoonright"
"bt" "\\bullet"
"'d" "^\\bullet"
"oo" "\\circ"
"RR" "\\R"
"CC" "\\C"
@ -425,7 +431,6 @@ I don't really use markdown ([[Org Mode]] is a strict improvement imo), but it's
"s=" "\\subseteq"
"s<" "\\subset"
"invs" "^{-1}"
"opl" "\\oplus"
"td" (lambda () (interactive)
(yas-expand-snippet "^{$1}$0"))
"__" (lambda () (interactive)
@ -439,6 +444,8 @@ I don't really use markdown ([[Org Mode]] is a strict improvement imo), but it's
I use [[https://abode.karthinks.com/org-latex-preview/][this]] fork of org-mode in order to have amazing latex previews. /Make sure to follow the installation instructions!/ It's supposed to eventually be merged into org proper, which is very exciting. I'm already pretty dependent on this feature (the previews are just that good), so I'll have to use this until it gets merged, but that's fine with me.
#+begin_src emacs-lisp
(use-package org-mode
:vc (:url "https://code.tecosaur.net/tec/org-mode"
:branch "dev")
:load-path "~/dotfiles/emacs/.config/emacs/elpa/org-mode/lisp/"
:init
(setq org-list-allow-alphabetical t)

View file

@ -1,7 +1,7 @@
# This file contains fish universal variable definitions.
# VERSION: 3.0
SETUVAR --export FZF_DEFAULT_OPTS:\x2d\x2dcolor\x3dbg\x2b\x3a\x23313244\x2cbg\x3a\x231e1e2e\x2cspinner\x3a\x23f5e0dc\x2chl\x3a\x23f38ba8\x20\x2d\x2dcolor\x3dfg\x3a\x23cdd6f4\x2cheader\x3a\x23f38ba8\x2cinfo\x3a\x23cba6f7\x2cpointer\x3a\x23f5e0dc\x20\x2d\x2dcolor\x3dmarker\x3a\x23f5e0dc\x2cfg\x2b\x3a\x23cdd6f4\x2cprompt\x3a\x23cba6f7\x2chl\x2b\x3a\x23f38ba8
SETUVAR --export GPG_TTY:/dev/pts/0
SETUVAR --export GPG_TTY:not\x20a\x20tty
SETUVAR --export SSH_AGENT_PID:786479
SETUVAR --export SSH_AUTH_SOCK:/home/wball/\x2ebitwarden\x2dssh\x2dagent\x2esock
SETUVAR ZO_CMD:zo

15
kwm/.config/kwm/bluetooth.sh Executable file
View file

@ -0,0 +1,15 @@
#!/bin/sh
case "$1" in
--connect)
notify-send 'bluetooth' 'Connecting to Headphones'
bluetoothctl connect "88:C9:E8:D7:60:85"
;;
--disconnect)
notify-send 'bluetooth' 'Disconnecting Headphones'
bluetoothctl disconnect "88:C9:E8:D7:60:85"
;;
*)
exit 1
;;
esac

View file

@ -468,7 +468,7 @@
.event = .{
.click = .{
.pressed = .{
.spawn = .{ .argv = .{ "bluetoothctl", "connect", "88:C9:E8:D7:60:85" } },
.spawn = .{ .argv = .{ "/home/wball/.config/kwm/bluetooth.sh", "--connect" } },
},
},
},
@ -479,7 +479,7 @@
.event = .{
.click = .{
.pressed = .{
.spawn = .{ .argv = .{ "bluetoothctl", "disconnect", "88:C9:E8:D7:60:85" } },
.spawn = .{ .argv = .{ "/home/wball/.config/kwm/bluetooth.sh", "--disconnect" } },
},
},
},

View file

@ -10,7 +10,7 @@ emacs --daemon &
# swayidle
pgrep swayidle || swayidle -w \
timeout 300 '$HOME/.config/river/timeout.sh' \
timeout 300 '$HOME/.config/kwm/timeout.sh' \
before-sleep 'swaylock -f -c 000000' &
# gnome-keyring (needed for nextcloud to remember login)

View file

@ -22,6 +22,9 @@ export MOZ_ENABLE_WAYLAND=1
export ELECTRON_OZONE_PLATFORM_HINT=auto
export GDK_BACKEND=wayland
# set up bitwarden ssh-agent
export SSH_AUTH_SOCK=$HOME/.bitwarden-ssh-agent.sock
# Miscellaneous
export LESSHISTFILE=-
export INPUTRC="$HOME/.config/readline/inputrc"

View file

@ -1,6 +1,2 @@
export XDG_CONFIG_HOME="$HOME/.config"
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
. "/home/wball/.local/share/cargo/env"
if [ -e /home/wball/.nix-profile/etc/profile.d/nix.sh ]; then . /home/wball/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer
[[ ! -r '/home/wball/.local/share/opam/opam-init/init.zsh' ]] || source '/home/wball/.local/share/opam/opam-init/init.zsh' > /dev/null 2> /dev/null