tweaking...

This commit is contained in:
Harri Lahtinen 2019-07-25 13:09:07 +03:00
parent 437de191af
commit a084b37cb0
10 changed files with 225 additions and 92 deletions

View File

@ -21,7 +21,7 @@ glx-no-stencil = true;
# but a 20% increase when only 1/4 is. # but a 20% increase when only 1/4 is.
# My tests on nouveau show terrible slowdown. # My tests on nouveau show terrible slowdown.
# Useful with --glx-swap-method, as well. # Useful with --glx-swap-method, as well.
glx-copy-from-front = false; # glx-copy-from-front = false;
# GLX backend: Use MESA_copy_sub_buffer to do partial screen update. # GLX backend: Use MESA_copy_sub_buffer to do partial screen update.
# My tests on nouveau shows a 200% performance boost when only 1/4 of the screen is updated. # My tests on nouveau shows a 200% performance boost when only 1/4 of the screen is updated.
@ -34,6 +34,8 @@ glx-copy-from-front = false;
# Recommended if it works. # Recommended if it works.
glx-no-rebind-pixmap = true; glx-no-rebind-pixmap = true;
# Damage
use-damage = false;
# GLX backend: GLX buffer swap method we assume. # GLX backend: GLX buffer swap method we assume.
# Could be undefined (0), copy (1), exchange (2), 3-6, or buffer-age (-1). # Could be undefined (0), copy (1), exchange (2), 3-6, or buffer-age (-1).
@ -79,7 +81,7 @@ shadow-opacity = 0.5;
# (most applications are fine, only apps that do weird things with xshapes or argb are affected). # (most applications are fine, only apps that do weird things with xshapes or argb are affected).
# This list includes all the affected apps I found in my testing. The "! name~=''" part excludes shadows on any "Unknown" windows, this prevents a visual glitch with the XFWM alt tab switcher. # This list includes all the affected apps I found in my testing. The "! name~=''" part excludes shadows on any "Unknown" windows, this prevents a visual glitch with the XFWM alt tab switcher.
shadow-exclude = [ shadow-exclude = [
"! name~=''", #"! name~=''",
"name = 'Notification'", "name = 'Notification'",
"name *= 'Chrome'", "name *= 'Chrome'",
"class_g ?= 'Notify-osd'", "class_g ?= 'Notify-osd'",
@ -108,14 +110,27 @@ frame-opacity = 1;
inactive-opacity-override = false; inactive-opacity-override = false;
alpha-step = 0.06; alpha-step = 0.06;
blur-kern = "3x3box"; blur-kern = "7x7box";
blur-method = "kawase"; blur-method = "kawase";
blur-strength = 15; blur-strength = 15;
opacity-rule = [ opacity-rule = [
"85:class_g = 'St' && focused", "90:class_g = 'St' && focused",
"60:class_g = 'St' && !focused" "60:class_g = 'St' && !focused",
# "70:name *?= 'rofi'" # "70:name *?= 'rofi'"
# "80:class_g = 'St' && !_NET_WM_STATE@:32a",
"0:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_HIDDEN'",
"0:_NET_WM_STATE@[1]:32a = '_NET_WM_STATE_HIDDEN'",
"0:_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_HIDDEN'",
"0:_NET_WM_STATE@[3]:32a = '_NET_WM_STATE_HIDDEN'",
"0:_NET_WM_STATE@[4]:32a = '_NET_WM_STATE_HIDDEN'",
"90:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_STICKY'",
"90:_NET_WM_STATE@[1]:32a = '_NET_WM_STATE_STICKY'",
"90:_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_STICKY'",
"90:_NET_WM_STATE@[3]:32a = '_NET_WM_STATE_STICKY'",
"90:_NET_WM_STATE@[4]:32a = '_NET_WM_STATE_STICKY'"
]; ];
# Dim inactive windows. (0.0 - 1.0) # Dim inactive windows. (0.0 - 1.0)
@ -210,7 +225,7 @@ sw-opti = false;
# Unredirect all windows if a full-screen opaque window is detected, to maximize performance for full-screen windows, like games. # Unredirect all windows if a full-screen opaque window is detected, to maximize performance for full-screen windows, like games.
# Known to cause flickering when redirecting/unredirecting windows. # Known to cause flickering when redirecting/unredirecting windows.
# paint-on-overlay may make the flickering less obvious. # paint-on-overlay may make the flickering less obvious.
unredir-if-possible = true; unredir-if-possible = false;
# Specify a list of conditions of windows that should always be considered focused. # Specify a list of conditions of windows that should always be considered focused.
focus-exclude = [ ]; focus-exclude = [ ];

View File

@ -69,9 +69,7 @@ exec --no-startup-id ~/.config/wpg/wp_init.sh
#exec --no-startup-id conky -d -c ~/.config/conky/conkybg & #exec --no-startup-id conky -d -c ~/.config/conky/conkybg &
#Clipster #Clipster
exec --no-startup-id clipster -d exec --no-startup-id clipster -d
#Composite manager: #Compton
bindsym $mod+b exec --no-startup-id pkill compton
bindsym $mod+Ctrl+b exec --no-startup-id compton -b -f
exec --no-startup-id compton -b exec --no-startup-id compton -b
#Gnome privileges #Gnome privileges
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
@ -118,6 +116,10 @@ bindsym $mod+Shift+b move scratchpad
# Show the first scratchpad window # Show the first scratchpad window
bindsym $mod+Shift+e scratchpad show bindsym $mod+Shift+e scratchpad show
#Composite manager:
bindsym $mod+b exec --no-startup-id pkill compton
bindsym $mod+Ctrl+b exec --no-startup-id compton -b -f
###---Basic Bindings---### ###---Basic Bindings---###
bindsym $mod+Return exec $term bindsym $mod+Return exec $term
bindsym $mod+Shift+Return exec $term -e tmux bindsym $mod+Shift+Return exec $term -e tmux
@ -287,8 +289,14 @@ for_window [window_role="tr-main"] move to workspace $ws8
#for_window [title="projectM"] exec --no-startup-id transset -a --dec .25 #for_window [title="projectM"] exec --no-startup-id transset -a --dec .25
#for_window [class="st"] exec --no-startup-id transset -a --dec .25 #for_window [class="st"] exec --no-startup-id transset -a --dec .25
for_window [window_role="GtkFileChooserDialog"] resize shrink height 10 px for_window [window_role="GtkFileChooserDialog"] resize shrink height 10 px
for_window [class="Wpg"] floating enable
for_window [class="mpv"] floating enable for_window [class="mpv"] floating enable
for_window [class="feh"] floating enable for_window [class="feh"] floating enable
for_window [class="MComix"] floating enable
for_window [class="Gucharmap"] floating enable
for_window [class="Pavucontrol"] floating enable
for_window [class="Nm-connection-editor"] floating enable
for_window [class="Lxappearance"] floating enable
for_window [instance="^package-update$" class="^st$"] floating enable, move position center for_window [instance="^package-update$" class="^st$"] floating enable, move position center
for_window [class="Yad"] floating enable for_window [class="Yad"] floating enable

View File

@ -22,7 +22,8 @@ call vundle#begin('~/.config/nvim/bundle')
Plugin 'VundleVim/Vundle.vim' Plugin 'VundleVim/Vundle.vim'
call vundle#end() call vundle#end()
filetype plugin indent on " allows auto-indenting depending on file type " allows auto-indenting depending on file type
filetype plugin indent on
call plug#begin('~/.local/share/nvim/site/autoload') call plug#begin('~/.local/share/nvim/site/autoload')
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
@ -45,13 +46,25 @@ Plug 'liuchengxu/space-vim-theme'
Plug 'kadekillary/Turtles' Plug 'kadekillary/Turtles'
Plug 'arcticicestudio/nord-vim' Plug 'arcticicestudio/nord-vim'
Plug 'whatyouhide/vim-gotham' Plug 'whatyouhide/vim-gotham'
Plug 'moby/moby' , {'rtp': '/contrib/syntax/vim/'} Plug 'deviantfero/wpgtk.vim'
Plug 'itchyny/landscape.vim'
call plug#end() call plug#end()
map <C-n> :NERDTreeToggle<CR> map <C-n> :NERDTreeToggle<CR>
colorscheme wal colorscheme nord
let g:airline_powerline_fonts = 1 let g:airline_powerline_fonts = 1
let g:airline_theme='minimalist' let g:airline_theme='nord'
let g:tmuxline_preset = 'full' let g:tmuxline_preset = {
\'a' : '#S',
\'b' : '#W',
\'c' : ['#(~/.config/Scripts/showip)'],
\'win' : '#I #W',
\'cwin' : '#I #W',
\'y' : '#W %R',
\'z' : '#H'}
" Run xrdb whenever Xdefaults or Xresources are updated.
autocmd BufWritePost *Xresources,*Xdefaults !xrdb %

View File

@ -13,6 +13,9 @@ padding-left = 1
padding-right = 1 padding-right = 1
module-margin-left = 1 module-margin-left = 1
module-margin-right = 1 module-margin-right = 1
font-0 = TamzenForPowerline:pixelsize=12;1 font-1 = TamzenForPowerline:size=12;1
font-1 = FontAwesome:size=10.5;1 font-0 = FontAwesome:size=10.5;1
font-2 = Material Icons:size=12;3 font-2 = Material Icons:size=12;3
;font-2 = "Font Awesome 5 Free:style=Regular:size=12;3"
;font-3 = "Font Awesome 5 Free:style=Solid:size=12;3"
;font-4 = "Font Awesome 5 Brands:style=Regular:size=12;3"

View File

@ -6,27 +6,27 @@
[colors] [colors]
;Transparent background ;Transparent background
background = #00000000 background = #00000000
;background = ${xrdb:color12:#AD9161} ;background = ${{xrdb:color12:#AD9161}}
;background = #8a8061 ;background = #8a8061
background-alt = #03080B background-alt = #88C0D0
;foreground = ${xrdb:color7} ;foreground = ${{xrdb:color7}}
foreground = #91B5B9 foreground = #D08770
foreground-alt = #91B5B9 foreground-alt = #D08770
highlight = #c6eff1 highlight = #E5E9F0
;error = ${xrdb:color9:#DD712E} ;error = ${{xrdb:color9:#DD712E}}
error = #1399A8 error = #BF616A
red = #1399A8 red = #BF616A
yellow = #24D7E2 yellow = #EBCB8B
green = #5DE7ED green = #A3BE8C
blue = #30AEBE blue = #5E81AC
alert = #1399A8 alert = #FF0000
[bar/top] [bar/top]
monitor = ${env:MONITOR:eDP-1} monitor = ${env:MONITOR:eDP-1}
include-file = ~/.config/polybar/top-bar include-file = ~/.config/polybar/top-bar
modules-left = i3 modules-left = i3 xwindow
modules-center = term chrome editor fm music vpn modules-center = term chrome editor fm music vpn
modules-right = wlan pkg pulseaudio battery backlight networkmanager popup-calendar modules-right = workspace wlan pkg alsa battery backlight networkmanager popup-calendar
;tray-position = right ;tray-position = right
;tray-padding = 2 ;tray-padding = 2
@ -37,7 +37,7 @@ modules-right = wlan pkg pulseaudio battery backlight networkmanager popup-calen
monitor = ${env:MONITOR:eDP-1} monitor = ${env:MONITOR:eDP-1}
include-file = ~/.config/polybar/bottom-bar include-file = ~/.config/polybar/bottom-bar
modules-left = hostname vpncheck modules-left = hostname vpncheck
modules-center = cpu memory temperature modules-center = cpu memory temperature filesystem
modules-right = openweather modules-right = openweather
[module/pulseaudio-rofi-output] [module/pulseaudio-rofi-output]
@ -58,7 +58,7 @@ format-volume = <ramp-volume> <label-volume>
label-volume = %percentage%% label-volume = %percentage%%
label-volume-foreground = ${root.foreground} label-volume-foreground = ${root.foreground}
format-muted = <label-muted> format-muted = <label-muted>
format-muted-foreground = ${colors.highlight} format-muted-foreground = ${colors.alert}
label-muted =  muted label-muted =  muted
ramp-volume-0 =  ramp-volume-0 = 
ramp-volume-1 =  ramp-volume-1 = 
@ -66,6 +66,19 @@ ramp-volume-foreground = ${colors.foreground}
ramp-headphones-0 =  ramp-headphones-0 = 
ramp-headphones-1 =  ramp-headphones-1 = 
[module/filesystem]
type = internal/fs
mount-0 = /
interval = 10
fixed-values = true
spacing = 4
format-mounted = <label-mounted>
format-unmounted = <label-unmounted>
label-mounted =  %percentage_used%%
label-mounted-foreground = ${colors.foreground-alt}
label-unmounted = %mountpoint%: not mounted
label-unmounted-foreground = ${colors.foreground-alt}
[module/backlight] [module/backlight]
type = custom/script type = custom/script
interval = 0.2 interval = 0.2
@ -76,7 +89,7 @@ format-prefix = " "
format-prefix-foreground = ${colors.foreground} format-prefix-foreground = ${colors.foreground}
label = %output% label = %output%
label-foreground = ${colors.foreground} label-foreground = ${colors.foreground}
format-padding = 1 ;format-padding = 1
;[module/backlight] ;[module/backlight]
;type = internal/xbacklight ;type = internal/xbacklight
@ -97,6 +110,7 @@ type = custom/script
exec = ~/.config/Scripts/popup-calendar.sh exec = ~/.config/Scripts/popup-calendar.sh
interval = 5 interval = 5
click-left = ~/.config/Scripts/popup-calendar.sh --popup click-left = ~/.config/Scripts/popup-calendar.sh --popup
format-prefix = " "
[module/vpncheck] [module/vpncheck]
type = custom/script type = custom/script
@ -111,17 +125,17 @@ type = custom/script
interval = 256 interval = 256
format = "<label> " format = "<label> "
format-prefix = " " format-prefix = " "
;format-prefix = " " ;format-prefix = ""
format-prefix-foreground = ${colors.foreground} format-prefix-foreground = ${colors.foreground}
exec = echo "$(uname -nr)" exec = echo "$(uname -nr)"
[module/temperature] [module/temperature]
type = internal/temperature type = internal/temperature
thermal-zone = 0 thermal-zone = 0
;hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input
warn-temperature = 65 warn-temperature = 65
format = <ramp> <label> format = <ramp> <label>
format-underline = ${colors.foreground-alt} format-underline = ${colors.foreground-alt}
;format-underline = #f50a4d
format-warn = <ramp> <label-warn> format-warn = <ramp> <label-warn>
format-warn-underline = ${self.format-underline} format-warn-underline = ${self.format-underline}
label = %temperature-c% label = %temperature-c%
@ -132,14 +146,15 @@ ramp-1 = 
ramp-2 =  ramp-2 = 
ramp-3 =  ramp-3 = 
ramp-4 =  ramp-4 = 
ramp-foreground = ${colors.foreground} ramp-foreground = ${colors.foreground-alt}
[module/pkg] [module/pkg]
type = custom/script type = custom/script
exec = "~/.config/Scripts/arch-updates.sh -s" exec = "~/.config/Scripts/arch-updates.sh -s"
tail = true tail = true
format = <label> format = <label>
format-prefix = " " ;format-prefix = " "
format-prefix = " "
format-prefix-foreground = ${colors.foreground} format-prefix-foreground = ${colors.foreground}
click-left = st -e yay --noconfirm -Syu click-left = st -e yay --noconfirm -Syu
click-right = "~/.config/Scripts/arch-updates.sh -c&" click-right = "~/.config/Scripts/arch-updates.sh -c&"
@ -174,8 +189,8 @@ label-mode-foreground = ${colors.foreground}
label-mode-background = ${colors.background} label-mode-background = ${colors.background}
; focused = Active workspace on focused monitor ; focused = Active workspace on focused monitor
label-focused = %icon% label-focused = %icon%
label-focused-foreground = ${colors.foreground} label-focused-foreground = ${colors.foreground-alt}
label-focused-background = ${colors.background} label-focused-background = ${colors.background-alt}
label-focused-padding = 1 label-focused-padding = 1
; unfocused = Inactive workspace on any monitor ; unfocused = Inactive workspace on any monitor
label-unfocused = %icon% label-unfocused = %icon%
@ -276,6 +291,15 @@ format-prefix = " "
format-prefix-foreground = ${colors.foreground} format-prefix-foreground = ${colors.foreground}
format-padding = 1 format-padding = 1
[module/xwindow]
type = internal/xwindow
;format-padding = ${spacing.padding}
;label = "  %title%"
;label = "%title%"
label = | %title:0:30:...%
label-maxlen = 150
[module/mpd] [module/mpd]
type = internal/mpd type = internal/mpd
format-online = <icon-prev> <icon-stop> <toggle> <icon-next> <label-song> format-online = <icon-prev> <icon-stop> <toggle> <icon-next> <label-song>
@ -307,19 +331,40 @@ label-indicator-margin = 1
label-indicator-foreground = ${colors.red} label-indicator-foreground = ${colors.red}
label-indicator-background = ${colors.background} label-indicator-background = ${colors.background}
;[module/cpu]
;type = internal/cpu
;interval = 1
;format-prefix = " "
;format-prefix-foreground = ${colors.foreground}
;label = %{A1:st --geometry 86x10 -e htop:}%percentage%%%{A}
[module/cpu] [module/cpu]
format-label = internal/cpu
format = <label>
type = internal/cpu type = internal/cpu
interval = 1 interval = 2
format-prefix = " " label = " %percentage%%"
format-prefix-foreground = ${colors.foreground} format-foreground = ${colors.foreground-alt}
label = %{A1:st --geometry 86x10 -e htop:}%percentage%%%{A}
[module/memory] [module/memory]
type = internal/memory type = internal/memory
interval = 1 interval = 2
format-prefix = " " label = " %percentage_used%%"
format-prefix-foreground = ${colors.foreground} format-foreground = ${colors.foreground-alt}
label = %{A1:st --geometry 86x10 -e htop:}%percentage_used%%%{A}
[module/cputemp]
type = custom/script
exec = sensors | grep --max-count=1 "temp1" | awk '{print substr($0,16,2)}'
interval = 10
label = " %output%°C"
format-foreground = ${colors.foreground-alt}
;[module/memory]
;type = internal/memory
;interval = 1
;format-prefix = " "
;format-prefix-foreground = ${colors.foreground}
;label = %{A1:st --geometry 86x10 -e htop:}%percentage_used%%%{A}
[module/date] [module/date]
type = custom/script type = custom/script
@ -364,9 +409,9 @@ mapped = true
interval = 5 interval = 5
format-volume = <ramp-volume> <label-volume> format-volume = <ramp-volume> <label-volume>
label-volume = %percentage%% label-volume = %percentage%%
label-volume-foreground = ${root.foreground} label-volume-foreground = ${colors.foreground-alt}
format-muted = <label-muted> format-muted = <label-muted>
format-muted-foreground = ${colors.foreground-alt} format-muted-foreground = ${colors.alert}
label-muted =  muted label-muted =  muted
ramp-volume-0 =  ramp-volume-0 = 
ramp-volume-1 =  ramp-volume-1 = 
@ -432,7 +477,7 @@ animation-discharging-foreground = ${colors.foreground}
[module/networkmanager] [module/networkmanager]
type = custom/text type = custom/text
content = net  content = "net "
content-foreground = ${colors.foreground} content-foreground = ${colors.foreground}
click-left = networkmanager_dmenu click-left = networkmanager_dmenu

View File

@ -1,21 +1,24 @@
[bar/top] [bar/top]
width = 100% width = 100%
height = 16 height = 18
fixed-center = true fixed-center = true
bottom = false bottom = false
background = ${colors.background} background = ${colors.background}
foreground = ${colors.foreground} foreground = ${colors.foreground}
line-size = 0 line-size = 0
;line-color = #f00 ;line-color = #f00
border-size = 4 border-size = 2
border-color = ${colors.background} border-color = ${colors.background}
padding-left = 1 padding-left = 1
padding-right = 1 padding-right = 1
module-margin-left = 1 module-margin-left = 1
module-margin-right = 1 module-margin-right = 1
font-0 = TamzenForPowerline:pixelsize=12;1 font-0 = TamzenForPowerline:size=12;1
font-1 = FontAwesome:size=10;1 font-1 = FontAwesome:size=10;1
font-2 = Material Icons:size=10;2 font-2 = Material Icons:size=10;2
;font-1 = "Font Awesome 5 Free:style=Regular:size=10;1"
;font-2 = "Font Awesome 5 Free:style=Solid:size=10;1"
;font-3 = "Font Awesome 5 Brands:style=Regular:size=10;1"
scroll-up = i3wm-wsnext scroll-up = i3wm-wsnext
scroll-down = i3wm-wsprev scroll-down = i3wm-wsprev

View File

@ -595,14 +595,11 @@ map cfm shell nvim ~/.config/mutt/muttrc
map cfM shell nvim ~/.config/moc/keymap map cfM shell nvim ~/.config/moc/keymap
map cff shell nvim ~/.config/Scripts/folders map cff shell nvim ~/.config/Scripts/folders
map cfc shell nvim ~/.config/Scripts/configs map cfc shell nvim ~/.config/Scripts/configs
map cft shell nvim ~/.config/termite/config map cft shell nvim ~/.tmux.conf
map cfT shell nvim ~/.config/Scripts/tmux.conf
map eb shell nvim ~/Documents/LaTeX/uni.bib
map cv shell nvim ~/Documents/LaTeX/cv.tex
map cfa shell nvim ~/.config/mutt/aliases map cfa shell nvim ~/.config/mutt/aliases
map cfp shell nvim ~/.config/polybar/config map cfp shell nvim ~/.config/polybar/config
map cfd shell nvim ~/.Xdefaults map cfd shell nvim ~/.Xresources
# DO NOT DELETE LMAO # DO NOT DELETE LMAO
# a plugin that adds file glyphs / icon support to Ranger: # a plugin that adds file glyphs / icon support to Ranger:
# https://github.com/alexanderjeurissen/ranger_devicons # https://github.com/alexanderjeurissen/ranger_devicons
#default_linemode devicons default_linemode devicons

View File

@ -6,27 +6,27 @@
[colors] [colors]
;Transparent background ;Transparent background
background = #00000000 background = #00000000
;background = ${{xrdb:color12:#AD9161}} ;background = ${{{{xrdb:color12:#AD9161}}}}
;background = #8a8061 ;background = #8a8061
background-alt = {color0} background-alt = {color1}
;foreground = ${{xrdb:color7}} ;foreground = ${{{{xrdb:color7}}}}
foreground = {color6} foreground = {color6}
foreground-alt = {color14} foreground-alt = {color14}
highlight = {color7} highlight = {color7}
;error = ${{xrdb:color9:#DD712E}} ;error = ${{{{xrdb:color9:#DD712E}}}}
error = {color2} error = {color2}
red = {color10} red = {color10}
yellow = {color12} yellow = {color12}
green = {color5} green = {color5}
blue = {color11} blue = {color11}
alert = {color10} alert = #FF0000
[bar/top] [bar/top]
monitor = ${{env:MONITOR:eDP-1}} monitor = ${{env:MONITOR:eDP-1}}
include-file = ~/.config/polybar/top-bar include-file = ~/.config/polybar/top-bar
modules-left = i3 modules-left = i3 xwindow
modules-center = term chrome editor fm music vpn modules-center = term chrome editor fm music vpn
modules-right = wlan pkg pulseaudio battery backlight networkmanager popup-calendar modules-right = workspace wlan pkg alsa battery backlight networkmanager popup-calendar
;tray-position = right ;tray-position = right
;tray-padding = 2 ;tray-padding = 2
@ -37,7 +37,7 @@ modules-right = wlan pkg pulseaudio battery backlight networkmanager popup-calen
monitor = ${{env:MONITOR:eDP-1}} monitor = ${{env:MONITOR:eDP-1}}
include-file = ~/.config/polybar/bottom-bar include-file = ~/.config/polybar/bottom-bar
modules-left = hostname vpncheck modules-left = hostname vpncheck
modules-center = cpu memory temperature modules-center = cpu memory temperature filesystem
modules-right = openweather modules-right = openweather
[module/pulseaudio-rofi-output] [module/pulseaudio-rofi-output]
@ -58,7 +58,7 @@ format-volume = <ramp-volume> <label-volume>
label-volume = %percentage%% label-volume = %percentage%%
label-volume-foreground = ${{root.foreground}} label-volume-foreground = ${{root.foreground}}
format-muted = <label-muted> format-muted = <label-muted>
format-muted-foreground = ${{colors.highlight}} format-muted-foreground = ${{colors.alert}}
label-muted =  muted label-muted =  muted
ramp-volume-0 =  ramp-volume-0 = 
ramp-volume-1 =  ramp-volume-1 = 
@ -66,6 +66,19 @@ ramp-volume-foreground = ${{colors.foreground}}
ramp-headphones-0 =  ramp-headphones-0 = 
ramp-headphones-1 =  ramp-headphones-1 = 
[module/filesystem]
type = internal/fs
mount-0 = /
interval = 10
fixed-values = true
spacing = 4
format-mounted = <label-mounted>
format-unmounted = <label-unmounted>
label-mounted =  %percentage_used%%
label-mounted-foreground = ${{colors.foreground-alt}}
label-unmounted = %mountpoint%: not mounted
label-unmounted-foreground = ${{colors.foreground-alt}}
[module/backlight] [module/backlight]
type = custom/script type = custom/script
interval = 0.2 interval = 0.2
@ -76,7 +89,7 @@ format-prefix = " "
format-prefix-foreground = ${{colors.foreground}} format-prefix-foreground = ${{colors.foreground}}
label = %output% label = %output%
label-foreground = ${{colors.foreground}} label-foreground = ${{colors.foreground}}
format-padding = 1 ;format-padding = 1
;[module/backlight] ;[module/backlight]
;type = internal/xbacklight ;type = internal/xbacklight
@ -97,6 +110,7 @@ type = custom/script
exec = ~/.config/Scripts/popup-calendar.sh exec = ~/.config/Scripts/popup-calendar.sh
interval = 5 interval = 5
click-left = ~/.config/Scripts/popup-calendar.sh --popup click-left = ~/.config/Scripts/popup-calendar.sh --popup
format-prefix = " "
[module/vpncheck] [module/vpncheck]
type = custom/script type = custom/script
@ -111,17 +125,17 @@ type = custom/script
interval = 256 interval = 256
format = "<label> " format = "<label> "
format-prefix = " " format-prefix = " "
;format-prefix = " " ;format-prefix = ""
format-prefix-foreground = ${{colors.foreground}} format-prefix-foreground = ${{colors.foreground}}
exec = echo "$(uname -nr)" exec = echo "$(uname -nr)"
[module/temperature] [module/temperature]
type = internal/temperature type = internal/temperature
thermal-zone = 0 thermal-zone = 0
;hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input
warn-temperature = 65 warn-temperature = 65
format = <ramp> <label> format = <ramp> <label>
format-underline = ${{colors.foreground-alt}} format-underline = ${{colors.foreground-alt}}
;format-underline = #f50a4d
format-warn = <ramp> <label-warn> format-warn = <ramp> <label-warn>
format-warn-underline = ${{self.format-underline}} format-warn-underline = ${{self.format-underline}}
label = %temperature-c% label = %temperature-c%
@ -132,14 +146,15 @@ ramp-1 = 
ramp-2 =  ramp-2 = 
ramp-3 =  ramp-3 = 
ramp-4 =  ramp-4 = 
ramp-foreground = ${{colors.foreground}} ramp-foreground = ${{colors.foreground-alt}}
[module/pkg] [module/pkg]
type = custom/script type = custom/script
exec = "~/.config/Scripts/arch-updates.sh -s" exec = "~/.config/Scripts/arch-updates.sh -s"
tail = true tail = true
format = <label> format = <label>
format-prefix = " " ;format-prefix = " "
format-prefix = " "
format-prefix-foreground = ${{colors.foreground}} format-prefix-foreground = ${{colors.foreground}}
click-left = st -e yay --noconfirm -Syu click-left = st -e yay --noconfirm -Syu
click-right = "~/.config/Scripts/arch-updates.sh -c&" click-right = "~/.config/Scripts/arch-updates.sh -c&"
@ -174,8 +189,8 @@ label-mode-foreground = ${{colors.foreground}}
label-mode-background = ${{colors.background}} label-mode-background = ${{colors.background}}
; focused = Active workspace on focused monitor ; focused = Active workspace on focused monitor
label-focused = %icon% label-focused = %icon%
label-focused-foreground = ${{colors.foreground}} label-focused-foreground = ${{colors.foreground-alt}}
label-focused-background = ${{colors.background}} label-focused-background = ${{colors.background-alt}}
label-focused-padding = 1 label-focused-padding = 1
; unfocused = Inactive workspace on any monitor ; unfocused = Inactive workspace on any monitor
label-unfocused = %icon% label-unfocused = %icon%
@ -276,6 +291,15 @@ format-prefix = " "
format-prefix-foreground = ${{colors.foreground}} format-prefix-foreground = ${{colors.foreground}}
format-padding = 1 format-padding = 1
[module/xwindow]
type = internal/xwindow
;format-padding = ${{spacing.padding}}
;label = "  %title%"
;label = "%title%"
label = | %title:0:30:...%
label-maxlen = 150
[module/mpd] [module/mpd]
type = internal/mpd type = internal/mpd
format-online = <icon-prev> <icon-stop> <toggle> <icon-next> <label-song> format-online = <icon-prev> <icon-stop> <toggle> <icon-next> <label-song>
@ -307,19 +331,40 @@ label-indicator-margin = 1
label-indicator-foreground = ${{colors.red}} label-indicator-foreground = ${{colors.red}}
label-indicator-background = ${{colors.background}} label-indicator-background = ${{colors.background}}
;[module/cpu]
;type = internal/cpu
;interval = 1
;format-prefix = " "
;format-prefix-foreground = ${{colors.foreground}}
;label = %{{A1:st --geometry 86x10 -e htop:}}%percentage%%%{{A}}
[module/cpu] [module/cpu]
format-label = internal/cpu
format = <label>
type = internal/cpu type = internal/cpu
interval = 1 interval = 2
format-prefix = " " label = " %percentage%%"
format-prefix-foreground = ${{colors.foreground}} format-foreground = ${{colors.foreground-alt}}
label = %{{A1:st --geometry 86x10 -e htop:}}%percentage%%%{{A}}
[module/memory] [module/memory]
type = internal/memory type = internal/memory
interval = 1 interval = 2
format-prefix = " " label = " %percentage_used%%"
format-prefix-foreground = ${{colors.foreground}} format-foreground = ${{colors.foreground-alt}}
label = %{{A1:st --geometry 86x10 -e htop:}}%percentage_used%%%{{A}}
[module/cputemp]
type = custom/script
exec = sensors | grep --max-count=1 "temp1" | awk '{{print substr($0,16,2)}}'
interval = 10
label = " %output%°C"
format-foreground = ${{colors.foreground-alt}}
;[module/memory]
;type = internal/memory
;interval = 1
;format-prefix = " "
;format-prefix-foreground = ${{colors.foreground}}
;label = %{{A1:st --geometry 86x10 -e htop:}}%percentage_used%%%{{A}}
[module/date] [module/date]
type = custom/script type = custom/script
@ -364,9 +409,9 @@ mapped = true
interval = 5 interval = 5
format-volume = <ramp-volume> <label-volume> format-volume = <ramp-volume> <label-volume>
label-volume = %percentage%% label-volume = %percentage%%
label-volume-foreground = ${{root.foreground}} label-volume-foreground = ${{colors.foreground-alt}}
format-muted = <label-muted> format-muted = <label-muted>
format-muted-foreground = ${{colors.foreground-alt}} format-muted-foreground = ${{colors.alert}}
label-muted =  muted label-muted =  muted
ramp-volume-0 =  ramp-volume-0 = 
ramp-volume-1 =  ramp-volume-1 = 
@ -432,7 +477,7 @@ animation-discharging-foreground = ${{colors.foreground}}
[module/networkmanager] [module/networkmanager]
type = custom/text type = custom/text
content = net  content = "net "
content-foreground = ${{colors.foreground}} content-foreground = ${{colors.foreground}}
click-left = networkmanager_dmenu click-left = networkmanager_dmenu

View File

@ -10,7 +10,7 @@
# #
############################# #############################
# Tmuxline theme-file # Tmuxline theme-file
source-file ~/.config/nvim/minimalist source-file ~/.config/nvim/nord
# use vim motion keys while in copy mode # use vim motion keys while in copy mode
setw -g mode-keys vi setw -g mode-keys vi
@ -49,7 +49,7 @@ set-option -g status-keys vi
# Status Bar # Status Bar
############################################################################ ############################################################################
set -g status-left-length 70 set -g status-left-length 70
set -g status-left " #[fg=black]#h #[fg=black]#(ip addr show dev wlp11s0 | grep "inet[^6]" | awk '{print $2}') Continuum status: #{continuum_status}" #set -g status-left "#{prefix_highlight} #(ip addr show dev wlp2s0 | grep "inet[^6]" | awk '{print $2}')"
set -g status-interval 1 set -g status-interval 1
set-option -g status-position top set-option -g status-position top
@ -57,7 +57,7 @@ set-option -g status-position top
set-option -g set-titles on set-option -g set-titles on
set-option -g set-titles-string '#H:#S.#I.#P #W #T' set-option -g set-titles-string '#H:#S.#I.#P #W #T'
set-option -g status-justify centre set-option -g status-justify centre
#set -g status-right '#{prefix_highlight} | %a %Y-%m-%d %H:%M'
########################################################################### ###########################################################################
#Tmuxline #Tmuxline
########################################################################### ###########################################################################
@ -158,6 +158,7 @@ set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'tmux-plugins/tmux-copycat' set -g @plugin 'tmux-plugins/tmux-copycat'
set -g @plugin 'tmux-plugins/tmux-resurrect' set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum' set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
########################################################################## ##########################################################################
# Plugins settings # Plugins settings
########################################################################## ##########################################################################

3
.zshrc
View File

@ -94,3 +94,6 @@ if [ -f '/home/hate/google-cloud-sdk/path.zsh.inc' ]; then source '/home/hate/go
# The next line enables shell command completion for gcloud. # The next line enables shell command completion for gcloud.
if [ -f '/home/hate/google-cloud-sdk/completion.zsh.inc' ]; then source '/home/hate/google-cloud-sdk/completion.zsh.inc'; fi if [ -f '/home/hate/google-cloud-sdk/completion.zsh.inc' ]; then source '/home/hate/google-cloud-sdk/completion.zsh.inc'; fi
# Spaceship
SPACESHIP_BATTERY_THRESHOLD=40