From 6f4800f396bbe5b26e9454f3d61d60d946e40745 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Fri, 5 Jan 2018 23:58:46 -0500 Subject: [PATCH] Switch from termite to urxvt --- dotfiles/.Xresources | 16 +++++++++ dotfiles/.config/bspwm/bspwmrc | 3 +- dotfiles/.config/gtk-3.0/gtk.css | 7 ---- dotfiles/.config/termite/config | 60 -------------------------------- install/packages.sh | 6 ++-- 5 files changed, 21 insertions(+), 71 deletions(-) delete mode 100644 dotfiles/.config/gtk-3.0/gtk.css delete mode 100644 dotfiles/.config/termite/config diff --git a/dotfiles/.Xresources b/dotfiles/.Xresources index d7d339a3..324ffa67 100644 --- a/dotfiles/.Xresources +++ b/dotfiles/.Xresources @@ -39,6 +39,22 @@ Xft.hintstyle: hintfull ! Make font colors look better (?) Xft.rgba: rgb +! urxvt settings +URxvt.font: xft:Hack:size=12 +URxvt.scrollBar: false +URxvt.internalBorder: 40 +URxvt.cursorBlink: true + +! https://wiki.gentoo.org/wiki/Rxvt-unicode +URxvt.perl-ext-common: default,selection-to-clipboard,pasta,matcher,keyboard-select +URxvt.keysym.M-u: perl:url-select:select_next +URxvt.url-launcher: /usr/bin/waterfox +URxvt.underlineURLs: true +URxvt.matcher.button: 1 +URxvt.keysym.M-Escape:perl:keyboard-select:activate +URxvt.keysym.Control-Shift-V: perl:pasta:paste +URxvt.clipboard.autocopy: true + ! This line is used to indicate where to add theme colors. Note that everything ! after this line is replaced. See the theme docs for more information. ! [colors] diff --git a/dotfiles/.config/bspwm/bspwmrc b/dotfiles/.config/bspwm/bspwmrc index 71d7e8b5..4f95a472 100644 --- a/dotfiles/.config/bspwm/bspwmrc +++ b/dotfiles/.config/bspwm/bspwmrc @@ -15,10 +15,11 @@ bspc rule -a mpv state=floating bspc rule -a feh state=floating # Always focus the window under the cursor -# when moving the mouse, similar to i3 +# while moving the mouse, similar to i3 bspc config focus_follows_pointer true # Colors #bspc config normal_border_color #bspc config active_border_color #bspc config focused_border_color + diff --git a/dotfiles/.config/gtk-3.0/gtk.css b/dotfiles/.config/gtk-3.0/gtk.css deleted file mode 100644 index 460d5815..00000000 --- a/dotfiles/.config/gtk-3.0/gtk.css +++ /dev/null @@ -1,7 +0,0 @@ -.termite { - padding: 30px; - /* TODO: Use 15px for normal windows - * and 30px all around for floating windows */ - padding-top: 15px; - padding-bottom: 0; -} diff --git a/dotfiles/.config/termite/config b/dotfiles/.config/termite/config deleted file mode 100644 index e55c1cf8..00000000 --- a/dotfiles/.config/termite/config +++ /dev/null @@ -1,60 +0,0 @@ -################################################################################## -# -# New Start: A modern Arch workflow built with an emphasis on functionality. -# Copyright (C) 2017 Donovan Glover -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . -# -################################################################################## - -[options] -# 3 fonts of preference, sorted by readability -font = Hack 12 -#font = Inconsolata 14 -#font = Fira Mono 12 - -# No need to show the mouse in the terminal window -mouse_autohide = true - -[colors] -foreground = #959DCB -foreground_bold = #959DCB -cursor = #959DCB -cursor_foreground = #292D3E -background = #292D3E - -color0 = #292D3E -color8 = #676E95 -color7 = #959DCB -color15 = #FFFFFF -color1 = #F07178 -color9 = #F07178 -color2 = #C3E88D -color10 = #C3E88D -color3 = #FFCB6B -color11 = #FFCB6B -color4 = #82AAFF -color12 = #82AAFF -color5 = #C792EA -color13 = #C792EA -color6 = #89DDFF -color14 = #89DDFF -color16 = #F78C6C -color17 = #FF5370 -color18 = #444267 -color19 = #32374D -color20 = #8796B0 -color21 = #959DCB - -# vim:ft=dosini diff --git a/install/packages.sh b/install/packages.sh index 7c0d8d2d..67df21c1 100644 --- a/install/packages.sh +++ b/install/packages.sh @@ -61,8 +61,8 @@ i llvm # Install llvm, used to make the crystal binary i fd-rs # Install fd-rs, a faster alternative to find i exa # Install exa, a drop-in replacement for ls (and tree) -i fdupes # Install fdupes, used to quickly find duplicate files -i ripgrep # Install rg, a faster alternative to ag / ack / grep +i fdupes # Install fdupes, used to quickly find duplicate files +i ripgrep # Install rg, a faster alternative to ag / ack / grep i tig # Install tig, used to browse git commits i ncdu # Install ncdu, used to easily see disk usage @@ -88,7 +88,7 @@ i alsa-utils # Install alsa-utils, required to make the sound system work i bspwm # Install bspwm, our window manager of choice i sxhkd # Install sxhkd, used for adding keybindings to X -i termite # Install termite, our terminal of choice (with true color support) +i rxvt-unicode # Install urxvt, our terminal of choice i compton # Install compton, our compositor of choice i ranger # Install ranger, our file explorer of choice