This commit is contained in:
Shihaam Abdul Rahman 2023-08-07 11:05:54 +05:00
parent cf08990f6d
commit be1692c02a
Signed by: shihaam
GPG Key ID: 6DA2E87EBC227636
3 changed files with 31 additions and 13 deletions

11
bashrc
View File

@ -1,13 +1,15 @@
PATH=$HOME/.scripts:/opt:/home/shihaam/.local/bin:$HOME/.shortcuts/wineprograms:$PATH
# vars
PATH=$HOME/.scripts:/opt:/home/shihaam/.local/bin:$HOME/.shortcuts/wineprograms:$HOME/Applications:$PATH
HISTSIZE=999999 HISTSIZE=999999
HISTFILESIZE=999999 HISTFILESIZE=999999
export GPG_TTY=$(tty) #Set GPG_TTY veriable, needed for signing git commits other gpg stuff export GPG_TTY=$(tty) #Set GPG_TTY veriable, needed for signing git commits other gpg stuff
#export SSH_CA_FILES=/home/shihaam/git/alliedmaldives/ops/ssh-ca #export SSH_CA_FILES=/home/shihaam/git/alliedmaldives/ops/ssh-ca
export SSH_CA_FILES=/home/shihaam/.ssh export SSH_CA_FILES=$HOME/.ssh
export SSH_CA_REVOCATION_LIST=$HOME/git/alliedmaldives/ops/ssh-ca/revoked_keys export SSH_CA_REVOCATION_LIST=$HOME/git/alliedmaldives/ops/ssh-ca/revoked_keys
export SSL_FILES=/home/shihaam/ssl/allied export SSL_FILES=$HOME/git/alliedmaldives/ops/ssl-certs
#load ble.sh #load ble.sh
source ~/.local/share/blesh/ble.sh source ~/.local/share/blesh/ble.sh
@ -22,8 +24,9 @@ cdl(){ cd $(cat ~/.cache/whereami);};cdl
####### ALIASES ########## ####### ALIASES ##########
alias nano='nano -i' alias nano='nano -l'
alias hdd='cd /mnt/hdd' alias hdd='cd /mnt/hdd'
alias drag=ripdrag
######################### #########################

View File

@ -195,10 +195,16 @@ bar {
for_window [class="^.*"] border pixel 0 for_window [class="^.*"] border pixel 0
#restore displays #restore displays
exec --no-startup-id /home/shihaam/.scripts/office2kdisplay.sh exec --no-startup-id /home/shihaam/.scripts/home.sh
#exec --no-startup-id autorandr --change home
#exec --no-startup-id i3-resurrect --restore
# flameshot # flameshot
bindsym $mod+Shift+s exec flameshot gui #bindsym $mod+Shift+s exec flameshot gui
bindsym Print exec flameshot gui
bindsym $mod+Print exec flameshot gui --raw | tesseract stdin stdout | xclip -in -selection clipboard
# rofi ssh
bindsym $mod+Shift+s exec rofi -show ssh
# start the compositor at login # start the compositor at login
exec --no-startup-id picom exec --no-startup-id picom
@ -208,17 +214,26 @@ exec --no-startup-id blueman-applet
exec --no-startup-id /home/shihaam/.scripts/scrcpy-autostart exec --no-startup-id /home/shihaam/.scripts/scrcpy-autostart
# start activty watcher
exec --no-startup-id aw-qt
# start power mmanager # start power mmanager
exec --no-startup-id xfce4-power-manager exec --no-startup-id xfce4-power-manager
# start activate-linux # start activate-linux
exec --no-startup-id activate-linux #exec --no-startup-id activate-linux
# start ssh key monitoring
#exec --no-startup-id doas auditctl -w /home/shihaam/.ssh/id_ed25519 -p r -k ssh-key-read
# Start dunst (notification service) # Start dunst (notification service)
exec --no-startup-id dunst exec --no-startup-id dunst
# start ssh access notification script # start ssh access notification script
exec --no-startup-id /home/shihaam/.scripts/notify-ssh-access.sh #exec --no-startup-id /home/shihaam/.scripts/notify-ssh-access.sh
# start kde connect
exec --no-startup-id /usr/lib/kdeconnectd
#set a wallpaper
exec --no-startup-id feh --no-fehbg --bg-scale /usr/share/backgrounds/archlinux/split.png
#exec_always polybar

View File

@ -4,7 +4,7 @@ while true; do
if [ -L /dev/android_adb ] if [ -L /dev/android_adb ]
then then
# scrcpy --turn-screen-off --stay-awake & sndcpy # scrcpy --no-audio --turn-screen-off --stay-awake & sndcpy
scrcpy --turn-screen-off --stay-awake scrcpy --turn-screen-off --stay-awake
else else
adb wait-for-device adb wait-for-device