From 637d514ffa76a1f047853d4336e4b301d1006430 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Mon, 10 Dec 2018 13:55:19 -0600 Subject: [PATCH] Notifications changes, more vim work, X fixes and other provisioning changes for new machines --- apps/neovim/settings.vim | 7 +--- de/dunst/dunstrc | 14 ++++---- de/x/initrc | 2 +- de/x/profile | 10 ++++-- de/x/resources | 34 +++++++++---------- .../arch-linux/provisioning/2-essentials.bash | 6 ++-- scripts/arch-linux/provisioning/3-extras.bash | 6 ++-- scripts/bin/d_mosquitto | 3 ++ scripts/bin/d_rabbitmq | 2 ++ 9 files changed, 45 insertions(+), 39 deletions(-) create mode 100755 scripts/bin/d_mosquitto create mode 100755 scripts/bin/d_rabbitmq diff --git a/apps/neovim/settings.vim b/apps/neovim/settings.vim index 12d2a0c..0099429 100644 --- a/apps/neovim/settings.vim +++ b/apps/neovim/settings.vim @@ -39,12 +39,7 @@ highlight clear ALEWarningSign let g:fzf_layout = { 'window': 'enew' } -let g:OmniSharp_server_use_mono = 1 -let g:ale_linters = { - \ 'cs': ['OmniSharp'] - \} - -set completeopt=noinsert,menuone,noselect +set completeopt=noinsert,menuone,noselect,longest,preview " fix neovim cursor let $NVIM_TUI_ENABLE_CURSOR_SHAPE = 1 diff --git a/de/dunst/dunstrc b/de/dunst/dunstrc index da4542b..046f711 100644 --- a/de/dunst/dunstrc +++ b/de/dunst/dunstrc @@ -14,7 +14,7 @@ # the top and down respectively. # The width can be negative. In this case the actual width is the # screen width minus the width defined in within the geometry option. - geometry = "900x5-30+20" + geometry = "900x5-20+20" # Show how many messages are currently hidden (because of geometry). indicate_hidden = yes @@ -110,7 +110,7 @@ # %n progress value if set without any extra characters # %% Literal % # Markup is allowed - format = "%s\n%b" + format = "%s via %a %I %i -> " # Alignment of message text. # Possible values are "left", "center" and "right". @@ -139,15 +139,15 @@ hide_duplicate_count = false # Display indicators for URLs (U) and actions (A). - show_indicators = yes + show_indicators = no ### Icons ### # Align icons left/right/off - icon_position = off + icon_position = right # Scale larger icons down to this size, set to 0 to disable - max_icon_size = 32 + max_icon_size = 16 # Paths to default icons. icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/32x32/devices/ @@ -233,7 +233,7 @@ # Otherwise the "#" and following would be interpreted as a comment. background = "#222222" foreground = "#aaaaaa" - timeout = 10 + timeout = 5 # Icon for notifications with low urgency, uncomment to enable #icon = /path/to/icon @@ -248,7 +248,7 @@ background = "#f92672" foreground = "#111111" frame_color = "#c90642" - timeout = 0 + timeout = 30 # Icon for notifications with critical urgency, uncomment to enable #icon = /path/to/icon diff --git a/de/x/initrc b/de/x/initrc index 985c521..37263ff 100644 --- a/de/x/initrc +++ b/de/x/initrc @@ -42,4 +42,4 @@ export SSH_AUTH_SOCK # autocutsel -selection SECONDARY -fork & # fire up wm -exec "$DOTFILES_PATH/de/wmstart" +exec "$DOTFILES_PATH/de/bspwm/wmstart" diff --git a/de/x/profile b/de/x/profile index 082d8f7..0fb66ca 100644 --- a/de/x/profile +++ b/de/x/profile @@ -40,7 +40,11 @@ if [ -f "$HOME/.env_xprofile" ]; then source "$HOME/.env_xprofile" fi -xcape -e 'Control_L=Escape' & +if command -v xcape >/dev/null 2>&1; then + xcape -e 'Control_L=Escape' & +fi -autocutsel -fork & -autocutsel -selection PRIMARY -fork & +if command -v autocutsel >/dev/null 2>&1; then + autocutsel -fork & + autocutsel -selection PRIMARY -fork & +fi diff --git a/de/x/resources b/de/x/resources index 1b20b00..61c0d21 100755 --- a/de/x/resources +++ b/de/x/resources @@ -1,26 +1,26 @@ -# Some of my favorite font setups... -# *font: xft:Monaco for Powerline-9 -# *faceName: xft:Monaco for Powerline-9 -# *boldFont: xft:Monaco for Powerline-9 -# *letterSpace: -1 +## Some of my favorite font setups... +## *font: xft:Monaco for Powerline-9 +## *faceName: xft:Monaco for Powerline-9 +## *boldFont: xft:Monaco for Powerline-9 +## *letterSpace: -1 -# *font: xft:artwiz lemon-8 -# *faceName: xft:artwiz lemon-8 -# *boldFont: xft:artwiz lemon-8 -# *letterSpace: 0 +## *font: xft:artwiz lemon-8 +## *faceName: xft:artwiz lemon-8 +## *boldFont: xft:artwiz lemon-8 +## *letterSpace: 0 -# *font: xft:xos4 Terminuss Powerline-8 -# *faceName: xft:xos4 Terminuss Powerline-8 -# *boldFont: xft:xos4 Terminuss Powerline-8 -# *letterSpace: 0 +## *font: xft:xos4 Terminuss Powerline-8 +## *faceName: xft:xos4 Terminuss Powerline-8 +## *boldFont: xft:xos4 Terminuss Powerline-8 +## *letterSpace: 0 -# Set fonts in "$HOME/.Xresources.env" +## Set fonts in "$HOME/.Xresources.env" URxvt*font: xft:Iosevka:pixelsize=14,xft:Font Awesome 5 Free:pixelsize=14,xft:FreeSans:pixelsize=14 URxvt*faceName: xft:Iosevka:pixelsize=14,xft:Font Awesome 5 Free:pixelsize=14,xft:FreeSans:pixelsize=14 URxvt*boldFont: xft:Iosevka:pixelsize=14:style=bold,xft:Font Awesome 5 Free:pixelsize=14,xft:FreeSans:pixelsize=14 URxvt*letterSpace: 0 -# rxvt-unicode configuration +## rxvt-unicode configuration URxvt*termName: rxvt-unicode URxvt*scrollBar: false URxvt*cursorUnderline: true @@ -39,10 +39,10 @@ URxvt*matcher.button: 1 URxvt*depth: 0 URxvt*iso14755: False -# Other Xorg configuration +## Other Xorg configuration Xcursor.theme: human -# DPI config +## DPI config *dpi: 92 Xft.dpi: 92 *autohint: 0 diff --git a/scripts/arch-linux/provisioning/2-essentials.bash b/scripts/arch-linux/provisioning/2-essentials.bash index d246246..8ab92d8 100755 --- a/scripts/arch-linux/provisioning/2-essentials.bash +++ b/scripts/arch-linux/provisioning/2-essentials.bash @@ -2,7 +2,7 @@ # TODO: install alacritty -pacaur -S \ +pacaur --needed -S \ tree `# Handy Filesystem Viewing Utility` \ rofi `# Application Launcher` \ the_silver_searcher ripgrep `# Code Search Utilities` \ @@ -16,7 +16,7 @@ pacaur -S \ python python-pip `# Python 3 Language` \ python2 python2-pip `# Language` \ pass `# Password Management` \ - google-chrome-dev `# Default Web Browser` \ + firefox-developer-edition `# Default Web Browser` \ bash-completion `# Handy Scripts for Tab-Completion in Bash` \ fzf `# Fuzzy File Finder` \ rsync `# File Transfer` \ @@ -37,7 +37,7 @@ pacaur -S \ bspwm-git sxhkd-git xdo-git `# Window Manager and Tools for its use` \ terminus-font ttf-iosevka-pack `# Primary Fonts` \ ttf-freefont `# Font` \ - ttd-monaco `# Font` \ + ttf-monaco `# Font` \ ttf-font-awesome `# Icon Font` \ autocutsel `# Clipboard Helper` \ curl `# HTTP Utility` \ diff --git a/scripts/arch-linux/provisioning/3-extras.bash b/scripts/arch-linux/provisioning/3-extras.bash index 25bd07b..3027c17 100755 --- a/scripts/arch-linux/provisioning/3-extras.bash +++ b/scripts/arch-linux/provisioning/3-extras.bash @@ -1,7 +1,9 @@ #!/usr/bin/env bash -pacaur -S \ - gtk-theme-arc-git `# GTK Theme` \ +gpg --recv-keys 0FC3042E345AD05D + +pacaur --needed -S \ + arc-gtk-theme-git `# GTK Theme` \ elementary-icon-theme `# GUI File Explorer Icons` \ thunar thunar-volman gvfs `# GUI File Explorer + Volume Management/Auto-Mount Disks)` \ gvfs-smb `# Auto-Detect Samba Shares` \ diff --git a/scripts/bin/d_mosquitto b/scripts/bin/d_mosquitto new file mode 100755 index 0000000..98edd85 --- /dev/null +++ b/scripts/bin/d_mosquitto @@ -0,0 +1,3 @@ +#!/usr/bin/env sh +docker run -it --rm -p 1883:1883 -p 9001:9001 eclipse-mosquitto + diff --git a/scripts/bin/d_rabbitmq b/scripts/bin/d_rabbitmq new file mode 100755 index 0000000..f903916 --- /dev/null +++ b/scripts/bin/d_rabbitmq @@ -0,0 +1,2 @@ +#!/usr/bin/env sh +docker run --rm -it -p 5672:5672 -p 15672:15672 rabbitmq:3-management