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
#Restart Discord pog
if pgrep "discord-canary" > /dev/null
then
killall DiscordCanary
discord-canary &
fi
if pgrep "obsidian" > /dev/null
then
killall obsidian
Obsidian.AppImage &
fi
##Restart Discord pog
##This stinks
# if pgrep "discord-canary" > /dev/null
# then
# killall DiscordCanary
# discord-canary &
# fi
# if pgrep "obsidian" > /dev/null
# then
# killall obsidian
# Obsidian.AppImage &
# fi
if pgrep "Discord" > /dev/null
then
killall Discord
discord &
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
# if pgrep "Discord" > /dev/null
# then
# killall Discord
# discord &
# fi
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

View File

@@ -145,7 +145,7 @@ export PATH=$PATH:/opt/gradle/gradle-6.9.4/bin
export TERMINAL=kitty
export MPD_HOST=127.0.0.1
export MPD_PORT=6969
export EDITOR="emacs -nw"
export EDITOR="emacsclient -nc --alternate-editor="""
function reload_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
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion

View File

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

View File

@@ -358,9 +358,6 @@
(add-to-list 'auto-mode-alist '("\\.pde$" . processing-mode))
(setq-default processing-location "~/bin/processing-java")
;; idk what this is
(map! :leader
:nv "n d" #'org-agenda-day-view
)
;;org-agenda filter
(custom-set-variables
'(org-agenda-custom-commands
@@ -412,9 +409,9 @@ awqat-times-for-day)
;; Telega and ranger
(map! :leader
:nv "o g" #'telega
)
(map! :leader
: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" )

View File

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

View File

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

View File

@@ -18,25 +18,9 @@ bindsym $mod+shift+F1 exec --no-startup-id playerctl previous
#polybar
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
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
# 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)
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+shift+Tab workspace prev_on_output
bindsym $mod+$alt+e exec emacsclient --eval '(emacs-everywhere)'
#Clipboard manager
bindsym $mod+$alt+v exec --no-startup-id clipcat-menu