mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-11-25 00:38:23 -05:00
Preparation for EXWM
This commit is contained in:
parent
5255ea5c2b
commit
2dfd894bff
@ -10,7 +10,7 @@
|
||||
|
||||
=> is bloated (I use a lot of programs, sometimes just to try out)
|
||||
=> yet clean (follow XDG base directory specification)
|
||||
=> for [bspwm](https://github.com/baskerville/bspwm), [spectrwm](https://github.com/conformal/spectrwm), [sway](https://github.com/swaywm/sway), [wayfire](https://github.com/WayfireWM/wayfire), [river](https://github.com/ifreund/river), [hikari](https://hikari.acmelabs.space/)
|
||||
=> for [bspwm](https://github.com/baskerville/bspwm), [spectrwm](https://github.com/conformal/spectrwm), [sway](https://github.com/swaywm/sway), [wayfire](https://github.com/WayfireWM/wayfire), [river](https://github.com/ifreund/river), [hikari](https://hikari.acmelabs.space/) (and [exwm](https://github.com/ch11ng/exwm) occasionally)
|
||||
=> and features [Nord](https://github.com/arcticicestudio/nord) and [OneDark](https://github.com/joshdick/onedark.vim) colorschemes
|
||||
|
||||
![sway](https://git.disroot.org/FollieHiyuki/dotfiles/raw/branch/master/assets/sway.png)
|
||||
@ -50,6 +50,7 @@
|
||||
- [ ] NixOS / Guix / Gentoo / FreeBSD
|
||||
- [ ] New Neovim's config in Lua
|
||||
- [ ] My own ~/.emacs.d
|
||||
- [ ] Org Babel to manage dotfiles
|
||||
|
||||
### :star2: Credits & License
|
||||
|
||||
|
@ -399,7 +399,7 @@ alias vi='nvim -o "$(fzf)"'
|
||||
# emacs
|
||||
alias doom="$HOME/.config/emacs/bin/doom"
|
||||
alias e="emacs -nw"
|
||||
alias emacs="emacsclient -c -a 'emacs'"
|
||||
alias em="emacsclient -c -a 'emacs'"
|
||||
# rsync
|
||||
alias rsyncdir="rsync -uavP --delete-after"
|
||||
alias rsyncfile="rsync -avP"
|
||||
|
@ -2,18 +2,8 @@
|
||||
|
||||
userresources=$HOME/.config/X11/Xresources
|
||||
usermodmap=$HOME/.config/X11/Xmodmap
|
||||
sysresources=/etc/X11/xinit/.Xresources
|
||||
sysmodmap=/etc/X11/xinit/.Xmodmap
|
||||
|
||||
# merge in defaults and keymaps
|
||||
if [ -f $sysresources ]; then
|
||||
xrdb -merge $sysresources
|
||||
fi
|
||||
|
||||
if [ -f $sysmodmap ]; then
|
||||
xmodmap $sysmodmap
|
||||
fi
|
||||
|
||||
if [ -f "$userresources" ]; then
|
||||
xrdb -merge "$userresources"
|
||||
fi
|
||||
@ -22,23 +12,15 @@ if [ -f "$usermodmap" ]; then
|
||||
xmodmap "$usermodmap"
|
||||
fi
|
||||
|
||||
# start some nice programs
|
||||
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
|
||||
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
|
||||
[ -x "$f" ] && . "$f"
|
||||
done
|
||||
unset f
|
||||
fi
|
||||
|
||||
pipewire &
|
||||
if ! pgrep -f mpd > /dev/null ;
|
||||
if ! pgrep -f mpd > /dev/null
|
||||
then
|
||||
mpd &
|
||||
fi
|
||||
dunst &
|
||||
greenclip daemon &
|
||||
ibus-daemon -drx &
|
||||
emacs --daemon &
|
||||
# emacs --daemon &
|
||||
picom -b &
|
||||
# xrandr --output eDP-1 --primary --auto --output DP-2 --left-of eDP-1 --auto --output HDMI-2 --right-of eDP-1 --auto &
|
||||
# $HOME/.local/bin/garbage/off_touch &
|
||||
@ -53,5 +35,6 @@ session=${1:-spectrwm}
|
||||
case $session in
|
||||
bspwm ) exec bspwm ;;
|
||||
spectrwm ) exec spectrwm -c ~/.config/spectrwm/spectrwm-nord.conf ;;
|
||||
exwm ) exec dbus-run-session emacs -mm --debug-init -l ~/.config/doom/exwm.el ;;
|
||||
* ) exec "$1" ;;
|
||||
esac
|
||||
|
@ -34,7 +34,10 @@
|
||||
;; (delete ".." (directory-files (expand-file-name "images" doom-private-dir))))))
|
||||
(setq +doom-dashboard-banner-file "yukino.png"
|
||||
+doom-dashboard-banner-dir (expand-file-name "images" doom-private-dir)
|
||||
+doom-dashboard-banner-padding '(0 . 2))
|
||||
+doom-dashboard-banner-padding '(0 . 2)
|
||||
+doom-dashboard-functions '(doom-dashboard-widget-banner
|
||||
doom-dashboard-widget-shortmenu
|
||||
doom-dashboard-widget-loaded))
|
||||
|
||||
;; Line number
|
||||
(setq display-line-numbers-type 'relative)
|
||||
@ -125,9 +128,10 @@
|
||||
;; "e n" #'emms-next)
|
||||
|
||||
;; Modeline
|
||||
;;(display-time-mode 1)
|
||||
;;(if (not (equal "Battery status not available" (battery)))
|
||||
;; (display-battery-mode 1))
|
||||
(setq display-time-day-and-date t)
|
||||
(display-time-mode 1)
|
||||
(if (not (equal "Battery status not available" (battery)))
|
||||
(display-battery-mode 1))
|
||||
;;(emms-mode-line 1)
|
||||
(setq doom-modeline-unicode-fallback t)
|
||||
|
||||
|
@ -50,6 +50,8 @@
|
||||
;(unpin! t)
|
||||
|
||||
;; Emacs is an OS
|
||||
(package! exwm)
|
||||
(package! desktop-environment)
|
||||
;;(package! emms)
|
||||
|
||||
;; Syntax
|
||||
|
@ -35,7 +35,7 @@ abbr vi 'nvim -o (fzf)'
|
||||
# emacs
|
||||
alias doom='$HOME/.config/emacs/bin/doom'
|
||||
abbr e 'emacs -nw'
|
||||
alias emacs="emacsclient -c -a 'emacs'"
|
||||
abbr em "emacsclient -c -a 'emacs'"
|
||||
# rsync
|
||||
abbr rsyncdir "rsync -uavP --delete-after"
|
||||
abbr rsyncfile "rsync -avP"
|
||||
|
@ -81,7 +81,7 @@
|
||||
"python.linting.enabled": true,
|
||||
"python.linting.banditEnabled": true,
|
||||
"clangd.arguments": [
|
||||
"-j=3",
|
||||
"-j=2",
|
||||
"--background-index",
|
||||
"--clang-tidy",
|
||||
"--completion-style=detailed",
|
||||
|
@ -118,7 +118,7 @@ idle = swayidle -w before-sleep swaylock
|
||||
|
||||
# XDG desktop portal
|
||||
# Needed by some GTK applications
|
||||
# portal = /usr/libexec/xdg-desktop-portal
|
||||
portal = /usr/libexec/xdg-desktop-portal
|
||||
|
||||
pipewire = pipewire
|
||||
|
||||
|
@ -30,7 +30,7 @@ alias vi='nvim -o "$(fzf)"'
|
||||
# emacs
|
||||
alias doom="$HOME/.config/emacs/bin/doom"
|
||||
alias e="emacs -nw"
|
||||
alias emacs="emacsclient -c -a 'emacs'"
|
||||
alias em="emacsclient -c -a 'emacs'"
|
||||
# rsync
|
||||
alias rsyncdir="rsync -uavP --delete-after"
|
||||
alias rsyncfile="rsync -avP"
|
||||
|
@ -10,6 +10,8 @@ abbr no="grep -viP"
|
||||
abbr sduo="sudo"
|
||||
abbr v="nvim"
|
||||
abbr vi='nvim -o "$(fzf)"'
|
||||
abbr e='emacs -nw'
|
||||
abbr em="emacsclient -c -a 'emacs'"
|
||||
abbr youbest="youtube-dl -f bestvideo+bestaudio"
|
||||
abbr youflac="youtube-dl --extract-audio --audio-format flac"
|
||||
abbr youlist="youtube-dl -f bestvideo+bestaudio --yes-playlist"
|
||||
|
Loading…
Reference in New Issue
Block a user