dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 8b65883028109a4973015e9a6c2e17778492dac5
parent 2bf31db81ddf4c94c71d2737693098b65ac6cebd
Author: AndrewLockVI <andrew@laack.co>
Date:   Sat, 15 Feb 2025 03:29:17 -0600

Updated configurations for qute, tmux, and vimium. Also updated docs

Diffstat:
MKEYMAPPINGS.txt | 43+++++++++++++++++++++++++++++++++++++++++++
Mbashrc | 15+++++++--------
Aglib-2.0/settings/keyfile | 13+++++++++++++
Mpavucontrol.ini | 4++--
Mqutebrowser/autoconfig.yml | 16+++++++++++++++-
Mqutebrowser/bookmarks/urls | 8+++++++-
Mqutebrowser/config.py | 1+
Aqutebrowser/qsettings/QtProject.conf | 8++++++++
Msway/config | 28+++++++++++++++++++++++-----
Mtmux.conf | 14+++++++++-----
Mvimium.conf | 8--------
Azathura/zathurarc | 1+
12 files changed, 129 insertions(+), 30 deletions(-)

diff --git a/KEYMAPPINGS.txt b/KEYMAPPINGS.txt @@ -4,3 +4,46 @@ QUTE BROWSER: ms - go into hint mode and the selected hint will be opened with mpv ys - go into hint mode and copy the link once selection is made (this is not super useful with 'ms', but it could come in handy) + +DWM: + +====== MOD+SHIFT ====== + +Mod+Shift is used for larger scale window manager +configuration, screen switching, and tag changes. + +mod+shift+i - increment master size +mod+shift+d - decrement master size + +mod+shift+v - enter column mode, vertical splits +mod+shift+h - enter the default mode, horizontal splits + +mod+shift+s - suspend + +mod+shift+arrow - switch screens + +mod+shift+n - this moves the focused window to tag n + +mod+shift+q - kill focused window + +====== MOD+NUM ====== + +RESERVED FOR TAG SWITCHING + +Mod+n - this switches to tag n + +====== MOD+CHAR ====== + +Open dmenu to do something. + +Mod+o - open program +Mod+p - password +Mod+t - tmux session +Mod+s - search (qute) +Mod+z - zathura (open pdf in ~) +Mod+m - play music (prespecified directory) + +====== MOD+ARROW ====== + +There are only two arrows in use (up + down) +and they are used to navigate the stack diff --git a/bashrc b/bashrc @@ -3,11 +3,11 @@ export GPG_TTY export PATH=$PATH:/sbin export PASSWORD_STORE_DIR=~/gitRepos/passwords -# If not running interactively, don't do anything -case $- in - *i*) ;; - *) return;; -esac +## If not running interactively, don't do anything +#case $- in +# *i*) ;; +# *) return;; +#esac HISTCONTROL=ignoreboth @@ -81,10 +81,10 @@ clone-private() { git clone ssh://brgr.heron-peacock.ts.net/home/shared/git/private-repos/$REPO_NAME.git } -alias pw='cat ~/keys/pw.txt | wl-copy' +alias pw='cat ~/keys/pw.txt | xclip -selection clipboard' # Mount remote drive -alias mount-server="nohup doas sshfs andrew@brgr.heron-peacock.ts.net:/home/shared/ /home/server/ -o reconnect" +# alias mount-server="sshfs andrew@brgr.heron-peacock.ts.net:/home/shared/ /home/server/ -o reconnect" sendit() { git add . && git commit -m "$1" && git push @@ -95,4 +95,3 @@ alias sshServer='ssh andrew@brgr.heron-peacock.ts.net' export PS1='\u@\h:\w\$ ' TERM=xterm-256color - diff --git a/glib-2.0/settings/keyfile b/glib-2.0/settings/keyfile @@ -0,0 +1,13 @@ +[org/gtk/settings/file-chooser] +window-position=(0, 19) +window-size=(1096, 822) +date-format='regular' +location-mode='path-bar' +show-hidden=true +show-size-column=true +show-type-column=true +sidebar-width=156 +sort-column='name' +sort-directories-first=false +sort-order='ascending' +type-format='category' diff --git a/pavucontrol.ini b/pavucontrol.ini @@ -1,6 +1,6 @@ [window] -width=950 -height=1106 +width=2806 +height=1411 sinkInputType=1 sourceOutputType=1 sinkType=0 diff --git a/qutebrowser/autoconfig.yml b/qutebrowser/autoconfig.yml @@ -18,6 +18,7 @@ settings: insert: <Ctrl+w>: fake-key <ctrl-backspace> normal: + ;f: hint all tab <Ctrl+Left>: tab-prev <Ctrl+Right>: tab-next <Ctrl+Shift+Tab>: null @@ -25,11 +26,24 @@ settings: <Ctrl+w>: null <Left>: back <Right>: forward + S: hint all tab-fg m: null - ms: hint links spawn mpv {hint-url} + ms: hint links spawn mpv --force-window=immediate '{hint-url}' s: hint t: open -t https://start.duckduckgo.com/ x: tab-close ys: hint links yank + content.media.audio_capture: + https://app.zoom.us: true + content.media.audio_video_capture: + https://app.zoom.us: true + content.media.video_capture: + https://app.zoom.us: true + content.notifications.enabled: + https://app.zoom.us: false + https://mailadmin.zoho.com: false + content.register_protocol_handler: + https://mail.google.com?extsrc=mailto&url=%25s: false + https://outlook.office.com?mailtouri=%25s: false hints.chars: global: arstdhneio diff --git a/qutebrowser/bookmarks/urls b/qutebrowser/bookmarks/urls @@ -1 +1,7 @@ -https://outlook.office.com/mail/inbox/id/AAQkADVjMWEzM2EwLTIwZWQtNDMxYy04NGRiLTc0OWNkODk3MzlkZAAQADX3fxpgDpNIuDdrqOxwNi0%3D Mail - Laack,Andrew D - Outlook +https://outlook.office.com outlook +https://uws.instructure.com canvas +https://gmail.com gmail +https://laack.co laack +https://git.laack.co laack-git +https://files.laack.co laack-files +https://notes.laack.co laack-notes diff --git a/qutebrowser/config.py b/qutebrowser/config.py @@ -0,0 +1 @@ +config.load_autoconfig() diff --git a/qutebrowser/qsettings/QtProject.conf b/qutebrowser/qsettings/QtProject.conf @@ -0,0 +1,8 @@ +[FileDialog] +history=file:///home/andrew/downloads, file:///home/andrew/gitRepos/useless-school/ensc100 +lastVisited=file:///home/andrew/downloads +qtVersion=6.8.0 +shortcuts=file:, file:///home/andrew +sidebarWidth=98 +treeViewHeader=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x1\xec\0\0\0\x4\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x4\0\0\0\xff\0\0\0\x1\0\0\0\0\0\0\0?\0\0\0\x1\0\0\0\0\0\0\0@\0\0\0\x1\0\0\0\0\0\0\0n\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\xff\xff\xff\xff\0\0\0\0) +viewMode=Detail diff --git a/sway/config b/sway/config @@ -1,3 +1,5 @@ +exec swaync + bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5% @@ -49,8 +51,13 @@ bindsym $mod+f fullscreen toggle # change container layout (stacked, tabbed, toggle split) bindsym $mod+w layout stacking -bindsym $mod+t layout tabbed -bindsym $mod+s layout toggle split + +# I never use tabbed mode so this is remapped to open dmenu for +# a tmux session. + +# bindsym $mod+t layout tabbed +# I never used this. +# bindsym $mod+s layout toggle split # toggle tiling / floating bindsym $mod+Shift+space floating toggle @@ -152,11 +159,22 @@ for_window [class="^.*"] border pixel 5 #LibreOffice #bindsym $mod+Shift+l "exec libreoffice --writer" -# open dmenu (or select any other opening tool +# shortcuts for dmenu functions + bindsym $mod+o exec "~/bin/dmenu.sh" bindsym $mod+p exec "~/bin/pass.sh" -bindsym $mod+Shift+b exec "firefox" -bindsym $mod+Shift+f exec "qutebrowser" +bindsym $mod+t exec "~/bin/tmux.sh" +bindsym $mod+s exec "~/bin/search.sh" +bindsym $mod+z exec "~/bin/zathura.sh" +bindsym $mod+m exec "~/bin/find-music.sh /home/serverBackup/fileSharing/music/" + +# Browsers (I don't find these very useful bc. I normally use my dmenu search) + +bindsym $mod+Shift+f exec "firefox" +bindsym $mod+Shift+b exec "qutebrowser" + + + # class border bground text indicator child_border client.focused #FFFFFF #FFFFFF #FFFFFF #BBBBBB #BBBBBB diff --git a/tmux.conf b/tmux.conf @@ -7,17 +7,21 @@ bind h split-window -h -c "#{pane_current_path}" bind v split-window -v -c "#{pane_current_path}" +# COMMENTED ALL OF THESE OUT BECAUSE TMUX +# SESSIONS SHOULD BE STARTED IN THE PROJECT +# DIR. + # Open index.md in the notes directory -bind i send-keys "cd ~/gitRepos/notes" C-m +# bind i send-keys "cd ~/gitRepos/notes" C-m # Open ToDoList.md in the toDoList directory -bind d send-keys "vim ~/gitRepos/todolist/ToDoList.md" C-m +# bind d send-keys "vim ~/gitRepos/todolist/ToDoList.md" C-m # Open the nvim config directory -bind n send-keys "cd ~/.config/nvim && vim lua/core/keymaps.lua" C-m +# bind n send-keys "cd ~/.config/nvim && vim lua/core/keymaps.lua" C-m # Open .tmux.conf -bind c send-keys "vim ~/.tmux.conf" C-m +# bind c send-keys "vim ~/.tmux.conf" C-m # bind s send-keys "vim ~/.config/shortcuts.md" C-m @@ -29,7 +33,7 @@ set -g base-index 1 setw -g pane-base-index 1 bind t new-window -bind w kill-window +bind x kill-pane set-option -g status-bg default diff --git a/vimium.conf b/vimium.conf @@ -8,21 +8,14 @@ # 'ys', great for use in concatination with my mpv script that loads # the current url into mpv and plays the video. -# Also, while not explicitly necessary, to make this work -# with new tabs override the following to be true in firefox: -# privacy.resistFingerprinting.block_mozAddonManager - -unmap f map s LinkHints.activateMode map S LinkHints.activateModeToOpenInNewTab unmap f unmap F unmap H unmap L - unmap d unmap u - map <c-d> scrollPageDown map <c-u> scrollPageUp @@ -33,7 +26,6 @@ map <left> goBack map <right> goForward map ys LinkHints.activateModeToCopyLinkUrl - # character options for links # arstdhneio diff --git a/zathura/zathurarc b/zathura/zathurarc @@ -0,0 +1 @@ +set selection-clipboard clipboard