WIP emacs
This commit is contained in:
parent
a07b3e6f63
commit
4cb3de339a
18
apps/config
Normal file
18
apps/config
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
|
||||||
|
;; Added by Package.el. This must come before configurations of
|
||||||
|
;; installed packages. Don't delete this line. If you don't want it,
|
||||||
|
;; just comment it out by adding a semicolon to the start of the line.
|
||||||
|
;; You may delete these explanatory comments.
|
||||||
|
|
||||||
|
;; jk<up><down><escape>
|
||||||
|
|
||||||
|
(require 'package)
|
||||||
|
(add-to-list 'package-archives '("org" . "https://orgmode.org/elpa/"))
|
||||||
|
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
|
||||||
|
(add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/"))
|
||||||
|
(package-initialize)
|
||||||
|
|
||||||
|
;; Given all of this, just `package-refresh-contents`
|
||||||
|
|
||||||
|
(require 'evil)
|
||||||
|
(evil-mode 5)
|
|
@ -5,6 +5,7 @@
|
||||||
|
|
||||||
. "$DOTFILES_PATH/bin/prelude"
|
. "$DOTFILES_PATH/bin/prelude"
|
||||||
|
|
||||||
|
# killall -9 dunst &> /dev/null
|
||||||
# killall -9 urxvtd
|
# killall -9 urxvtd
|
||||||
# urxvtd &
|
# urxvtd &
|
||||||
|
|
||||||
|
@ -25,11 +26,9 @@ export MOZ_ENABLE_WAYLAND=1
|
||||||
# configuration flag for some of my dotfiles scripts
|
# configuration flag for some of my dotfiles scripts
|
||||||
export IS_WAYLAND=1
|
export IS_WAYLAND=1
|
||||||
|
|
||||||
mako &
|
|
||||||
killall -9 dunst &> /dev/null
|
|
||||||
|
|
||||||
sway
|
sway
|
||||||
|
|
||||||
|
# mako &
|
||||||
# has_command libinput-gestures-setup && libinput-gestures-setup start
|
# has_command libinput-gestures-setup && libinput-gestures-setup start
|
||||||
# has_command kdeconnect-indicator && kdeconnect-indicator &
|
# has_command kdeconnect-indicator && kdeconnect-indicator &
|
||||||
# has_command gnome-keyring-daemon && eval "$(gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)"
|
# has_command gnome-keyring-daemon && eval "$(gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)"
|
||||||
|
|
8
bin/clip
8
bin/clip
|
@ -1,7 +1,13 @@
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
if is_wayland; then
|
||||||
|
# echo "Clip: YES. THIS IS WAYLAND SPEAKING." >&2
|
||||||
|
sed 's/^\s+//g' | wl-copy "$@"
|
||||||
|
echo "Your trimmed input was stored in all clipboards."
|
||||||
|
else
|
||||||
xclip -selection primary
|
xclip -selection primary
|
||||||
xclip -selection primary -out | xclip -selection clipboard
|
xclip -selection primary -out | xclip -selection clipboard
|
||||||
xclip -selection primary -out | xclip -selection secondary
|
xclip -selection primary -out | xclip -selection secondary
|
||||||
echo "Your input was stored in all clipboards."
|
echo "Your input was stored in all clipboards."
|
||||||
sleep 5 && killall xclip &>/dev/null &
|
sleep 5 && killall xclip > /dev/null 2>&1 &
|
||||||
|
fi
|
||||||
|
|
4
bin/getip
Executable file
4
bin/getip
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
curl -s --connect-timeout 3 --max-time 10 --retry 5 --retry-delay 0 \
|
||||||
|
--retry-max-time 40 "$@" ifconfig.co/json | jq
|
|
@ -1,3 +1,3 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
(test -z "$DISPLAY" || test -n "$WAYLAND_DISPLAY" || test -n "$SWAYSOCK" || test "$IS_WAYLAND" -eq 1)
|
test "$IS_WAYLAND" == "1" || test -n "$WAYLAND_DISPLAY" || test -n "$SWAYSOCK" || test -z "$DISPLAY"
|
||||||
|
|
|
@ -48,6 +48,7 @@ links=(
|
||||||
"apps/neovim/" "$HOME/.vim"
|
"apps/neovim/" "$HOME/.vim"
|
||||||
"apps/neovim/init.vim" "$HOME/.vimrc"
|
"apps/neovim/init.vim" "$HOME/.vimrc"
|
||||||
"bin/lib/colors/vim" "$XDG_CONFIG_HOME/nvim/colors/base16-donokai.vim"
|
"bin/lib/colors/vim" "$XDG_CONFIG_HOME/nvim/colors/base16-donokai.vim"
|
||||||
|
"apps/emacs/config" "$HOME/.emacs"
|
||||||
|
|
||||||
# gtk configuration files
|
# gtk configuration files
|
||||||
"apps/de/gtk/2rc" "$HOME/.gtkrc-2.0"
|
"apps/de/gtk/2rc" "$HOME/.gtkrc-2.0"
|
||||||
|
|
Reference in a new issue