Path Fixes, Polybar Dual Mon, Powerlines

master
Tim 4 years ago
parent e4e19fa183
commit 387ba6206c

@ -5,7 +5,9 @@
! URxvt config
! Inconsolata Font
URxvt*font: xft:Inconsolata for Powerline:size=10
!URxvt*font: xft:Font Awesome 5 Free Regular:size=10
URxvt*font: xft:Inconsolata for Powerline:size=11:antialias=true xft:Droid Sans Mono for Powerline:size=11
!URxvt*boldfont: xft:Inconsolata for Powerline BoldForPowerline:size=10:antialias=true
! Tewi Font
!
@ -40,7 +42,7 @@ URxvt.keysym.C-M-v: builtin-string:
! Perl Extensions
!
URxvt.perl-ext-common: selection-to-clipboard,color-themes
URxvt.perl-ext-common: selection-to-clipboard,color-themes,font-size
! DPI

@ -19,12 +19,9 @@ secondary = #e60053
alert = #bd2c40
[bar/top]
;monitor = ${env:MONITOR:HDMI-1}
monitor = ${env:MONITOR:DisplayPort-0}
width = 100%
height = 27
;offset-x = 1%
;offset-y = 1%
radius = 6.0
fixed-center = false
background = ${colors.background}
@ -42,19 +39,36 @@ padding-right = 2
module-margin-left = 1
module-margin-right = 2
;font-0 = fixed:pixelsize=10;1
font-0 = Inconsolata Nerd Font Complete Mono:pixelsize=10;1
font-1 = Weather Icons:size=12;1
modules-left = i3 bspwm
modules-left = i3
modules-center = mpd xwindow
modules-right = weather filesystem xbacklight pulseaudio memory cpu eth temperature date powermenu
tray-position = right
tray-padding = 2
;tray-transparent = true
; So we can go fullscreen with i3
;override-redirect = true
wm-restack = i3
[bar/top-sec]
monitor = ${env:MONITOR:DVI-D-0}
width = 100%
height = 27
font-0 = Inconsolata Nerd Font Complete Mono:pixelsize=10;1
font-1 = Weather Icons:size=12;1
background = ${colors.background}
foreground = ${colors.foreground}
modules-left = i3
modules-right = date
;override-redirect = true
wm-restack = i3
line-size = 3
line-color = #f00
border-size = 4
border-color = #00000000
[module/xwindow]
type = internal/xwindow
@ -113,6 +127,7 @@ type = internal/i3
format = <label-state> <label-mode>
index-sort = true
wrapping-scroll = false
pin-workspaces = true
; Only show workspaces on the same output as the bar
;pin-workspaces = true

@ -0,0 +1,16 @@
#!/bin/sh
case "$1" in
--toggle)
if [ "$(wmname)" != "BSPWM" ]; then
wmname BSPWM
else
wmname LG3D
fi
;;
*)
wmname=$(wmname)
echo "# $wmname"
;;
esac

@ -8,5 +8,6 @@ while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
# Launch bar1 and bar2
polybar top &
polybar top-sec &
echo "Bars launched..."

@ -211,7 +211,7 @@ bindsym Print exec scrot -e 'mv $f ~/Pictures/screenshots/'
##
# Setup the monitor to be 2k instead of 4k.
exec --no-startup-id xrandr --output DisplayPort-0 --mode 2560x1440
exec --no-startup-id xrandr --output DisplayPort-0 --mode 2560x1440 --right-of DVI-D-0
exec --no-startup-id dunst -config ~/.config/dunst/dunstrc
#exec --no-startup-id compton --config ~/.config/compton/compton.conf -b
@ -225,7 +225,7 @@ for_window [class="^.*"] border pixel 1
for_window [class="(?i)urxvt"] border pixel 1
# Always load on specific windows
assign [class="Firefox"] $workspace2
#assign [class="Firefox"] $workspace2
assign [class="Steam"] $workspace4
assign [class="csgo_linux64"] $workspace5 #csgo $(xdotool search csgo)
assign [class="Cities.x64"] $workspace5 #csgo $(xdotool search Cit)

@ -53,8 +53,8 @@ PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/opt/bin
# Games
[ -d /usr/games/bin ] && PATH=$PATH:/usr/games:/usr/games/bin
# Local Bin
[ -d $HOME/bin ]; PATH=$PATH:~/bin
[ -d $HOME/.local/bin ]; PATH=$PATH:~/.local/bin
[ -d $HOME/bin ] && PATH=$PATH:~/bin
[ -d $HOME/.local/bin ] && PATH=$PATH:~/.local/bin
# Export for the Environment
export PATH=$PATH
@ -70,3 +70,6 @@ PERL_MM_OPT="INSTALL_BASE=/home/timc/perl5"; export PERL_MM_OPT;
[ -s "$NVM_DIR/nvm.sh" ] && source "$NVM_DIR/nvm.sh"
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
# Powerline!
#[ -f /usr/share/zsh/site-contrib/powerline.zsh ] && source /usr/share/zsh/site-contrib/powerline.zsh

@ -80,3 +80,6 @@ set-option -g display-panes-colour colour166 #orange
# clock
#set-window-option -g clock-mode-colour colour64 #green
#Powerline
source /usr/share/powerline/tmux/powerline.conf

@ -142,6 +142,7 @@ let g:syntastic_check_on_wq = 0
" AirLine
set laststatus=2
let g:airline_extensions = ['branch', 'quickfix', 'syntastic', 'hunks']
let g:airline_powerline_fonts = 1
" Ansible
let g:ansible_attribute_highlight = 'ob'

Loading…
Cancel
Save