Update
This commit is contained in:
4
dot_config/chezmoi/chezmoi.toml.tmpl
Normal file
4
dot_config/chezmoi/chezmoi.toml.tmpl
Normal file
@@ -0,0 +1,4 @@
|
||||
sourceDir = "{{ .chezmoi.homedir }}/{{ .chezmoi.os }}-config"
|
||||
|
||||
[data]
|
||||
gui = true
|
||||
@@ -3,7 +3,7 @@
|
||||
set $browser "firefox"
|
||||
# set $browser "chromium"
|
||||
set $def_term "urxvt"
|
||||
set $scripts_path "/home/kevin/linux-config/scripts"
|
||||
set $scripts_path "/home/kevin/scripts"
|
||||
exec redshift -O 2000
|
||||
# exec redshift -O 3000
|
||||
# random bg
|
||||
@@ -37,7 +37,7 @@ bindsym control+Return exec $def_term
|
||||
bindsym Mod4+a exec studio
|
||||
bindsym Mod4+b layout tabbed; exec zathura
|
||||
bindsym Mod4+c exec $browser
|
||||
bindsym Mod4+e exec notify-send "HPS Word Count" "$(pdftotext /home/kevin/school/latex-notes/hps/essay.pdf - | wc -w)"
|
||||
# bindsym Mod4+e exec notify-send "HPS Word Count" "$(pdftotext /home/kevin/school/latex-notes/hps/essay.pdf - | wc -w)"
|
||||
bindsym Mod4+f exec firefox
|
||||
bindsym Mod4+$mod+f exec echo 'Kevin@fosstodon.org' | xclip -selection clipboard
|
||||
bindsym Mod4+h exec echo 'kevin.mok@live.ca' | xclip -selection clipboard
|
||||
@@ -237,13 +237,16 @@ assign [class="Steam"] $ws5
|
||||
bindsym $mod+F5 workspace $ws5; exec $browser
|
||||
bindsym Mod4+g workspace $ws5; layout stacking; exec urxvt -e steam
|
||||
bindsym Mod4+t workspace $ws5; exec thunderbird
|
||||
bindsym Mod4+5 workspace $ws5; exec cd ~/coding/ada-mario-prep && godot -e
|
||||
for_window [class="ada-mario-prep"] floating enable
|
||||
for_window [class="Move_mouse_with_head"] floating enable
|
||||
|
||||
set $ws6 "6 "
|
||||
workspace $ws6 output $samsung
|
||||
assign [class="Slack"] $ws6
|
||||
bindsym Mod4+d workspace $ws6; exec discord
|
||||
bindsym Mod4+i workspace $ws6; exec firefox -new-window https://riot.im/app/#/home
|
||||
# bindsym Mod4+k workspace $ws6; exec slack
|
||||
bindsym Mod4+k workspace $ws6; exec slack
|
||||
|
||||
set $ws7 "7 "
|
||||
# set $ws7 "7 📤"
|
||||
@@ -305,10 +308,10 @@ bindsym $mod+8 workspace $ws8
|
||||
bindsym $mod+9 workspace $ws9
|
||||
bindsym $mod+0 workspace $ws10
|
||||
bindsym Mod4+1 workspace $ws11
|
||||
bindsym Mod4+2 workspace $ws12
|
||||
bindsym Mod4+3 workspace $ws13
|
||||
bindsym Mod4+4 workspace $ws14
|
||||
bindsym Mod4+5 workspace $ws15
|
||||
# bindsym Mod4+2 workspace $ws12
|
||||
# bindsym Mod4+3 workspace $ws13
|
||||
# bindsym Mod4+4 workspace $ws14
|
||||
# bindsym Mod4+5 workspace $ws15
|
||||
# }}} ws bindings #
|
||||
|
||||
# move container to ws {{{ #
|
||||
@@ -431,8 +434,8 @@ bar {
|
||||
inactive_workspace $inactive_ws_bg $inactive_ws_bg$inactive_ws_trans $fg
|
||||
}
|
||||
tray_output none
|
||||
# status_command i3blocks -c ~/.config/i3blocks/i3blocks.conf
|
||||
status_command 2>/tmp/i3blocks.err i3blocks -vvv -c ~/.config/i3blocks/i3blocks.conf | tee /tmp/i3blocks.out
|
||||
status_command i3blocks -c ~/.config/i3blocks/i3blocks.conf
|
||||
# status_command 2>/tmp/i3blocks.err i3blocks -vvv -c ~/.config/i3blocks/i3blocks.conf | tee /tmp/i3blocks.out
|
||||
output $benq
|
||||
wheel_up_cmd nop
|
||||
wheel_down_cmd nop
|
||||
@@ -456,8 +459,8 @@ bar {
|
||||
active_workspace $inactive_ws_bg $fg$active_ws_trans $fg
|
||||
inactive_workspace $inactive_ws_bg $inactive_ws_bg$inactive_ws_trans $fg
|
||||
}
|
||||
# status_command i3blocks -c ~/.config/sam-i3blocks/sam-i3blocks.conf
|
||||
status_command 2>/tmp/i3blocks-sam.err i3blocks -vvv -c ~/.config/i3blocks/sam-i3blocks.conf | tee /tmp/i3blocks-sam.out
|
||||
status_command i3blocks -c ~/.config/i3blocks/sam-i3blocks.conf
|
||||
# status_command 2>/tmp/i3blocks-sam.err i3blocks -vvv -c ~/.config/i3blocks/sam-i3blocks.conf | tee /tmp/i3blocks-sam.out
|
||||
tray_output none
|
||||
wheel_up_cmd nop
|
||||
wheel_down_cmd nop
|
||||
|
||||
@@ -3,5 +3,5 @@
|
||||
. "/home/kevin/.cache/wal/colors.sh"
|
||||
|
||||
temps="$(sensors | rg 'temp1:.*' | awk '{ print $2 }' | rg -o '\d{2}' | \
|
||||
sed 's/$/°C/' | tr '\n' ' ' | xargs)"
|
||||
sort -r | sed 's/$/°C/' | tr '\n' ' ' | xargs)"
|
||||
printf "%s\n\n%s\n" "$temps" "$color7"
|
||||
|
||||
@@ -23,8 +23,8 @@ bind \cr forward-word
|
||||
chezmoi apply
|
||||
/home/kevin/scripts/sync-shortcuts
|
||||
source /home/kevin/.config/fish/key_abbr.fish
|
||||
# set -U fish_fxn_dir "/home/kevin/linux-config/fish/.config/fish/functions"
|
||||
set -U fish_fxn_dir "/home/kevin/.config/fish/functions"
|
||||
set -U fish_fxn_dir "/home/kevin/linux-config/dot_config/private_fish/private_functions"
|
||||
# set -U fish_fxn_dir "/home/kevin/.config/fish/functions"
|
||||
abbr ff "cd $fish_fxn_dir"
|
||||
for fxn in (find $fish_fxn_dir -name '*.fish')
|
||||
source $fxn
|
||||
@@ -45,6 +45,9 @@ set -U spv_dir "/home/kevin/coding/spotify-lib-vis"
|
||||
set -U mfs_dir "/home/kevin/coding/mf-site"
|
||||
|
||||
set -x PATH $PATH /home/kevin/scripts /home/kevin/scripts/colors /home/kevin/go/bin
|
||||
set -x LD_LIBRARY_PATH $LD_LIBRARY_PATH /usr/local/lib /usr/local/lib64
|
||||
set -x PKG_CONFIG_PATH $PKG_CONFIG_PATH /usr/lib/pkgconfig
|
||||
|
||||
set -x PASSWORD_STORE_CLIP_TIME 120
|
||||
set -xU XSET_RATE 90
|
||||
set -xU XSET_DELAY 200
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
function scan-history
|
||||
sudo systemctl start postgresql.service
|
||||
# and systemctl status postgresql.service
|
||||
and source $spv_dir/src/api-keys.sh
|
||||
and source $spv_dir/src/scripts/api-keys.sh
|
||||
and $spv_dir/src/scripts/update-history.sh
|
||||
and cat $spv_dir/src/api/management/commands/update-history.log | tail -n 1
|
||||
end
|
||||
|
||||
@@ -365,7 +365,6 @@ map gm cd /media
|
||||
map gM cd /mnt
|
||||
map gs cd /srv
|
||||
map gp cd /tmp
|
||||
# map gr cd /
|
||||
map gR eval fm.cd(ranger.RANGERDIR)
|
||||
map g/ cd /
|
||||
map g? cd /usr/share/doc/ranger
|
||||
@@ -421,7 +420,8 @@ map yk eval fm.copy(dirarg=dict(up=1), narg=quantifier)
|
||||
|
||||
# Searching
|
||||
map / console search%space
|
||||
map gr fzf_select
|
||||
# map gr fzf_select
|
||||
map rg fzf_select
|
||||
map n search_next
|
||||
map N search_next forward=False
|
||||
map ct search_next order=tag
|
||||
@@ -677,10 +677,10 @@ map rr source ~/.config/ranger/rc.conf
|
||||
# backgrounds {{{ #
|
||||
|
||||
map w shell /usr/bin/wal -i %f
|
||||
map bde shell mv %f dim/editing
|
||||
map bdn shell mv %f dim/non-editing
|
||||
map bbe shell mv %f bright/editing
|
||||
map bbn shell mv %f bright/non-editing
|
||||
map bde shell mv %f /home/kevin/Pictures/Backgrounds/dim/editing
|
||||
map bdn shell mv %f /home/kevin/Pictures/Backgrounds/dim/non-editing
|
||||
map bbe shell mv %f /home/kevin/Pictures/Backgrounds/bright/editing
|
||||
map bbn shell mv %f /home/kevin/Pictures/Backgrounds/bright/non-editing
|
||||
map be shell mv %f editing
|
||||
map bn shell mv %f non-editing
|
||||
|
||||
@@ -695,7 +695,6 @@ map zr shell unzip %f && rm %f
|
||||
map e. open_with evince f
|
||||
map v. shell $EDITOR %f
|
||||
|
||||
# map gr fzf_select
|
||||
source /home/kevin/.config/ranger/key_mappings.conf
|
||||
|
||||
map dg shell dragon-drag-and-drop -a -x %p
|
||||
|
||||
Reference in New Issue
Block a user