Update
This commit is contained in:
2
Makefile
2
Makefile
@@ -19,7 +19,7 @@ clean:
|
||||
$(ansible): venv
|
||||
|
||||
venv:
|
||||
command -v virtualenv || sudo dnf install -y python2-virtualenv || sudo apt-get -y install virtualenv
|
||||
command -v virtualenv || sudo dnf install -y python3-virtualenv || sudo apt-get -y install virtualenv
|
||||
virtualenv --no-site-packages --python=python2 $(venv)
|
||||
$(activate) && $(pip) install -r $(requirements)
|
||||
|
||||
|
||||
4
autostart/20_gpg_agent.sh
Executable file
4
autostart/20_gpg_agent.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
printf '%s' "starting gpg-agent"
|
||||
systemd-run -r --user --setenv=DISPLAY=${DISPLAY} gpg-agent --homedir "$HOME/.gnupg" --no-detach --daemon
|
||||
11
autostart/20_screen.sh
Executable file
11
autostart/20_screen.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
printf '%s\n' "start compton"
|
||||
systemd-run --remain-after-exit --user --setenv=DISPLAY=${DISPLAY} compton --backend glx --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
|
||||
4
autostart/50_nextcloud.sh
Executable file
4
autostart/50_nextcloud.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
printf '%s' "starting nextcloud"
|
||||
systemd-run --user --setenv=DISPLAY=${DISPLAY} nextcloud
|
||||
@@ -1,5 +1,6 @@
|
||||
empty_directories:
|
||||
- .i3
|
||||
- .gnupg
|
||||
dotfiles:
|
||||
- from: autostart.sh
|
||||
to: .autostart.sh
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
default-cache-ttl 86400
|
||||
default-cache-ttl-ssh 86400
|
||||
default-cache-ttl 60480000
|
||||
default-cache-ttl-ssh 60480000
|
||||
|
||||
max-cache-ttl 34560000
|
||||
max-cache-ttl-ssh 34560000
|
||||
|
||||
@@ -40,7 +40,7 @@ battery_level all {
|
||||
}
|
||||
|
||||
clock {
|
||||
format = ["{Europe/Berlin}", "{NZ}", "{Cuba}" ]
|
||||
format = ["{DE}", "{NZ}", "{Cuba}", "{MX}" ]
|
||||
format_time = " {name} \[KW %V\] %a %d.%m.%Y %H:%M:%S "
|
||||
}
|
||||
|
||||
|
||||
@@ -292,3 +292,6 @@ packages:
|
||||
rclone:
|
||||
fedora: ["rclone"]
|
||||
ubuntu: ["rclone"]
|
||||
dnf:
|
||||
fedora: ["python3-dnf"]
|
||||
ubuntu: []
|
||||
|
||||
@@ -33,9 +33,11 @@
|
||||
become: true
|
||||
|
||||
- name: install selinux specials on fedora
|
||||
package:
|
||||
dnf:
|
||||
state: installed
|
||||
name: libselinux-python
|
||||
name:
|
||||
- python2-libselinux
|
||||
- policycoreutils-python
|
||||
become: true
|
||||
when: distro == 'fedora'
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
ansible==2.6.3
|
||||
ansible==2.7.5
|
||||
asn1crypto==0.24.0
|
||||
bcrypt==3.1.4
|
||||
cffi==1.11.5
|
||||
|
||||
@@ -306,3 +306,7 @@ let g:terraform_align = 1
|
||||
if has("autocmd")
|
||||
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
|
||||
endif
|
||||
|
||||
let g:ycm_server_python_interpreter = "python2"
|
||||
|
||||
au FileType html setl shiftwidth=2
|
||||
|
||||
@@ -5,11 +5,16 @@ URxvt.scrollBar: false
|
||||
URxvt.font: xft:Inconsolata:size={{ machine.font_size }}
|
||||
URxvt.letterSpace: {{ machine.letter_space }}
|
||||
|
||||
URxvt.perl-ext: default,matcher,selection-to-clipboard,font-size,resize-font
|
||||
URxvt.perl-ext-common: default,matcher,selection-to-clipboard,resize-font,selection-to-clipboard
|
||||
URxvt.url-launcher: /usr/bin/xdg-open
|
||||
URxvt.matcher.button: 1
|
||||
URxvt.saveLines: 10000
|
||||
|
||||
URxvt.keysym.C-udiaeresis: perl:matcher:last
|
||||
URxvt.keysym.C-adiaeresis: perl:matcher:list
|
||||
|
||||
URxvt.matcher.rend.0: Uline Bold fg5
|
||||
|
||||
URxvt.internalBorder: 3
|
||||
URxvt.externalBorder: 0
|
||||
|
||||
|
||||
@@ -85,6 +85,8 @@ alias newpw="pwgen --secure 25 1"
|
||||
alias sys="systemctl"
|
||||
alias sysu="systemctl --user"
|
||||
|
||||
alias gpg=gpg2
|
||||
|
||||
gitmaster() {
|
||||
git stash push -m gitmaster-$(date -uIseconds) -u || return 1
|
||||
_branch=$(git rev-parse --abbrev-ref HEAD)
|
||||
|
||||
@@ -202,3 +202,7 @@ prefix() {
|
||||
file=$1
|
||||
mv $file ${prefix}${file}
|
||||
}
|
||||
|
||||
tmp() {
|
||||
cd "$(mktemp -d)"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user