diff --git a/user/.config/doom/config.el b/user/.config/doom/config.el index c8ff9d6c5..84d28f5e8 100644 --- a/user/.config/doom/config.el +++ b/user/.config/doom/config.el @@ -295,8 +295,8 @@ List of keybindings (SPC h b b)") (map! :leader :desc "Org babel tangle" "m B" #'org-babel-tangle) (after! org - (setq org-directory "~/nc/Org/" - org-agenda-files '("~/nc/Org/agenda.org") + (setq org-directory "~/Documents/Notes" + org-agenda-files '("~/Documents/Agenda/agenda.org") org-default-notes-file (expand-file-name "notes.org" org-directory) org-ellipsis " ▼ " 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 "BLOG(b)" ; Blog writing assignments "GYM(g)" ; Things to accomplish at the gym + "GAME(j)" ; Things to accomplish at the gym "PROJ(p)" ; A project that contains other tasks "VIDEO(v)" ; Video assignments "WAIT(w)" ; Something is holding up this task "|" ; The pipe necessary to separate "active" states and "inactive" states "DONE(d)" ; Task has been completed "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 () "Enable Doom One colors for Org headers." @@ -560,8 +591,3 @@ List of keybindings (SPC h b b)") (map! :leader :desc "Zap to char" "z" #'zap-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) diff --git a/user/.config/doom/config.org b/user/.config/doom/config.org index 209981ef7..c29e6d66f 100644 --- a/user/.config/doom/config.org +++ b/user/.config/doom/config.org @@ -51,8 +51,6 @@ - [[#splits][Splits]] - [[#winner-mode][Winner mode]] - [[#zap-to-char][Zap to char]] -- [[#transparency][Transparency]] -- [[#autostart-lsp][Autostart lsp]] * About this config 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 :desc "Org babel tangle" "m B" #'org-babel-tangle) (after! org - (setq org-directory "~/nc/Org/" - org-agenda-files '("~/nc/Org/agenda.org") + (setq org-directory "~/Documents/Notes" + org-agenda-files '("~/Documents/Agenda/agenda.org") org-default-notes-file (expand-file-name "notes.org" org-directory) org-ellipsis " ▼ " 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 "BLOG(b)" ; Blog writing assignments "GYM(g)" ; Things to accomplish at the gym + "GAME(j)" ; Things to accomplish at the gym "PROJ(p)" ; A project that contains other tasks "VIDEO(v)" ; Video assignments "WAIT(w)" ; Something is holding up this task "|" ; The pipe necessary to separate "active" states and "inactive" states "DONE(d)" ; Task has been completed "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 ** Org fonts @@ -1123,14 +1153,3 @@ the second occurrence of 'e'. :desc "Zap to char" "z" #'zap-to-char :desc "Zap up to char" "Z" #'zap-up-to-char) #+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 diff --git a/user/.config/neofetch/config.conf b/user/.config/neofetch/config.conf new file mode 100644 index 000000000..6365d291f --- /dev/null +++ b/user/.config/neofetch/config.conf @@ -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" diff --git a/user/.config/neofetch/img1.png b/user/.config/neofetch/img1.png new file mode 100644 index 000000000..876a1bb3f Binary files /dev/null and b/user/.config/neofetch/img1.png differ diff --git a/user/.config/suckless/dmenu/scripts/dmenu_scrot b/user/.config/suckless/dmenu/scripts/dmenu_scrot index 8fc01c55e..0d7056a73 100755 --- a/user/.config/suckless/dmenu/scripts/dmenu_scrot +++ b/user/.config/suckless/dmenu/scripts/dmenu_scrot @@ -10,10 +10,15 @@ cd "$HOME/Media/Pictures/Screenshots" || exit 0 ## CHOICES ## cho1="󱣴 Entire screen" -cho2="󱎫 Entire screen with delay" -cho3="󱕻 Select window or area" -cho4="󱎘 Exit" -chos="$cho1\n$cho2\n$cho3\n$cho4" +cho2="󱣴 Entire screen (Copy to clipboard)" +cho3="󱎫 Entire screen with delay" +cho4="󱎫 Entire screen with delay (Copy to clipboard)" +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 ## del1="󱑀 3 sec delay" @@ -22,22 +27,40 @@ del3="󱑇 10 sec delay" dels="$del1\n$del2\n$del3" ## 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 "$cho1") - escrotum && notify-send "Screenshot saved";; + maim -f jpg $(date +%s).jpg && notify-send "Screenshot saved";; "$cho2") + maim | xclip -selection clipboard -t image/png && notify-send "Screenshot saved to clipboard";; + "$cho3") del=$(echo -e "$dels" | dmenu -i -p " Select Delay"); case $del in "$del1") - escrotum -d 3 -C && notify-send "Screenshot saved";; + sleep 3 && maim -f jpg $(date +%s).jpg && notify-send "Screenshot saved";; "$del2") - escrotum -d 5 -C && notify-send "Screenshot saved";; + sleep 5 && maim -f jpg $(date +%s).jpg && notify-send "Screenshot saved";; "$del3") - escrotum -d 10 -C && notify-send "Screenshot saved" + sleep 10 && maim -f jpg $(date +%s).jpg && notify-send "Screenshot saved" esac ;; - "$cho3") - escrotum -s && notify-send "Screenshot saved.";; "$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 esac diff --git a/user/.config/suckless/dmenu/scripts/dmenu_wifi b/user/.config/suckless/dmenu/scripts/dmenu_wifi index de8893e18..e93733ecc 100755 --- a/user/.config/suckless/dmenu/scripts/dmenu_wifi +++ b/user/.config/suckless/dmenu/scripts/dmenu_wifi @@ -67,24 +67,29 @@ check() { ## MAIN ACTION COMMANDS ## cases=$(echo -e "$options" | dmenu -i -p " Wifi Settings" ) -case "$cases" in - $option1*) - turnon;; - $option2*) - turnoff;; - $option3*) - disconnect;; - $option4*) - connect; +if [ -n "$cases" ]; then + case "$cases" in + $option1) + turnon;; + $option2) + turnoff;; + $option3) + disconnect;; + $option4) + connect; if [ -n "$bssid" ]; then password; action; + sleep 5; check; else exit 0; fi;; - $option5*) - $BROWSER http://networkcheck.kde.org;; - $option6*) - exit 0 -esac + $option5) + "$BROWSER" http://networkcheck.kde.org;; + $option6) + exit 0; + esac +else + exit 0; +fi diff --git a/user/.config/suckless/st/config.h b/user/.config/suckless/st/config.h index 69e2d4e32..077d9034d 100644 --- a/user/.config/suckless/st/config.h +++ b/user/.config/suckless/st/config.h @@ -6,8 +6,7 @@ static char *font = "mononoki Nerd Font:pixelsize=16:antialias=true:autohint=true"; /* Spare fonts */ static char *font2[] = { -/* "Inconsolata for Powerline:pixelsize=12:antialias=true:autohint=true", */ -/* "Hack Nerd Font Mono:pixelsize=11:antialias=true:autohint=true", */ + "Symbols Nerd Font Mono:pixelsize=16:antialias=true:autohint=true", }; static int borderpx = 4;