Update
This commit is contained in:
@@ -17,3 +17,5 @@ screen:
|
|||||||
8: eDP-1
|
8: eDP-1
|
||||||
9: eDP-1
|
9: eDP-1
|
||||||
0: eDP-1
|
0: eDP-1
|
||||||
|
|
||||||
|
workspace:
|
||||||
|
|||||||
@@ -17,3 +17,13 @@ screen:
|
|||||||
8: eDP-1
|
8: eDP-1
|
||||||
9: eDP-1
|
9: eDP-1
|
||||||
0: eDP-1
|
0: eDP-1
|
||||||
|
|
||||||
|
workspace:
|
||||||
|
1: www
|
||||||
|
2: www
|
||||||
|
3: term-local
|
||||||
|
4: term-remote
|
||||||
|
7: time
|
||||||
|
8: pass
|
||||||
|
9: music
|
||||||
|
10: pim
|
||||||
|
|||||||
115
autostart.sh
Executable file
115
autostart.sh
Executable file
@@ -0,0 +1,115 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -o nounset
|
||||||
|
set -o xtrace
|
||||||
|
|
||||||
|
run_raw() {
|
||||||
|
name="$1"
|
||||||
|
shift
|
||||||
|
|
||||||
|
systemd-run \
|
||||||
|
--user \
|
||||||
|
--unit "${name}" \
|
||||||
|
--no-block \
|
||||||
|
--remain-after-exit \
|
||||||
|
--setenv=DISPLAY=${DISPLAY} \
|
||||||
|
"${@}"
|
||||||
|
}
|
||||||
|
|
||||||
|
run() {
|
||||||
|
name="$1"
|
||||||
|
shift
|
||||||
|
|
||||||
|
run_raw "$name" --property=Restart=always "${@}"
|
||||||
|
}
|
||||||
|
|
||||||
|
run_oneshot_multiple() {
|
||||||
|
name="$1"
|
||||||
|
shift
|
||||||
|
|
||||||
|
cmd=()
|
||||||
|
# hacky way to start two processes in oneshot mode
|
||||||
|
for c in "${@}" ; do
|
||||||
|
cmd+=(--property "ExecStart=/usr/bin/env ${c}")
|
||||||
|
done
|
||||||
|
cmd+=(true)
|
||||||
|
|
||||||
|
echo $cmd
|
||||||
|
run_oneshot "$name" "${cmd[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
run_oneshot() {
|
||||||
|
name="$1"
|
||||||
|
shift
|
||||||
|
|
||||||
|
run_raw "$name" --service-type=oneshot "${@}"
|
||||||
|
}
|
||||||
|
|
||||||
|
schedule() {
|
||||||
|
name="$1"; shift
|
||||||
|
spec="$1"; shift
|
||||||
|
systemd-run \
|
||||||
|
--user \
|
||||||
|
--unit "${name}" \
|
||||||
|
--no-block \
|
||||||
|
--setenv=DISPLAY=${DISPLAY} \
|
||||||
|
--on-calendar="${spec}" \
|
||||||
|
"${@}"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# redshift settings
|
||||||
|
redshift_lat_long="49.5:11"
|
||||||
|
redshift_colortemp="6000:4000"
|
||||||
|
|
||||||
|
# wallpaper config
|
||||||
|
wallpaper="$LIBDIR/wallpaper/current"
|
||||||
|
|
||||||
|
# keyboard settings
|
||||||
|
keyboard_layout=de
|
||||||
|
keyboard_variant=nodeadkeys
|
||||||
|
keyboard_repeat_delay=150
|
||||||
|
keyboard_repeat_speed=50
|
||||||
|
|
||||||
|
run_oneshot acpi bash -c 'grep "^${ACPI_LID_NAME}.*enabled" /proc/acpi/wakeup && echo " ${ACPI_LID_NAME}" | sudo tee /proc/acpi/wakeup'
|
||||||
|
|
||||||
|
run_oneshot xresources xrdb -merge -I${HOME} ~/.Xresources
|
||||||
|
|
||||||
|
run_oneshot_multiple keyboard \
|
||||||
|
"setxkbmap -layout $keyboard_layout -variant $keyboard_variant" \
|
||||||
|
"xset r rate $keyboard_repeat_delay $keyboard_repeat_speed"
|
||||||
|
|
||||||
|
run_oneshot_multiple touchpad \
|
||||||
|
"synclient VertEdgeScroll=0" \
|
||||||
|
"synclient VertTwoFingerScroll=1" \
|
||||||
|
"synclient MaxSpeed=2.2" \
|
||||||
|
"synclient AccelFactor=0.08" \
|
||||||
|
"synclient TapButton1=1" \
|
||||||
|
"synclient CoastingSpeed=0" \
|
||||||
|
"synclient PalmDetect=1" \
|
||||||
|
"synclient PalmMinWidth=20" \
|
||||||
|
"synclient PalmMinZ=180"
|
||||||
|
|
||||||
|
run_oneshot pulseaudio start-pulseaudio-x11 --start --daemonize=false --fail=true --log-target=stderr
|
||||||
|
|
||||||
|
# a service called dunst already exists and conflicts
|
||||||
|
run dunst_user dunst -config ~/.config/dunstrc
|
||||||
|
|
||||||
|
# run compton compton --config ~/.config/compton.conf --backend glx --vsync opengl -CG -d :0
|
||||||
|
# run xcompmgr xcompmgr
|
||||||
|
|
||||||
|
run_oneshot feh --property=ExecStartPre="/bin/sleep 5" feh --bg-scale "${wallpaper}"
|
||||||
|
|
||||||
|
run blueman blueman-applet
|
||||||
|
|
||||||
|
run nm-applet nm-applet
|
||||||
|
|
||||||
|
run pasystray pasystray
|
||||||
|
|
||||||
|
run redshift redshift-gtk -b 1 -l "$redshift_lat_long" -t "$redshift_colortemp"
|
||||||
|
|
||||||
|
run keepassx keepassx --keyfile ~/.secret/main.key ~/.secret/main.kdbx
|
||||||
|
|
||||||
|
run spotify spotify
|
||||||
|
|
||||||
|
schedule backup "Mon..Fri 12:00:00" ~/bin/gdrive-backup
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
set -o nounset
|
|
||||||
|
|
||||||
find "$RUNDIR" -type f -name '*.pid' -delete
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
systemd-run --property=Restart=always --user --setenv=DISPLAY=${DISPLAY} dunst -config ~/.config/dunstrc &
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
printf '%s\n' "start compton"
|
|
||||||
systemd-run --property=Restart=always --user --setenv=DISPLAY=${DISPLAY} compton --backend xrender --vsync opengl &
|
|
||||||
|
|
||||||
printf '%s\n' "disable screen blanking"
|
|
||||||
xset -dpms &
|
|
||||||
xset s off &
|
|
||||||
|
|
||||||
printf '%s\n' "disable wakeup when lid switched"
|
|
||||||
grep "^${ACPI_LID_NAME}.*enabled" /proc/acpi/wakeup && echo " ${ACPI_LID_NAME}" | sudo tee /proc/acpi/wakeup
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
printf '%s' "parsing .Xresources"
|
|
||||||
xrdb -merge -I${HOME} ~/.Xresources
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
keyboard_layout=de
|
|
||||||
keyboard_variant=nodeadkeys
|
|
||||||
keyboard_repeat_delay=150
|
|
||||||
keyboard_repeat_speed=50
|
|
||||||
|
|
||||||
printf '%s' "setting keyboard layout" >>"$LOGFILE"
|
|
||||||
setxkbmap -layout "$keyboard_layout" -variant "$keyboard_variant" &
|
|
||||||
|
|
||||||
printf '%s' "setting key repeat delay" >>"$LOGFILE"
|
|
||||||
xset r rate "$keyboard_repeat_delay" "$keyboard_repeat_speed" &
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
printf '%s' "configuring synclient"
|
|
||||||
synclient VertEdgeScroll=0
|
|
||||||
synclient VertTwoFingerScroll=1
|
|
||||||
synclient MaxSpeed=2.2
|
|
||||||
synclient AccelFactor=0.08
|
|
||||||
synclient TapButton1=1
|
|
||||||
synclient CoastingSpeed=0
|
|
||||||
synclient PalmDetect=1
|
|
||||||
synclient PalmMinWidth=20
|
|
||||||
synclient PalmMinZ=180
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
wallpaper="$LIBDIR/wallpaper/current"
|
|
||||||
|
|
||||||
printf '%s' "setting wallpaper"
|
|
||||||
systemd-run --property=Restart=always --user --setenv=DISPLAY=${DISPLAY} feh --bg-scale "${wallpaper}"
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
printf '%s' "starting network tray application"
|
|
||||||
systemd-run --property=Restart=always --user --setenv=DISPLAY=${DISPLAY} blueman-applet
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
printf '%s' "starting network tray application"
|
|
||||||
systemd-run --property=Restart=always --user --setenv=DISPLAY=${DISPLAY} nm-applet
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
printf '%s' "starting pasystray"
|
|
||||||
systemd-run --property=Restart=always --user --setenv=DISPLAY=${DISPLAY} pasystray
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# redshift settings
|
|
||||||
redshift_lat_long="49.5:11"
|
|
||||||
redshift_colortemp="6000:3300"
|
|
||||||
|
|
||||||
printf '%s' "starting redshift-gtk"
|
|
||||||
systemd-run --property=Restart=always --user --setenv=DISPLAY=${DISPLAY} redshift-gtk -b 1 -l "$redshift_lat_long" -t "$redshift_colortemp"
|
|
||||||
printf '%s' $! > "$RUNDIR"/redshift.${XDG_SESSION_ID}.pid
|
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
empty_directories:
|
empty_directories:
|
||||||
- .i3
|
- .i3
|
||||||
dotfiles:
|
dotfiles:
|
||||||
- from: autostart
|
- from: autostart.sh
|
||||||
to: .autostart
|
to: .autostart.sh
|
||||||
- from: git/gitconfig
|
- from: git/gitconfig
|
||||||
to: .gitconfig
|
to: .gitconfig
|
||||||
template: true
|
template: true
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
fe = "fetch --all --prune"
|
fe = "fetch --all --prune"
|
||||||
co = "checkout"
|
co = "checkout"
|
||||||
cm = "commit --message"
|
cm = "!f() { git commit --message \"$*\" ; };f"
|
||||||
ci = "commit"
|
ci = "commit"
|
||||||
st = "status"
|
st = "status"
|
||||||
br = "branch"
|
br = "branch"
|
||||||
@@ -46,6 +46,17 @@
|
|||||||
|
|
||||||
drop = !git rebase --onto $1^ --
|
drop = !git rebase --onto $1^ --
|
||||||
|
|
||||||
|
up = !git pull --rebase --prune $@ && git submodule update --init --recursive && git branch-clean
|
||||||
|
|
||||||
|
save = "!f() { set -x ; if ! [ $1 ]; then echo 'usage: git save <branch name>'; return 1; fi; git add -A && git commit -m 'SAVEPOINT' && git branch save-$1 && git reset --hard HEAD~1; };f"
|
||||||
|
;save = !f(){echo "x$1x" && test -n $1 && echo "wat $?" && }; echo x$1x ; f()
|
||||||
|
anchor = "!f() { if ! [ $1 ]; then echo 'usage: git anchor <anchor name>'; return 1; fi; git branch anchor-$1 ; };f"
|
||||||
|
load = reset HEAD~1 --mixed
|
||||||
|
amend = commit -a --amend
|
||||||
|
wipe = !git add -A && git commit -m 'WIPE SAVEPOINT' && git reset HEAD~1 --hard
|
||||||
|
|
||||||
|
exec = "!exec "
|
||||||
|
|
||||||
[core]
|
[core]
|
||||||
fileMode = true
|
fileMode = true
|
||||||
whitespace = "blank-at-eol,space-before-tab,blank-at-eof"
|
whitespace = "blank-at-eol,space-before-tab,blank-at-eof"
|
||||||
|
|||||||
29
i3/config.j2
29
i3/config.j2
@@ -37,16 +37,16 @@
|
|||||||
set $signal_reboot reboot
|
set $signal_reboot reboot
|
||||||
set $signal_shutdown shutdown
|
set $signal_shutdown shutdown
|
||||||
|
|
||||||
set $workspace1 1
|
set $workspace1 "1{{ "" if machine.workspace.1 is not defined else ': ' ~ machine.workspace.1 }}"
|
||||||
set $workspace2 2
|
set $workspace2 "2{{ "" if machine.workspace.2 is not defined else ': ' ~ machine.workspace.2 }}"
|
||||||
set $workspace3 3
|
set $workspace3 "3{{ "" if machine.workspace.3 is not defined else ': ' ~ machine.workspace.3 }}"
|
||||||
set $workspace4 4
|
set $workspace4 "4{{ "" if machine.workspace.4 is not defined else ': ' ~ machine.workspace.4 }}"
|
||||||
set $workspace5 5
|
set $workspace5 "5{{ "" if machine.workspace.5 is not defined else ': ' ~ machine.workspace.5 }}"
|
||||||
set $workspace6 6
|
set $workspace6 "6{{ "" if machine.workspace.6 is not defined else ': ' ~ machine.workspace.6 }}"
|
||||||
set $workspace7 7
|
set $workspace7 "7{{ "" if machine.workspace.7 is not defined else ': ' ~ machine.workspace.7 }}"
|
||||||
set $workspace8 8
|
set $workspace8 "8{{ "" if machine.workspace.8 is not defined else ': ' ~ machine.workspace.8 }}"
|
||||||
set $workspace9 9
|
set $workspace9 "9{{ "" if machine.workspace.9 is not defined else ': ' ~ machine.workspace.9 }}"
|
||||||
set $workspace10 10
|
set $workspace10 "10{{ "" if machine.workspace.10 is not defined else ': ' ~ machine.workspace.10 }}"
|
||||||
|
|
||||||
set $key_workspace1 1
|
set $key_workspace1 1
|
||||||
set $key_workspace2 2
|
set $key_workspace2 2
|
||||||
@@ -110,6 +110,7 @@ workspace $workspace9 output {{ machine.screen.9 }}
|
|||||||
workspace $workspace10 output {{ machine.screen.0 }}
|
workspace $workspace10 output {{ machine.screen.0 }}
|
||||||
|
|
||||||
assign [class="^Keepassx$"] $workspace8
|
assign [class="^Keepassx$"] $workspace8
|
||||||
|
assign [class="^Spotify$"] $workspace9
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
### KEYBINDINGS ################################################################
|
### KEYBINDINGS ################################################################
|
||||||
@@ -210,16 +211,16 @@ assign [class="^Keepassx$"] $workspace8
|
|||||||
bindsym $mod+$scratchpad scratchpad show
|
bindsym $mod+$scratchpad scratchpad show
|
||||||
|
|
||||||
bindsym $mod+$pim_toggle \
|
bindsym $mod+$pim_toggle \
|
||||||
|
unmark pim_toggle; \
|
||||||
workspace $workspace10; \
|
workspace $workspace10; \
|
||||||
mark --add pim_toggle; \
|
mark --add pim_toggle; \
|
||||||
workspace $workspace1; \
|
workspace $workspace1; \
|
||||||
move container to workspace $workspace10; \
|
move container to workspace $workspace10; \
|
||||||
[con_mark="pim_toggle"] focus; \
|
[con_mark="^pim_toggle$"] focus; \
|
||||||
move container to workspace $workspace1; \
|
move container to workspace $workspace1; \
|
||||||
workspace $workspace1; \
|
workspace $workspace1; \
|
||||||
[con_mark="pim_toggle"] focus
|
[con_mark="^pim_toggle$"] focus; \
|
||||||
|
unmark pim_toggle;
|
||||||
# bindsym $mod+$swap workspace $workspace1; move container to workspace $workspace10; workspace $workspace10; move container to workspace $workspace1; workspace $workspace1;
|
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
### MODES ######################################################################
|
### MODES ######################################################################
|
||||||
|
|||||||
26
packages.yml
26
packages.yml
@@ -165,7 +165,7 @@ packages:
|
|||||||
ubuntu: ["xcompmgr"]
|
ubuntu: ["xcompmgr"]
|
||||||
python:
|
python:
|
||||||
fedora: ["python"]
|
fedora: ["python"]
|
||||||
ubuntu: ["python3", "python3-pip", "python3-venv", "virtualenv"]
|
ubuntu: ["python3", "python3-pip", "python3-venv", "virtualenv", "pylint3"]
|
||||||
xbacklight:
|
xbacklight:
|
||||||
fedora: ["xbacklight"]
|
fedora: ["xbacklight"]
|
||||||
ubuntu: ["xbacklight"]
|
ubuntu: ["xbacklight"]
|
||||||
@@ -268,3 +268,27 @@ packages:
|
|||||||
bluetooth:
|
bluetooth:
|
||||||
fedora: []
|
fedora: []
|
||||||
ubuntu: ["blueman"]
|
ubuntu: ["blueman"]
|
||||||
|
autorandr:
|
||||||
|
fedora: []
|
||||||
|
ubuntu: ["autorandr"]
|
||||||
|
bwm-ng:
|
||||||
|
fedora: []
|
||||||
|
ubuntu: ["bwm-ng"]
|
||||||
|
virtualbox:
|
||||||
|
fedora: []
|
||||||
|
ubuntu: ["virtualbox"]
|
||||||
|
sshfs:
|
||||||
|
fedora: []
|
||||||
|
ubuntu: ["sshfs"]
|
||||||
|
expect:
|
||||||
|
fedora: []
|
||||||
|
ubuntu: ["expect"]
|
||||||
|
pluma:
|
||||||
|
fedora: []
|
||||||
|
ubuntu: ["pluma"]
|
||||||
|
inotify:
|
||||||
|
fedora: []
|
||||||
|
ubuntu: ["inotify-tools"]
|
||||||
|
rclone:
|
||||||
|
fedora: ["rclone"]
|
||||||
|
ubuntu: ["rclone"]
|
||||||
|
|||||||
@@ -73,7 +73,8 @@
|
|||||||
state: stopped
|
state: stopped
|
||||||
enabled: false
|
enabled: false
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
with_items: []
|
with_items:
|
||||||
|
- ssh
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: enable services
|
- name: enable services
|
||||||
@@ -83,6 +84,8 @@
|
|||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
with_items:
|
with_items:
|
||||||
- NetworkManager
|
- NetworkManager
|
||||||
|
- docker
|
||||||
|
- libvirtd
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: set groups for fedora
|
- name: set groups for fedora
|
||||||
|
|||||||
21
vim/vimrc
21
vim/vimrc
@@ -16,7 +16,7 @@ Plug 'saltstack/salt-vim'
|
|||||||
Plug 'sickill/vim-monokai'
|
Plug 'sickill/vim-monokai'
|
||||||
" Plug 'sjl/gundo.vim'
|
" Plug 'sjl/gundo.vim'
|
||||||
Plug 'tpope/vim-commentary'
|
Plug 'tpope/vim-commentary'
|
||||||
" Plug 'tpope/vim-fugitive'
|
Plug 'tpope/vim-fugitive'
|
||||||
" Plug 'tpope/vim-speeddating'
|
" Plug 'tpope/vim-speeddating'
|
||||||
" Plug 'tpope/vim-surround'
|
" Plug 'tpope/vim-surround'
|
||||||
Plug 'airblade/vim-gitgutter'
|
Plug 'airblade/vim-gitgutter'
|
||||||
@@ -250,8 +250,27 @@ let g:tagbar_foldlevel = 99 " unfold all
|
|||||||
|
|
||||||
let g:lightline = {
|
let g:lightline = {
|
||||||
\ 'colorscheme': 'powerline',
|
\ 'colorscheme': 'powerline',
|
||||||
|
\ 'active': {
|
||||||
|
\ 'left': [ [ 'mode', 'paste' ],
|
||||||
|
\ [ 'readonly', 'filename', 'modified', 'helloworld' ] ],
|
||||||
|
\ 'right': [ [ 'gitbranch' ],
|
||||||
|
\ [ 'lineinfo' ],
|
||||||
|
\ [ 'percent' ],
|
||||||
|
\ [ 'fileformat', 'fileencoding', 'filetype', 'charvaluehex' ],
|
||||||
|
\ [ 'directory' ] ],
|
||||||
|
\ },
|
||||||
|
\ 'component_function': {
|
||||||
|
\ 'gitbranch': 'fugitive#head',
|
||||||
|
\ 'directory': 'LightLineFilename',
|
||||||
|
\ },
|
||||||
|
\ 'component': {
|
||||||
|
\ },
|
||||||
\ }
|
\ }
|
||||||
|
|
||||||
|
function! LightLineFilename()
|
||||||
|
return fnamemodify(expand('%F'), ":~:h")
|
||||||
|
endfunction
|
||||||
|
|
||||||
" == pencil ==
|
" == pencil ==
|
||||||
let g:pencil#textwidth = 80
|
let g:pencil#textwidth = 80
|
||||||
let g:pencil#autoformat = 1
|
let g:pencil#autoformat = 1
|
||||||
|
|||||||
16
x/xinitrc
16
x/xinitrc
@@ -19,23 +19,15 @@ fi
|
|||||||
start_wm() {
|
start_wm() {
|
||||||
log "starting i3"
|
log "starting i3"
|
||||||
exec i3 -c "$HOME/.i3/config" >> "$LOGDIR/i3/i3.log"
|
exec i3 -c "$HOME/.i3/config" >> "$LOGDIR/i3/i3.log"
|
||||||
|
# exec systemd-run --user --unit i3_user --pty --setenv=DISPLAY=${DISPLAY} i3 -c "$HOME/.i3/config" >> "$LOGDIR/i3/i3.log"
|
||||||
}
|
}
|
||||||
|
|
||||||
autostart() {
|
autostart() {
|
||||||
if [ -d "$HOME/.autostart" ] ; then
|
autostart="$HOME/.autostart.sh"
|
||||||
log "Looking for autostart files."
|
log "Executing autostart file \"$autostart\""
|
||||||
for f in "$HOME/.autostart/"*.sh ; do
|
"$autostart" >>"${LOGFILE}" 2>&1
|
||||||
if [ -x "$f" ] ; then
|
|
||||||
log "Executing autostart file \"$f\""
|
|
||||||
"$f" >>"${LOGFILE}" 2>&1
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
exec >> "$LOGFILE" 2>&1
|
exec >> "$LOGFILE" 2>&1
|
||||||
set -x
|
|
||||||
log "the"
|
|
||||||
autostart
|
autostart
|
||||||
log "fuck"
|
|
||||||
start_wm
|
start_wm
|
||||||
|
|||||||
@@ -43,6 +43,8 @@ export PATH=$PATH:$(go env GOPATH)/bin
|
|||||||
|
|
||||||
export ACPI_LID_NAME=LID
|
export ACPI_LID_NAME=LID
|
||||||
|
|
||||||
|
umask 0022
|
||||||
|
|
||||||
# Start the gpg-agent if not already running
|
# Start the gpg-agent if not already running
|
||||||
if ! pgrep -x --uid "${USER}" gpg-agent >/dev/null 2>&1; then
|
if ! pgrep -x --uid "${USER}" gpg-agent >/dev/null 2>&1; then
|
||||||
eval $(gpg-agent --daemon --sh)
|
eval $(gpg-agent --daemon --sh)
|
||||||
|
|||||||
@@ -82,6 +82,9 @@ alias issh="ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null"
|
|||||||
|
|
||||||
alias newpw="pwgen --secure 25 1"
|
alias newpw="pwgen --secure 25 1"
|
||||||
|
|
||||||
|
alias sys="systemctl"
|
||||||
|
alias sysu="systemctl --user"
|
||||||
|
|
||||||
gitmaster() {
|
gitmaster() {
|
||||||
git stash push -m gitmaster-$(date -uIseconds) -u || return 1
|
git stash push -m gitmaster-$(date -uIseconds) -u || return 1
|
||||||
_branch=$(git rev-parse --abbrev-ref HEAD)
|
_branch=$(git rev-parse --abbrev-ref HEAD)
|
||||||
|
|||||||
Reference in New Issue
Block a user