too much to remember
This commit is contained in:
parent
d0a680305c
commit
2a4e6c15f3
17 changed files with 311 additions and 82 deletions
7
.bashrc
7
.bashrc
|
@ -1,5 +1,7 @@
|
||||||
# ~/.bashrc: executed by bash(1) for non-login shells.
|
# ~/.bashrc: executed by bash(1) for non-login shells.
|
||||||
|
|
||||||
|
source $HOME/.config/environment
|
||||||
|
|
||||||
# If not running interactively, don't do anything
|
# If not running interactively, don't do anything
|
||||||
[ -z "$PS1" ] && return
|
[ -z "$PS1" ] && return
|
||||||
|
|
||||||
|
@ -18,15 +20,10 @@ shopt -s checkwinsize
|
||||||
|
|
||||||
PS1="$PURPLE\u$nc@$BLUE\H$nc:$GREEN\w$YELLOW"'$(__git_ps1)'"$nc\\n$GREEN\$$nc "
|
PS1="$PURPLE\u$nc@$BLUE\H$nc:$GREEN\w$YELLOW"'$(__git_ps1)'"$nc\\n$GREEN\$$nc "
|
||||||
|
|
||||||
export PATH=/usr/local/bin:/usr/bin:/usr/sbin:/bin:/sbin
|
|
||||||
|
|
||||||
if [ -f /usr/share/git/completion/git-prompt.sh ]; then
|
if [ -f /usr/share/git/completion/git-prompt.sh ]; then
|
||||||
source /usr/share/git/completion/git-prompt.sh
|
source /usr/share/git/completion/git-prompt.sh
|
||||||
else
|
else
|
||||||
function __git_ps1() { echo ""; };
|
function __git_ps1() { echo ""; };
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# set PATH so it includes user's private bin if it exists
|
|
||||||
[ -d "$HOME/.local/bin" ] && PATH="$HOME/.local/bin:$PATH"
|
|
||||||
|
|
||||||
[ -f "$HOME/.config/aliasrc" ] && source $HOME/.config/aliasrc
|
[ -f "$HOME/.config/aliasrc" ] && source $HOME/.config/aliasrc
|
||||||
|
|
35
.config/alacritty/sticky-note.yml
Normal file
35
.config/alacritty/sticky-note.yml
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
env:
|
||||||
|
STICKY_NOTE: yes
|
||||||
|
window:
|
||||||
|
dimensions:
|
||||||
|
columns: 15
|
||||||
|
lines: 5
|
||||||
|
padding:
|
||||||
|
x: 20
|
||||||
|
y: 20
|
||||||
|
class:
|
||||||
|
instance: sticky-note
|
||||||
|
general: sticky-note
|
||||||
|
|
||||||
|
shell:
|
||||||
|
program: /bin/zsh
|
||||||
|
|
||||||
|
scrolling:
|
||||||
|
history: 0
|
||||||
|
|
||||||
|
font:
|
||||||
|
normal:
|
||||||
|
family: Permanent Marker
|
||||||
|
size: 32
|
||||||
|
|
||||||
|
colors:
|
||||||
|
primary:
|
||||||
|
background: '#ffff88'
|
||||||
|
foreground: '#222222'
|
||||||
|
cursor:
|
||||||
|
text: '#ffff88'
|
||||||
|
cursor: '#ffff88'
|
||||||
|
selection:
|
||||||
|
text: '#ffff88'
|
||||||
|
background: '#ffff88'
|
||||||
|
|
|
@ -23,8 +23,7 @@ alias ls='ls -Flh --color=never'
|
||||||
|
|
||||||
alias lsblk='lsblk -o +PARTLABEL -o +FSTYPE'
|
alias lsblk='lsblk -o +PARTLABEL -o +FSTYPE'
|
||||||
|
|
||||||
alias magit='vim -c MagitOnly'
|
alias make='make -j5'
|
||||||
alias make='make --no-print-directory'
|
|
||||||
alias md5='ms5'
|
alias md5='ms5'
|
||||||
alias md5sum-dir='function _md5sum-dir(){ find $1 -type f -exec md5sum {} \; | md5sum; }; _md5sum-dir'
|
alias md5sum-dir='function _md5sum-dir(){ find $1 -type f -exec md5sum {} \; | md5sum; }; _md5sum-dir'
|
||||||
|
|
||||||
|
|
|
@ -33,8 +33,9 @@ bspc config external_rules_command "$HOME/.config/bspwm/external_rules"
|
||||||
|
|
||||||
bspc rule -a 'firefox' desktop='web'
|
bspc rule -a 'firefox' desktop='web'
|
||||||
bspc rule -a 'firefox:Toolkit' follow='true' desktop='side-view' state='fullscreen'
|
bspc rule -a 'firefox:Toolkit' follow='true' desktop='side-view' state='fullscreen'
|
||||||
|
bspc rule -a 'MPlayer' follow='true' desktop='side-view' state='fullscreen'
|
||||||
bspc rule -a 'TeamSpeak 3' desktop='voip' locked='true'
|
bspc rule -a 'TeamSpeak 3' desktop='voip' locked='true'
|
||||||
bspc rule -a 'Alacritty:mail' desktop='voip' locked='true' split_ratio='0.47'
|
bspc rule -a 'Alacritty:mail' desktop='voip' locked='true' split_ratio='0.40'
|
||||||
bspc rule -a 'Riot' desktop='voip' locked='true'
|
bspc rule -a 'Riot' desktop='voip' locked='true'
|
||||||
bspc rule -a 'discord' desktop='voip'
|
bspc rule -a 'discord' desktop='voip'
|
||||||
bspc rule -a 'Evolution' desktop='messenger'
|
bspc rule -a 'Evolution' desktop='messenger'
|
||||||
|
@ -42,7 +43,7 @@ bspc rule -a 'Signal' desktop='messenger' locked='true'
|
||||||
#bspc rule -a 'Steam' desktop='game'
|
#bspc rule -a 'Steam' desktop='game'
|
||||||
bspc rule -a 'Zathura' state='tiled'
|
bspc rule -a 'Zathura' state='tiled'
|
||||||
bspc rule -a 'Guitarix:guitarix' desktop='messenger'
|
bspc rule -a 'Guitarix:guitarix' desktop='messenger'
|
||||||
bspc rule -a 'Alacritty:sticky-note' state=floating sticky=on border=off
|
bspc rule -a 'sticky-note:sticky-note' state=floating sticky=on border=off
|
||||||
|
|
||||||
$HOME/.config/polybar/launch.sh &
|
$HOME/.config/polybar/launch.sh &
|
||||||
$HOME/.config/bspwm/swallow.py &
|
$HOME/.config/bspwm/swallow.py &
|
||||||
|
|
11
.config/environment
Normal file
11
.config/environment
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
export EDITOR='/usr/bin/vim'
|
||||||
|
export NOTMUCH_CONFIG="$HOME/.config/notmuch/config"
|
||||||
|
export MAKEFLAGS="-j$(grep -c ^processor /proc/cpuinfo)"
|
||||||
|
export MAILCAPS="$HOME/.config/mailcap/mailcaprc"
|
||||||
|
export PASSWORD_STORE_GENERATED_LENGTH='64'
|
||||||
|
export VIMINIT="source $HOME/.config/vim/vimrc"
|
||||||
|
export ZDOTDIR="$HOME/.config/zsh"
|
||||||
|
|
||||||
|
export PATH=/usr/local/bin:/usr/bin:/usr/sbin:/bin:/sbin:$HOME/.local/bin
|
|
@ -1,20 +1,20 @@
|
||||||
[user]
|
[user]
|
||||||
email = tobias@msrg.cc
|
email = tobias@msrg.cc
|
||||||
name = Tobias Reisinger
|
name = Tobias Reisinger
|
||||||
signingkey = 723B78C0BF8D8C721D2C4EEF41E544A54E2533B2
|
signingkey = 723B78C0BF8D8C721D2C4EEF41E544A54E2533B2
|
||||||
[core]
|
[core]
|
||||||
excludesfile = ~/.config/git/ignore
|
excludesfile = ~/.config/git/ignore
|
||||||
editor = vim
|
editor = vim
|
||||||
pager = less
|
pager = less
|
||||||
autocrlf = input
|
autocrlf = input
|
||||||
[help]
|
[help]
|
||||||
autocorrect = 10
|
autocorrect = 10
|
||||||
[diff]
|
[diff]
|
||||||
tool = vimdiff
|
tool = vimdiff
|
||||||
[difftool]
|
[difftool]
|
||||||
prompt = false
|
prompt = false
|
||||||
[alias]
|
[alias]
|
||||||
dt = difftool
|
dt = difftool
|
||||||
d = diff
|
d = diff
|
||||||
b = branch -vv
|
b = branch -vv
|
||||||
logg = log --graph
|
logg = log --graph
|
||||||
|
@ -27,17 +27,17 @@
|
||||||
[mergetool "vim_mergetool"]
|
[mergetool "vim_mergetool"]
|
||||||
cmd = vim -f -c "MergetoolStart" "$MERGED" "$BASE" "$LOCAL" "$REMOTE"
|
cmd = vim -f -c "MergetoolStart" "$MERGED" "$BASE" "$LOCAL" "$REMOTE"
|
||||||
trustExitCode = true
|
trustExitCode = true
|
||||||
|
|
||||||
[credential]
|
[credential]
|
||||||
helper = /usr/bin/pass-git-helper
|
helper = /usr/bin/pass-git-helper
|
||||||
[format]
|
|
||||||
signOff = yes
|
|
||||||
[sendemail]
|
[sendemail]
|
||||||
smtpserver = mail.serguzim.me
|
smtpserver = mail.serguzim.me
|
||||||
smtpuser = tobias@msrg.cc
|
smtpuser = tobias@msrg.cc
|
||||||
smtpencryption = tls
|
smtpencryption = tls
|
||||||
smtpserverport = 587
|
smtpserverport = 587
|
||||||
|
annotate = yes
|
||||||
[advice]
|
[advice]
|
||||||
addIgnoredFile = false
|
addIgnoredFile = false
|
||||||
[pull]
|
[pull]
|
||||||
ff = only
|
ff = only
|
||||||
|
[push]
|
||||||
|
followTags = true
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
venv/
|
venv/
|
||||||
|
*.pyc
|
||||||
|
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
||||||
*.swp
|
*.swp
|
||||||
*.swo
|
*.swo
|
||||||
|
|
||||||
|
.syntastic_*_config
|
||||||
|
|
183
.config/picom.conf
Normal file
183
.config/picom.conf
Normal file
|
@ -0,0 +1,183 @@
|
||||||
|
#################################
|
||||||
|
#
|
||||||
|
# Backend
|
||||||
|
#
|
||||||
|
#################################
|
||||||
|
|
||||||
|
# Backend to use: "xrender" or "glx".
|
||||||
|
# GLX backend is typically much faster but depends on a sane driver.
|
||||||
|
backend = "glx";
|
||||||
|
|
||||||
|
#################################
|
||||||
|
#
|
||||||
|
# Shadows
|
||||||
|
#
|
||||||
|
#################################
|
||||||
|
|
||||||
|
# Enabled client-side shadows on windows.
|
||||||
|
shadow = true;
|
||||||
|
# The blur radius for shadows. (default 12)
|
||||||
|
shadow-radius = 5;
|
||||||
|
# The left offset for shadows. (default -15)
|
||||||
|
shadow-offset-x = -5;
|
||||||
|
# The top offset for shadows. (default -15)
|
||||||
|
shadow-offset-y = -5;
|
||||||
|
# The translucency for shadows. (default .75)
|
||||||
|
shadow-opacity = 0.5;
|
||||||
|
|
||||||
|
# Set if you want different colour shadows
|
||||||
|
# shadow-red = 0.0;
|
||||||
|
# shadow-green = 0.0;
|
||||||
|
# shadow-blue = 0.0;
|
||||||
|
|
||||||
|
# The shadow exclude options are helpful if you have shadows enabled. Due to the way picom draws its shadows, certain applications will have visual glitches
|
||||||
|
# (most applications are fine, only apps that do weird things with xshapes or argb are affected).
|
||||||
|
# This list includes all the affected apps I found in my testing. The "! name~=''" part excludes shadows on any "Unknown" windows, this prevents a visual glitch with the XFWM alt tab switcher.
|
||||||
|
shadow-exclude = [
|
||||||
|
"! name~=''",
|
||||||
|
"name = 'Notification'",
|
||||||
|
"name = 'Plank'",
|
||||||
|
"name = 'Docky'",
|
||||||
|
"name = 'Kupfer'",
|
||||||
|
"name = 'xfce4-notifyd'",
|
||||||
|
"name = 'cpt_frame_window'",
|
||||||
|
"name *= 'VLC'",
|
||||||
|
"name *= 'compton'",
|
||||||
|
"name *= 'picom'",
|
||||||
|
"name *= 'Chromium'",
|
||||||
|
"name *= 'Chrome'",
|
||||||
|
"class_g = 'Firefox' && argb",
|
||||||
|
"class_g = 'Conky'",
|
||||||
|
"class_g = 'Kupfer'",
|
||||||
|
"class_g = 'Synapse'",
|
||||||
|
"class_g ?= 'Notify-osd'",
|
||||||
|
"class_g ?= 'Cairo-dock'",
|
||||||
|
"class_g ?= 'Xfce4-notifyd'",
|
||||||
|
"class_g ?= 'Xfce4-power-manager'",
|
||||||
|
"_GTK_FRAME_EXTENTS@:c",
|
||||||
|
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
|
||||||
|
];
|
||||||
|
# Avoid drawing shadow on all shaped windows (see also: --detect-rounded-corners)
|
||||||
|
shadow-ignore-shaped = false;
|
||||||
|
|
||||||
|
#################################
|
||||||
|
#
|
||||||
|
# Opacity
|
||||||
|
#
|
||||||
|
#################################
|
||||||
|
|
||||||
|
inactive-opacity = 1;
|
||||||
|
active-opacity = 1;
|
||||||
|
frame-opacity = 1;
|
||||||
|
inactive-opacity-override = false;
|
||||||
|
|
||||||
|
#inactive-dim = 0.2;
|
||||||
|
#inactive-dim-fixed = true;
|
||||||
|
blur-background = true;
|
||||||
|
blur-kern = "7x7box";
|
||||||
|
blur-background-fixed = true;
|
||||||
|
blur-background-exclude = [
|
||||||
|
"window_type = 'dock'",
|
||||||
|
"window_type = 'desktop'"
|
||||||
|
];
|
||||||
|
|
||||||
|
#################################
|
||||||
|
#
|
||||||
|
# Fading
|
||||||
|
#
|
||||||
|
#################################
|
||||||
|
|
||||||
|
# Fade windows during opacity changes.
|
||||||
|
fading = true;
|
||||||
|
# The time between steps in a fade in milliseconds. (default 10).
|
||||||
|
fade-delta = 3;
|
||||||
|
# Opacity change between steps while fading in. (default 0.028).
|
||||||
|
fade-in-step = 0.03;
|
||||||
|
# Opacity change between steps while fading out. (default 0.03).
|
||||||
|
fade-out-step = 0.03;
|
||||||
|
# Fade windows in/out when opening/closing
|
||||||
|
# no-fading-openclose = true;
|
||||||
|
|
||||||
|
# Specify a list of conditions of windows that should not be faded.
|
||||||
|
fade-exclude = [ ];
|
||||||
|
|
||||||
|
#################################
|
||||||
|
#
|
||||||
|
# Other
|
||||||
|
#
|
||||||
|
#################################
|
||||||
|
|
||||||
|
# Try to detect WM windows and mark them as active.
|
||||||
|
mark-wmwin-focused = true;
|
||||||
|
# Mark all non-WM but override-redirect windows active (e.g. menus).
|
||||||
|
mark-ovredir-focused = true;
|
||||||
|
# Use EWMH _NET_WM_ACTIVE_WINDOW to determine which window is focused instead of using FocusIn/Out events.
|
||||||
|
# Usually more reliable but depends on a EWMH-compliant WM.
|
||||||
|
use-ewmh-active-win = true;
|
||||||
|
# Detect rounded corners and treat them as rectangular when --shadow-ignore-shaped is on.
|
||||||
|
detect-rounded-corners = true;
|
||||||
|
|
||||||
|
# Detect _NET_WM_OPACITY on client windows, useful for window managers not passing _NET_WM_OPACITY of client windows to frame windows.
|
||||||
|
# This prevents opacity being ignored for some apps.
|
||||||
|
# For example without this enabled my xfce4-notifyd is 100% opacity no matter what.
|
||||||
|
detect-client-opacity = true;
|
||||||
|
|
||||||
|
# Specify refresh rate of the screen.
|
||||||
|
# If not specified or 0, picom will try detecting this with X RandR extension.
|
||||||
|
refresh-rate = 0;
|
||||||
|
|
||||||
|
# Vertical synchronization: match the refresh rate of the monitor
|
||||||
|
vsync = true;
|
||||||
|
|
||||||
|
# Enable DBE painting mode, intended to use with VSync to (hopefully) eliminate tearing.
|
||||||
|
# Reported to have no effect, though.
|
||||||
|
dbe = false;
|
||||||
|
|
||||||
|
# Limit picom to repaint at most once every 1 / refresh_rate second to boost performance.
|
||||||
|
# This should not be used with --vsync drm/opengl/opengl-oml as they essentially does --sw-opti's job already,
|
||||||
|
# unless you wish to specify a lower refresh rate than the actual value.
|
||||||
|
#sw-opti = true;
|
||||||
|
|
||||||
|
# Unredirect all windows if a full-screen opaque window is detected, to maximize performance for full-screen windows, like games.
|
||||||
|
# Known to cause flickering when redirecting/unredirecting windows.
|
||||||
|
unredir-if-possible = false;
|
||||||
|
|
||||||
|
# Specify a list of conditions of windows that should always be considered focused.
|
||||||
|
focus-exclude = [ ];
|
||||||
|
|
||||||
|
# Use WM_TRANSIENT_FOR to group windows, and consider windows in the same group focused at the same time.
|
||||||
|
detect-transient = true;
|
||||||
|
# Use WM_CLIENT_LEADER to group windows, and consider windows in the same group focused at the same time.
|
||||||
|
# WM_TRANSIENT_FOR has higher priority if --detect-transient is enabled, too.
|
||||||
|
detect-client-leader = true;
|
||||||
|
|
||||||
|
#################################
|
||||||
|
#
|
||||||
|
# Window type settings
|
||||||
|
#
|
||||||
|
#################################
|
||||||
|
|
||||||
|
wintypes:
|
||||||
|
{
|
||||||
|
tooltip =
|
||||||
|
{
|
||||||
|
# fade: Fade the particular type of windows.
|
||||||
|
fade = true;
|
||||||
|
# shadow: Give those windows shadow
|
||||||
|
shadow = false;
|
||||||
|
# opacity: Default opacity for the type of windows.
|
||||||
|
opacity = 0.85;
|
||||||
|
# focus: Whether to always consider windows of this type focused.
|
||||||
|
focus = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
######################
|
||||||
|
#
|
||||||
|
# XSync
|
||||||
|
# See: https://github.com/yshui/picom/commit/b18d46bcbdc35a3b5620d817dd46fbc76485c20d
|
||||||
|
#
|
||||||
|
######################
|
||||||
|
|
||||||
|
# Use X Sync fence to sync clients' draw calls. Needed on nvidia-drivers with GLX backend for some users.
|
||||||
|
xrender-sync-fence = true;
|
|
@ -27,7 +27,8 @@
|
||||||
font-2 = Font Awesome 5 Pro Light:size=12
|
font-2 = Font Awesome 5 Pro Light:size=12
|
||||||
font-3 = Font Awesome 5 Pro Solid:size=12
|
font-3 = Font Awesome 5 Pro Solid:size=12
|
||||||
font-4 = Font Awesome 5 Brands:size=12
|
font-4 = Font Awesome 5 Brands:size=12
|
||||||
font-5 = PowerlineSymbols:size=12
|
font-5 = Font Awesome 5 Duotone Solid:size=12
|
||||||
|
font-6 = PowerlineSymbols:size=12
|
||||||
|
|
||||||
monitor =
|
monitor =
|
||||||
|
|
||||||
|
|
|
@ -18,8 +18,8 @@ super + p
|
||||||
super + Escape
|
super + Escape
|
||||||
pkill -USR1 -x sxhkd
|
pkill -USR1 -x sxhkd
|
||||||
|
|
||||||
super + Print
|
super + {_, ctrl +, shift + } Print
|
||||||
import /tmp/screenshot.png && xclip -t image/png /tmp/screenshot.png -selection clipboard
|
suas {sel, win, }
|
||||||
|
|
||||||
super + Pause
|
super + Pause
|
||||||
$HOME/.local/bin/rofi-shutdown
|
$HOME/.local/bin/rofi-shutdown
|
||||||
|
@ -81,7 +81,7 @@ super + {t,shift + t,s,f}
|
||||||
bspc node -t {tiled,pseudo_tiled,floating,fullscreen}
|
bspc node -t {tiled,pseudo_tiled,floating,fullscreen}
|
||||||
|
|
||||||
# set the node flags
|
# set the node flags
|
||||||
super + ctrl + {m,l,period,p}
|
super + ctrl + {m,comma,period,p}
|
||||||
bspc node -g {marked,locked,sticky,private}
|
bspc node -g {marked,locked,sticky,private}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -23,6 +23,8 @@ set encoding=utf-8
|
||||||
|
|
||||||
set nowrap
|
set nowrap
|
||||||
|
|
||||||
|
autocmd FileType yaml setlocal ai ts=2 sw=2 et cuc nu
|
||||||
|
|
||||||
runtime ftplugin/man.vim
|
runtime ftplugin/man.vim
|
||||||
set keywordprg=:Man
|
set keywordprg=:Man
|
||||||
|
|
||||||
|
@ -47,7 +49,7 @@ call plug#begin('~/.config/vim/plugged')
|
||||||
Plug 'sersorrel/vim-lilypond'
|
Plug 'sersorrel/vim-lilypond'
|
||||||
Plug 'vim-scripts/DoxygenToolkit.vim'
|
Plug 'vim-scripts/DoxygenToolkit.vim'
|
||||||
Plug 'drmikehenry/vim-headerguard'
|
Plug 'drmikehenry/vim-headerguard'
|
||||||
Plug 'jreybert/vimagit'
|
Plug 'cespare/vim-toml'
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
map <leader>m :Magit<CR>
|
map <leader>m :Magit<CR>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[ -f "$HOME/.config/user-dirs.dirs" ] && source $HOME/.config/user-dirs.dirs
|
[ -f "$HOME/.config/user-dirs.dirs" ] && source $HOME/.config/user-dirs.dirs
|
||||||
source $HOME/.config/enviroment
|
source $HOME/.config/environment
|
||||||
|
|
||||||
# Enable colors and change prompt:
|
# Enable colors and change prompt:
|
||||||
autoload -U colors && colors
|
autoload -U colors && colors
|
||||||
|
@ -15,8 +15,8 @@ PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magent
|
||||||
$%b "
|
$%b "
|
||||||
|
|
||||||
# History in cache directory:
|
# History in cache directory:
|
||||||
HISTSIZE=10000
|
HISTSIZE=1000000
|
||||||
SAVEHIST=10000
|
SAVEHIST=1000000
|
||||||
HISTFILE=$HOME/.cache/zsh_history
|
HISTFILE=$HOME/.cache/zsh_history
|
||||||
|
|
||||||
# Basic auto/tab complete:
|
# Basic auto/tab complete:
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
sleep 8
|
sleep 8
|
||||||
pulseaudio -k
|
systemctl --user stop pulseaudio.service
|
||||||
|
systemctl --user stop pulseaudio.socket
|
||||||
|
|
||||||
sleep 1
|
sleep 1
|
||||||
jack_control ds alsa
|
jack_control ds alsa
|
||||||
|
@ -12,13 +13,7 @@ jack_control dps period 128
|
||||||
jack_control start
|
jack_control start
|
||||||
|
|
||||||
sleep 1
|
sleep 1
|
||||||
pulseaudio -D
|
systemctl --user start pulseaudio
|
||||||
|
|
||||||
sleep 1
|
|
||||||
pulseaudio -k
|
|
||||||
|
|
||||||
sleep 1
|
|
||||||
pulseaudio -D
|
|
||||||
|
|
||||||
sleep 1
|
sleep 1
|
||||||
a2jmidid -e &
|
a2jmidid -e &
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/sh
|
||||||
|
|
||||||
CONFIG_FILE="$HOME/.config/alacritty/sticky-notes.yml"
|
CONFIG_FILE="$HOME/.config/alacritty/sticky-note.yml"
|
||||||
STICKY_NOTE_FILE="/tmp/sticky-note"
|
STICKY_NOTE_FILE="/tmp/sticky-note"
|
||||||
|
|
||||||
echo "$@" > "$STICKY_NOTE_FILE"
|
echo "$@" > "$STICKY_NOTE_FILE"
|
||||||
|
|
1
.lynxrc
Normal file
1
.lynxrc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
character_set=UNICODE (UTF-8)
|
27
.profile
27
.profile
|
@ -1,26 +1 @@
|
||||||
[ -f "$HOME/.config/user-dirs.dirs" ] && source $HOME/.config/user-dirs.dirs
|
source $HOME/.config/environment
|
||||||
|
|
||||||
export EDITOR='/usr/bin/vim'
|
|
||||||
export VIMINIT="source $HOME/.config/vim/vimrc"
|
|
||||||
export NOTMUCH_CONFIG="$HOME/.config/notmuch/config"
|
|
||||||
export MAILCAPS="$HOME/.config/mailcap/mailcaprc"
|
|
||||||
export PASSWORD_STORE_GENERATED_LENGTH='64'
|
|
||||||
|
|
||||||
if [ -x "$(command -v gpgconf)" ]
|
|
||||||
then
|
|
||||||
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
|
||||||
gpgconf --launch gpg-agent
|
|
||||||
fi
|
|
||||||
|
|
||||||
[ -x "$(command -v jack_control)" ] && ($HOME/.local/bin/start_jack >/tmp/jack.log 2>&1 &)
|
|
||||||
|
|
||||||
if [ -x "$(command -v mopidy)" ]
|
|
||||||
then
|
|
||||||
sh -c "sleep 12 && mopidy" & # mopidy needs internet (wait some secs) for spotify
|
|
||||||
else
|
|
||||||
[ -x "$(command -v mpd)" ] && (mpd &)
|
|
||||||
fi
|
|
||||||
|
|
||||||
[ -x "$(command -v ympd)" ] && (ympd --webport 54594 &)
|
|
||||||
|
|
||||||
[ $SHELL = "/bin/bash" ] && source $HOME/.bashrc
|
|
||||||
|
|
42
.xprofile
42
.xprofile
|
@ -1,29 +1,55 @@
|
||||||
[ -f "$HOME/.config/user-dirs.dirs" ] && source $HOME/.config/user-dirs.dirs
|
[ -f "$HOME/.config/user-dirs.dirs" ] && source $HOME/.config/user-dirs.dirs
|
||||||
|
source $HOME/.config/enviroment
|
||||||
|
|
||||||
xcompmgr -c -r0 &
|
#xcompmgr -c -r0 &
|
||||||
|
picom &
|
||||||
export ZDOTDIR="$HOME/.config/zsh"
|
numlockx on
|
||||||
|
|
||||||
setxkbmap de
|
setxkbmap de
|
||||||
setxkbmap -option caps:none
|
setxkbmap -option caps:none
|
||||||
|
|
||||||
|
|
||||||
|
if [ -x "$(command -v gpgconf)" ]
|
||||||
|
then
|
||||||
|
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
||||||
|
gpgconf --launch gpg-agent
|
||||||
|
fi
|
||||||
|
|
||||||
_autostart_on_launch()
|
_autostart_on_launch()
|
||||||
{
|
{
|
||||||
|
dunst &
|
||||||
ckb-next -b &
|
ckb-next -b &
|
||||||
steam-runtime -silent -tcp &
|
parcellite &
|
||||||
transmission-gtk -m &
|
|
||||||
|
|
||||||
conky --daemonize --config="$HOME/.config/conky/clock.conf"
|
conky --daemonize --config="$HOME/.config/conky/clock.conf"
|
||||||
conky --daemonize --config="$HOME/.config/conky/cpu_ram_storage.conf"
|
conky --daemonize --config="$HOME/.config/conky/cpu_ram_storage.conf"
|
||||||
feh --bg-fill $XDG_PICTURES_DIR/wallpaper/active_wallpaper
|
feh --bg-fill $XDG_PICTURES_DIR/wallpaper/active_wallpaper
|
||||||
|
|
||||||
sleep 8
|
sleep 8
|
||||||
|
|
||||||
|
syncthing -no-browser &
|
||||||
|
|
||||||
|
actkbd -g -c ~/.config/actkbd/actkbd.conf -d /dev/input/by-id/usb-Dell_Dell_USB_Keyboard-event-kbd &
|
||||||
|
|
||||||
|
/usr/lib/kdeconnectd &
|
||||||
|
transmission-gtk -m &
|
||||||
|
steam-runtime -silent -tcp &
|
||||||
env GTK_THEME=Adwaita:light firefox &
|
env GTK_THEME=Adwaita:light firefox &
|
||||||
|
|
||||||
|
start_jack >/tmp/jack.log 2>&1
|
||||||
|
#launch_jack
|
||||||
|
sleep 1
|
||||||
teamspeak3 &
|
teamspeak3 &
|
||||||
#evolution &
|
sleep 2
|
||||||
alacritty --class "mail" -e sh -c "notmuch new && neomutt" &
|
alacritty --class "mail" -e sh -c "neomutt" &
|
||||||
signal-desktop &
|
sleep 1
|
||||||
riot-desktop &
|
riot-desktop &
|
||||||
|
sleep 1
|
||||||
|
bspc node "@voip:/first" -f
|
||||||
|
dg-open "steam://open/friends/"
|
||||||
|
|
||||||
|
mopidy &
|
||||||
|
ympd --webport 54594 &
|
||||||
}
|
}
|
||||||
|
|
||||||
_autostart_on_launch &
|
_autostart_on_launch &
|
||||||
|
|
Loading…
Reference in a new issue