Fix some QOL
This commit is contained in:
@@ -3,7 +3,7 @@ font pango:Product Sans 11
|
||||
|
||||
# correct locking
|
||||
exec --no-startup-id xss-lock --transfer-sleep-lock -- lock.sh
|
||||
bindsym $mod+Shift+BackSpace exec "loginctl lock-session"
|
||||
bindsym $mod+Ctrl+BackSpace exec "loginctl lock-session"
|
||||
|
||||
# Use Mouse+$mod to drag floating windows to their wanted position
|
||||
floating_modifier $mod
|
||||
@@ -14,11 +14,10 @@ workspace_layout stacking
|
||||
bindsym $mod+Return exec --no-startup-id alacritty
|
||||
bindsym $mod+Ctrl+Return exec --no-startup-id xterm
|
||||
bindsym $mod+d exec --no-startup-id dmenu_run
|
||||
bindsym $mod+e exec --no-startup-id emacs
|
||||
bindsym $mod+Shift+s exec --no-startup-id "flameshot gui"
|
||||
|
||||
### keybinds for moving windows
|
||||
bindsym $mod+Shift+q kill
|
||||
bindsym $mod+Shift+BackSpace kill
|
||||
|
||||
# change focus
|
||||
bindsym $mod+h focus left
|
||||
@@ -139,7 +138,7 @@ exec --no-startup-id $HOME/.screenlayout/layout.sh
|
||||
exec --no-startup-id $HOME/scripts/wallpaper.sh
|
||||
|
||||
# set keyboard layout
|
||||
exec --no-startup-id "setxkbmap -layout za"
|
||||
exec --no-startup-id "setxkbmap -layout eu"
|
||||
|
||||
# set X things
|
||||
exec --no-startup-id "xrdb -merge $HOME/.Xresources"
|
||||
|
||||
16
files/.zshrc
16
files/.zshrc
@@ -93,11 +93,17 @@ export HISTFILE="$HOME/.zsh_history"
|
||||
export SAVEHIST=5000
|
||||
|
||||
# ============================== ssh-agent
|
||||
if ! [ -S /tmp/mthomas-agent.sock ]; then
|
||||
echo "Starting ssh-agent"
|
||||
ssh-agent -a /tmp/mthomas-agent.sock
|
||||
ssh-add
|
||||
fi
|
||||
function start_agent() {
|
||||
if ! [ -S /tmp/mthomas-agent.sock ]; then
|
||||
echo "Starting ssh-agent"
|
||||
ssh-agent -a /tmp/mthomas-agent.sock
|
||||
ssh-add
|
||||
else
|
||||
echo "Agent already running..."
|
||||
fi
|
||||
}
|
||||
|
||||
alias ssha=start_agent
|
||||
|
||||
# ============================== vi-Mode
|
||||
bindkey -v
|
||||
|
||||
@@ -309,6 +309,7 @@
|
||||
(setq org-format-latex-options (plist-put org-format-latex-options :scale 1.5)
|
||||
org-image-actual-width nil
|
||||
org-agenda-files (quote ("~/org"))
|
||||
calendar-week-start-day 1
|
||||
org-directory "~/org"
|
||||
org-latex-listings 'minted
|
||||
org-latex-packages-alist '(("" "minted"))
|
||||
|
||||
Reference in New Issue
Block a user