diff --git a/README.md b/README.md index 8465729..a19676f 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,12 @@ -# Dotfiles -__walpappers: [Dropbox](https://www.dropbox.com/s/yx7tsplowtyih7f/walpapper.zip?dl=0) [Google Drive](https://drive.google.com/file/d/1PX76sgLygXfo9qhsdN3cCsFuFuNKpM1y/view?usp=sharing)__ +

~ dotfiles ~

+ +I use **rcm** for managment dotfiles **Preparing for installation** ~~~bash git clone https://github.com/Smirnov-O/dotfiles -make install -sudo pacman -S i3-wm bspwm polybar dunst rofi picom feh nitrogen redshift task \ -kitty ranger htop bash zsh git vim neofetch scrot clipboard yay bash zsh python-tldextract \ +sudo pacman -S dunst rofi picom nitrogen redshift task kitty ranger htop zsh git neovim neofetch scrot yay zsh \ ttf-font-awesome ttf-jetbrains-mono ttf-hack yay -S ttf-weather-icons ~~~ @@ -15,21 +14,19 @@ yay -S ttf-weather-icons ### Packages | Name | Description | | ------------------------------------------------------------------------ | ----------------- | -| `i3-wm`, `qtile` | Window Manager | -| `polybar` | Panel | | `dunst` | Notify manager | | `rofi` | Program loncher | | `picom` | Compositor | | `qutebrowser` | Browser | -| `feh`, `nitrogen` | Setting wallpaper | +| `nitrogen` | Setting wallpaper | | `kitty` | Terminal | | `ranger` | File manager | | `htop` | System motitor | | `yay` | AUR helper | | `redshift` | Night light | -| `zsh`, `bash` | Shell | +| `zsh` | Shell | | `task` | Task manager | -| `ttf-font-awesome`, `ttf-jetbrains-mono`, `ttf-weather-icons` `ttf-hack` | Font | +| `ttf-font-awesome` `ttf-jetbrains-mono` `ttf-weather-icons` `ttf-hack` | Font | | `arc-gtk-theme` | GTK theme | | `papirus-icon-theme` | Icon theme | | `scrot` | Screenshot tool | diff --git a/bashrc b/bashrc index 0869ff2..ae860e0 100644 --- a/bashrc +++ b/bashrc @@ -3,7 +3,6 @@ PS1='\e[36m\w\e[39m ' export EDITOR='nvim' export VISUAL='emacsclient -c -a emacs' -export TERM='kitty' alias cls='clear' alias ls='ls --color=auto' diff --git a/config/berry/README.md b/config/berry/README.md index bb35a78..f69e67b 100644 --- a/config/berry/README.md +++ b/config/berry/README.md @@ -1,16 +1,40 @@ # [Berry](https://berrywm.org) ![Seceenshot](screen.png) +------------------------- ---- +Install `sxhkd` +~~~bash +sudo pacman -S sxhkd +~~~ + +Install `berry` from source +~~~bash +sudo pacman -S libx11 libxft libxinerama +git clone https://github.com/JLErvin/berry +cd berry +make && sudo make install +~~~ + +Add berry in lightdm +~~~bash +sudo cat < /usr/share/xsessions/berry.desktop +[Desktop Entry] +Encoding=UTF-8 +Name=berry +Comment=berry - a small window manager +Exec=berry +Type=XSession +EOF +~~~ ### Autostart ~~~bash +setxkbmap "us,ru,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps" sxhkd -c ~/.config/berry/sxhkdrc & -picom -b & ~/.config/berry/polybar/bar.sh & nitrogen --restore & -setxkbmap "us,ru,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps" +picom -b & ~~~ ### Keybindings diff --git a/config/berry/autostart b/config/berry/autostart index eb40287..fe491ba 100755 --- a/config/berry/autostart +++ b/config/berry/autostart @@ -1,24 +1,32 @@ #!/bin/bash -sxhkd -c ~/.config/berry/sxhkdrc & -picom -b & -/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & + +# ------ Autostart ------ # setxkbmap "us,ru,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps" & +/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & +sxhkd -c ~/.config/berry/sxhkdrc & ~/.config/berry/polybar/bar.sh & nitrogen --restore & +picom -b & +conky & -berryc border_width 1 -berryc inner_border_width 1 + +# ------ Berry ------ # +# Set decoration geometry +berryc border_width 0 +berryc inner_border_width 1 berryc title_height 0 -berryc top_gap 0 +berryc top_gap 0 +# Set decoration colors berryc focus_color 073642 berryc unfocus_color 002b36 berryc inner_focus_color 268bd2 berryc inner_unfocus_color 002b36 berryc text_focus_color ffffff -berryc text_unfocus_color efefef +berryc text_unfocus_color eeeeee +# Other options berryc smart_place "true" berryc draw_text "true" -berryc edge_lock "true" -berryc set_font "Jetbrains Mono" +berryc edge_lock "false" +berryc set_font "Dina-9" diff --git a/config/berry/polybar/polybar b/config/berry/polybar/polybar index d73b1e7..c23fe9a 100644 --- a/config/berry/polybar/polybar +++ b/config/berry/polybar/polybar @@ -32,7 +32,7 @@ font-0 = Iosevka Nerd Font:style=Medium:size=8;3 font-1 = FontAwesome5Free:style=Solid:size=7.5;2.5 background = ${colors.background} foreground = ${colors.foreground} -modules-center = t +modules-left = t tray-position = center [module/backlight] diff --git a/config/fish/config.fish b/config/fish/config.fish deleted file mode 100644 index 5ad27ca..0000000 --- a/config/fish/config.fish +++ /dev/null @@ -1,22 +0,0 @@ -#source ~/.env -set PATH $PATH ~/.local/bin -set fish_greeting - -### VARIABLES ### -export EDITOR="nvim" -export VISUAL="nvim" -export TERM="kitty" - -### ALIASES ### -alias cls='clear' -alias :q='exit' - -alias ..='cd ..' -alias ...='cd ../..' -alias .3='cd ../../..' -alias .4='cd ../../../..' -alias .5='cd ../../../../..' - -alias tobash="chsh -s /bin/bash && echo 'Now log out.'" -alias tozsh="chsh -s /bin/zsh && echo 'Now log out.'" -alias tofish="chsh -s /bin/fish && echo 'Now log out.'" diff --git a/config/fish/functions/fish_prompt.fish b/config/fish/functions/fish_prompt.fish deleted file mode 120000 index 556e6e5..0000000 --- a/config/fish/functions/fish_prompt.fish +++ /dev/null @@ -1 +0,0 @@ -/home/sasha/.config//omf/themes/scyanm/fish_prompt.fish \ No newline at end of file diff --git a/config/htop/htoprc b/config/htop/htoprc index 8ddf127..1d66767 100644 --- a/config/htop/htoprc +++ b/config/htop/htoprc @@ -1,7 +1,7 @@ # Beware! This file is rewritten by htop when settings are changed in the interface. # The parser is also very primitive, and not human-friendly. fields=0 48 17 18 38 39 40 2 46 47 49 1 -sort_key=46 +sort_key=38 sort_direction=1 hide_threads=0 hide_kernel_threads=1 diff --git a/config/i3/README.md b/config/i3/README.md index 2b669bc..49c6acd 100644 --- a/config/i3/README.md +++ b/config/i3/README.md @@ -1,21 +1,26 @@ # [i3](https://i3wm.org) ![Seceenshot](screen.png) - ---- +### Install +----------- +~~~bash +sudo pacman -S i3-gaps polybar +~~~ + **Mod key:** `super(win)` **Font:** `monospace 10`, `JetBrains Mono 10` ### Auttostart -------------- ~~~bash -picom -b nmcli radio wifi on; nmcli device wifi connect password name net -redshift-gtk -nitrogen --restore setxkbmap "us,ru,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps" org.telegram.desktop +nitrogen --restore +redshift-gtk +picom -b ~~~ ### Variables @@ -23,9 +28,9 @@ org.telegram.desktop ~~~i3 set $terminal kitty set $browser qutebwoser +set $filemanager pcmanfm ~~~ - ### Keybindings --------------- diff --git a/config/i3/config b/config/i3/config index 7130a0b..632dba0 100644 --- a/config/i3/config +++ b/config/i3/config @@ -17,11 +17,12 @@ hide_edge_borders smart ############ Variables ########### set $terminal kitty -set $browser qutebrowser +set $browser firefox +set $filemanager pcmanfm ############ Autostart ############ exec --no-startup-id exec picom -b -exec --no-startup-id exec nmcli radio wifi on; nmcli device wifi connect password name net +exec --no-startup-id exec nmcli radio wifi on; nmcli device wifi connect Pechenka password 24032006 name net exec --no-startup-id exec redshift-gtk exec --no-startup-id exec nitrogen --restore exec --no-startup-id exec setxkbmap "us,ru,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps" @@ -42,8 +43,6 @@ bindsym $mod+Control+r restart bindsym $mod+a focus parent # Floating window bindsym $mod+Shift+space floating toggle -# Fullscreen mode -bindsym $mod+F11 fullscreen toggle # Splits bindsym $mod+b split h bindsym $mod+v split v @@ -55,7 +54,6 @@ bindsym $mod+e layout toggle split bindsym $mod+Shift+grave move scratchpad bindsym $mod+grave scratchpad show, floating disable - ### Launchers bindsym $mod+p exec "dmenu_run -h 24 -p Run" bindsym $mod+Shift+Return exec "rofi -show drun -drun-display-format '{name}'" @@ -63,13 +61,15 @@ bindsym $mod+Escape exec "~/.script/dmenu/dmenu-power.sh" bindsym $mod+Control+u exec ~/.script/dmenu/dmenu-config-edit.sh bindsym $mod+Control+i exec passmenu -h 24 -p Passwords bindsym $alt+Tab exec "rofi -show window -show-icons" +bindsym $mod+$alt+t exec $terminal nvim .todo ### Applications bindsym $mod+Return exec $terminal bindsym $mod+F2 exec $browser +bindsym $mod+F3 exec gnvim +bindsym $mod+F4 exec $filemanager bindsym --release $mod+Shift+Escape exec xkill -bindsym $mod+$alt+t exec $terminal -e "nvim ~/.todo" ### Sceenshot diff --git a/config/kitty/kitty.conf b/config/kitty/kitty.conf index 5f15b36..0453c57 100644 --- a/config/kitty/kitty.conf +++ b/config/kitty/kitty.conf @@ -1,6 +1,5 @@ -#: MOD -#kitty_mod ctrl+shift -clear_all_shortcuts no +# MOD +clear_all_shortcuts yes # Font font_family Jetbrains Mono @@ -41,7 +40,6 @@ touch_scroll_multiplier 1.0 mouse_hide_wait 2.5 url_color #4ecdc4 url_style curly - open_url_modifiers kitty_mod open_url_with default url_prefixes http https file ftp @@ -66,47 +64,28 @@ initial_window_width 640 initial_window_height 480 enabled_layouts * -window_resize_step_cells 2 -window_resize_step_lines 2 -window_border_width 1.0 -draw_minimal_borders no -window_margin_width 0.0 -single_window_margin_width -1000.0 -window_padding_width 0.0 +# Keyboard Shortcuts +map ctrl+shift+c copy_to_clipboard +map ctrl+shift+v paste_from_clipboard +map shift+insert paste_from_selection +map ctrl+shift+u kitten unicode_input +map shift+up scroll_line_up +map shift+down scroll_line_down +map shift+page_up scroll_page_up +map shift+page_down scroll_page_down +map shift+home scroll_home +map shift+end scroll_end +map ctrl+shift+h show_scrollback +map ctrl+shift+. set_tab_title +map alt+equal change_font_size all +2.0 +map alt+minus change_font_size all -2.0 +map alt+ctrl+backspace change_font_size all 0 -placement_strategy center -active_border_color #073642 -inactive_border_color #292f36 -bell_border_color #ff5a00 -inactive_text_alpha 1.0 -hide_window_decorations no -resize_debounce_time 0.1 -resize_draw_strategy static -resize_in_steps no - -# Tabs -tab_bar_edge bottom -tab_bar_margin_width 0.0 -tab_bar_style powerline -tab_bar_min_tabs 2 -tab_switch_strategy previous -tab_fade 0.25 0.5 0.75 1 -tab_separator "┇" -tab_title_template "{title}" -tab_bar_background none -active_tab_title_template none - -active_tab_foreground #dfdfdf -active_tab_background #073642 -active_tab_font_style bold-italic -inactive_tab_foreground #dfdfdf -inactive_tab_background #292f36 -inactive_tab_font_style normal # Theming foreground #dfdfdf -#background_opacity 0.85 -background_opacity 1 +background_opacity 0.85 +#background_opacity 1 background_image none background_image_layout tiled background_image_linear no @@ -115,52 +94,10 @@ background_tint 0.0 dim_opacity 0.75 selection_foreground #edebd7 selection_background #073642 - -# Keyboard Shortcuts -map ctrl+shift+c copy_to_clipboard -map ctrl+shift+v paste_from_clipboard -map shift+insert paste_from_selection -map kitty_mod+o pass_selection_to_program - -map shift+up scroll_line_up -map shift+down scroll_line_down -map shift+page_up scroll_page_up -map shift+page_down scroll_page_down -map shift+home scroll_home -map shift+end scroll_end -map ctrl+shift+h show_scrollback -map alt+r start_resizing_window - -map ctrl+shift+l next_tab -map ctrl+shift+h previous_tab -map ctrl+shift+t new_tab -map alt+q close_tab -map ctrl+alt+. set_tab_title -map alt+1 first_window -map alt+2 second_window -map alt+3 third_window -map alt+4 fourth_window -map alt+5 fifth_window -map alt+6 sixth_window -map alt+7 seventh_window -map alt+8 eighth_window -map alt+9 ninth_window -map alt+0 tenth_window - -# Font Size -map alt+equal change_font_size all +2.0 -map alt+minus change_font_size all -2.0 -map alt+ctrl+backspace change_font_size all 0 - -# Other -map f11 toggle_fullscreen -map ctrl+shift+f10 toggle_maximized -map ctrl+shift+u kitten unicode_input -map ctrl+shift+f2 edit_config_file - -background #002B36 -foreground #d2dae2 -selection_background #002731 +background #262a3b +foreground #ffffff +cursorColor #d2dae2 +selection_background #262a3b selection_foreground #edebd7 color0 #002731 color8 #001e26 @@ -174,7 +111,7 @@ color4 #2075c7 color12 #708183 color5 #c61b6e color13 #5856b9 -color6 #259185 -color14 #81908f +color6 #0fbcf9 +color14 #4bcffa color7 #e9e2cb color15 #fcf4dc diff --git a/config/nvim/init.vim b/config/nvim/init.vim index ad72f43..436d03f 100644 --- a/config/nvim/init.vim +++ b/config/nvim/init.vim @@ -1,5 +1,6 @@ call plug#begin('~/.vim/plugged') Plug 'overcache/NeoSolarized' + Plug 'ericbn/vim-solarized' Plug 'ryanoasis/vim-devicons' Plug 'itchyny/lightline.vim' Plug 'iamcco/markdown-preview.nvim' @@ -16,12 +17,15 @@ call plug#begin('~/.vim/plugged') " Language support Plug 'pangloss/vim-javascript', { 'for': 'javascript' } - Plug 'PotatoesMaster/i3-vim-syntax' - Plug 'kovetskiy/sxhkd-vim' + Plug 'pearofducks/ansible-vim', { 'for': 'ansible' } + Plug 'PotatoesMaster/i3-vim-syntax', { 'for': 'i3' } + Plug 'kovetskiy/sxhkd-vim', { 'for': 'sxhkd' } Plug 'vim-python/python-syntax', { 'for': 'python' } Plug 'mattn/emmet-vim', { 'on': 'Emmet' } Plug 'cakebaker/scss-syntax.vim', { 'for': 'scss' } Plug 'dag/vim-fish', { 'for': 'fish' } + Plug 'ocaml/vim-ocaml', { 'for': 'ocaml' } + Plug 'plasticboy/vim-markdown', { 'for': 'markdown' } Plug 'ap/vim-css-color' call plug#end() @@ -101,7 +105,12 @@ inoremap pumvisible() ? "\" : "\" inoremap pumvisible() ? "\" : "\" """"""""""""""""""""""""""" -"""""""" Easymotion """"""" +""""""""" Markdown """""""" +let g:vim_markdown_folding_disabled = 1 +""""""""""""""""""""""""" + + +"""""" Easymotion """"""""" let g:EasyMotion_do_mapping = 0 let g:EasyMotion_smartcase = 1 nmap f (easymotion-s) @@ -110,9 +119,7 @@ nmap F (easymotion-overwin-line) nmap s (easymotion-overwin-f2) """"""""""""""""""""""""""" -"""" MarkDown Previw """""" -let g:mkdp_path_to_chrome = "/usr/bin/qutebrowser" -""""""""""""""""""""""""""" + " ============ " == Maping == @@ -144,3 +151,6 @@ noremap 8 :tabn 8 noremap 9 :tabn 9 noremap n :bnext noremap p :bprev + +let &t_8f = "\[38;2;%lu;%lu;%lum" +let &t_8b = "\[48;2;%lu;%lu;%lum" diff --git a/config/openbox/README.md b/config/openbox/README.md new file mode 100644 index 0000000..f0fd76b --- /dev/null +++ b/config/openbox/README.md @@ -0,0 +1,12 @@ +# Openbox +![Screenhot](screen.png) +------------------------ + +### Install openbox, panel and applet(s) +~~~bash +sudo pacman -S openbox obconf volumeicon network-manager-applet xfce4-clipman-plugin +yay -S fbxkb +~~~ + +### Hotkeys +| Key | Aсt | diff --git a/config/openbox/autostart b/config/openbox/autostart new file mode 100644 index 0000000..d4403ee --- /dev/null +++ b/config/openbox/autostart @@ -0,0 +1,7 @@ +tint2 & +setxkbmap "us,ru,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps" & +/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & +nmcli radio wifi on; nmcli device wifi connect Pechenka password 24032006 name net & +picom -b & +nitrogen --restore & +volumeicon & diff --git a/config/openbox/menu.xml b/config/openbox/menu.xml new file mode 100644 index 0000000..ff85048 --- /dev/null +++ b/config/openbox/menu.xml @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/config/openbox/rc.xml b/config/openbox/rc.xml new file mode 100644 index 0000000..3d1153e --- /dev/null +++ b/config/openbox/rc.xml @@ -0,0 +1,640 @@ + + + + 10 + 20 + + + yes + no + yes + no + 200 + no + + + Smart +
yes
+ Primary + 1 +
+ + SolArc-Dark + CIMLSN + yes + yes + + sans + 8 + bold + normal + + + sans + 8 + bold + normal + + + Sans + 12 + Bold + Normal + + + Sans + 10 + Normal + Normal + + + Sans + 8 + Bold + Normal + + + sans + 9 + bold + normal + + + + 9 + 1 + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + + 875 + + + yes + Nonpixel + Center + + 10 + 10 + + + + 0 + 26 + 0 + 0 + + + TopLeft + 0 + 0 + no + Above + Vertical + no + 300 + 300 + Middle + + + C-g + + + left + no + + + + + right + no + + + + + up + no + + + + + down + no + + + + + left + no + + + + + right + no + + + + + up + no + + + + + down + no + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + 2 + + + + + 3 + + + + + 4 + + + + + 5 + + + + + 6 + + + + + 7 + + + + + 8 + + + + + 9 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + kitty + + + + + + root-menu + + + + + + dmenu_run -h 26 -b -p Run + + + + + i3-dmenu-desktop --dmenu="dmenu -h 26 -b" + + + + + + + passmenu -b -h 26 -p Password + + + + + ~/.script/dmenu/dmenu-config-edit.sh -h 26 -b + + + + + ~/.script/dmenu/dmenu-power.sh -h 26 -b + + + + + firefox + + + + + pcmanfm + + + + + xkill + + + + + i3lock + + + + + 1 + 500 + 400 + false + + + + + + + + + + + + + + + + + + + + + + + + + + + previous + + + + + next + + + + + previous + + + + + next + + + + + previous + + + + + next + + + + + + + + + + + + + no + + + + + + + + + + + yes + + + + + + + + + + + + + + + + + + + + + + + client-menu + + + + + + + top + + + + + + + left + + + + + + + right + + + + + + + bottom + + + + + + + client-menu + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + client-menu + + + + + + + client-menu + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + vertical + + + + + horizontal + + + + + + + + + + + + + + + + + previous + + + + + next + + + + + previous + + + + + next + + + + + previous + + + + + next + + + + + + + + + + + + + + + + client-list-combined-menu + + + + + root-menu + + + + + + + previous + + + + + next + + + + + previous + + + + + next + + + + + + menu.xml + 200 + no + 100 + 400 + yes + yes + + + +
diff --git a/config/openbox/screen.png b/config/openbox/screen.png new file mode 100644 index 0000000..9dd8163 Binary files /dev/null and b/config/openbox/screen.png differ diff --git a/config/picom.conf b/config/picom.conf index b40890a..c6f2caf 100644 --- a/config/picom.conf +++ b/config/picom.conf @@ -3,36 +3,32 @@ dropdown_menu = { shadow = false; }; popup_menu = { shadow = false; }; utility = { shadow = false; }; shadow = true; -shadow-radius = 11; +shadow-radius = 15; shadow-offset-x = -7; shadow-offset-y = -7; shadow-exclude = [ + "override_redirect", "class_g = 'Firefox' && argb", - "name = 'Notification'", "class_g = 'Polybar'" ]; - ############ Fading ########### -fading = true; +fading = false; fade-in-step = 0.03; fade-out-step = 0.03; - ##### Transparency/Opacity #### -#inactive-opacity = 0.8; inactive-opacity = 1; frame-opacity = 0.7; inactive-opacity-override = false; -#inactive-opacity-override = true; focus-exclude = []; -#no-fading-openclose = true +opacity-exclude = [ "class_g = 'openbox'" ]; +opacity-rule = [ "0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'" ]; +no-fading-openclose = true ##### Background-Blurring ##### blur-kern = "3x3box"; -blur-background-exclude = [ - "window_type = 'desktop'" -]; +blur-background-exclude = []; ####### General Settings ###### diff --git a/config/polybar/config b/config/polybar/config index a731b84..9da274c 100644 --- a/config/polybar/config +++ b/config/polybar/config @@ -3,10 +3,16 @@ pseudo-transparency = true [colors] ; Solarized ======== -background = #002B36 -foreground = #dfdfdf -secondary = #073642 -alert = #268bd2 +;background = #002B36 +;foreground = #dfdfdf +;secondary = #073642 +;alert = #268bd2 + +; Smirnov-O Sheme == +background = #262A2B +foreground = #ffffff +secondary = #111B1A +alert = #008dcd ; Nord ============= ;background = #2E3440 @@ -21,6 +27,7 @@ height = 24 fixed-center = true wm-restack = i3 +;override-redirect = true background = ${colors.background} foreground = ${colors.foreground} @@ -28,6 +35,14 @@ foreground = ${colors.foreground} line-size = 3 line-color = #000000 +#padding-left = 2 +#padding-right = 2 + +#radius = 6.0 +#border-left-size = 0.2% +#border-top-size = 0.2% +#border-right-size = 0.2% + module-margin-left = 1 module-margin-right = 1 @@ -35,11 +50,14 @@ font-0 = Iosevka Nerd Font:style=Medium:size=8;3 font-1 = FontAwesome5Free:style=Solid:size=7.5;2.5 font-2 = Weather Icons:size=7;2 -modules-left = i3 title -modules-right = keyboard pulseaudio backlight wifi-signal date time +modules-left = i3 +modules-right = keyboard pulseaudio backlight wifi-signal time tray-position = right ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +[settings] +screenchange-reload = true + [module/i3] type = internal/i3 format = @@ -108,6 +126,16 @@ exec = ~/.config/polybar/scripts/wifi-signal.sh interval = 3.0 +[module/filesystem] +type = internal/fs +interval = 25 +mount-0 = / +mount-1 = /home +label-mounted =  %mountpoint%: %percentage_used%% +label-unmounted = %mountpoint% not mounted +label-unmounted-foreground = ${colors.foreground} + + [module/pulseaudio] type = internal/pulseaudio format-volume = @@ -122,6 +150,21 @@ ramp-volume-3 =  ramp-volume-4 =  +[module/cpu] +type = internal/cpu +interval = 2 +format-prefix = " " +format-prefix-foreground = ${colors.foreground} +label =  CPU %percentage%% + + +[module/memory] +type = internal/memory +interval = 2 +format-prefix = " " +label =  MEM %percentage_used%% + + [module/weather] type = custom/script exec = python3 ~/.config/polybar/scripts/weather.py @@ -129,6 +172,13 @@ interval = 60 label-font = 1 +[module/spotify] +type = custom/script +interval = 1 +format =