diff --git a/README.md b/README.md index a9939f4..9e0a5ab 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,23 @@ -# dots -dotfiles +# edwark43 dotfiles: +![GitHub repo size](https://img.shields.io/github/repo-size/edwark43/dotfiles?style=for-the-badge&logo=hackthebox&labelColor=%23000000) + +Rice + +## Setup: +The installer only works for **ARCH** Linux based distros that use systemd. + +Open a terminal in HOME +- **First download the installer** +```sh +curl -L https://is.gd/lkarch -o $HOME/setup.sh +``` +- **Now give it execute permissions** +```sh +chmod +x setup.sh +``` +- **Finally run the installer** +```sh +./setup.sh +``` +## Credits +- [gh0stzk](https://github.com/gh0stzk) diff --git a/config/alacritty/alacritty.yml b/config/alacritty/alacritty.yml new file mode 100644 index 0000000..2dfb217 --- /dev/null +++ b/config/alacritty/alacritty.yml @@ -0,0 +1,69 @@ +font: + normal: + family: JetBrainsMono Nerd Font + + bold: + family: JetBrainsMono Nerd Font + + italic: + family: JetBrainsMono Nerd Font + + bold_italic: + family: JetBrainsMono Nerd Font + + size: 10 + +colors: + primary: + background: '#1f2329' + foreground: '#b8bfe5' + + normal: + black: '#0f1319' + red: '#644d66' + green: '#375759' + yellow: '#736871' + blue: '#3f5273' + magenta: '#543f66' + cyan: '#324f66' + white: '#b3b3b3' + + bright: + black: '#b3b3b3' + red: '#735771' + green: '#3f6566' + yellow: '#807476' + blue: '#465b80' + magenta: '#533969' + cyan: '#385a73' + white: '#e5e5e5' + + cursor: + cursor: '#465b80' + text: '#e5e5e5' + +window: + padding: + x: 15 + y: 15 + + decorations: none + + opacity: 1.0 + dynamic_title: true + + history: 10000 + multiplier: 3 + +selection: + save_to_clipboard: false + +cursor: + style: + shape: Block + blinking: On + + unfocused_hollow: false + blink_interval: 550 + +live_config_reload: true \ No newline at end of file diff --git a/config/bspwm/bspwmrc b/config/bspwm/bspwmrc new file mode 100644 index 0000000..9830196 --- /dev/null +++ b/config/bspwm/bspwmrc @@ -0,0 +1,76 @@ +#!/usr/bin/env bash + +PATH="$HOME/.local/bin:$PATH" + +## Fix java applications +export _JAVA_AWT_WM_NONREPARENTING=1 + +# Workspaces + + # Default 1 monitor with 6 workspaces + for monitor in "$(xrandr -q | grep -w 'connected' | cut -d' ' -f1)"; do + bspc monitor "$monitor" -d '1' '2' '3' '4' '5' '6' + done + +# Bspwm Config + +bspc config external_rules_command "$HOME"/.local/bin/externalrules +bspc config window_gap -1 +bspc config split_ratio 0.51 +bspc config single_monocle true +bspc config borderless_monocle false +bspc config gapless_monocle false +bspc config focus_follows_pointer true +bspc config pointer_follows_focus false +bspc config pointer_motion_interval 5 +bspc config pointer_modifier mod4 +bspc config pointer_action1 move +bspc config pointer_action2 resize_side +bspc config pointer_action3 resize_corner +bspc config border_width 2 +bspc config top_padding 48 +bspc config bottom_padding 48 +bspc config left_padding 2 +bspc config right_padding 2 +bspc config normal_border_color "#252533" +bspc config active_border_color "#252533" +bspc config focused_border_color "#61C766" +bspc config presel_feedback_color "#61C766" +bspc rule -a scratch sticky=on state=floating focus=on + +# Autostart + +# Set system vars for polybar +. setsysvars + +# Terminate already running polybar, sxhkd, dunst, and mpd instances +processes=("polybar" "sxhkd" "dunst" "mpd") + + for process in "${processes[@]}"; do + if pgrep -f "$process"; then + pkill -9 -f "$process" > /dev/null; sleep 0.1 + fi + done + +# Load bspwm conf, colors, dunst, and bars +. "$HOME"/.config/polybar/bar.sh + +pidof -q picom || { picom --config "$HOME"/.config/picom/picom.conf & } + +# Set random wallpaper for actual rice +feh -z --no-fehbg --bg-fill "$HOME"/pics/wallpapers + +# Reload sxhkd daemon +sxhkd -c "$HOME"/.config/sxhkd/sxhkdrc & + +# Launch dunst notification daemon +dunst -config "$HOME"/.config/dunst/dunstrc & + +# Launch polkit +pidof -q polkit-gnome-authentication-agent-1 || { /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & } + +# Launch mpd +mpd + +# Fix cursor +xsetroot -cursor_name left_ptr \ No newline at end of file diff --git a/config/dunst/dunstrc b/config/dunst/dunstrc new file mode 100644 index 0000000..2f3e13f --- /dev/null +++ b/config/dunst/dunstrc @@ -0,0 +1,64 @@ +[global] +title = Dunst +class = Dunst +monitor = 0 +follow = mouse +width = 300 +height = 300 +origin = top-right +offset = 10x92 +indicate_hidden = yes +shrink = yes + +transparency = 4 +separator_height = 2 +padding = 8 +horizontal_padding = 11 +frame_width = 6 +frame_color = "#1f2329" +separator_color = "#3f5273" + +font = JetBrainsMono Nerd Font Medium 9 + +line_height = 0 +markup = full +format = "%s\n%b" +alignment = center + +idle_threshold = 120 +show_age_threshold = 60 +sort = no +word_wrap = yes +ignore_newline = no +stack_duplicates = false +hide_duplicate_count = yes +show_indicators = no +sticky_history = no +history_length = 20 +always_run_script = true +corner_radius = 4 +icon_position = left +max_icon_size = 80 + +icon_path = /usr/share/icons/Papirus-Dark/48x48/actions/:/usr/share/icons/Papirus-Dark/48x48/apps/:/usr/share/icons/Papirus-Dark/48x48/devices/:/usr/share/icons/Papirus-Dark/48x48/emblems/:/usr/share/icons/Papirus-Dark/48x48/emotes/:/usr/share/icons/Papirus-Dark/48x48/mimetypes/:/usr/share/icons/Papirus-Dark/48x48/places/:/usr/share/icons/Papirus-Dark/48x48/status/ + +browser = brave + +mouse_left_click = close_current +mouse_middle_click = do_action +mouse_right_click = close_all + +[urgency_low] +timeout = 3 +background = "#1f2329" +foreground = "#b3b3b3" + +[urgency_normal] +timeout = 6 +background = "#1f2329" +foreground = "#b3b3b3" + +[urgency_critical] +timeout = 0 +background = "#1f2329" +foreground = "#b3b3b3" \ No newline at end of file diff --git a/config/jgmenu/jgmenurc b/config/jgmenu/jgmenurc new file mode 100644 index 0000000..9429d9b --- /dev/null +++ b/config/jgmenu/jgmenurc @@ -0,0 +1,31 @@ +position_mode = pointer +stay_alive = 0 +tint2_look = 0 +terminal_exec = alacritty +terminal_args = -e +menu_width = 160 +menu_padding_top = 5 +menu_padding_right = 5 +menu_padding_bottom = 5 +menu_padding_left = 5 +menu_radius = 8 +menu_border = 0 +menu_halign = left +sub_hover_action = 1 +item_margin_y = 5 +item_height = 30 +item_padding_x = 8 +item_radius = 6 +item_border = 0 +sep_height = 2 +font = Clarity City Bold 12px +icon_size = 16 +icon_theme = Papirus-Dark +arrow_string = 󰄾 +color_menu_border = #ffffff 0 +color_menu_bg = #1f2329 +color_norm_bg = #ffffff 0 +color_norm_fg = #b8bfe5 +color_sel_bg = #23272e +color_sel_fg = #b8bfe5 +color_sep_fg = #b3b3b3 \ No newline at end of file diff --git a/config/jgmenu/menu.csv b/config/jgmenu/menu.csv new file mode 100644 index 0000000..e2c0f09 --- /dev/null +++ b/config/jgmenu/menu.csv @@ -0,0 +1,25 @@ +Terminal ,openapp --floating ,/usr/share/icons/Papirus/32x32/apps/terminal.svg +Web Browser ,openapp --browser ,/usr/share/icons/Papirus/32x32/apps/brave-browser.svg +File Manager ,openapp --filemanager ,/usr/share/icons/Papirus/32x32/apps/org.xfce.filemanager.svg + +^sep() + +Widgets ,^checkout(wg) ,/usr/share/icons/Papirus/32x32/apps/kmenuedit.svg +BSPWM ,^checkout(wm) ,/usr/share/icons/Papirus/32x32/apps/gnome-windows.svg +Exit ,^checkout(exit) ,/usr/share/icons/Papirus/32x32/apps/system-shutdown.svg + +^tag(wg) +User Card ,openapp --usercard ,/usr/share/icons/Papirus/32x32/apps/system-users.svg +Power Menu ,openapp --powermenu ,/usr/share/icons/Papirus/32x32/status/changes-allow.svg +Calendar ,openapp --calendar ,/usr/share/icons/Papirus/32x32/apps/office-calendar.svg + +^tag(wm) +Change Theme ,openapp --rice ,/usr/share/icons/Papirus/32x32/apps/colors.svg +Keybinds ,keybindingshelp ,/usr/share/icons/Papirus/32x32/apps/preferences-desktop-keyboard-shortcuts.svg +Restart WM ,bspc wm -r ,/usr/share/icons/Papirus/32x32/apps/system-reboot.svg +Quit ,bspc quit ,/usr/share/icons/Papirus/32x32/apps/system-log-out.svg + +^tag(exit) +Block computer ,physlock -d ,/usr/share/icons/Papirus/32x32/status/changes-prevent.svg +Reboot ,systemctl reboot ,/usr/share/icons/Papirus/32x32/apps/system-reboot.svg +Shutdown ,systemctl poweroff ,/usr/share/icons/Papirus/32x32/apps/system-shutdown.svg \ No newline at end of file diff --git a/config/mpd/log b/config/mpd/log new file mode 100644 index 0000000..e69de29 diff --git a/config/mpd/mpd.conf b/config/mpd/mpd.conf new file mode 100644 index 0000000..4202a3b --- /dev/null +++ b/config/mpd/mpd.conf @@ -0,0 +1,20 @@ +music_directory "~/music" +playlist_directory "~/.config/mpd/playlists" +db_file "~/.config/mpd/mpd.db" +state_file "~/.config/mpd/mpdstate" +auto_update "yes" + +bind_to_address "127.0.0.1" +bind_to_address "~/.config/mpd/socket" + +audio_output { + type "pulse" + name "pulse audio" +} + +audio_output { + type "fifo" + name "my_fifo" + path "/tmp/mpd.fifo" + format "44100:16:2" +} \ No newline at end of file diff --git a/config/mpd/mpd.db b/config/mpd/mpd.db new file mode 100644 index 0000000..e69de29 diff --git a/config/mpd/mpdstate b/config/mpd/mpdstate new file mode 100644 index 0000000..e69de29 diff --git a/config/mpd/playlist/.nomedia b/config/mpd/playlist/.nomedia new file mode 100644 index 0000000..e69de29 diff --git a/config/ncmpcpp/config b/config/ncmpcpp/config new file mode 100644 index 0000000..529fbad --- /dev/null +++ b/config/ncmpcpp/config @@ -0,0 +1,73 @@ +mpd_host = "127.0.0.1" +mpd_port = 6600 +mpd_connection_timeout = "5" +mpd_crossfade_time = "5" +mpd_music_dir = ~/music +lyrics_directory = ~/.config/ncmpcpp/lyrics +execute_on_song_change = "mediacontrol nccover ; dunstify --replace=27072 -i /tmp/cover.png "Playing.." "$(mpc --format '%title% \n%artist%' current)"" + +visualizer_data_source = /tmp/mpd.fifo +visualizer_output_name = my_fifo + +visualizer_in_stereo = "yes" +visualizer_fps = "60" +visualizer_type = "spectrum" +visualizer_look = ●● +visualizer_color = "13" +visualizer_spectrum_smooth_look = "yes" + +# GENERAL +# --- +connected_message_on_startup = "yes" +cyclic_scrolling = "yes" +mouse_support = "no" +mouse_list_scroll_whole_page = "yes" +lines_scrolled = "1" +message_delay_time = "1" +playlist_shorten_total_times = "yes" +playlist_display_mode = "columns" +browser_display_mode = "columns" +search_engine_display_mode = "columns" +playlist_editor_display_mode = "columns" +autocenter_mode = "yes" +centered_cursor = "yes" +user_interface = "classic" +follow_now_playing_lyrics = "yes" +locked_screen_width_part = "50" +ask_for_locked_screen_width_part = "yes" +display_bitrate = "no" +external_editor = "nano" +main_window_color = "default" +startup_screen = "playlist" + +# PROGRESS BAR +# --- +progressbar_look = "▪▪▪" +#progressbar_look = "▃▃▃" +progressbar_elapsed_color = "magenta" +progressbar_color = "black" + +# UI VISIBILITY +# --- +header_visibility = "no" +statusbar_visibility = "yes" +titles_visibility = "yes" +enable_window_title = "yes" + +# COLORS +# --- +statusbar_color = "white" +color1 = "white" +color2 = "blue" + +# UI APPEARANCE +# --- +now_playing_prefix = "$b$2$7 " +now_playing_suffix = " $/b$8" +current_item_prefix = "$b$7$/b$3 " +current_item_suffix = " $8" + +song_columns_list_format = "(50)[]{t|fr:Title} (0)[magenta]{a}" +song_list_format = " {%t $R  $8%a$8}|{%f $R  $8%l$8} $8" +song_status_format = "$b$2󰣐 $7 {$b$6$8 %t $6} $7 $8" +song_window_title_format = "Now Playing .." \ No newline at end of file diff --git a/config/ncmpcpp/error.log b/config/ncmpcpp/error.log new file mode 100644 index 0000000..e69de29 diff --git a/config/nvim/init.lua b/config/nvim/init.lua new file mode 100644 index 0000000..f7444a4 --- /dev/null +++ b/config/nvim/init.lua @@ -0,0 +1,7 @@ +require("config.plugins-setup") +require("config.core.options") +require("config.core.keymaps") +require("config.core.colorscheme") +require("config.plugins.nvim-tree") +require("config.plugins.lualine") +require("config.plugins.colorizer") \ No newline at end of file diff --git a/config/nvim/lua/config/core/colorscheme.lua b/config/nvim/lua/config/core/colorscheme.lua new file mode 100644 index 0000000..0f34d08 --- /dev/null +++ b/config/nvim/lua/config/core/colorscheme.lua @@ -0,0 +1,11 @@ +local status, _ = pcall(vim.cmd, "colorscheme onedark") +if not status then + print("Colorscheme not found!") -- print error if colorscheme not installed + return +end + +require('onedark').setup { + style = 'darker', + transparent = true +} +require('onedark').load() \ No newline at end of file diff --git a/config/nvim/lua/config/core/keymaps.lua b/config/nvim/lua/config/core/keymaps.lua new file mode 100644 index 0000000..387c37b --- /dev/null +++ b/config/nvim/lua/config/core/keymaps.lua @@ -0,0 +1,19 @@ +vim.g.mapleader = " " + +local keymap = vim.keymap -- haz las cosas facil.. + +-- General Keymaps + +-- window management +keymap.set("n", "sv", "v") -- split window vertically +keymap.set("n", "sh", "s") -- split window horizontally +keymap.set("n", "se", "=") -- make split windows equal width & height +keymap.set("n", "sx", ":close") -- close current split window + +keymap.set("n", "to", ":tabnew") -- open new tab +keymap.set("n", "tx", ":tabclose") -- close current tab +keymap.set("n", "tn", ":tabn") -- go to next tab +keymap.set("n", "tp", ":tabp") -- go to previous tab + +-- nvim-tree +keymap.set("n", "e", ":NvimTreeToggle") -- toggle file explorer \ No newline at end of file diff --git a/config/nvim/lua/config/core/options.lua b/config/nvim/lua/config/core/options.lua new file mode 100644 index 0000000..48d3583 --- /dev/null +++ b/config/nvim/lua/config/core/options.lua @@ -0,0 +1,38 @@ +local opt = vim.opt -- for conciseness + +-- Numeracion de las lineas +opt.relativenumber = true +opt.number = true + +-- tabs & indentation +opt.tabstop = 4 +opt.shiftwidth = 4 +opt.expandtab = true +opt.autoindent = true + +-- Line wrapping +opt.wrap = false + +-- Search setting +opt.ignorecase = true +opt.smartcase = true + +-- Cursor line +opt.cursorline = true + +-- appearance +opt.termguicolors = true +opt.background = "dark" +opt.signcolumn = "yes" + +-- Backspace +opt.backspace = "indent,eol,start" + +-- Clipboard +opt.clipboard:append("unnamedplus") + +-- Splitt Windows +opt.splitright = true +opt.splitbelow = true + +opt.iskeyword:append("-") \ No newline at end of file diff --git a/config/nvim/lua/config/plugins-setup.lua b/config/nvim/lua/config/plugins-setup.lua new file mode 100644 index 0000000..d3cc225 --- /dev/null +++ b/config/nvim/lua/config/plugins-setup.lua @@ -0,0 +1,52 @@ +-- auto install packer if not installed +local ensure_packer = function() + local fn = vim.fn + local install_path = fn.stdpath("data") .. "/site/pack/packer/start/packer.nvim" + if fn.empty(fn.glob(install_path)) > 0 then + fn.system({ "git", "clone", "--depth", "1", "https://github.com/wbthomason/packer.nvim", install_path }) + vim.cmd([[packadd packer.nvim]]) + return true + end + return false + end + local packer_bootstrap = ensure_packer() -- true if packer was just installed + + -- autocommand that reloads neovim and installs/updates/removes plugins + -- when file is saved + vim.cmd([[ + augroup packer_user_config + autocmd! + autocmd BufWritePost plugins-setup.lua source | PackerSync + augroup end + ]]) + + -- import packer safely + local status, packer = pcall(require, "packer") + if not status then + return + end + + -- add list of plugins to install + return packer.startup(function(use) + -- packer can manage itself + use("wbthomason/packer.nvim") + + use("navarasu/onedark.nvim") + + -- file explorer + use("nvim-tree/nvim-tree.lua") + + -- vs-code like icons + use("nvim-tree/nvim-web-devicons") + + -- statusline + use("nvim-lualine/lualine.nvim") + + -- Colorizer + use("norcalli/nvim-colorizer.lua") + + + if packer_bootstrap then + require("packer").sync() + end + end) \ No newline at end of file diff --git a/config/nvim/lua/config/plugins/colorizer.lua b/config/nvim/lua/config/plugins/colorizer.lua new file mode 100644 index 0000000..dff5def --- /dev/null +++ b/config/nvim/lua/config/plugins/colorizer.lua @@ -0,0 +1,12 @@ +require'colorizer'.setup( + {'*';}, + { + RGB = true; -- #RGB hex codes + RRGGBB = true; -- #RRGGBB hex codes + names = true; -- "Name" codes like Blue + RRGGBBAA = true; -- #RRGGBBAA hex codes + rgb_fn = true; -- CSS rgb() and rgba() functions + hsl_fn = true; -- CSS hsl() and hsla() functions + css = true; -- Enable all CSS features: rgb_fn, hsl_fn, names, RGB, RRGGBB + css_fn = true; -- Enable all CSS *functions*: rgb_fn, hsl_fn + }) \ No newline at end of file diff --git a/config/nvim/lua/config/plugins/lualine.lua b/config/nvim/lua/config/plugins/lualine.lua new file mode 100644 index 0000000..7206fa3 --- /dev/null +++ b/config/nvim/lua/config/plugins/lualine.lua @@ -0,0 +1,36 @@ +-- import lualine plugin safely +local status, lualine = pcall(require, "lualine") +if not status then + return +end + +-- get lualine nightfly theme +local lualine_onedark = require("lualine.themes.onedark") + +-- new colors for theme +local new_colors = { + blue = "#65D1FF", + green = "#3EFFDC", + violet = "#FF61EF", + yellow = "#FFDA7B", + black = "#000000", +} + +-- change nightlfy theme colors +lualine_onedark.normal.a.bg = new_colors.blue +lualine_onedark.insert.a.bg = new_colors.green +lualine_onedark.visual.a.bg = new_colors.violet +lualine_onedark.command = { + a = { + gui = "bold", + bg = new_colors.yellow, + fg = new_colors.black, -- black + }, +} + +-- configure lualine with modified theme +lualine.setup({ + options = { + theme = lualine_onedark, + }, +}) \ No newline at end of file diff --git a/config/nvim/lua/config/plugins/nvim-tree.lua b/config/nvim/lua/config/plugins/nvim-tree.lua new file mode 100644 index 0000000..0bf5d2c --- /dev/null +++ b/config/nvim/lua/config/plugins/nvim-tree.lua @@ -0,0 +1,40 @@ +-- import nvim-tree plugin safely +local setup, nvimtree = pcall(require, "nvim-tree") +if not setup then + return +end + +-- recommended settings from nvim-tree documentation +vim.g.loaded_netrw = 1 +vim.g.loaded_netrwPlugin = 1 + +-- change color for arrows in tree to light blue +vim.cmd([[ highlight NvimTreeIndentMarker guifg=#3FC5FF ]]) + +-- configure nvim-tree +nvimtree.setup({ + -- change folder arrow icons + renderer = { + icons = { + glyphs = { + folder = { + arrow_closed = "", -- arrow when folder is closed + arrow_open = "", -- arrow when folder is open + }, + }, + }, + }, + -- disable window_picker for + -- explorer to work well with + -- window splits + actions = { + open_file = { + window_picker = { + enable = false, + }, + }, + }, + -- git = { + -- ignore = false, + -- }, +}) \ No newline at end of file diff --git a/config/picom/picom.conf b/config/picom/picom.conf new file mode 100644 index 0000000..9905dd1 --- /dev/null +++ b/config/picom/picom.conf @@ -0,0 +1,23 @@ +# Available backends "xrender" "glx" "egl" "xr_glx_hybrid" +backend = "glx"; + +dithered-present = false; +vsync = false; +mark-wmwin-focused = true; +mark-ovredir-focused = true; + +detect-rounded-corners = true; +detect-client-opacity = true; +detect-transient = true; +glx-no-stencil = true; +use-damage = true; + +log-level = "warn"; + +wintypes: +{ + normal = { fade = false; shadow = false; } + tooltip = { fade = false; shadow = false; focus = true; full-shadow = false; } + dock = { shadow = false; clip-shadow-above = false; } + dnd = { shadow = false; } +}; \ No newline at end of file diff --git a/config/polybar/bar.sh b/config/polybar/bar.sh new file mode 100644 index 0000000..db98dc1 --- /dev/null +++ b/config/polybar/bar.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +for mon in $(polybar --list-monitors | cut -d":" -f1); do + (MONITOR=$mon polybar -q bar1 -c "$HOME"/.config/polybar/config.ini)& + (MONITOR=$mon polybar -q bar2 -c "$HOME"/.config/polybar/config.ini)& +done \ No newline at end of file diff --git a/config/polybar/colors.ini b/config/polybar/colors.ini new file mode 100644 index 0000000..66e6eb0 --- /dev/null +++ b/config/polybar/colors.ini @@ -0,0 +1,23 @@ +[bar] +bg = #0b0910 +bg-alt = #708491 +fg = #8C8C8C +mb = #252533 +trans = #00000000 +white = #FFFFFF +black = #000000 +red = #EC7875 +pink = #EC407A +purple = #BA68C8 +blue = #42A5F5 +cyan = #4DD0E1 +teal = #00B19F +green = #61C766 +lime = #B9C244 +yellow = #FDD835 +amber = #FBC02D +orange = #E57C46 +brown = #AC8476 +grey = #8C8C8C +indigo = #6C77BB +blue-gray = #6D8895 \ No newline at end of file diff --git a/config/polybar/config.ini b/config/polybar/config.ini new file mode 100644 index 0000000..1210355 --- /dev/null +++ b/config/polybar/config.ini @@ -0,0 +1,118 @@ +[global/wm] + +margin-bottom = 0 +margin-top = 0 + +include-file = system.ini +include-file = colors.ini +include-file = modules.ini + +[bar/bar1] +monitor = ${env:MONITOR:} +monitor-strict = false +override-redirect = false + +bottom = false +fixed-center = true + +width = 100% +height = 30 + +offset-x = 0 +offset-y = 0 + +background = ${bar.bg} +foreground = ${bar.fg} + +radius = 0 + +line-size = 2 +line-color = ${bar.blue} + +border-size = 8 +border-color = ${bar.bg} + +padding-left = 1 +padding-right = 1 + +module-margin-left = 0 +module-margin-right = 0 + +font-0 = "JetBrainsMono:style=Regular:size=9;2" +font-1 = "Material Design Icons Desktop:size=13;3" +font-2 = "Material Design Icons Desktop:size=16;4" +font-3 = "MesloLGS NF:style=Regular:size=17;4" + +modules-left = sep date sep +modules-center = bspwm +modules-right = sep filesystem cpu_bar memory_bar sep network sep battery sep + +separator = +dim-value = 1.0 + +wm-restack = bspwm +enable-ipc = true + +cursor-click = pointer +cursor-scroll = + +[bar/bar2] +monitor = ${env:MONITOR:} +monitor-strict = false +override-redirect = false + +bottom = true +fixed-center = true + +width = 100% +height = 30 + +offset-x = 0 +offset-y = 0 + +background = ${bar.bg} +foreground = ${bar.fg} + +radius = 0 + +line-size = 2 +line-color = ${bar.blue} + +border-size = 8 +border-color = ${bar.bg} + +padding-left = 1 +padding-right = 1 + +module-margin-left = 0 +module-margin-right = 0 + +font-0 = "JetBrainsMono:style=Regular:size=9;3" +font-1 = "Material Design Icons Desktop:size=13;4" +font-2 = "Font Awesome 6 Free Solid:size=10;3" +font-3 = "MesloLGS NF:style=Regular:size=17;4" + +modules-left = title +modules-center = mpd_control sep mpd +modules-right = mod sep weather sep pulseaudio sep sep updates sep + +separator = +dim-value = 1.0 + +wm-restack = bspwm +enable-ipc = true + +cursor-click = pointer +cursor-scroll = + +[settings] + +screenchange-reload = false + +compositing-background = source +compositing-foreground = over +compositing-overline = over +compositing-underline = over +compositing-border = over + +pseudo-transparency = true \ No newline at end of file diff --git a/config/polybar/modules.ini b/config/polybar/modules.ini new file mode 100644 index 0000000..1208e28 --- /dev/null +++ b/config/polybar/modules.ini @@ -0,0 +1,276 @@ +[module/date] +type = internal/date + +interval = 1.0 + +time = %I:%M %P +format-foreground = ${bar.fg} +date-alt = " %A, %d %B %Y" + +format =