From 6a8fced92afe93d4b2080bfd1d40015d0bc6ce91 Mon Sep 17 00:00:00 2001 From: yage Date: Tue, 24 May 2022 09:38:21 -0600 Subject: [PATCH] Always try to run discord; update to configs --- bin/i3/launch-or-show | 7 ++++++- config/code-activator.conf | 1 + config/pgcli.conf | 13 ++++++++----- vim/en.utf-8.add | 2 ++ vim/en.utf-8.add.spl | Bin 1160 -> 1184 bytes 5 files changed, 17 insertions(+), 6 deletions(-) diff --git a/bin/i3/launch-or-show b/bin/i3/launch-or-show index 7a43687..91ec366 100755 --- a/bin/i3/launch-or-show +++ b/bin/i3/launch-or-show @@ -32,9 +32,14 @@ case $APPLICATION in pavucontrol ) FACTOR=0.4 YFFSET=200 ;; esac +LAUNCH_APP=0 -xdotool search --class "$CLIENT_CLASS" >/dev/null 2>&1 || { +xdotool search --class "$CLIENT_CLASS" || LAUNCH_APP=1 +[[ $CLIENT_CLASS =~ discord ]] && LAUNCH_APP=1 + +[[ $LAUNCH_APP -eq 1 ]] && { i3-msg "exec --no-startup-id $APPLICATION;" + sleep .5 } WINDOW_SIZE=$(\ diff --git a/config/code-activator.conf b/config/code-activator.conf index a460f24..f46f43f 100644 --- a/config/code-activator.conf +++ b/config/code-activator.conf @@ -12,6 +12,7 @@ CA__DIRS=( # additional cloning targets; MUST END IN ':' or '/' # e.g. 'git@my.githost.com:' or 'git@github.com:w0ryn/' CA__KNOWN_TARGETS=( + 'git@yage.io:directus/' 'git@yage.io:brown-bag/' 'git@yage.io:gizmos/' 'git@yage.io:python/' diff --git a/config/pgcli.conf b/config/pgcli.conf index cc69254..eea4308 100644 --- a/config/pgcli.conf +++ b/config/pgcli.conf @@ -25,7 +25,7 @@ multi_line_mode = psql # Destructive warning mode will alert you before executing a sql statement # that may cause harm to the database such as "drop table", "drop database" # or "shutdown". -destructive_warning = True +destructive_warning = False # Enables expand mode, which is similar to `\x` in psql. expand = False @@ -90,6 +90,9 @@ timing = True # ascii, double, github, orgtbl, rst, mediawiki, html, latex, latex_booktabs, # textile, moinmoin, jira, vertical, tsv, csv. # Recommended: psql, fancy_grid and grid. + +#table_format = csv +#table_format = grid table_format = vertical # Syntax Style. Possible values: manni, igor, xcode, vim, autumn, vs, rrt, @@ -101,7 +104,7 @@ syntax_style = default # When Vi mode is enabled you can use modal editing features offered by Vi in the REPL. # When Vi mode is disabled emacs keybindings such as Ctrl-A for home and Ctrl-E # for end are available in the REPL. -vi = False +vi = True # Error handling # When one of multiple SQL statements causes an error, choose to either @@ -113,7 +116,7 @@ on_error = STOP row_limit = 1000 # Skip intro on startup and goodbye on exit -less_chatty = False +less_chatty = True # Postgres prompt # \t - Current date and time @@ -127,13 +130,13 @@ less_chatty = False # \n - Newline # \dsn_alias - name of dsn alias if -D option is used (empty otherwise) # \x1b[...m - insert ANSI escape sequence -prompt = '\u@\h:\d> ' +prompt = '\d \# ' # Number of lines to reserve for the suggestion menu min_num_menu_lines = 4 # Character used to left pad multi-line queries to match the prompt size. -multiline_continuation_char = '' +multiline_continuation_char = '.' # The string used in place of a null value. null_string = '' diff --git a/vim/en.utf-8.add b/vim/en.utf-8.add index 19a7c29..7122696 100644 --- a/vim/en.utf-8.add +++ b/vim/en.utf-8.add @@ -92,3 +92,5 @@ Pikachu diagonalization axiomatizable COVID +Scwrypts +Directus diff --git a/vim/en.utf-8.add.spl b/vim/en.utf-8.add.spl index 224e575f569f28a6eda4f922b61df2accccdabb9..a50070e2d9ac4c80bac35cad450cdbeec3770288 100644 GIT binary patch delta 224 zcmeC+T)@c}=IL8pkeZWY^q+x&>HkK)2u4Mw#3IIY#(c&+#ze*(#!N;=28Pxu##F{+ z#u54 z8S5sqFuUk6Wt4-=_*2SQ#8}B#05-1#Xj?AOzD&jxkn*}>pynJ9>&4_uW_iYqlRKGZ ur32Ezsu>enz!{LuoSFmF**}?ur3C=Wgfx`^ delta 247 zcmZ3$*}=&d=IL8pkeZWY^q+x&>HS8&2u2acM8dl9$N&)Hy ziIe~xmJ2e`t$-ylm63soxu6uNI1?zG0&%ZfGSKxv1-Em-TA4hvnNxFshPF+XVQB#X D?k_j0