Minor edits.

This commit is contained in:
Derek Taylor 2019-08-08 14:12:01 -05:00
parent b1b81ea351
commit 05d360d262
4 changed files with 63 additions and 21 deletions

View File

@ -283,7 +283,8 @@ globalkeys = my_table.join(
{description = "passmenu" , group = "dmenu scripts" }),
awful.key({ modkey, "Shift" }, "s", function () awful.util.spawn( "./.dmenu/dmenu-surfraw.sh" ) end,
{description = "surfraw web search" , group = "dmenu scripts" }),
awful.key({ modkey, "Shift" }, "t", function () awful.util.spawn( "./.dmenu/dmenu-trading.sh" ) end,
{description = "trading programs" , group = "dmenu scripts" }),
-- My applications
awful.key({ modkey, altkey }, "a", function () awful.util.spawn( "st -e ncpamixer" ) end,

View File

@ -1,15 +1,53 @@
#! /bin/sh
#### AUTOSTART ####
sxhkd &
compton &
nitrogen --restore &
./.config/bspwm/panel.sh &
bspc monitor -d I II III IV V VI VII VIII IX X
#### MONITORS ####
bspc monitor DisplayPort-0 -d 1 2 3 4 5 6 7 8 9
bspc monitor DisplayPort-1 -d 1 2 3 4 5 6 7 8 9
bspc monitor HDMI-A-0 -d 1 2 3 4 5 6 7 8 9
#### BSPWM configuration ####
#bspc config border_radius 8
bspc config border_width 2
bspc config window_gap 12
bspc config top_padding 20
bspc config split_ratio 0.52
bspc config window_gap 10
bspc config top_padding 20
bspc config bottom_padding 0
bspc config left_padding 0
bspc config right_padding 0
bspc config single_monocle false
bspc config click_to_focus true
bspc config split_ratio 0.50
bspc config borderless_monocle true
bspc config gapless_monocle true
bspc config focus_by_distance true
bspc config focus_follows_pointer true
bspc config history_aware_focus true
bspc config pointer_modifier mod4
bspc config pointer_action1 move
bspc config pointer_action2 resize_side
bspc config pointer_action3 resize_corner
bspc config remove_disabled_monitors true
bspc config merge_overlapping_monitors true
#### BSPWM coloring ####
bspc config normal_border_color "#4c566a"
bspc config active_border_color "#1e1e1e"
bspc config focused_border_color "#5e81ac"
bspc config presel_feedback_color "#5e81ac"
bspc config urgent_border_color "#dd2727"
#polybar hidden when fullscreen for vlc, youtube, mpv ...
#find out the name of your monitor with xrandr
xdo below -t $(xdo id -n root) $(xdo id -a polybar-main_DisplayPort-0)
xdo below -t $(xdo id -n root) $(xdo id -a polybar-main_DisplayPort-1)
xdo below -t $(xdo id -n root) $(xdo id -a polybar-main_HDMI-A-0)
bspc rule -a Gimp desktop='^8' state=floating follow=on
bspc rule -a Chromium desktop='^2'

View File

@ -302,13 +302,13 @@ tray-background = ${colors.background}
monitor = ${env:MONITOR}
;monitor-fallback = HDMI1
width = 100%
height = 30
height = 20
;offset-x = 1%
;offset-y = 1%
radius = 0.0
fixed-center = true
bottom = false
separator = |
separator =
background = ${colors.background}
foreground = ${colors.foreground}
@ -330,21 +330,22 @@ border-size = 0
;border-bottom-size = 25
border-color = #00000000
padding-left = 0
padding-left = 1
padding-right = 1
module-margin-left = 3
module-margin-right = 3
module-margin-left = 0
module-margin-right = 0
;https://github.com/jaagr/polybar/wiki/Fonts
font-0 = "Noto Sans:size=10;0"
font-1 = "FontAwesome:size=13;0"
font-2 = "Noto Sans:size=10;0"
font-3 = "Noto Sans Mono:size=10;0"
font-0 = "UbuntuMono Nerd Font:size=10;2"
font-1 = "UbuntuMono Nerd Font:size=16;3"
font-2 = "Font Awesome 5 Free:style=Regular:pixelsize=8;1"
font-3 = "Font Awesome 5 Free:style=Solid:pixelsize=8;1"
font-4 = "Font Awesome 5 Brands:pixelsize=8;1"
modules-left = bspwm xwindow
modules-center = kernel
modules-right = pavolume memory2 cpu2 date
modules-center =
modules-right = arrow1 networkspeedup networkspeeddown arrow2 memory2 arrow3 cpu2 arrow4 pavolume arrow5 arch-aur-updates arrow6 date
tray-detached = false
tray-offset-x = 0
@ -353,7 +354,7 @@ tray-position = right
tray-padding = 2
tray-maxsize = 20
tray-scale = 1.0
tray-background = #2e3440
tray-background = ${colors.background}
scroll-up = bspwm-desknext
scroll-down = bspwm-deskprev
@ -566,9 +567,9 @@ ws-icon-4 = 5;
ws-icon-5 = 6;
ws-icon-6 = 7;
ws-icon-7 = 8;
;ws-icon-8 = 9;
;ws-icon-9 = 10;
;ws-icon-default = " "
ws-icon-8 = 9;
ws-icon-9 = 10;
ws-icon-default = " "
format = <label-state> <label-mode>
@ -576,7 +577,7 @@ format = <label-state> <label-mode>
label-focused = %icon%
label-focused-background = ${colors.background}
label-focused-underline= #6790eb
label-focused-padding = 4
label-focused-padding = 2
label-focused-foreground = ${colors.foreground}
label-occupied = %icon%

2
.vimrc
View File

@ -11,6 +11,7 @@ set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin() " required, all plugins must appear after this line.
"Plugin 'arcticicestudio/nord-vim' " Nord Color Scheme
Plugin 'gmarik/Vundle.vim' " Vundle
Plugin 'vim-airline/vim-airline' " Airline
Plugin 'vim-airline/vim-airline-themes' " Airline Themes
@ -120,6 +121,7 @@ let g:minimap_toggle='<leader>mt'
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Colors
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" colorscheme nord
hi LineNr ctermfg=242
hi CursorLineNr ctermfg=15
hi VertSplit ctermfg=8 ctermbg=0