Compare commits

..

4 Commits

Author SHA1 Message Date
fanyx afe58a5677 Add xwindow module and some font changes 2022-06-10 14:24:40 +02:00
fanyx dd7a70dd59 xcln actually does clean up now 2022-06-10 14:24:01 +02:00
fanyx 3b95e458c1 Remove NVim config 2022-06-10 14:23:29 +02:00
fanyx 4cf3d4deb9 Add some border colors 2022-06-10 14:23:04 +02:00
4 changed files with 26 additions and 11 deletions

View File

@ -1,14 +1,17 @@
#! /bin/bash #! /bin/bash
# set outputs # Set outputs
xrandr --output DP-0 --primary --mode 2560x1440 --rate 165.08 --left-of DP-4 --output DP-4 --mode 2560x1440 --rate 74.92 xrandr --output DP-0 --primary --mode 2560x1440 --rate 165.08 --left-of DP-4 --output DP-4 --mode 2560x1440 --rate 74.92
: ${WALLPAPER:="/mnt/win/d/Sync/Pictures/Public/Wallpapers/365242.jpg"} # Restore wallpaper
# feh --bg-scale $WALLPAPER
~/.fehbg ~/.fehbg
# Autolaunch
pgrep -x sxhkd > /dev/null || sxhkd & pgrep -x sxhkd > /dev/null || sxhkd &
pgrep -x picom > /dev/null || picom & pgrep -x picom > /dev/null || picom &
~/.config/polybar/launch.sh &
# $HOME/.config/polybar/launch.sh # $HOME/.config/polybar/launch.sh
xsetroot -cursor_name left_ptr & xsetroot -cursor_name left_ptr &
@ -18,7 +21,9 @@ bspc monitor DP-0 -d term browser game code mail
bspc monitor DP-4 -d browser2 comm music server misc tmp bspc monitor DP-4 -d browser2 comm music server misc tmp
bspc config border_width 2 bspc config border_width 2
bspc config window_gap 12 bspc config window_gap 18
bspc config normal_border_color '#76573A'
bspc config focused_border_color '#B43F1C'
bspc config split_ratio 0.5 bspc config split_ratio 0.5
bspc config borderless_monocle true bspc config borderless_monocle true

View File

@ -1,3 +0,0 @@
set runtimepath^=~/.vim runtimepath+=~/.vim/after
let &packpath=&runtimepath
source ~/.vimrc

View File

@ -25,7 +25,8 @@ crystal-4 = #4048A4
font-0 = Font Awesome 5 Free:style=solid:size=13;3 font-0 = Font Awesome 5 Free:style=solid:size=13;3
font-1 = FiraCode Nerd Font Mono:style=bold:size=13;3 font-1 = FiraCode Nerd Font Mono:style=bold:size=13;3
font-2 = JetBrainsMono Nerd Font Mono:style=bold:size=13;3 font-2 = JetBrainsMono Nerd Font Mono:style=bold:size=11;3
font-3 = JetBrainsMono Nerd Font Mono:style=bold:size=10;3
[bar/primary] [bar/primary]
monitor = DP-0 monitor = DP-0
@ -45,10 +46,11 @@ line-size = 3
font-0 = ${fonts.font-0} font-0 = ${fonts.font-0}
font-1 = ${fonts.font-1} font-1 = ${fonts.font-1}
font-2 = ${fonts.font-2} font-2 = ${fonts.font-2}
font-3 = ${fonts.font-3}
modules-left = bspwm xwindow modules-left = bspwm xwindow
modules-center = date modules-center = date
modules-right = pulseaudio filesystem cpu memory eth powermenu modules-right = pulseaudio cpu memory eth powermenu
[bar/secondary] [bar/secondary]
monitor = DP-4 monitor = DP-4
@ -66,8 +68,9 @@ foreground = ${colors.foreground}
font-0 = ${fonts.font-0} font-0 = ${fonts.font-0}
font-1 = ${fonts.font-1} font-1 = ${fonts.font-1}
font-2 = ${fonts.font-2} font-2 = ${fonts.font-2}
font-3 = ${fonts.font-3}
modules-left = bspwm xwindow modules-left = bspwm
modules-center = date modules-center = date
# modules-right = # modules-right =
@ -110,6 +113,16 @@ label-empty-foreground = ${colors.disabled}
label-separator = | label-separator = |
label-separator-foreground = ${colors.disabled} label-separator-foreground = ${colors.disabled}
[module/xwindow]
type = internal/xwindow
format = <label>
format-padding = 2
format-font = 4
label = %title%
label-maxlen = 50
[module/pulseaudio] [module/pulseaudio]
type = internal/pulseaudio type = internal/pulseaudio
use-ui-max = false use-ui-max = false

View File

@ -22,7 +22,7 @@ alias xqm="xqr -m"
alias xql="xqr -l" alias xql="xqr -l"
alias xqq="xql | grep ${1}" alias xqq="xql | grep ${1}"
alias xcln="xr -o" alias xcln="xr -oO"
# Docker # Docker
alias dc=docker-compose alias dc=docker-compose