From 7cdddd2f98bb6d284875c9788f249fa62840ccf7 Mon Sep 17 00:00:00 2001 From: Derek Stevens Date: Tue, 15 Jun 2021 12:12:15 -0600 Subject: [PATCH] update ksatrya configs --- dunstrc | 47 +++++++++++++++++++++++++++++++++++++++++++++ kshrc | 17 ++++++++++++---- micro/settings.json | 14 ++++++++++++++ ryudo-session | 9 --------- xinitrc | 23 ++++++++++++++++++++++ 5 files changed, 97 insertions(+), 13 deletions(-) create mode 100644 dunstrc create mode 100644 micro/settings.json delete mode 100644 ryudo-session create mode 100644 xinitrc diff --git a/dunstrc b/dunstrc new file mode 100644 index 0000000..829e91e --- /dev/null +++ b/dunstrc @@ -0,0 +1,47 @@ +[global] +font = SauceCodeProNerdFontMono 10 +geometry = "0x999+16-16" +padding = 8 +indicate_hidden = no +hide_duplicate_count = true +idle_threshold = 240 +stack_duplicates = false +format = "%s %b" +ignore_dbusclose = true + +[urgency_low] +foreground = "#797979" +background = "#000000" +timeout = 10 +[urgency_normal] +foreground = "#797979" +background = "#000000" +timeout = 10 +[urency_critical] +foreground = "#797979" +background = "#000000" +timeout = 15 + +[timemsg] + category = "time" + set_stack_tag = "time" + +[volmsg] + category = "volume" + set_stack_tag = "volume" + +[brightmsg] + category = "brightness" + set_stack_tag = "brightness" + +[batmsg] + category = "power" + set_stack_tag = "power" + +[virtual] + category = "virtual" + set_stack_tag = "virtual" + +[email] + category = "mail" + set_stack_tag = "mail" diff --git a/kshrc b/kshrc index 2d614b6..e8d5a71 100644 --- a/kshrc +++ b/kshrc @@ -122,12 +122,21 @@ mssqldb() fi } +mondev(){ + case $1 in + db) + docker run -it --rm -e MONGO_INITDB_ROOT_USERNAME="root" -e MONGO_INITDB_ROOT_PASSWORD="BadDefaultPassword" -e dbUser="mondev" -e dbPwd="mondevpw" -p 27017:27017 mondev_db;; + acs) + docker run -it --rm -e RABBITMQ_ADDRESS="172.17.0.3" -e RABBITMQ_PORT="5672" -e CLIENT_PORT="25252" -p 15673:15673 -p 25252:25252 mondev_acs;; + mq) + docker run -it --rm --hostname localhost --name rabbit -p 5672:5672 -p 15672:15672 rabbitmq;; + *) + echo "usage: mondev [db | acs | mq]";; + esac +} + siroonian() { - if [ -z $1 ]; then - echo "usage: siroonian [connect | auth | desktop]" - fi - case $1 in connect) sudo openfortivpn;; diff --git a/micro/settings.json b/micro/settings.json new file mode 100644 index 0000000..736dec6 --- /dev/null +++ b/micro/settings.json @@ -0,0 +1,14 @@ +{ + "colorscheme": "solarwolf", + "diffgutter": true, + "divchars": " ", + "mkparents": true, + "parsecursor": true, + "paste": true, + "scrollbar": true, + "softwrap": true, + "statusformatl": "[$(opt:filetype)] $(opt:fileformat)/$(opt:encoding) ($(status.size))", + "statusformatr": "$(modified)$(filename):$(line):$(col) .. $(status.lines)", + "tabsize": 2, + "tabstospaces": true +} diff --git a/ryudo-session b/ryudo-session deleted file mode 100644 index 018744a..0000000 --- a/ryudo-session +++ /dev/null @@ -1,9 +0,0 @@ -nitrogen --restore & -pulseaudio --start --exit-idle-time=-1 -~/src/zenUtils/batAlarm.sh & -~/src/zenUtils/transsetter.sh & -xbindkeys -f ~/.xbindkeysrc & -xset -b & -xclock -geometry -0-0 -foreground white -background black -digital -strftime "%Y-%m-%d %H:%M" -font "-*-lucidatypewriter-*-*-*-*-*-*-*-*-*-*-*-*" & -xosview -geomerty +0+0 & -sudo powertop --auto-tune & diff --git a/xinitrc b/xinitrc new file mode 100644 index 0000000..47135f9 --- /dev/null +++ b/xinitrc @@ -0,0 +1,23 @@ +#!/bin/sh + +if ! pgrep pulseaudio; then + pulseaudio --start --exit-idle-time=-1 & +fi +if ! pgrep offlineimap; then + offlineimap & +fi + +redshift -x; redshift -O 6000K & +xbacklight -set 50 & +nitrogen --restore & +xcompmgr -n & +plumber & + +~/src/zenUtils/batAlarm.sh & +~/src/zenUtils/transsetter.sh & +xbindkeys -f ~/.xbindkeysrc & +xset -b & +xclock -geometry -0-0 -strftime "%Y-%m-%d %H:%M" & +xosview -geomerty +0+0 & +sudo powertop --auto-tune & +exec dbus-launch ryudo -virtuals 4 -term 'alacritty --config-file ~/.config/alacritty-ryudo.yml'