Compare commits

..

No commits in common. "b04f3513ae7778a6dcb337bf59f3d6449f21f2b8" and "779566664299e57fcfb545fccbadc94d86269c6a" have entirely different histories.

15 changed files with 67 additions and 245 deletions

View File

@ -26,7 +26,7 @@ source ~/.fehbg
(sleep 0 && ~/bin/keyboard ) & (sleep 0 && ~/bin/keyboard ) &
killall wired killall wired
(sleep 1 && wired ) & (sleep 1 && wired ) &
#(sleep 3 && optimus-manager-qt) & (sleep 3 && optimus-manager-qt) &
(sleep 3 && flameshot) & (sleep 3 && flameshot) &
(sleep 4 && keepassxc) & (sleep 4 && keepassxc) &
@ -34,18 +34,13 @@ killall wired
(sleep 5 && syncthing -no-browser) & (sleep 5 && syncthing -no-browser) &
#(sleep 5 && thunderbird ) & #(sleep 5 && thunderbird ) &
(sleep 7 && bspc rule -r Thunderbird ) &
# Kill all davail instances before launching a single one
kill $(pgrep --full "davmail")
(sleep 5 && davmail ) & (sleep 5 && davmail ) &
(sleep 7 && bspc rule -r Thunderbird ) &
# kill current session and if there is ones waiting to start lol # kill current session and if there is ones waiting to start lol
killall goimapnotify killall goimapnotify
(sleep 55 && killall goimapnotify) & (sleep 55 && killall goimapnotify) &
(sleep 6 && notify-send "STARTUP MSG" "Don't Forget to unlock keepassXC!") &
# start watching all mail dirs # start watching all mail dirs
# moved to file # moved to file
#for imapnotify_config in ~/Documents/passwords/*_imapnotify.json; do #for imapnotify_config in ~/Documents/passwords/*_imapnotify.json; do

View File

@ -1,13 +0,0 @@
#!/bin/sh
intern=eDP-1-1
extern=HDMI-0
if xrandr | grep "$extern disconnected"; then
xrandr --output "$extern" --off --output "$intern" --auto
echo "External Monitor $extern is disconnected"
else
xrandr --output "$intern" --off --output "$extern" --auto
echo " External Monitor $extern is connected"
echo "So, Internal Monitor $intern was shutdown"
fi

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh
grep -qs '^ID=artix$' /etc/os-release \ grep -qs '^ID=arch$' /etc/os-release \
&& { test -e /lib/modules/`uname -r` \ && { test -e /lib/modules/`uname -r` \
|| echo Kernel updated, reboot computer.; } || echo Kernel updated, reboot computer.; }

View File

@ -3,8 +3,6 @@ setxkbmap -option ctrl:swapcaps
setxkbmap -option altwin:swap_lalt_lwin setxkbmap -option altwin:swap_lalt_lwin
setxkbmap -model pc105 -layout us,ar -variant ,qwerty -option grp:shifts_toggle setxkbmap -model pc105 -layout us,ar -variant ,qwerty -option grp:shifts_toggle
xset r rate 300 50
# touchpad touch # touchpad touch
idd=$(xinput --list | grep 'Touchpad' | awk '{print $6}'| cut -d'=' -f2) idd=$(xinput --list | grep 'Touchpad' | awk '{print $6}'| cut -d'=' -f2)
#xinput set-prop $idd 343 1 #xinput set-prop $idd 343 1

View File

@ -34,8 +34,7 @@ bspc config pointer_follows_focus true
bspc rule -a Thunderbird desktop='^8' bspc rule -a Thunderbird desktop='^8'
bspc rule -a KeePassXC desktop='^8' bspc rule -a KeePassXC desktop='^8'
# the confirm dialog # the confirm dialog
bspc rule -a "KeePassXC:*:Confirm Auto-Type" sticky=on bspc rule -a "KeePassXC:Confirm Auto-Type:*" sticky=on
bspc rule -a "Dragon-drag-and-drop" sticky=on
bspc rule -a Dino desktop='^8' bspc rule -a Dino desktop='^8'
bspc rule -a Peek state=floating bspc rule -a Peek state=floating

View File

@ -914,7 +914,6 @@ use-package
:config :config
(require 'org-tempo) (require 'org-tempo)
(require 'org-habit) (require 'org-habit)
(add-to-list 'org-file-apps '("\\.xlsx\\'" . default))
(setq geiser-default-implementation 'guile) (setq geiser-default-implementation 'guile)
(setq org-ellipsis " ⤵") (setq org-ellipsis " ⤵")
(setq org-agenda-start-with-log-mode t) (setq org-agenda-start-with-log-mode t)
@ -934,8 +933,6 @@ use-package
(set-face-attribute (car face) nil :font my/ui/varfont :weight 'regular :height (cdr face))) (set-face-attribute (car face) nil :font my/ui/varfont :weight 'regular :height (cdr face)))
;) ;)
(setq org-todo-keyword-faces `(("NOW" (:foreground "white" :background "#444527"))
("NEXT" (:foreground "bright-white" :background "#444527"))))
(setq org-format-latex-options (plist-put org-format-latex-options :scale 1.5)) (setq org-format-latex-options (plist-put org-format-latex-options :scale 1.5))
;; Ensure that anything that should be fixed-pitch in Org files appears that way ;; Ensure that anything that should be fixed-pitch in Org files appears that way
@ -959,13 +956,6 @@ Capture Templates
:commands (doct)) :commands (doct))
#+end_src #+end_src
** Open with external app
#+begin_src emacs-lisp
;; Excel with xdg-open
;;(add-to-list 'org-file-apps '("\\.xlsx\\'" . default))
;; moved to org use package
#+end_src
** Appearance ** Appearance
*** Symbols *** Symbols
#+begin_src emacs-lisp #+begin_src emacs-lisp
@ -1128,12 +1118,6 @@ From: https://yiufung.net/post/anki-org/
#+end_src #+end_src
** Agenda ** Agenda
*** Customizations
#+begin_src emacs-lisp
;;laggy :(
(setq org-agenda-show-outline-path nil)
#+end_src
*** T/ODOs *** T/ODOs
#+begin_src emacs-lisp #+begin_src emacs-lisp
(setq org-todo-keywords '((sequence "TODO(t)" "NOW(o)" "NEXT(n)" "|" "DONE(d)") (setq org-todo-keywords '((sequence "TODO(t)" "NOW(o)" "NEXT(n)" "|" "DONE(d)")
@ -1387,11 +1371,6 @@ Stolen from: [[https://blog.jethro.dev/posts/processing_inbox/][Org-mode Workflo
(org-pomodoro-manual-break t)) (org-pomodoro-manual-break t))
#+end_src #+end_src
** Org analyzer
#+begin_src emacs-lisp
(use-package org-analyzer)
#+end_src
** org-roam ** org-roam
*** use-package *** use-package
#+begin_src emacs-lisp #+begin_src emacs-lisp
@ -1496,7 +1475,7 @@ Stopped using this, I just use Anki like a normal person
(use-package rainbow-delimiters (use-package rainbow-delimiters
:hook (prog-mode . rainbow-delimiters-mode) :hook (prog-mode . rainbow-delimiters-mode)
(prog-mode . show-paren-mode) (prog-mode . show-paren-mode)
(prog-mode . electric-pair-local-mode) (prog-mode . electric-pair-mode)
) )
#+end_src #+end_src
@ -1641,7 +1620,6 @@ Magit TODOs!
:after magit :after magit
:config (magit-todos-mode 1)) :config (magit-todos-mode 1))
#+end_src #+end_src
*** TODO Forge *** TODO Forge
#+begin_src emacs-lisp #+begin_src emacs-lisp
;(use-package forge) ;(use-package forge)
@ -1709,14 +1687,13 @@ Get treemacs-lsp
:defer t) :defer t)
#+end_src #+end_src
*** Clojure *** COMMENT Clojure
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package cider (use-package cider
:defer t :defer t
:config (require 'flycheck-clj-kondo) :config (require 'flycheck-clj-kondo)
:hook (clojure-mode . zprint-format-on-save-mode) :hook (clojure-mode . zprint-format-on-save-mode)
(clojure-mode . flycheck-mode) (clojure-mode . flycheck-mode)
(clojure-mode . electric-pair-local-mode)
:bind (:map cider-mode-map :bind (:map cider-mode-map
([remap lsp-find-definition] . cider-find-var) ([remap lsp-find-definition] . cider-find-var)
([remap eval-defun] . cider-eval-list-at-point) ([remap eval-defun] . cider-eval-list-at-point)
@ -1891,12 +1868,6 @@ lsp hooks setups
(add-hook 'js-mode-hook 'lsp) (add-hook 'js-mode-hook 'lsp)
#+end_src #+end_src
*** Lua
#+begin_src emacs-lisp
(use-package lua-mode
:hook (lua-mode . lsp))
#+end_src
*** Markdown *** Markdown
Better Diff in header sizes Better Diff in header sizes
#+begin_src emacs-lisp #+begin_src emacs-lisp
@ -2147,14 +2118,6 @@ ivy bibtex
#+end_src #+end_src
*** Nix(OS)
#+begin_src emacs-lisp
(use-package nix-mode
:hook (nix-mode . (lambda ()
(add-hook 'before-save-hook 'nix-mode-format nil t))))
#+end_src
** Tramp ** Tramp
#+begin_src emacs-lisp #+begin_src emacs-lisp
; moved to Git ; moved to Git
@ -2695,18 +2658,6 @@ I prefer text/plain, over everything >:)
#+end_src #+end_src
* Matrix Ement
#+begin_src emacs-lisp
(use-package ement
:straight (ement
:type git
:host github
:repo "alphapapa/ement.el"))
;; :after org-roam ;; or :after org
;; :hook (org-roam . org-roam-ui-mode)
;; :config)
#+end_src
* Buffers and Windows * Buffers and Windows
** COMMENT Workspaces (Persepective ** COMMENT Workspaces (Persepective
#+begin_src emacs-lisp #+begin_src emacs-lisp
@ -2716,6 +2667,7 @@ I prefer text/plain, over everything >:)
(setq persp-keymap-prefix (kbd "SPC <tab>")) (setq persp-keymap-prefix (kbd "SPC <tab>"))
#+end_src #+end_src
* Startpage * Startpage
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package dashboard (use-package dashboard

View File

@ -1,8 +1,12 @@
# Beware! This file is rewritten by htop when settings are changed in the interface. # Beware! This file is rewritten by htop when settings are changed in the interface.
# The parser is also very primitive, and not human-friendly. # The parser is also very primitive, and not human-friendly.
htop_version=3.2.1 htop_version=3.1.2
config_reader_min_version=3 config_reader_min_version=2
fields=0 48 17 18 38 39 40 2 46 47 49 1 fields=0 48 17 18 38 39 40 2 46 47 49 1
sort_key=46
sort_direction=-1
tree_sort_key=46
tree_sort_direction=1
hide_kernel_threads=1 hide_kernel_threads=1
hide_userland_threads=1 hide_userland_threads=1
shadow_other_users=0 shadow_other_users=0
@ -17,12 +21,16 @@ highlight_changes_delay_secs=5
find_comm_in_cmdline=1 find_comm_in_cmdline=1
strip_exe_from_cmdline=1 strip_exe_from_cmdline=1
show_merged_command=1 show_merged_command=1
tree_view=0
tree_view_always_by_pid=0
all_branches_collapsed=0
header_margin=1 header_margin=1
screen_tabs=1
detailed_cpu_time=0 detailed_cpu_time=0
cpu_count_from_one=1 cpu_count_from_one=1
show_cpu_usage=1 show_cpu_usage=1
show_cpu_frequency=0 show_cpu_frequency=0
show_cpu_temperature=0
degree_fahrenheit=0
update_process_names=0 update_process_names=0
account_guest_in_cpu_meter=0 account_guest_in_cpu_meter=0
color_scheme=0 color_scheme=0
@ -32,28 +40,5 @@ hide_function_bar=0
header_layout=two_50_50 header_layout=two_50_50
column_meters_0=LeftCPUs2 CPU Battery Blank Blank Blank Memory NetworkIO DiskIO column_meters_0=LeftCPUs2 CPU Battery Blank Blank Blank Memory NetworkIO DiskIO
column_meter_modes_0=1 1 1 2 2 2 3 4 4 column_meter_modes_0=1 1 1 2 2 2 3 4 4
column_meters_1=RightCPUs2 Memory Zram Swap Blank Blank Blank LoadAverage Uptime Tasks column_meters_1=RightCPUs2 Memory Swap Blank Blank Blank LoadAverage Uptime Tasks
column_meter_modes_1=1 1 1 1 2 2 2 3 4 4 column_meter_modes_1=1 1 1 2 2 2 3 4 4
tree_view=0
sort_key=46
tree_sort_key=46
sort_direction=-1
tree_sort_direction=1
tree_view_always_by_pid=0
all_branches_collapsed=0
screen:Main=PID USER PRIORITY NICE M_VIRT M_RESIDENT M_SHARE STATE PERCENT_CPU PERCENT_MEM TIME Command
.sort_key=PERCENT_CPU
.tree_sort_key=PERCENT_CPU
.tree_view=0
.tree_view_always_by_pid=0
.sort_direction=-1
.tree_sort_direction=1
.all_branches_collapsed=0
screen:I/O=PID USER IO_PRIORITY IO_RATE IO_READ_RATE IO_WRITE_RATE PERCENT_SWAP_DELAY PERCENT_IO_DELAY Command
.sort_key=IO_WRITE_RATE
.tree_sort_key=PID
.tree_view=0
.tree_view_always_by_pid=0
.sort_direction=-1
.tree_sort_direction=1
.all_branches_collapsed=0

View File

@ -1,44 +0,0 @@
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# https://forum.archlabslinux.com/t/polybar-mirrored-laptop-hdmi-monitor-i3-workspaces-issue/3398
# Polybar has issues, so just disconnect internal monitor
~/bin/disconnect-internal-monitor.sh
eval `ssh-agent -s`
# 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
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
if [ $# -gt 0 ]; then
$*
else
dbus-launch /usr/bin/bspwm
fi

View File

@ -1,42 +0,0 @@
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
eval `ssh-agent -s`
# 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
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
if [ $# -gt 0 ]; then
$*
else
/usr/bin/bspwm
fi

View File

@ -65,7 +65,7 @@ type = custom/script
exec-if = pgrep keepassxc exec-if = pgrep keepassxc
exec = secret-tool lookup check status &> /dev/null && echo " " exec = secret-tool lookup check status &> /dev/null && echo " "
interval = 20 interval = 5
format = <label> format = <label>
label-padding = 1 label-padding = 1

View File

@ -2024,10 +2024,7 @@ c.tabs.show = 'multiple'
## Type: Dict ## Type: Dict
c.url.searchengines = {'DEFAULT': 'https://searx.neocities.org/?q={}', c.url.searchengines = {'DEFAULT': 'https://searx.neocities.org/?q={}',
'wa':"https://wiki.archlinux.org/?search={}", 'wa':"https://wiki.archlinux.org/?search={}",
'aur':
"https://aur.archlinux.org/packages?O=0&SeB=nd&K={}&outdated=&SB=p&SO=d&PP=50&submit=Go",
'go':"http://google.com/search?q={}", 'go':"http://google.com/search?q={}",
'ar':"http://web.archive.org/web/*/{}",
'ddg':"https://duckduckgo.com/?q={}", 'ddg':"https://duckduckgo.com/?q={}",
} }

View File

@ -8,5 +8,5 @@
// @run-at document-start // @run-at document-start
// ==/UserScript== // ==/UserScript==
location.href=location.href.replace("twitter.com","nitter.net"); location.href=location.href.replace("twitter.com","nitter.kavin.rocks");

View File

@ -34,8 +34,6 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then
unset f unset f
fi fi
if [ $# -gt 0 ]; then /usr/bin/prime-offload
$* /usr/bin/bspwm
else sudo /usr/bin/prime-switch
dbus-launch /usr/bin/bspwm
fi

View File

@ -1,7 +1,7 @@
# format with playlist_index # format with playlist_index
-o "%(playlist_index)s-%(title)s.%(ext)s" -o "%(playlist_index)s-%(title)s.%(ext)s"
#--write-subs --write-subs
--embed-subs --embed-subs
--write-auto-subs --write-auto-subs
--sub-langs "en.*" #--sub-langs all,-live_chat

View File

@ -81,14 +81,11 @@ setopt HIST_IGNORE_ALL_DUPS # do not put duplicated command into history list
setopt HIST_IGNORE_SPACE # Remove commands from history when the first character is a space setopt HIST_IGNORE_SPACE # Remove commands from history when the first character is a space
setopt HIST_SAVE_NO_DUPS # do not save duplicated command setopt HIST_SAVE_NO_DUPS # do not save duplicated command
setopt HIST_REDUCE_BLANKS # remove unnecessary blanks setopt HIST_REDUCE_BLANKS # remove unnecessary blanks
setopt INC_APPEND_HISTORY_TIME # append command to history file immediately after execution
setopt EXTENDED_HISTORY # record command start time
setopt CORRECT # Correct spelling of commands setopt CORRECT # Correct spelling of commands
setopt CORRECT_ALL # Correct spelling of arguments setopt CORRECT_ALL # Correct spelling of arguments
setopt INTERACTIVE_COMMENTS # can have comments at the prompt setopt INTERACTIVE_COMMENTS # can have comments at the prompt
setopt HIST_VERIFY # history expansions get verified in a new line
setopt SHARE_HISTORY # SHARE_HISTORY between zsh sessins
# disabled due to SHARE_HISTORY being used
#setopt INC_APPEND_HISTORY_TIME # append command to history file immediately after execution
setopt EXTENDED_HISTORY # record command start time
SAVEHIST=1000 SAVEHIST=1000
HISTSIZE=1000 HISTSIZE=1000
HISTFILE="$HOME/.local/share/zsh/zsh_history" HISTFILE="$HOME/.local/share/zsh/zsh_history"