updated
This commit is contained in:
parent
97884ca2f4
commit
66d7ed48b6
7 changed files with 239 additions and 49 deletions
|
@ -295,8 +295,8 @@ List of keybindings (SPC h b b)")
|
||||||
(map! :leader
|
(map! :leader
|
||||||
:desc "Org babel tangle" "m B" #'org-babel-tangle)
|
:desc "Org babel tangle" "m B" #'org-babel-tangle)
|
||||||
(after! org
|
(after! org
|
||||||
(setq org-directory "~/nc/Org/"
|
(setq org-directory "~/Documents/Notes"
|
||||||
org-agenda-files '("~/nc/Org/agenda.org")
|
org-agenda-files '("~/Documents/Agenda/agenda.org")
|
||||||
org-default-notes-file (expand-file-name "notes.org" org-directory)
|
org-default-notes-file (expand-file-name "notes.org" org-directory)
|
||||||
org-ellipsis " ▼ "
|
org-ellipsis " ▼ "
|
||||||
org-superstar-headline-bullets-list '("◉" "●" "○" "◆" "●" "○" "◆")
|
org-superstar-headline-bullets-list '("◉" "●" "○" "◆" "●" "○" "◆")
|
||||||
|
@ -315,12 +315,43 @@ List of keybindings (SPC h b b)")
|
||||||
"TODO(t)" ; A task that is ready to be tackled
|
"TODO(t)" ; A task that is ready to be tackled
|
||||||
"BLOG(b)" ; Blog writing assignments
|
"BLOG(b)" ; Blog writing assignments
|
||||||
"GYM(g)" ; Things to accomplish at the gym
|
"GYM(g)" ; Things to accomplish at the gym
|
||||||
|
"GAME(j)" ; Things to accomplish at the gym
|
||||||
"PROJ(p)" ; A project that contains other tasks
|
"PROJ(p)" ; A project that contains other tasks
|
||||||
"VIDEO(v)" ; Video assignments
|
"VIDEO(v)" ; Video assignments
|
||||||
"WAIT(w)" ; Something is holding up this task
|
"WAIT(w)" ; Something is holding up this task
|
||||||
"|" ; The pipe necessary to separate "active" states and "inactive" states
|
"|" ; The pipe necessary to separate "active" states and "inactive" states
|
||||||
"DONE(d)" ; Task has been completed
|
"DONE(d)" ; Task has been completed
|
||||||
"CANCELLED(c)" )))) ; Task has been cancelled
|
"CANCELLED(c)" )))) ; Task has been cancelled
|
||||||
|
(setq org-agenda-custom-commands
|
||||||
|
'(("p" "Priority view"
|
||||||
|
((tags "PRIORITY=\"A\""
|
||||||
|
((org-agenda-skip-function '(org-agenda-skip-entry-if 'todo 'done))
|
||||||
|
(org-agenda-overriding-header "High priority unfinished tasks:")))
|
||||||
|
(tags "PRIORITY=\"B\""
|
||||||
|
((org-agenda-skip-function '(org-agenda-skip-entry-if 'todo 'done))
|
||||||
|
(org-agenda-overriding-header "Medium priority unfinished tasks:")))
|
||||||
|
(tags "PRIORITY=\"C\""
|
||||||
|
((org-agenda-skip-function '(org-agenda-skip-entry-if 'todo 'done))
|
||||||
|
(org-agenda-overriding-header "Low priority unfinished tasks:")))))
|
||||||
|
("i" "INTEC view"
|
||||||
|
((tags "tareas"
|
||||||
|
((org-agenda-skip-function '(org-agenda-skip-entry-if 'todo 'done))
|
||||||
|
(org-agenda-overriding-header "Tareas por hacer:")))
|
||||||
|
(tags "estudios"
|
||||||
|
((org-agenda-skip-function '(org-agenda-skip-entry-if 'todo 'done))
|
||||||
|
(org-agenda-overriding-header "Estudios por realizar:")))
|
||||||
|
(tags "examen"
|
||||||
|
((org-agenda-skip-function '(org-agenda-skip-entry-if 'todo 'done))
|
||||||
|
(org-agenda-overriding-header "Examenes pendientes:")))))
|
||||||
|
))
|
||||||
|
|
||||||
|
(setq
|
||||||
|
org-agenda-block-separator 985827
|
||||||
|
org-fancy-priorities-list '("" "" "")
|
||||||
|
org-priority-faces
|
||||||
|
'((?A :foreground "#fb4934" :weight bold)
|
||||||
|
(?B :foreground "#fabd2f" :weight bold)
|
||||||
|
(?C :foreground "#83a598" :weight bold)))
|
||||||
|
|
||||||
(defun dt/org-colors-doom-one ()
|
(defun dt/org-colors-doom-one ()
|
||||||
"Enable Doom One colors for Org headers."
|
"Enable Doom One colors for Org headers."
|
||||||
|
@ -560,8 +591,3 @@ List of keybindings (SPC h b b)")
|
||||||
(map! :leader
|
(map! :leader
|
||||||
:desc "Zap to char" "z" #'zap-to-char
|
:desc "Zap to char" "z" #'zap-to-char
|
||||||
:desc "Zap up to char" "Z" #'zap-up-to-char)
|
:desc "Zap up to char" "Z" #'zap-up-to-char)
|
||||||
|
|
||||||
(set-frame-parameter (selected-frame) 'alpha '(98 . 80))
|
|
||||||
(add-to-list 'default-frame-alist '(alpha . (98 . 80)))
|
|
||||||
|
|
||||||
(add-hook 'prog-mode-hook #'lsp)
|
|
||||||
|
|
|
@ -51,8 +51,6 @@
|
||||||
- [[#splits][Splits]]
|
- [[#splits][Splits]]
|
||||||
- [[#winner-mode][Winner mode]]
|
- [[#winner-mode][Winner mode]]
|
||||||
- [[#zap-to-char][Zap to char]]
|
- [[#zap-to-char][Zap to char]]
|
||||||
- [[#transparency][Transparency]]
|
|
||||||
- [[#autostart-lsp][Autostart lsp]]
|
|
||||||
|
|
||||||
* About this config
|
* About this config
|
||||||
This is my personal Doom Emacs config. Doom Emacs is a distribution of Emacs
|
This is my personal Doom Emacs config. Doom Emacs is a distribution of Emacs
|
||||||
|
@ -711,8 +709,8 @@ between my home computer and my office computer.
|
||||||
(map! :leader
|
(map! :leader
|
||||||
:desc "Org babel tangle" "m B" #'org-babel-tangle)
|
:desc "Org babel tangle" "m B" #'org-babel-tangle)
|
||||||
(after! org
|
(after! org
|
||||||
(setq org-directory "~/nc/Org/"
|
(setq org-directory "~/Documents/Notes"
|
||||||
org-agenda-files '("~/nc/Org/agenda.org")
|
org-agenda-files '("~/Documents/Agenda/agenda.org")
|
||||||
org-default-notes-file (expand-file-name "notes.org" org-directory)
|
org-default-notes-file (expand-file-name "notes.org" org-directory)
|
||||||
org-ellipsis " ▼ "
|
org-ellipsis " ▼ "
|
||||||
org-superstar-headline-bullets-list '("◉" "●" "○" "◆" "●" "○" "◆")
|
org-superstar-headline-bullets-list '("◉" "●" "○" "◆" "●" "○" "◆")
|
||||||
|
@ -731,12 +729,44 @@ between my home computer and my office computer.
|
||||||
"TODO(t)" ; A task that is ready to be tackled
|
"TODO(t)" ; A task that is ready to be tackled
|
||||||
"BLOG(b)" ; Blog writing assignments
|
"BLOG(b)" ; Blog writing assignments
|
||||||
"GYM(g)" ; Things to accomplish at the gym
|
"GYM(g)" ; Things to accomplish at the gym
|
||||||
|
"GAME(j)" ; Things to accomplish at the gym
|
||||||
"PROJ(p)" ; A project that contains other tasks
|
"PROJ(p)" ; A project that contains other tasks
|
||||||
"VIDEO(v)" ; Video assignments
|
"VIDEO(v)" ; Video assignments
|
||||||
"WAIT(w)" ; Something is holding up this task
|
"WAIT(w)" ; Something is holding up this task
|
||||||
"|" ; The pipe necessary to separate "active" states and "inactive" states
|
"|" ; The pipe necessary to separate "active" states and "inactive" states
|
||||||
"DONE(d)" ; Task has been completed
|
"DONE(d)" ; Task has been completed
|
||||||
"CANCELLED(c)" )))) ; Task has been cancelled
|
"CANCELLED(c)" )))) ; Task has been cancelled
|
||||||
|
(setq org-agenda-custom-commands
|
||||||
|
'(("p" "Priority view"
|
||||||
|
((tags "PRIORITY=\"A\""
|
||||||
|
((org-agenda-skip-function '(org-agenda-skip-entry-if 'todo 'done))
|
||||||
|
(org-agenda-overriding-header "High priority unfinished tasks:")))
|
||||||
|
(tags "PRIORITY=\"B\""
|
||||||
|
((org-agenda-skip-function '(org-agenda-skip-entry-if 'todo 'done))
|
||||||
|
(org-agenda-overriding-header "Medium priority unfinished tasks:")))
|
||||||
|
(tags "PRIORITY=\"C\""
|
||||||
|
((org-agenda-skip-function '(org-agenda-skip-entry-if 'todo 'done))
|
||||||
|
(org-agenda-overriding-header "Low priority unfinished tasks:")))))
|
||||||
|
("i" "INTEC view"
|
||||||
|
((tags "tareas"
|
||||||
|
((org-agenda-skip-function '(org-agenda-skip-entry-if 'todo 'done))
|
||||||
|
(org-agenda-overriding-header "Tareas por hacer:")))
|
||||||
|
(tags "estudios"
|
||||||
|
((org-agenda-skip-function '(org-agenda-skip-entry-if 'todo 'done))
|
||||||
|
(org-agenda-overriding-header "Estudios por realizar:")))
|
||||||
|
(tags "examen"
|
||||||
|
((org-agenda-skip-function '(org-agenda-skip-entry-if 'todo 'done))
|
||||||
|
(org-agenda-overriding-header "Examenes pendientes:")))))
|
||||||
|
))
|
||||||
|
|
||||||
|
(setq
|
||||||
|
org-agenda-block-separator 985827
|
||||||
|
org-fancy-priorities-list '("" "" "")
|
||||||
|
org-priority-faces
|
||||||
|
'((?A :foreground "#fb4934" :weight bold)
|
||||||
|
(?B :foreground "#fabd2f" :weight bold)
|
||||||
|
(?C :foreground "#83a598" :weight bold)))
|
||||||
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** Org fonts
|
** Org fonts
|
||||||
|
@ -1123,14 +1153,3 @@ the second occurrence of 'e'.
|
||||||
:desc "Zap to char" "z" #'zap-to-char
|
:desc "Zap to char" "z" #'zap-to-char
|
||||||
:desc "Zap up to char" "Z" #'zap-up-to-char)
|
:desc "Zap up to char" "Z" #'zap-up-to-char)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* Transparency
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
|
||||||
(set-frame-parameter (selected-frame) 'alpha '(98 . 80))
|
|
||||||
(add-to-list 'default-frame-alist '(alpha . (98 . 80)))
|
|
||||||
#+END_SRC
|
|
||||||
|
|
||||||
* Autostart lsp
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
|
||||||
(add-hook 'prog-mode-hook #'lsp)
|
|
||||||
#+END_SRC
|
|
||||||
|
|
118
user/.config/neofetch/config.conf
Normal file
118
user/.config/neofetch/config.conf
Normal file
|
@ -0,0 +1,118 @@
|
||||||
|
print_info() {
|
||||||
|
prin " "
|
||||||
|
prin "┌─────────\n Hardware Information \n─────────┐"
|
||||||
|
info " " model
|
||||||
|
info " " cpu
|
||||||
|
info " " gpu
|
||||||
|
info " " memory
|
||||||
|
info " " uptime
|
||||||
|
prin "├─────────\n Software Information \n─────────┤"
|
||||||
|
info " " distro
|
||||||
|
info " " kernel
|
||||||
|
info " " packages
|
||||||
|
info " " wm
|
||||||
|
info " " shell
|
||||||
|
info " " theme
|
||||||
|
info " " icons
|
||||||
|
info " " song
|
||||||
|
# [[ "$player" ]] && prin "Music Player" "$player"
|
||||||
|
# info " " local_ip
|
||||||
|
# info " " public_ip
|
||||||
|
# info " " locale # This only works on glibc systems.
|
||||||
|
prin "└───────────────────────────────────────┘"
|
||||||
|
info cols
|
||||||
|
prin "\n \n \n \n \n ${cl3} \n \n ${cl5} \n \n ${cl2} \n \n ${cl6} \n \n ${cl4} \n \n ${cl1} \n \n ${cl7} \n \n ${cl0}"
|
||||||
|
}
|
||||||
|
|
||||||
|
kernel_shorthand="on"
|
||||||
|
distro_shorthand="off"
|
||||||
|
os_arch="off"
|
||||||
|
uptime_shorthand="on"
|
||||||
|
memory_percent="on"
|
||||||
|
package_managers="on"
|
||||||
|
shell_path="off"
|
||||||
|
shell_version="on"
|
||||||
|
speed_type="bios_limit"
|
||||||
|
speed_shorthand="on"
|
||||||
|
cpu_brand="off"
|
||||||
|
cpu_speed="off"
|
||||||
|
cpu_cores="logical"
|
||||||
|
cpu_temp="off"
|
||||||
|
gpu_brand="off"
|
||||||
|
gpu_type="all"
|
||||||
|
refresh_rate="on"
|
||||||
|
gtk_shorthand="on"
|
||||||
|
gtk2="on"
|
||||||
|
gtk3="on"
|
||||||
|
public_ip_host="http://ident.me"
|
||||||
|
public_ip_timeout=2
|
||||||
|
disk_show=('/')
|
||||||
|
music_player="cmus"
|
||||||
|
song_format="%artist% - %title%"
|
||||||
|
song_shorthand="off"
|
||||||
|
colors=(distro)
|
||||||
|
bold="on"
|
||||||
|
underline_enabled="on"
|
||||||
|
underline_char="-"
|
||||||
|
separator=" "
|
||||||
|
color_blocks="off"
|
||||||
|
block_range=(0 15) # Colorblocks
|
||||||
|
|
||||||
|
# Colors for custom colorblocks
|
||||||
|
magenta="\033[1;35m"
|
||||||
|
green="\033[1;32m"
|
||||||
|
white="\033[1;37m"
|
||||||
|
blue="\033[1;34m"
|
||||||
|
red="\033[1;31m"
|
||||||
|
black="\033[1;40;30m"
|
||||||
|
yellow="\033[1;33m"
|
||||||
|
cyan="\033[1;36m"
|
||||||
|
reset="\033[0m"
|
||||||
|
bgyellow="\033[1;43;33m"
|
||||||
|
bgwhite="\033[1;47;37m"
|
||||||
|
cl0="${reset}"
|
||||||
|
cl1="${magenta}"
|
||||||
|
cl2="${green}"
|
||||||
|
cl3="${white}"
|
||||||
|
cl4="${blue}"
|
||||||
|
cl5="${red}"
|
||||||
|
cl6="${yellow}"
|
||||||
|
cl7="${cyan}"
|
||||||
|
cl8="${black}"
|
||||||
|
cl9="${bgyellow}"
|
||||||
|
cl10="${bgwhite}"
|
||||||
|
|
||||||
|
block_width=4
|
||||||
|
block_height=1
|
||||||
|
|
||||||
|
bar_char_elapsed="-"
|
||||||
|
bar_char_total="="
|
||||||
|
bar_border="on"
|
||||||
|
bar_length=15
|
||||||
|
bar_color_elapsed="distro"
|
||||||
|
bar_color_total="distro"
|
||||||
|
|
||||||
|
cpu_display="on"
|
||||||
|
memory_display="on"
|
||||||
|
battery_display="on"
|
||||||
|
disk_display="on"
|
||||||
|
|
||||||
|
image_backend="chafa"
|
||||||
|
image_source="$HOME/.config/neofetch/img1.png"
|
||||||
|
image_size="320px"
|
||||||
|
image_loop="off"
|
||||||
|
|
||||||
|
aascii_distro="auto"
|
||||||
|
ascii_colors=(distro)
|
||||||
|
ascii_bold="on"
|
||||||
|
|
||||||
|
thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch"
|
||||||
|
crop_mode="normal"
|
||||||
|
crop_offset="center"
|
||||||
|
|
||||||
|
gap=2
|
||||||
|
|
||||||
|
yoffset=0
|
||||||
|
xoffset=0
|
||||||
|
|
||||||
|
stdout="off"
|
BIN
user/.config/neofetch/img1.png
Normal file
BIN
user/.config/neofetch/img1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 65 KiB |
|
@ -10,10 +10,15 @@ cd "$HOME/Media/Pictures/Screenshots" || exit 0
|
||||||
|
|
||||||
## CHOICES ##
|
## CHOICES ##
|
||||||
cho1=" Entire screen"
|
cho1=" Entire screen"
|
||||||
cho2=" Entire screen with delay"
|
cho2=" Entire screen (Copy to clipboard)"
|
||||||
cho3=" Select window or area"
|
cho3=" Entire screen with delay"
|
||||||
cho4=" Exit"
|
cho4=" Entire screen with delay (Copy to clipboard)"
|
||||||
chos="$cho1\n$cho2\n$cho3\n$cho4"
|
cho5=" Select area"
|
||||||
|
cho6=" Select area (Copy to clipboard)"
|
||||||
|
cho7=" Active window"
|
||||||
|
cho8=" Active window (Copy to clipboard)"
|
||||||
|
cho9=" Exit"
|
||||||
|
chos="$cho1\n$cho2\n$cho3\n$cho4\n$cho5\n$cho6\n$cho7\n$cho8\n$cho9"
|
||||||
|
|
||||||
## DELAY OPTIONS ##
|
## DELAY OPTIONS ##
|
||||||
del1=" 3 sec delay"
|
del1=" 3 sec delay"
|
||||||
|
@ -22,22 +27,40 @@ del3=" 10 sec delay"
|
||||||
dels="$del1\n$del2\n$del3"
|
dels="$del1\n$del2\n$del3"
|
||||||
|
|
||||||
## MAIN ACTION ##
|
## MAIN ACTION ##
|
||||||
choice=$(echo -e "$chos" | dmenu -i -p " Sreenshot Menu")
|
choice=$(echo -e "$chos" | dmenu -i -l 9 -p " Sreenshot Menu")
|
||||||
case $choice in
|
case $choice in
|
||||||
"$cho1")
|
"$cho1")
|
||||||
escrotum && notify-send "Screenshot saved";;
|
maim -f jpg $(date +%s).jpg && notify-send "Screenshot saved";;
|
||||||
"$cho2")
|
"$cho2")
|
||||||
|
maim | xclip -selection clipboard -t image/png && notify-send "Screenshot saved to clipboard";;
|
||||||
|
"$cho3")
|
||||||
del=$(echo -e "$dels" | dmenu -i -p " Select Delay");
|
del=$(echo -e "$dels" | dmenu -i -p " Select Delay");
|
||||||
case $del in
|
case $del in
|
||||||
"$del1")
|
"$del1")
|
||||||
escrotum -d 3 -C && notify-send "Screenshot saved";;
|
sleep 3 && maim -f jpg $(date +%s).jpg && notify-send "Screenshot saved";;
|
||||||
"$del2")
|
"$del2")
|
||||||
escrotum -d 5 -C && notify-send "Screenshot saved";;
|
sleep 5 && maim -f jpg $(date +%s).jpg && notify-send "Screenshot saved";;
|
||||||
"$del3")
|
"$del3")
|
||||||
escrotum -d 10 -C && notify-send "Screenshot saved"
|
sleep 10 && maim -f jpg $(date +%s).jpg && notify-send "Screenshot saved"
|
||||||
esac ;;
|
esac ;;
|
||||||
"$cho3")
|
|
||||||
escrotum -s && notify-send "Screenshot saved.";;
|
|
||||||
"$cho4")
|
"$cho4")
|
||||||
|
del=$(echo -e "$dels" | dmenu -i -p " Select Delay");
|
||||||
|
case $del in
|
||||||
|
"$del1")
|
||||||
|
sleep 3 && maim | xclip -selection clipboard -t image/png && notify-send "Screenshot saved to clipboard";;
|
||||||
|
"$del2")
|
||||||
|
sleep 5 && maim | xclip -selection clipboard -t image/png && notify-send "Screenshot saved to clipboard";;
|
||||||
|
"$del3")
|
||||||
|
sleep 10 && maim | xclip -selection clipboard -t image/png && notify-send "Screenshot saved to clipboard"
|
||||||
|
esac ;;
|
||||||
|
"$cho5")
|
||||||
|
maim -s -f jpg $(date +%s).jpg && notify-send "Screenshot saved";;
|
||||||
|
"$cho6")
|
||||||
|
maim -s | xclip -selection clipboard -t image/png && notify-send "Screenshot saved";;
|
||||||
|
"$cho7")
|
||||||
|
maim -i $(xdotool getactivewindow) -f jpg $(date +%s).jpg && notify-send "Screenshot saved";;
|
||||||
|
"$cho8")
|
||||||
|
maim -i $(xdotool getactivewindow) | xclip -selection clipboard -t image/png && notify-send "Screenshot saved";;
|
||||||
|
"$cho9")
|
||||||
exit 0
|
exit 0
|
||||||
esac
|
esac
|
||||||
|
|
|
@ -67,24 +67,29 @@ check() {
|
||||||
|
|
||||||
## MAIN ACTION COMMANDS ##
|
## MAIN ACTION COMMANDS ##
|
||||||
cases=$(echo -e "$options" | dmenu -i -p " Wifi Settings" )
|
cases=$(echo -e "$options" | dmenu -i -p " Wifi Settings" )
|
||||||
case "$cases" in
|
if [ -n "$cases" ]; then
|
||||||
$option1*)
|
case "$cases" in
|
||||||
turnon;;
|
$option1)
|
||||||
$option2*)
|
turnon;;
|
||||||
turnoff;;
|
$option2)
|
||||||
$option3*)
|
turnoff;;
|
||||||
disconnect;;
|
$option3)
|
||||||
$option4*)
|
disconnect;;
|
||||||
connect;
|
$option4)
|
||||||
|
connect;
|
||||||
if [ -n "$bssid" ]; then
|
if [ -n "$bssid" ]; then
|
||||||
password;
|
password;
|
||||||
action;
|
action;
|
||||||
|
sleep 5;
|
||||||
check;
|
check;
|
||||||
else
|
else
|
||||||
exit 0;
|
exit 0;
|
||||||
fi;;
|
fi;;
|
||||||
$option5*)
|
$option5)
|
||||||
$BROWSER http://networkcheck.kde.org;;
|
"$BROWSER" http://networkcheck.kde.org;;
|
||||||
$option6*)
|
$option6)
|
||||||
exit 0
|
exit 0;
|
||||||
esac
|
esac
|
||||||
|
else
|
||||||
|
exit 0;
|
||||||
|
fi
|
||||||
|
|
|
@ -6,8 +6,7 @@
|
||||||
static char *font = "mononoki Nerd Font:pixelsize=16:antialias=true:autohint=true";
|
static char *font = "mononoki Nerd Font:pixelsize=16:antialias=true:autohint=true";
|
||||||
/* Spare fonts */
|
/* Spare fonts */
|
||||||
static char *font2[] = {
|
static char *font2[] = {
|
||||||
/* "Inconsolata for Powerline:pixelsize=12:antialias=true:autohint=true", */
|
"Symbols Nerd Font Mono:pixelsize=16:antialias=true:autohint=true",
|
||||||
/* "Hack Nerd Font Mono:pixelsize=11:antialias=true:autohint=true", */
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static int borderpx = 4;
|
static int borderpx = 4;
|
||||||
|
|
Loading…
Reference in a new issue