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