i3, git signing key, and fish commands

master
Rasmus Rosengren 3 years ago
parent f8c577680b
commit 68ea75eecf
No known key found for this signature in database
GPG Key ID: C2ABAF65A0205874
  1. 17
      .config/fish/config.fish
  2. 15
      .config/i3/config
  3. 2
      .gitconfig

@ -9,7 +9,14 @@ alias gst "git status"
alias gaa "git add --all" alias gaa "git add --all"
alias ga. "git add ." alias ga. "git add ."
alias gds "git diff --staged" alias gds "git diff --staged"
alias gdh "git diff HEAD" function gdh --argument-names 'reach'
if count $argv > /dev/null
git diff HEAD~$reach
else
git diff HEAD
end
end
funcsave gdh
alias gl "git log --oneline --graph" alias gl "git log --oneline --graph"
alias gcm "git commit -m" alias gcm "git commit -m"
@ -30,10 +37,16 @@ function forbat --argument-names 'lang'
case js case js
prettier --parser babel | bat --language babel --pager "less -RF" prettier --parser babel | bat --language babel --pager "less -RF"
case '*' case '*'
echo I don\'t know $lang echo I don\'t know $lang
end end
end end
funcsave forbat funcsave forbat
function bluehead
bluetoothctl power on
bluetoothctl connect 94:DB:56:8E:74:D9
end
funcsave bluehead
zoxide init fish | source zoxide init fish | source
starship init fish | source starship init fish | source

@ -139,6 +139,12 @@ client.background #ffffff
bindsym $mod+Shift+s exec flameshot gui bindsym $mod+Shift+s exec flameshot gui
for_window [class="code"] move container to workspace $ws2
for_window [class="discord"] move container to workspace $ws9
for_window [class="slack"] move container to workspace $ws9
for_window [class="signal"] move container to workspace $ws9
for_window [class="spotify"] move container to workspace $ws10
# screen brightness controls # screen brightness controls
bindsym XF86MonBrightnessUp exec light -A 5 # increase screen brightness bindsym XF86MonBrightnessUp exec light -A 5 # increase screen brightness
bindsym XF86MonBrightnessDown exec light -U 5 # decrease screen brightness bindsym XF86MonBrightnessDown exec light -U 5 # decrease screen brightness
@ -182,4 +188,11 @@ exec --no-startup-id betterlockscreen -u $HOME/.wallpapers/blue-whale.png
# Lock after 5 minutes # Lock after 5 minutes
exec --no-startup-id xset s 300 600 exec --no-startup-id xset s 300 600
exec --no-startup-id xss-lock $HOME/.config/i3/scripts/lock.sh exec --no-startup-id xss-lock $HOME/.config/i3/scripts/lock.sh
#exec --no-startup-id xss-lock --transfer-sleep-lock $HOME/.config/i3/scripts/lock.sh
# Start applications
exec --no-startup-id firefox
exec --no-startup-id code
exec --no-startup-id discord
exec --no-startup-id slack
exec --no-startup-id signal
exec --no-startup-id spotify

@ -1,7 +1,7 @@
[user] [user]
name = Rasmus Rosengren name = Rasmus Rosengren
email = rasmus.rosengren@protonmail.com email = rasmus.rosengren@protonmail.com
signingkey = A5EE9B6829E20E3E signingkey = C3BED1500C477BED
[commit] [commit]
gpgsign = true gpgsign = true

Loading…
Cancel
Save