update env and system

This commit is contained in:
Marco Thomas
2022-06-11 10:32:03 +02:00
parent 7545a0105c
commit ad0e0fc1e0
3 changed files with 24 additions and 5 deletions

View File

@@ -1,9 +1,8 @@
PATH=$PATH:$HOME/.dots/scripts:$HOME/.cargo/bin:$HOME/.ghcup/bin:$HOME/.local/bin:$HOME/.cabal/bin
PATH=$HOME/.dots/scripts:$HOME/.cargo/bin:$HOME/.ghcup/bin:$HOME/.local/bin:$HOME/.cabal/bin:$PATH
EDITOR=vim
VISUAL=vim
_JAVA_AWT_WM_NONREPARENTING=1
SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/ssh-agent.socket"
DOCKER_HOST=unix:///run/user/$UID/podman/podman.sock
GTK_IM_MODULE=fcitx5
QT_IM_MODULE=fcitx5
SDL_IM_MODULE=fcitx5

View File

@@ -2,7 +2,7 @@
# Read `man 5 sway` for a complete reference.
# Font in sway
font pango: SFMono Nerd Font 9
font pango: SFMono Nerd Font 8
# Variables
set $mod Mod4
@@ -31,6 +31,8 @@ set $baseB2 #073642
set $baseB3 #002b36
set $custom #e1cab3
set $bar_bg #ffffff99
# clientclass border backgr. text indicator
client.focused $green $green $baseB3 $blue
client.focused_inactive $baseA2 $baseA2 $baseB2 $violet
@@ -176,10 +178,13 @@ input type:keyboard {
default_border none
default_floating_border normal
for_window [app_id="firefox" title="Firefox — Sharing Indicator"] kill
for_window [app_id="firefox"] move container to workspace number $ws2
for_window [class="discord"] move container to workspace number $ws3
for_window [app_id="org.telegram.desktop"] move container to workspace number $ws3
for_window [class="Spotify"] move container to workspace number $ws4
for_window [app_id="Joplin"] move container to workspace number $ws5
for_window [app_id="geary"] move container to workspace number $ws8
for_window [app_id="org.keepassxc.KeepassXC"] move container to workspace number $ws9
for_window [app_id="org.keepassxc.KeePassXC"] move container to workspace number $ws9
# Status Bar
# man 5 sway-bar

View File

@@ -42,7 +42,22 @@ alias rm='rm -i' # Ask before removal
alias cp='cp -i' # Ask before removal
alias mv='mv -i' # Ask before removal
alias -g G='| grep -i'
alias -g L='| less'
alias gg='git grep'
alias code='/usr/bin/code --enable-features=UseOzonePlatform --ozone-platform=wayland . 2>/dev/null'
# tools
pd() {
pandoc $1.md -o $1.pdf --from markdown --template eisvogel --listings --toc
}
pdp() {
pandoc $1.md -o $1.pdf --from markdown -t beamer --toc
}
ocr() {
if [ -z $1 ]; then
echo "Please input a file."
@@ -182,7 +197,7 @@ rga-fzf() {
zle -N rga-fzf
bindkey '^G' "rga-fzf"
## fzf Bindings in zsh (C-r and C-t)
## fzf Bindings in zsh (C-r and C-f)
if [[ -x $(which fzf 2> /dev/null) ]]
then
# The code at the top and the bottom of this file is the same as in completion.zsh.