From 9cb5f7b07894823ac0b7f00d214dec16e3f01ba1 Mon Sep 17 00:00:00 2001 From: ziro Date: Mon, 11 May 2020 07:03:22 +0700 Subject: [PATCH] + Changed compton to picom + Update + Switch from urxvt to st --- .config/bspwm/bspwmrc | 5 ++- .config/polybar/config | 95 ++++++++++++++++++++++------------------- .config/sxhkd/sxhkdrc | 4 +- .config/vim/vimrc | 4 +- .config/zsh/aliases | 3 ++ .config/zsh/profile | 16 +++++++ .scripts/games/ps2.sh | 2 +- .scripts/musicplayer.sh | 2 +- .zshrc | 12 +----- 9 files changed, 81 insertions(+), 62 deletions(-) diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc index ec9326c..9aab4e5 100755 --- a/.config/bspwm/bspwmrc +++ b/.config/bspwm/bspwmrc @@ -3,7 +3,7 @@ sxhkd & xsetroot -cursor_name left_ptr & nitrogen --restore & -compton & +picom & $HOME/.scripts/launch-conky.sh & $HOME/.config/polybar/launch.sh & @@ -18,7 +18,7 @@ bspc config focused_border_color "#60C0FF" bspc config active_border_color "#60C0ff" #bspc config normal_border_color bspc config window_gap 8 -bspc config top_padding 30 +bspc config top_padding 28 bspc config bottom_padding 0 bspc config left_padding 0 bspc config right_padding 0 @@ -40,6 +40,7 @@ bspc config pointer_action3 resize_corner bspc rule -a Gimp desktop='^8' state=floating follow=on bspc rule -a firefox desktop='^2' bspc rule -a obs desktop='^3' +bspc rule -a st-256color:cmus desktop='^4' bspc rule -a URxvt:cmus desktop='^4' bspc rule -a spotify desktop='^4' bspc rule -a Spotify desktop='^4' diff --git a/.config/polybar/config b/.config/polybar/config index aef5120..db5dc7e 100755 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -51,13 +51,14 @@ alert = #e84118 volume-min = #a3be8c volume-med = #ebcb8b volume-max = #bf616a +spotgreen = #44bd32 ; ======================= [bar/bspwm] ;monitor = ${env:MONITOR} ;monitor-fallback = HDMI1 width = 100% -height = 30 +height = 28 ;offset-x = 1% ;offset-y = 1% radius = 0.0 @@ -65,8 +66,8 @@ fixed-center = true bottom = false separator = -background = -;background = ${colors.background} +;background = +background = ${colors.background} foreground = ${colors.foreground} line-size = 2 @@ -100,11 +101,12 @@ font-3 = "Nimbus Sans:bold:size=9;2" font-4 = "Iosevka Nerd Font:bold:size=9;2" font-5 = "FontAwesome5Free:bold:style=solid:size=9;2" font-6 = "Nimbus Sans:bold:size=16;2" - +font-7 = "Iosevka Nerd Font:bold:style=solid:size=6;2" +font-8 = "Iosevka Nerd Font:bold:style=solid:size=8;2" ; ---------------------------------------------------------------------------------------- -modules-left = dividerS bspwm dividerS wirednetwork temp dividerS -modules-center = -modules-right = dividerS player-mpris-tail player-mpris mpd volume battery dividerS date prompt +modules-left = bspwm dividerS wirednetwork temp dividerS +modules-center = date +modules-right = dividerS player-mpris-tail player-mpris mpd volume battery dividerS prompt ; ---------------------------------------------------------------------------------------- tray-detached = false @@ -128,19 +130,19 @@ enable-scroll = true reverse-scroll = true pin-workspaces = true -ws-icon-0 = 1; -ws-icon-1 = 2; -ws-icon-2 = 3;喇 -ws-icon-3 = 4;ﱘ -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-0 = 1; +;ws-icon-1 = 2; +;ws-icon-2 = 3;喇 +;ws-icon-3 = 4;ﱘ +;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 = "ﱣ" -format-font = 5 +format-font = 8 format = format-background = #434758 format-padding = 2 @@ -148,20 +150,21 @@ format-padding = 2 label-focused = %icon% ;label-focused-background = #434758 ;label-focused-underline= -label-focused-padding = 1 +label-focused-padding = 2 label-focused-foreground = ${colors.primary} label-occupied = %icon% ;label-occupied-underline = #00a8ff -label-occupied-padding = 1 +label-occupied-padding = 2 ;label-occupied-background = #434758 label-urgent = %icon% -label-urgent-padding = 1 +label-urgent-padding = 2 -label-empty = %icon% +label-empty = "ﱤ" +;label-empty = %icon% label-empty-foreground = #7f8fa6 -label-empty-padding = 1 +label-empty-padding = 2 ;label-empty-underline = #7f8fa6 ;label-empty-background = #434758 @@ -293,14 +296,14 @@ click-left = "dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org type = internal/network interface = enp2s0 -format-connected-foreground = ${colors.foreground} -format-connected-background = ${colors.secondary2D3} +format-connected-foreground = ${colors.secondary2D3} +format-connected-background = ${colors.background} format-connected-padding = 2 format-connected-font = 1 format-connected = -format-disconnected-foreground = ${colors.foreground} -format-disconnected-background = ${colors.alert} +format-disconnected-foreground = ${colors.alert} +format-disconnected-background = ${colors.background} format-disconnected-padding = 2 format-disconnected = @@ -319,24 +322,24 @@ interval = 1.0 ; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string ; NOTE: if you want to use syntax tags here you need to use %%{...} -date = %d/%m/%y +date = %A, %d %b %Y ; Optional time format time = %H:%M ; if `date-alt` or `time-alt` is defined, clicking ; the module will toggle between formats -date-alt = %A, %d %b +date-alt = %A, %d/%m/%y time-alt = %H:%M format-prefix = " " format =