Did stuff.

This commit is contained in:
Joachim Nielandt 2022-01-31 12:34:56 +01:00
parent aec5889fb6
commit 0f9873af19
6 changed files with 17 additions and 4 deletions

View File

@ -47,7 +47,7 @@ c.input.insert_mode.leave_on_load = False
## This is here so configs done via the GUI are still loaded.
## Remove it to not load settings done via the GUI.
# config.load_autoconfig()
config.load_autoconfig()
## Aliases for commands. The keys of the given dictionary are the
## aliases, while the values are the commands they map to.

View File

@ -53,3 +53,4 @@
(package! cider)
; rectify some lacking bindings for evil mode
; (package! evil-collection)
(package! groovy-mode)

View File

@ -45,14 +45,18 @@ assign [class="Mattermost"] $ws9
assign [class="Hamsket"] $ws9
assign [class="discord"] $ws9
assign [class="signal"] $ws9
assign [class="ferdi"] $ws9
assign [class="microsoft teams - preview"] $ws9
assign [class="obsidian"] $ws8
assign [class="Wfica_Seamless"] $ws10
#assign [class="jetbrains-idea"] 7
#assign [class="jetbrains-webstorm"] 8
#assign [class="jetbrains-datagrip"] 9
exec --no-startup-id "i3-msg 'workspace 9:9; append_layout /home/joachim/.config/i3/workspace-9.json'"
#disabled this for now, using Ferdi for socials
#exec --no-startup-id "i3-msg 'workspace 9:9; append_layout /home/joachim/.config/i3/workspace-9.json'"
# i3-gaps
gaps inner 10
@ -186,7 +190,7 @@ bindsym $mod+F11 mode "$mode_audio"
set $mode_launch  adefault start-up bnoise-fix cdual dhorizontal etearing
mode "$mode_launch" {
# These are all the default programs launching at startup.
bindsym a exec slack, exec thunderbird, exec teams, exec signal-desktop, mode "default"
bindsym a exec thunderbird, exec signal-desktop, exec ferdi, exec obsidian mode "default"
# This fixes audio noise (lenovo)
# bindsym b exec sudo hda-verb /dev/snd/hwC*D0 0x1d SET_PIN_WIDGET_CONTROL 0x0, mode "default"
# This bypasses weird xrandr bug, resets to single display, then goes back to triple monitor setup (use autorandr profile here, needs to be set up in advance)

View File

@ -18,3 +18,7 @@ alias time='time -p ' # -p for POSIX output
alias gac="git add -A && git commit -a"
alias dddu="docker-compose down && docker-compose up -d"
# yank the last command from history into the clipboard
alias yk="cat ~/.zsh_history | tail -n 2 | head -n 1 | cut -d ';' -f 2- | xclip -selection clipboard"

View File

@ -15,3 +15,6 @@ sudo pacman -Sy \
fd \
pandoc
# install nice tools
sudo pacman -Sy \
tree

View File

@ -98,4 +98,5 @@ source $ZSH/oh-my-zsh.sh
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.dotfiles/.p10k.zsh ]] || source ~/.dotfiles/.p10k.zsh
# this supposedly fixes the slow pasting into shell
zstyle ':bracketed-paste-magic' active-widgets '.self-*'