From 0089618d316c0127a0a71159c2825843d03b5e6d Mon Sep 17 00:00:00 2001 From: Salt Date: Fri, 16 Nov 2018 23:49:26 -0600 Subject: [PATCH] tint2, bspwm, Polybar: Better bar, purge the forgotten --- .config/bspwm/bspwmrc | 75 ------- .config/polybar/config | 361 -------------------------------- .config/rofi/config.rasi | 7 +- .config/tint2/normalfag.tint2rc | 218 +++++++++++++++++++ .config/tint2/tint2rc | 60 ++++-- 5 files changed, 268 insertions(+), 453 deletions(-) delete mode 100755 .config/bspwm/bspwmrc delete mode 100644 .config/polybar/config create mode 100644 .config/tint2/normalfag.tint2rc diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc deleted file mode 100755 index 0c333090..00000000 --- a/.config/bspwm/bspwmrc +++ /dev/null @@ -1,75 +0,0 @@ -#!/usr/bin/env bash - -# Copyright (c) 2017 rehashedsalt/vintagesalt -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -# Load session startup script -dtfscript="$HOME/.concession/conspiracy" -if [ -x "$dtfscript" ]; then - ("$dtfscript"; pkill bspwm)& >/dev/null 2>&1 - exit 0 -fi -unset dtfscript - -## Behavior -# Tiling behavior -bspc config split_ratio 0.50 -bspc config remove_disabled_monitors false -bspc config remove_unplugged_monitors true - -# Pointer behavior -bspc config click_to_focus any -bspc config pointer_follows_focus false -bspc config pointer_follows_monitor true -bspc config pointer_modifier mod1 -bspc config pointer_action1 move #LMB -bspc config pointer_action2 resize_corner #RMB - -## Looks -# Padding -bspc config border_width 2 -bspc config window_gap 0 -bspc config single_monocle false -bspc config borderless_monocle false -bspc config gapless_monocle true -# Colors -bspc config normal_border_color "#3c3836" #Unfocused -bspc config active_border_color "#458588" #Focused, but current monitor isn't -bspc config focused_border_color "#83a598" #Focused completely -bspc config presel_feedback_color "#9b9b9b" #??? - -## Rules -bspc rule -r '*' -bspc rule -a Firefox desktop=1 -bspc rule -a Firefox-esr desktop=1 -bspc rule -a Waterfox desktop=1 -bspc rule -a Liferea desktop=6 -bspc rule -a discord desktop=7 -bspc rule -a spotify desktop=8 -bspc rule -a 'Minecraft 1.7.10' state=fullscreen -# For fullscreen Wine -bspc rule -a explorer.exe state=fullscreen -# Plasma rules -bspc rule -a plasmashell state=floating sticky=on border=off -bspc rule -a krunner state=floating layer=above sticky=on border=off -# Widgets -bspc rule -a Conky state=floating layer=below sticky=on -bspc rule -a pavucontrol-qt state=floating layer=above sticky=on - diff --git a/.config/polybar/config b/.config/polybar/config deleted file mode 100644 index a1914b40..00000000 --- a/.config/polybar/config +++ /dev/null @@ -1,361 +0,0 @@ -#================================================== -# -# INFO: https://github.com/jaagr/polybar -# -#=================================================== - -#======================================== -# RESOURCES -#======================================== -[res/colors] -primary = ${xrdb:color12} -secondary = ${xrdb:color4} -alert = ${xrdb:color3} -warning = ${xrdb:color1} - -mod-battery = ${xrdb:color10} -mod-cpu = ${xrdb:color12} -mod-date = ${self.primary} -mod-fs = ${xrdb:color11} -mod-memory = ${xrdb:color13} -mod-tor = ${xrdb:color13} -mod-volume = ${self.primary} -mod-network = ${xrdb:color14} -mod-wm = ${xrdb:color12} -mod-xbacklight = ${self.primary} - -notif-package = ${self.foreground-dark} - -background = ${xrdb:background} -background-alt = ${xrdb:bg2} -foreground = ${xrdb:color15} -foreground-dark = ${xrdb:color8} - -border = #3c3836 -bar-empty = ${self.border} - -[res/config] -padding = 2 -padding-bar = 3 - -[res/fonts] -font-0 = "Inconsolata:style=Regular:size=10;2" -font-1 = "Inconsolata:style=Bold:size=10;2" -font-2 = "Inconsolata:style=Light:size=10;2" -font-3 = "Inconsolata:size=10;2" -font-4 = "Material Design Icons:size=11;3" - -#======================================== -# BARS -#======================================== - -# TEMPLATE -#==================== - -[template/bar] -# General ordering -bottom = true -wm-restack = ${env:PB_WM_RESTACK:i3} -offset-y = 2 - -# Tray settings -tray-maxsize = 16 - -# Colors -background = ${res/colors.background} -foreground = ${res/colors.foreground} -border-color = ${res/colors.background-alt} - -# Whitespace -height = 36 -padding = ${res/config.padding-bar} -overline-size = 6 -underline-size = 6 - -# Module whitespace -module-margin = 2 - -# Module fonts -font-0 = ${res/fonts.font-0} -font-1 = ${res/fonts.font-1} -font-2 = ${res/fonts.font-2} -font-3 = ${res/fonts.font-3} -font-4 = ${res/fonts.font-4} - -# BARS -#==================== -[bar/primary] -monitor = ${env:PB_MONITOR:eDP-1} -inherit = template/bar - -modules-left = ${env:PB_BAR_PRIMARY_MODULES_LEFT:battery cpu memory} -modules-center = ${env:PB_BAR_PRIMARY_MODULES_CENTER:i3 bspwm} -modules-right = ${env:PB_BAR_PRIMARY_MODULES_RIGHT:tor xbacklight volume wlan eth date} - -[bar/primary-2] -monitor = ${env:PB_MONITOR:eDP-1} -inherit = template/bar - -bottom = false -border-top-size = 0 -border-bottom-size = ${env:PB_BAR_BORDER_SIZE:2} - -modules-left = ${env:PB_BAR_PRIMARY_2_MODULES_LEFT: } -modules-center = ${env:PB_BAR_PRIMARY_2_MODULES_CENTER: } -modules-right = ${env:PB_BAR_PRIMARY_2_MODULES_RIGHT: } - -[bar/secondary] -monitor = ${env:PB_MONITOR} -inherit = template/bar - -modules-left = ${env:PB_BAR_SECONDARY_MODULES_LEFT:uname hostname} -modules-center = ${env:PB_BAR_SECONDARY_MODULES_CENTER:i3 bspwm} -modules-right = ${env:PB_BAR_SECONDARY_MODULES_RIGHT:date} - -[bar/secondary-2] -monitor = ${env:PB_MONITOR} -inherit = template/bar - -bottom = false -border-top-size = 0 -border-bottom-size = ${env:PB_BAR_BORDER_SIZE:2} - -modules-left = ${env:PB_BAR_SECONDARY_2_MODULES_LEFT: } -modules-center = ${env:PB_BAR_SECONDARY_2_MODULES_CENTER: } -modules-right = ${env:PB_BAR_SECONDARY_2_MODULES_RIGHT: } - -#======================================== -# MODULES -#======================================== - -# BORDERS and WHITESPACE -#==================== -[module/|] -type = custom/text -content = "|" -content-foreground = ${res/colors.background-alt} - -[module/||] -type = custom/text -content = " " -content-background = ${res/colors.border} - -[module/nothing] -type = custom/text -content = " " - -# NOTIFICATION -#==================== -[module/dpkg] -type = custom/script -format =