Browse Source

general cleanup

main
Michael Pappe 4 months ago
parent
commit
1a08aa6946
  1. BIN
      .asset/neofetch.png
  2. 73
      .config/doom/README.md
  3. 13
      .config/doom/config.el
  4. 15
      .config/doom/config.org
  5. 2
      .config/doom/init.el
  6. 24
      .config/kitty/kitty.conf
  7. 18
      .config/neofetch/config
  8. 65
      .local/bin/dim-screen.sh
  9. 6
      .zshrc##h.frankenbook
  10. 2
      README.md
  11. 6
      README.org

BIN
.asset/neofetch.png

Before

Width: 1280  |  Height: 800  |  Size: 320 KiB

After

Width: 1280  |  Height: 800  |  Size: 456 KiB

73
.config/doom/README.md

@ -1,20 +1,21 @@
- [Personal Info](#org6dd7c0f)
- [General](#org3cf0a13)
- [Appearance](#orgc849fc1)
- [DOOM THEME](#orgf775c00)
- [FONTS](#orgc2f8c23)
- [Bindings](#orgbafbefe)
- [Packages](#org71fca1f)
- [ORG MODE](#orgccb705e)
- [Ox-gfm](#org17a1a0c)
- [vterm](#orga4a609d)
- [Modeline](#org2f1214b)
- [dokuwiki](#orgbba1f85)
- [mu4e](#org59107dd)
- [Personal Info](#orgee7d0a7)
- [General](#org1248b1d)
- [Are we running on a GUI Emacs?](#org73a1f60)
- [Appearance](#org94ab7f2)
- [DOOM THEME](#org277633d)
- [FONTS](#org9b0b6e2)
- [Bindings](#org0bac93b)
- [Packages](#orgba35b2e)
- [ORG MODE](#orgb96e2e7)
- [Ox-gfm](#orgb30b2ef)
- [vterm](#orgc322150)
- [Modeline](#orgaa4bf18)
- [dokuwiki](#org1e0f339)
- [mu4e](#org4ae7383)
<a id="org6dd7c0f"></a>
<a id="orgee7d0a7"></a>
# Personal Info
@ -26,17 +27,27 @@ Some functionality uses this to identify you, e.g. GPG configuration, email clie
```
<a id="org3cf0a13"></a>
<a id="org1248b1d"></a>
# General
<a id="orgc849fc1"></a>
<a id="org73a1f60"></a>
## Are we running on a GUI Emacs?
```emacs-lisp
(defconst *sys/gui*
(display-graphic-p))
```
<a id="org94ab7f2"></a>
# Appearance
<a id="orgf775c00"></a>
<a id="org277633d"></a>
## DOOM THEME
@ -50,7 +61,7 @@ Setting the theme to doom-one. To try out new themes, I set a keybinding for cou
```
<a id="orgc2f8c23"></a>
<a id="org9b0b6e2"></a>
## FONTS
@ -75,17 +86,17 @@ Settings related to fonts within Doom Emacs:
```
<a id="orgbafbefe"></a>
<a id="org0bac93b"></a>
# Bindings
<a id="org71fca1f"></a>
<a id="orgba35b2e"></a>
# Packages
<a id="orgccb705e"></a>
<a id="orgb96e2e7"></a>
## ORG MODE
@ -147,7 +158,7 @@ Note that I wrapped most of this in (after! org). Without this, my settings migh
```
<a id="org17a1a0c"></a>
<a id="orgb30b2ef"></a>
## Ox-gfm
@ -159,7 +170,7 @@ Github Flavored Markdown exporter for Org Mode
```
<a id="orga4a609d"></a>
<a id="orgc322150"></a>
## vterm
@ -171,7 +182,7 @@ Github Flavored Markdown exporter for Org Mode
```
<a id="org2f1214b"></a>
<a id="orgaa4bf18"></a>
# Modeline
@ -188,7 +199,7 @@ Github Flavored Markdown exporter for Org Mode
(setq doom-modeline-major-mode-color-icon t)
;; Whether display the icon for the buffer state. It respects `doom-modeline-icon'.
(setq doom-modeline-buffer-state-icon t)
(setq doom-modeline-buffer-state-icon nil)
;; Whether display the modification icon for the buffer.
;; It respects `doom-modeline-icon' and `doom-modeline-buffer-state-icon'.
@ -200,10 +211,18 @@ Github Flavored Markdown exporter for Org Mode
;; Whether display the minor modes in the mode-line.
(setq doom-modeline-minor-modes nil)
(after! doom-modeline
(doom-modeline-def-modeline 'main
'(bar matches buffer-info remote-host buffer-position parrot selection-info)
'(misc-info minor-modes checker input-method buffer-encoding major-mode process vcs " ")))
;;(setq all-the-icons-scale-factor 1.0)
;;(custom-set-faces!
;; '(mode-line :family "MesloLGSDZ Nerd Font Mono" :height 1.0)
;; '(mode-line-inactive :family "MesloLGSDZ Nerd Font Mono" :height 1.0))
```
<a id="orgbba1f85"></a>
<a id="org1e0f339"></a>
# dokuwiki
@ -213,7 +232,7 @@ Github Flavored Markdown exporter for Org Mode
```
<a id="org59107dd"></a>
<a id="org4ae7383"></a>
# mu4e

13
.config/doom/config.el

@ -1,5 +1,7 @@
(setq user-full-name "Michael Pappe"
user-mail-address "nokogiri@gefjon.org")
(defconst *sys/gui*
(display-graphic-p))
(setq doom-theme 'doom-gruvbox)
(map! :leader
:desc "change theme"
@ -77,7 +79,7 @@
(setq doom-modeline-major-mode-color-icon t)
;; Whether display the icon for the buffer state. It respects `doom-modeline-icon'.
(setq doom-modeline-buffer-state-icon t)
(setq doom-modeline-buffer-state-icon nil)
;; Whether display the modification icon for the buffer.
;; It respects `doom-modeline-icon' and `doom-modeline-buffer-state-icon'.
@ -88,6 +90,15 @@
;; Whether display the minor modes in the mode-line.
(setq doom-modeline-minor-modes nil)
(after! doom-modeline
(doom-modeline-def-modeline 'main
'(bar matches buffer-info remote-host buffer-position parrot selection-info)
'(misc-info minor-modes checker input-method buffer-encoding major-mode process vcs " ")))
;;(setq all-the-icons-scale-factor 1.0)
;;(custom-set-faces!
;; '(mode-line :family "MesloLGSDZ Nerd Font Mono" :height 1.0)
;; '(mode-line-inactive :family "MesloLGSDZ Nerd Font Mono" :height 1.0))
(setq dokuwiki-xml-rpc-url "https://feedme.fishoeder.net/lib/exe/xmlrpc.php")
(setq dokuwiki-login-user-name "nokogiri")
(add-to-list 'load-path "/usr/share/emacs/site-lisp/mu4e")

15
.config/doom/config.org

@ -14,7 +14,12 @@ Some functionality uses this to identify you, e.g. GPG configuration, email clie
#+END_SRC
* General
** Are we running on a GUI Emacs?
#+BEGIN_SRC emacs-lisp
(defconst *sys/gui*
(display-graphic-p))
#+END_SRC
* Appearance
** DOOM THEME
@ -137,7 +142,7 @@ Github Flavored Markdown exporter for Org Mode
(setq doom-modeline-major-mode-color-icon t)
;; Whether display the icon for the buffer state. It respects `doom-modeline-icon'.
(setq doom-modeline-buffer-state-icon t)
(setq doom-modeline-buffer-state-icon nil)
;; Whether display the modification icon for the buffer.
;; It respects `doom-modeline-icon' and `doom-modeline-buffer-state-icon'.
@ -149,6 +154,14 @@ Github Flavored Markdown exporter for Org Mode
;; Whether display the minor modes in the mode-line.
(setq doom-modeline-minor-modes nil)
(after! doom-modeline
(doom-modeline-def-modeline 'main
'(bar matches buffer-info remote-host buffer-position parrot selection-info)
'(misc-info minor-modes checker input-method buffer-encoding major-mode process vcs " ")))
;;(setq all-the-icons-scale-factor 1.0)
;;(custom-set-faces!
;; '(mode-line :family "MesloLGSDZ Nerd Font Mono" :height 1.0)
;; '(mode-line-inactive :family "MesloLGSDZ Nerd Font Mono" :height 1.0))
#+END_SRC
* dokuwiki

2
.config/doom/init.el

@ -35,7 +35,7 @@
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
;;hydra
;;indent-guides ; highlighted indent columns
;;ligatures ; ligatures and symbols to make your code pretty again
ligatures ; ligatures and symbols to make your code pretty again
;;minimap ; show a map of the code on the side
modeline ; snazzy, Atom-inspired modeline, plus API
;;nav-flash ; blink cursor line after big motions

24
.config/kitty/kitty.conf

@ -3,11 +3,15 @@
touch_scroll_multiplier 6.0
#: Fonts {{{
font_family MesloLGSDZNerdFontCompleteM-Regular
bold_font MesloLGSDZNerdFontCompleteM-Bold
italic_font MesloLGSDZNerdFontCompleteM-Italic
bold_italic_font MesloLGSDZ-Nerd-Font-Mono
font_size 9.5
font_family CaskaydiaCoveNerdFontCompleteM-Regular
bold_font CaskaydiaCoveNerdFontCompleteM-Bold
italic_font CaskaydiaCoveNerdFontCompleteM-
bold_italic_font CaskaydiaCoveNerdFontCompleteM-SemiBold
#font_family MesloLGSDZNerdFontCompleteM-Regular
#bold_font MesloLGSDZNerdFontCompleteM-Bold
#italic_font MesloLGSDZNerdFontCompleteM-Italic
#bold_italic_font MesloLGSDZ-Nerd-Font-Mono
font_size 10
adjust_line_height 0
adjust_column_width 0
@ -23,13 +27,6 @@ disable_ligatures never
box_drawing_scale 0.001, 1, 1.5, 2
#: Change the sizes of the lines used for the box drawing unicode
#: characters These values are in pts. They will be scaled by the
#: monitor DPI to arrive at a pixel value. There must be four values
#: corresponding to thin, normal, thick, and very thick lines.
#symbol_map U+2800-U+28FF Symbola
#font_features FiraCodeNerdFontCompleteM-Regular +zero +ss02 +ss04 +ss06 +ss07
#: }}}
#: Cursor customization {{{
@ -246,8 +243,7 @@ active_tab_title_template {title}
#: Color scheme {{{
background_opacity 0.98
background_opacity 0.92
#: The opacity of the background. A number between 0 and 1, where 1 is
#: opaque and 0 is fully transparent. This will only work if
#: supported by the OS (for instance, when using a compositor under

18
.config/neofetch/config

@ -13,31 +13,29 @@ print_info() {
info line_break
info title
info underline
info underline
info "OS" distro
info "Model" model
info "Kernel" kernel
info "Packages" packages
info "Memory" memory
info "Disk" disk
info "Uptime" uptime
#info "Memory" memory
#info "Disk" disk
#info "Uptime" uptime
info "Terminal" term
info "Terminal Font" term_font
info "Shell" shell
info "Resolution" resolution
info "WM" wm
info "Theme" theme
info "Icons" icons
#info "Theme" theme
#info "Icons" icons
info "Font" font
info "CPU" cpu
info "GPU" gpu
#info "GPU" gpu
#info "Song" song
#info "Local IP" local_ip
#info "Public IP" public_ip
#info "Users" users
#info "Install Date" install_date
#info line_break
#info cols
#info line_break
@ -225,7 +223,7 @@ gpu_brand="on"
#
# integrated:
# GPU1: Intel Integrated Graphics
gpu_type="all"
gpu_type="integrated"
# Resolution
@ -618,7 +616,7 @@ crop_offset="center"
# Values: 'auto', '00px', '00%', 'none'
# Flags: --image_size
# --size
image_size="256px"
image_size="160px"
# Ggap between image and text
#

65
.local/bin/dim-screen.sh

@ -1,65 +0,0 @@
#!/bin/bash
# Example notifier script -- lowers screen brightness, then waits to be killed
# and restores previous brightness on exit.
## CONFIGURATION ##############################################################
# Brightness will be lowered to this value.
min_brightness=20
# If your video driver works with xbacklight, set -time and -steps for fading
# to $min_brightness here. Setting steps to 1 disables fading.
fade_time=200
fade_steps=20
# If you have a driver without RandR backlight property (e.g. radeon), set this
# to use the sysfs interface and create a .conf file in /etc/tmpfiles.d/
# containing the following line to make the sysfs file writable for group
# "users":
#
# m /sys/class/backlight/acpi_video0/brightness 0664 root users - -
#
#sysfs_path=/sys/class/backlight/acpi_video0/brightness
# Time to sleep (in seconds) between increments when using sysfs. If unset or
# empty, fading is disabled.
fade_step_time=0.05
###############################################################################
get_brightness() {
if [[ -z $sysfs_path ]]; then
xbacklight -get
else
cat $sysfs_path
fi
}
set_brightness() {
if [[ -z $sysfs_path ]]; then
xbacklight -steps 1 -set $1
else
echo $1 > $sysfs_path
fi
}
fade_brightness() {
if [[ -z $sysfs_path ]]; then
xbacklight -time $fade_time -steps $fade_steps -set $1
elif [[ -z $fade_step_time ]]; then
set_brightness $1
else
local level
for level in $(eval echo {$(get_brightness)..$1}); do
set_brightness $level
sleep $fade_step_time
done
fi
}
trap 'exit 0' TERM INT
trap "set_brightness $(get_brightness); kill %%" EXIT
fade_brightness $min_brightness
sleep 2147483647 &
wait

6
.zshrc##h.frankenbook

@ -1,5 +1,5 @@
# -------------------------------------------------------------------------------------------------
# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
# -*- mode: sh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
# vim: ft=zsh sw=2 ts=2 et foldmethod=marker
# -------------------------------------------------------------------------------------------------
#
@ -117,3 +117,7 @@ if [[ "$INSIDE_EMACS" = 'vterm' ]] \
&& [[ -f ${EMACS_VTERM_PATH}/etc/emacs-vterm-bash.sh ]]; then
source ${EMACS_VTERM_PATH}/etc/emacs-vterm-zsh.sh
fi
# Local Variables:
# mode: sh
# End:

2
README.md

@ -18,7 +18,7 @@ A collection of my accumulated dotfiles, right now really messy and anythig but
## wlogout
[![img](.asset/wlogout_thumb.png "Desktop wlogout")](.asset/wlogout.png)
[![img](.asset/wlogout_thumb.png "wlogout")](.asset/wlogout.png)
# Used Software:

6
README.org

@ -14,13 +14,13 @@ Feel free to use.
** Neofetch
#+CAPTION: Desktop neofetch
#+NAME: neofetch
#+ATTR_HTML: :alt Desktop neofetch :title Desktop neofetch :align left
#+ATTR_HTML: :alt neofetch :title neofetch :align left
[[file:.asset/neofetch.png][file:.asset/neofetch_thumb.png]]
** wlogout
#+CAPTION: Desktop wlogout
#+CAPTION: wlogout
#+NAME: wlogout
#+ATTR_HTML: :alt Desktop wlogout :title Desktop wlogout :align left
#+ATTR_HTML: :alt wlogout :title wlogout :align left
[[file:.asset/wlogout.png][file:.asset/wlogout_thumb.png]]

Loading…
Cancel
Save