read the diff man

This commit is contained in:
2024-05-29 11:59:36 +03:00
parent b07f9872d3
commit b1b3235f34
7 changed files with 45 additions and 65 deletions

View File

@@ -1,28 +1,21 @@
#!/bin/bash #!/bin/bash
#Restart Discord pog ##Restart Discord pog
if pgrep "discord-canary" > /dev/null ##This stinks
then # if pgrep "discord-canary" > /dev/null
killall DiscordCanary # then
discord-canary & # killall DiscordCanary
fi # discord-canary &
if pgrep "obsidian" > /dev/null # fi
then # if pgrep "obsidian" > /dev/null
killall obsidian # then
Obsidian.AppImage & # killall obsidian
fi # Obsidian.AppImage &
# fi
if pgrep "Discord" > /dev/null # if pgrep "Discord" > /dev/null
then # then
killall Discord # killall Discord
discord & # discord &
fi # fi
# #Kitty Config
# echo "
# include misc.conf
# include themes/gruvbox_dark.conf" > ~/.config/kitty/kitty.conf
# #Zathura poggers
# echo "
# misc.conf
# include gruvbox-dark.conf" > ~/.config/zathura/zathurarc
sed -i -e 's/light/dark/g' ~/.config/rofi/config.rasi ~/.config/zathura/zathurarc ~/.config/kitty/kitty.conf sed -i -e 's/light/dark/g' ~/.config/rofi/config.rasi ~/.config/zathura/zathurarc ~/.config/kitty/kitty.conf
sed -i -e 's/prefer-dark-theme=0/prefer-dark-theme=1/g' ~/.config/gtk-3.0/settings.ini sed -i -e 's/prefer-dark-theme=0/prefer-dark-theme=1/g' ~/.config/gtk-3.0/settings.ini

View File

@@ -145,7 +145,7 @@ export PATH=$PATH:/opt/gradle/gradle-6.9.4/bin
export TERMINAL=kitty export TERMINAL=kitty
export MPD_HOST=127.0.0.1 export MPD_HOST=127.0.0.1
export MPD_PORT=6969 export MPD_PORT=6969
export EDITOR="emacs -nw" export EDITOR="emacsclient -nc --alternate-editor="""
function reload_gtk_theme() { function reload_gtk_theme() {
theme=$(gsettings get org.gnome.desktop.interface gtk-theme) theme=$(gsettings get org.gnome.desktop.interface gtk-theme)
@@ -227,3 +227,4 @@ unset __conda_setup
export XDG_DATA_DIRS=$XDG_DATA_DIRS:$HOME export XDG_DATA_DIRS=$XDG_DATA_DIRS:$HOME
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion

View File

@@ -1,21 +1,22 @@
#!/bin/bash #!/bin/bash
#Restart Discord pog # #Restart Discord pog
if pgrep "discord-canary" > /dev/null # #This stinks
then # if pgrep "discord-canary" > /dev/null
killall DiscordCanary # then
discord-canary & # killall DiscordCanary
fi # discord-canary &
if pgrep "Discord" > /dev/null # fi
then # if pgrep "Discord" > /dev/null
killall Discord # then
discord & # killall Discord
fi # discord &
if pgrep "obsidian" > /dev/null # fi
then # if pgrep "obsidian" > /dev/null
killall obsidian # then
Obsidian.AppImage & # killall obsidian
fi # Obsidian.AppImage &
# fi
#Kitty Config #Kitty Config
# echo " # echo "
# include misc.conf # include misc.conf

View File

@@ -358,9 +358,6 @@
(add-to-list 'auto-mode-alist '("\\.pde$" . processing-mode)) (add-to-list 'auto-mode-alist '("\\.pde$" . processing-mode))
(setq-default processing-location "~/bin/processing-java") (setq-default processing-location "~/bin/processing-java")
;; idk what this is ;; idk what this is
(map! :leader
:nv "n d" #'org-agenda-day-view
)
;;org-agenda filter ;;org-agenda filter
(custom-set-variables (custom-set-variables
'(org-agenda-custom-commands '(org-agenda-custom-commands
@@ -412,9 +409,9 @@ awqat-times-for-day)
;; Telega and ranger ;; Telega and ranger
(map! :leader (map! :leader
:nv "o g" #'telega :nv "o g" #'telega
)
(map! :leader
:nv "o r" #'ranger :nv "o r" #'ranger
:nv "o p" #'org-pomodoro
:nv "n d" #'org-agenda-day-view
) )
(setq-default org-roam-extract-new-file-path "${slug}.org" ) (setq-default org-roam-extract-new-file-path "${slug}.org" )

View File

@@ -99,7 +99,7 @@
magit ; a git porcelain for Emacs magit ; a git porcelain for Emacs
;;make ; run make tasks from Emacs ;;make ; run make tasks from Emacs
;;pass ; password manager for nerds ;;pass ; password manager for nerds
;;pdf ; pdf enhancements pdf ; pdf enhancements
;;prodigy ; FIXME managing external services & code builders ;;prodigy ; FIXME managing external services & code builders
;;rgb ; creating color strings ;;rgb ; creating color strings
;;taskrunner ; taskrunner for all your projects ;;taskrunner ; taskrunner for all your projects

View File

@@ -58,6 +58,7 @@
:repo "zkry/awqat")) :repo "zkry/awqat"))
(package! org-contrib) (package! org-contrib)
(package! ponylang-mode) (package! ponylang-mode)
(package! org-pomodoro)
;; Doom's packages are pinned to a specific commit and updated from release to ;; Doom's packages are pinned to a specific commit and updated from release to
;; release. The `unpin!' macro allows you to unpin single packages... ;; release. The `unpin!' macro allows you to unpin single packages...
;(unpin! pinned-package) ;(unpin! pinned-package)

View File

@@ -18,25 +18,9 @@ bindsym $mod+shift+F1 exec --no-startup-id playerctl previous
#polybar #polybar
exec_always ~/.config/polybar/launch.sh --blocks exec_always ~/.config/polybar/launch.sh --blocks
#bar {
# font pango:DejaVU Sans Mono, PowerlineSymbols 12
# status_command i3status-rs
# position top
# output primary
# tray_output none
#
# colors {
#
# }
# }
#picom
# exec_always picom
#Resolution and Mouse sense scripts
#exec_always ~/scripts/res.sh
exec ~/scripts/mouse.sh -0.5 1
# move focused workspace between monitors # move focused workspace between monitors
bindsym $mod+Ctrl+Right layout toggle split, move workspace to output right bindsym $mod+Ctrl+Right layout toggle split, move workspace to output right
@@ -47,7 +31,7 @@ bindsym $mod+Ctrl+Left layout toggle split, move workspace to output left
bindsym $mod+Ctrl+h move workspace to output left bindsym $mod+Ctrl+h move workspace to output left
# Compose key # Compose key
exec_always setxkbmap -layout us,ar -variant ,ergoarabic -option "compose:ralt" -option "caps:escape" -option "grp:alt_shift_toggle" exec_always --no-startup-id setxkbmap -layout us,ar -variant ,ergoarabic -option "compose:ralt" -option "caps:escape" -option "grp:alt_shift_toggle"
# FUCK YOU MICROSOFT (thank you copilot) # FUCK YOU MICROSOFT (thank you copilot)
exec_always --no-startup-id xmodmap ~/.Xmodmap exec_always --no-startup-id xmodmap ~/.Xmodmap
@@ -92,3 +76,6 @@ bindsym $mod+u exec i3-input -F '[con_mark="%s"] focus' -l 1 -P 'Goto: '
bindsym $mod+Tab workspace next_on_output bindsym $mod+Tab workspace next_on_output
bindsym $mod+shift+Tab workspace prev_on_output bindsym $mod+shift+Tab workspace prev_on_output
bindsym $mod+$alt+e exec emacsclient --eval '(emacs-everywhere)' bindsym $mod+$alt+e exec emacsclient --eval '(emacs-everywhere)'
#Clipboard manager
bindsym $mod+$alt+v exec --no-startup-id clipcat-menu