a
This commit is contained in:
parent
70313a7203
commit
bc49fdcd3f
8 changed files with 53 additions and 18 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -255,3 +255,4 @@ heroic/
|
||||||
kwinoutputconfig.json
|
kwinoutputconfig.json
|
||||||
plasmaparc
|
plasmaparc
|
||||||
bruno/
|
bruno/
|
||||||
|
beekeeper-studio/
|
||||||
|
|
|
@ -3,7 +3,6 @@ general.firstdayofweek=sunday
|
||||||
appearance.layout=5
|
appearance.layout=5
|
||||||
appearance.compactpanels=yes
|
appearance.compactpanels=yes
|
||||||
appearance.defaultpanel=todo
|
appearance.defaultpanel=todo
|
||||||
appearance.sidebarwidth=30
|
|
||||||
appearance.notifybar=no
|
appearance.notifybar=no
|
||||||
appearance.headerline=no
|
appearance.headerline=no
|
||||||
appearance.eventseparator=no
|
appearance.eventseparator=no
|
||||||
|
@ -12,3 +11,22 @@ appearance.emptyline=no
|
||||||
appearance.emptyday=
|
appearance.emptyday=
|
||||||
appearance.theme=blue on default
|
appearance.theme=blue on default
|
||||||
format.inputdate=4
|
format.inputdate=4
|
||||||
|
appearance.calendarview=monthly
|
||||||
|
appearance.todoview=hide-completed
|
||||||
|
appearance.headingpos=right-justified
|
||||||
|
daemon.enable=no
|
||||||
|
daemon.log=no
|
||||||
|
format.notifydate=%a %F
|
||||||
|
format.notifytime=%T
|
||||||
|
format.appointmenttime=%H:%M
|
||||||
|
format.outputdate=%D
|
||||||
|
format.dayheading=%B %e, %Y
|
||||||
|
general.autogc=no
|
||||||
|
general.autosave=yes
|
||||||
|
general.confirmdelete=yes
|
||||||
|
general.multipledays=yes
|
||||||
|
general.periodicsave=0
|
||||||
|
general.systemevents=yes
|
||||||
|
notification.command=printf '\a'
|
||||||
|
notification.notifyall=flagged-only
|
||||||
|
notification.warning=300
|
||||||
|
|
|
@ -14,6 +14,13 @@ lvim.plugins = {
|
||||||
lvim.colorscheme = "everforest"
|
lvim.colorscheme = "everforest"
|
||||||
vim.g.everforest_background = "hard"
|
vim.g.everforest_background = "hard"
|
||||||
|
|
||||||
|
vim.api.nvim_create_autocmd({"BufRead", "BufNewFile"}, {
|
||||||
|
pattern = "calcurse*",
|
||||||
|
callback = function()
|
||||||
|
vim.bo.filetype = "markdown"
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
|
||||||
require("config.go")
|
require("config.go")
|
||||||
require("config.c")
|
require("config.c")
|
||||||
-- require("config.py")
|
-- require("config.py")
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
export \
|
export \
|
||||||
TERM="xterm-256color" \
|
TERM="xterm-256color" \
|
||||||
BROWSER="firefox-hardened" \
|
BROWSER="firefox-hardened" \
|
||||||
EDITOR="nvim" \
|
EDITOR="lvim" \
|
||||||
VISUAL="nvim"
|
VISUAL="lvim"
|
||||||
|
|
|
@ -28,4 +28,5 @@ export \
|
||||||
SSH_CONFIG="-F ${XDG_CONFIG_HOME}/ssh/config" \
|
SSH_CONFIG="-F ${XDG_CONFIG_HOME}/ssh/config" \
|
||||||
GIT_SSH_COMMAND="ssh -F ${XDG_CONFIG_HOME}/ssh/config" \
|
GIT_SSH_COMMAND="ssh -F ${XDG_CONFIG_HOME}/ssh/config" \
|
||||||
ZDOTDIR="$XDG_CONFIG_HOME/shell" \
|
ZDOTDIR="$XDG_CONFIG_HOME/shell" \
|
||||||
NPM_CONFIG_USERCONFIG=$XDG_CONFIG_HOME/npm/npmrc
|
NPM_CONFIG_USERCONFIG=$XDG_CONFIG_HOME/npm/npmrc \
|
||||||
|
IPYTHONDIR="$XDG_CONFIG_HOME/ipython"
|
||||||
|
|
|
@ -4,8 +4,8 @@ Host *
|
||||||
|
|
||||||
Host home
|
Host home
|
||||||
AddressFamily inet
|
AddressFamily inet
|
||||||
#HostName 192.168.100.83
|
HostName 192.168.100.83
|
||||||
HostName tavo.one
|
#HostName tavo.one
|
||||||
port 22
|
port 22
|
||||||
|
|
||||||
Host tavo.one
|
Host tavo.one
|
||||||
|
|
|
@ -1,5 +1,13 @@
|
||||||
set -g base-index 1
|
set -g base-index 1
|
||||||
set -g pane-base-index 1
|
setw -g pane-base-index 1
|
||||||
|
set-option -g renumber-windows on
|
||||||
|
|
||||||
|
set -g status-style bg=default
|
||||||
|
set -g status-right ""
|
||||||
|
set -g status-left ""
|
||||||
|
set -g window-status-format "#[fg=black]#I:#W"
|
||||||
|
set -g window-status-current-format "#[fg=cyan bold]#I:#W"
|
||||||
|
set-option -ga terminal-overrides ",xterm-256color:Tc"
|
||||||
|
|
||||||
bind -n M-1 select-window -t 1
|
bind -n M-1 select-window -t 1
|
||||||
bind -n M-2 select-window -t 2
|
bind -n M-2 select-window -t 2
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
PODMAN_NAME="PostgreSQL"
|
PODMAN_NAME="PostgreSQL"
|
||||||
PGSQL_IMAGE="docker.io/library/postgres"
|
PGSQL_IMAGE="docker.io/library/postgres"
|
||||||
|
|
||||||
: "${HOST:=localhost}"
|
: "${DB_HOST:=localhost}"
|
||||||
: "${PORT:=5455}"
|
: "${DB_PORT:=5455}"
|
||||||
: "${PASS:=1234}"
|
: "${DB_PASS:=1234}"
|
||||||
: "${USER:=postgres}"
|
: "${DB_USER:=postgres}"
|
||||||
: "${DB:=local}"
|
: "${DB_NAME:=local}"
|
||||||
|
|
||||||
if ! command -v podman >/dev/null 2>&1 ; then
|
if ! command -v podman >/dev/null 2>&1 ; then
|
||||||
echo "podman not found in PATH"
|
echo "podman not found in PATH"
|
||||||
|
@ -15,7 +15,7 @@ if ! command -v podman >/dev/null 2>&1 ; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if command -v fuser >/dev/null 2>&1 ; then
|
if command -v fuser >/dev/null 2>&1 ; then
|
||||||
if fuser "$PORT"/tcp >/dev/null 2>&1 ; then
|
if fuser "$DB_PORT"/tcp >/dev/null 2>&1 ; then
|
||||||
echo "Port already in use"
|
echo "Port already in use"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
@ -23,14 +23,14 @@ fi
|
||||||
|
|
||||||
if ! podman run \
|
if ! podman run \
|
||||||
--name "$PODMAN_NAME" \
|
--name "$PODMAN_NAME" \
|
||||||
-p "$PORT":5432 \
|
-p "$DB_PORT":5432 \
|
||||||
-e POSTGRES_USER="$USER" \
|
-e POSTGRES_USER="$DB_USER" \
|
||||||
-e POSTGRES_PASSWORD="$PASS" \
|
-e POSTGRES_PASSWORD="$DB_PASS" \
|
||||||
-e POSTGRES_DB="$DB" \
|
-e POSTGRES_DB="$DB_NAME" \
|
||||||
--replace \
|
--replace \
|
||||||
-d \
|
-d \
|
||||||
"$PGSQL_IMAGE" 1>&- ; then
|
"$PGSQL_IMAGE" 1>&- ; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "postgresql://$USER:$PASS@$HOST:$PORT/$DB"
|
echo "postgresql://$DB_USER:$DB_PASS@$DB_HOST:$DB_PORT/$DB_NAME?sslmode=disable"
|
||||||
|
|
Loading…
Reference in a new issue