diff --git a/.config/alacritty/bb.alacritty.toml b/.config/alacritty/bb.alacritty.toml new file mode 100644 index 0000000..35dfc7e --- /dev/null +++ b/.config/alacritty/bb.alacritty.toml @@ -0,0 +1,164 @@ +[env] +TERM = "xterm-256color" +WINIT_X11_SCALE_FACTOR = "1" + +[window] +dynamic_padding = true +decorations = "full" +title = "Alacritty@CachyOS" +opacity = 0.5 +decorations_theme_variant = "Dark" + +[window.dimensions] +columns = 100 +lines = 30 + +[window.class] +instance = "Alacritty" +general = "Alacritty" + +[scrolling] +history = 10000 +multiplier = 3 + +[colors] +draw_bold_text_with_bright_colors = true + +[colors.primary] +background = "0x202020" +foreground = "0xD8DEE9" + +[colors.normal] +black = "0x3B4252" +red = "0xBF616A" +green = "0xA3BE8C" +yellow = "0xEBCB8B" +blue = "0x81A1C1" +magenta = "0xB48EAD" +cyan = "0x88C0D0" +white = "0xE5E9F0" + +[colors.bright] +black = "0x4C566A" +red = "0xBF616A" +green = "0xA3BE8C" +yellow = "0xEBCB8B" +blue = "0x81A1C1" +magenta = "0xB48EAD" +cyan = "0x8FBCBB" +white = "0xECEFF4" + +[font] +size = 12 + +[font.normal] +family = "monospace" +style = "Regular" + +[font.bold] +family = "monospace" +style = "Bold" + +[font.italic] +family = "monospace" +style = "Italic" + +[font.bold_italic] +family = "monospace" +style = "Bold Italic" + +[selection] +semantic_escape_chars = ",│`|:\"' ()[]{}<>\t" +save_to_clipboard = true + +[cursor] +style = "Block" +vi_mode_style = "None" +unfocused_hollow = true +thickness = 0.15 + +[mouse] +hide_when_typing = true + +[[mouse.bindings]] +mouse = "Middle" +action = "PasteSelection" + +[keyboard] +[[keyboard.bindings]] +key = "Paste" +action = "Paste" + +[[keyboard.bindings]] +key = "Copy" +action = "Copy" + +[[keyboard.bindings]] +key = "L" +mods = "Control" +action = "ClearLogNotice" + +[[keyboard.bindings]] +key = "L" +mods = "Control" +mode = "~Vi" +chars = "\f" + +[[keyboard.bindings]] +key = "PageUp" +mods = "Shift" +mode = "~Alt" +action = "ScrollPageUp" + +[[keyboard.bindings]] +key = "PageDown" +mods = "Shift" +mode = "~Alt" +action = "ScrollPageDown" + +[[keyboard.bindings]] +key = "Home" +mods = "Shift" +mode = "~Alt" +action = "ScrollToTop" + +[[keyboard.bindings]] +key = "End" +mods = "Shift" +mode = "~Alt" +action = "ScrollToBottom" + +[[keyboard.bindings]] +key = "V" +mods = "Control|Shift" +action = "Paste" + +[[keyboard.bindings]] +key = "C" +mods = "Control|Shift" +action = "Copy" + +[[keyboard.bindings]] +key = "F" +mods = "Control|Shift" +action = "SearchForward" + +[[keyboard.bindings]] +key = "B" +mods = "Control|Shift" +action = "SearchBackward" + +[[keyboard.bindings]] +key = "C" +mods = "Control|Shift" +mode = "Vi" +action = "ClearSelection" + +[[keyboard.bindings]] +key = "Key0" +mods = "Control" +action = "ResetFontSize" + +[general] +live_config_reload = true +working_directory = "None" diff --git a/.config/fastfetch/.cfg.jsonc b/.config/fastfetch/.cfg.jsonc new file mode 100644 index 0000000..1a97989 --- /dev/null +++ b/.config/fastfetch/.cfg.jsonc @@ -0,0 +1,68 @@ +{ + "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/master/doc/json_schema.json", + "logo": { + //"source": "~/.config/fastfetch/logos/batman-beyond.txt", + //"source": "~/.config/fastfetch/logos/bb.txt", + "source": "~/.config/fastfetch/logos/bb-mid.txt", + "color": { + "1": "#FF0000" + } + }, + "display": { + "separator": ": ", // Separator between keys and values + "color": { + "keys": "black", // Key color + "title": "#FF0000" // Title color + }, + "key": { + "width": 20, // Aligns keys to this width + "type": "string" // string, icon, both, or none + }, + "bar": { + "width": 10, // Width of percentage bars + "char": { + "elapsed": "■", // Character for elapsed portion + "total": "-" // Character for total portion + } + }, + "percent": { + "type": 3, // 1=number, 2=bar, 3=both, 9=colored number + "color": { + "green": "green", + "yellow": "light_yellow", + "red": "light_red" + } + } + }, + "modules": [ + "title", + "separator", + "os", + "host", + "kernel", + "uptime", + "packages", + "shell", + "display", + "de", + "wm", + "wmtheme", + "theme", + "icons", + "font", + "cursor", + "terminal", + "terminalfont", + "cpu", + "gpu", + "memory", + "swap", + "disk", + "localip", + "battery", + "poweradapter", + "locale", + "break", + "colors" + ] +} diff --git a/.config/fastfetch/bb.config.jsonc b/.config/fastfetch/bb.config.jsonc new file mode 100644 index 0000000..f3c1858 --- /dev/null +++ b/.config/fastfetch/bb.config.jsonc @@ -0,0 +1,109 @@ +{ + "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/master/doc/json_schema.json", + "display": { + "key": { + "width": 10 + }, + "separator": "" + }, + "logo": { + "type": "auto", + "source": "~/.config/fastfetch/logos/bb-smaller.txt", + "color": { + "1": "#FF0000" + }, + "padding": { + "top": 1, + "left": 1 + } + }, + "modules": [ + "break", + { + "type": "os", + "key": "󰣇 OS", + "keyColor": "#FF0000", + "format": "{name} {version-id}" + }, + { + "type": "command", + "key": "󰌽 KER", + "keyColor": "#FF0000", + "text": "echo $(uname -r | cut -d- -f1) $(uname -m)" + }, + { + "type": "packages", + "key": "󰏗 PKG", + "keyColor": "#FF0000", + "format": "{all}" + }, + { + "type": "localip", + "key": "{icon} IP", + "keyColor": "#FF0000", + "showIPv4": true, + "showPrefixLen": true + }, + { + "type": "display", + "key": "{icon} DISP", + "keyColor": "#FF0000", + "compactType": "original-with-refresh-rate" + }, + { + "type": "memory", + "key": "󰍛 RAM", + "keyColor": "#FF0000", + "format": "{used} / {total} ({percentage})" + }, + { + "type": "disk", + "key": "󰋊 SSD", + "keyColor": "#FF0000", + "folders": "/", + "format": "{size-used} / {size-total} ({size-percentage})" + }, + { + "type": "battery", + "key": "{icon} BATT", + "keyColor": "#FF0000", + "percentage": { + "green": "70", + "yellow": "25" + }, + "format": "{capacity} [{status}] {time-formatted} rem." + }, + { + "type": "wm", + "key": "{icon} WM", + "keyColor": "#FF0000", + "format": "{pretty-name}" + }, + { + "type": "terminal", + "key": "󰆍 TERM", + "keyColor": "#FF0000", + "format": "{pretty-name}" + }, + { + "type": "shell", + "key": "󰞷 SH", + "keyColor": "#FF0000", + "format": "{pretty-name}" + }, + { + "type": "uptime", + "keyColor": "#FF0000", + "key": "󰥔 UP" + }, + { + "type": "custom", + "format": "{#1;38;2;255;0;0}COLORS {#1;38;2;0;0;0} {#1;38;2;255;0;0} {#1;38;2;0;128;0} {#1;38;2;128;128;0} {#1;38;2;0;0;255} {#1;38;2;128;0;128} {#1;38;2;0;128;128} {#1;38;2;255;255;255}" + }, + { + "type": "custom", + "format": " {#1;38;2;128;128;128} {#1;38;2;255;0;128} {#1;38;2;0;255;0} {#1;38;2;255;255;0} {#1;38;2;0;150;255} {#1;38;2;255;0;255} {#1;38;2;0;255;255} {#1;38;2;128;128;128}" + }, + "break" + ] +} diff --git a/.config/fastfetch/bb.large.jsonc b/.config/fastfetch/bb.large.jsonc new file mode 100644 index 0000000..31686c3 --- /dev/null +++ b/.config/fastfetch/bb.large.jsonc @@ -0,0 +1,274 @@ +{ + "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", + "logo": { + "type": "auto", + "source": "~/.config/fastfetch/logos/batman-beyond.txt", + "padding": { + "top": 2, // Top padding + "left": 2, // Left padding + "right": 2 // Right padding + }, + "color": { + "1": "#FF0000" + } + }, + "display": { + "color": { + "keys": "#FF0000" + }, + "separator": "", + "constants": [ + "─────────────────────────────────────────────────────────", // {$1} - horizontal line for borders + "\u001b[58D", // {$2} - move cursor left 55 columns + "\u001b[58C", // {$3} - move cursor right 55 columns + "\u001b[57C", // {$4} - move cursor right 54 columns + "│" // {$5} - vertical borders + ], + "brightColor": false + }, + "modules": [ + "break", + { + "type": "version", + "key": "╭─────────────┬─{$1}╮\u001b[42D", + "format": "\u001b[1m{#keys} {1} - {2} " + }, + { + "type": "os", + "key": "{$5}{#white} 󰣇 \u001b[s{#37}{sysname}\u001b[u\u001b[10C{#30}{#keys}{$5}{$3}{#keys}{$5}{$2}" + }, + { + "type": "kernel", + "key": "{$5}{#37} {icon} \u001b[s{#37}Kernel\u001b[u\u001b[10C{#keys}{$5}{$3}{#keys}{$5}{$2}" + }, + { + "type": "packages", + "key": "{$5}{#37} {icon}{#white} \u001b[s{#37}Packages{#37} {#red} {#keys}{$5} {$4}{#keys}{$5}{$2}" + }, + { + "type": "localip", + "key": "{$5}{#37} {icon}{#white} {#37}Local IP{#37} {#keys}{$5}{$3}{$5}{$2}", + "showIpv4": true, + "showIpv6": false, + "showMac": false, + "showLoop": false, + "showPrefixLen": true, + "showMtu": false, + "showSpeed": true, + "showFlags": false, + "compact": true, + "defaultRouteOnly": false, + "showAllIps": true, + "namePrefix": "" + }, + { + "type": "locale", + "key": "{$5}{#37} {icon} {#37}Locale{#37} {#keys}{$5}{$3}{#keys}{$5}{$2}" + }, + { + "type": "custom", + "key": "├─────────────┴─{$1}┤", // Bottom border of the entire layout + "format": "" + }, + + // Hardware section with cyan color theme + { + "type": "custom", + "key": "{$5}{#white}╭────────────┬{$1}╮{#keys}{$5}\u001b[36D", + "format": "{#bright_white} Hardware " + }, + { + "type": "board", + "key": "{$5}{#white}{$5} {#37}{icon} {#37}Board{#37} {$5}{$4}{$5}{#keys}{$5}{$2}" + }, + { + "type": "cpu", + "key": "{$5}{#white}{$5} {#37}{icon} {#37}CPU{#37} {$5}{$4}{$5}{#keys}{$5}{$2}", + "format": "{name} @{freq-max}", + "showPeCoreCount": false + }, + { + "type": "gpu", + "key": "{$5}{#white}{$5} {#37}{icon} {#37}GPU{#37} {$5}{$4}{$5}{#keys}{$5}{$2}", + "temp": true, + "showPeCoreCount": false + }, + { + "type": "display", + "key": "{$5}{#white}{$5} {#37}{icon} {#37}Display{#37} {$5}{$4}{$5}{#keys}{$5}{$2}", + "compactType": "original-with-refresh-rate" + }, + { + "type": "custom", + "key": "{$5}{#white}╰────────────┴{$1}╯{#keys}{$5}", + "format": "" + }, + { + "type": "custom", + "key": "{$5}{#white}╭────────────┬{$1}╮{#keys}{$5}\u001b[36D", + "format": "{#bright_white} Memory & Storage " + }, + { + "type": "memory", + "key": "{$5}{#white}{$5} {#37}{icon} {#37}RAM{#37} {$5}{$4}{$5}{#keys}{$5}{$2}", + // "keyColor": "34", + "percent": { + "type": 3, // 3 = show number + bar + percentage + "green": 30, // <30% is green + "yellow": 70 // 30-70% is yellow, >70% is red + } + }, + { + "type": "swap", + "key": "{$5}{#white}{$5} {#37}{icon} {#37}SWAP{#37} {$5}{$4}{$5}{#keys}{$5}{$2}", + // "keyColor": "34", + "percent": { + "type": 3, // 3 = show number + bar + percentage + "green": 30, // <30% is green + "yellow": 70 // 30-70% is yellow, >70% is red + } + }, + { + "type": "disk", + "key": "{$5}{#white}{$5} {#37}{icon} {#37}Disk{#37} {$5}{$4}{$5}{#keys}{$5}{$2}", + // "keyColor": "34", + "percent": { + "type": 3, // 3 = show number + bar + percentage + "green": 30, // <30% is green + "yellow": 70 // 30-70% is yellow, >70% is red + } + }, + { + "type": "battery", + "key": "{$5}{#white}{$5} {#37}{icon} {#37}Battery{#37} {$5}{$4}{$5}{#keys}{$5}{$2}" + }, + { + "type": "custom", + "key": "{$5}{#white}╰────────────┴{$1}╯{#keys}{$5}", + "format": "" + }, + + // Desktop section + { + "type": "custom", + "key": "{$5}{#white}╭────────────┬{$1}╮{#keys}{$5}\u001b[36D", + "format": "{#bright_white} Desktop " + }, + { + "type": "de", + "key": "{$5}{#white}{$5} {#37}{icon} {#37}Desktop{#37} {$5}{$4}{$5}{#keys}{$5}{$2}", + "slowVersionDetection": false + }, + { + "type": "wm", + "key": "{$5}{#white}{$5} {#37}{icon} {#37}Session{#37} {$5}{$4}{$5}{#keys}{$5}{$2}", + "detectPlugin": false + }, + { + "type": "font", + "key": "{$5}{#white}{$5} {#37}{icon} {#37}Font{#37} {$5}{$4}{$5}{#keys}{$5}{$2}" + }, + { + "type": "lm", + "key": "{$5}{#white}{$5} {#37}{icon} {#37}Greeter{#37} {$5}{$4}{$5}{#keys}{$5}{$2}" + }, + { + "type": "custom", + "key": "{$5}{#white}╰────────────┴{$1}╯{#keys}{$5}", + "format": "" + }, + + // Terminal section + { + "type": "custom", + "key": "{$5}{#white}╭────────────┬{$1}╮{#keys}{$5}\u001b[37D", + "format": "{#bright_white} Terminal " + }, + { + "type": "terminal", + "key": "{$5}{#white}{$5} {#37}{icon} {#37}Term{#37} {$5}{$4}{$5}{#keys}{$5}{$2}" + }, + { + "type": "shell", + "key": "{$5}{#white}{$5} {#37}{icon} {#37}Shell{#37} {$5}{$4}{$5}{#keys}{$5}{$2}" + }, + { + "type": "terminalfont", + "key": "{$5}{#white}{$5} {#37}{icon} {#37}Font{#37} {$5}{$4}{$5}{#keys}{$5}{$2}" + }, +// { +// "type": "terminaltheme", +// "key": "{$5}{#white}{$5}{#37}{icon} {#37}Colors{#37} {$5}{$4}{$5}{#keys}{$5}{$2}" +// }, + { + "type": "custom", + "key": "{$5}{#white}╰────────────┴{$1}╯{#keys}{$5}", + "format": "" + }, + + { + "type": "custom", + "key": "{$5}{#white}╭────────────┬{$1}╮{#keys}{$5}\u001b[36D", + "format": "{#bright_white} Uptime " + }, + { + "type": "uptime", + "key": "{$5}{#white}{$5} {#37}{icon} {#37}Uptime{#37} {$5}{$4}{$5}{#keys}{$5}{$2}" + }, + { + "type": "datetime", + "key": "{$5}{#white}{$5} {#37}{icon} {#37}Fetched{#37} {$5}{$4}{$5}{#keys}{$5}{$2}", + "format": "{day-pretty}-{month-pretty}-{year} {hour-pretty}:{minute-pretty}:{second-pretty} {timezone-name}" + }, + //{ + // "condition": { // Conditional module: only show on non-macOS + // "!system": "macOS" + // }, + // "type": "disk", + // "key": "{$5}{#white}{$5} OS Age {$5}{$4}{$5}{#keys}{$5}{$2}", + // "folders": "/", // Check root filesystem + // "format": "{create-time:10} [{days} days]" // Show creation time and age in days + //}, + //{ + // "condition": { // Conditional module: only show on macOS + // "system": "macOS" + // }, + // "type": "disk", + // "key": "{$5}{#white}{$5} OS Age {$5}{$4}{$5}{#keys}{$5}{$2}", + // "folders": "/System/Volumes/VM", // Work around for APFS on macOS + // "format": "{create-time:10} [{days} days]" + //}, + //{ + // "type": "users", + // "myselfOnly": true, // Only show current user + // "key": "{$5}{#white}{$5} Login {$5}{$4}{$5}{#keys}{$5}{$2}" + // + //}, + { + "type": "custom", + "key": "{$5}{#white}╰────────────┴{$1}╯{#keys}{$5}", + "format": "" + }, + { + "type": "custom", + "key": "{$5} {$3} {$5}{$2}", + "format":" {#1;48;2;0;0;0} {#1;48;2;255;0;0} {#1;48;2;0;128;0} {#1;48;2;128;128;0} {#1;48;2;0;0;255} {#1;48;2;128;0;128} {#1;48;2;0;128;128} {#1;48;2;255;255;255} " + //"format":" {#1;48;2;0;0;0}{#1;38;2;255;0;0}{#1;38;2;0;128;0}{#1;38;2;128;128;0}{#1;38;2;0;0;255}{#1;38;2;128;0;128}{#1;38;2;0;128;128}{#1;38;2;255;255;255}" + //"format":" {#black} {#white}  {#red}  {#yellow}  {#green}  {#blue}  {#cyan}  {#magenta} " + //"format":" {#black} {#white}  {#red}  {#yellow}  {#green}  {#blue}  {#cyan}  {#magenta} " + //"format":" {#black} {#white}  {#red}  {#yellow}  {#green}  {#blue}  {#cyan}  {#magenta} " + //"format":" {#black}󰭟 {#white} 󰭟 {#red} 󰭟 {#yellow} 󰭟 {#green} 󰭟 {#blue} 󰭟 {#cyan} 󰭟 {#magenta} 󰭟" + }, + { + "type": "custom", + "key": "{$5} {$3} {$5}{$2}", + "format":" {#1;48;2;128;128;128} {#1;48;2;255;0;128} {#1;48;2;0;255;0} {#1;48;2;255;255;0} {#1;48;2;0;150;255} {#1;48;2;255;0;255} {#1;48;2;0;255;255} {#1;48;2;128;128;128} " + }, + { + "type": "custom", + "key": "╰───────────────{$1}╯", // Bottom border of the entire layout + "format": "" + } + ] +} + diff --git a/.config/fastfetch/logos/batman-beyond.txt b/.config/fastfetch/logos/batman-beyond.txt new file mode 100644 index 0000000..b01ce81 --- /dev/null +++ b/.config/fastfetch/logos/batman-beyond.txt @@ -0,0 +1,28 @@ +$1 +## -## +$1 ###### +##### +$1 ######### #########: +$1 =############: ############# +$1 ################= ################ +$1 #################* ################## +$1 :################ ################# +$1 ################ ################- +$1 ################ # # +############### +$1 ###############* ## ## =############### +$1 ################ ### ###+ ################- +$1 *################ ############ ################# +$1 ################# ############ ################## +$1 :################## =############ +################## +$1 #################### ############## *#################### +$1 #########################################################* +$1 ##############################################- +$1 ######################################: +$1 ################################ +$1 ##########################+ +$1 ######################: +$1 ##################- +$1 -############### +$1 ############ +$1 =######### +$1 ######= +$1 #### +$1 ## diff --git a/.config/fastfetch/logos/batman.txt b/.config/fastfetch/logos/batman.txt new file mode 100644 index 0000000..9f507e1 --- /dev/null +++ b/.config/fastfetch/logos/batman.txt @@ -0,0 +1,20 @@ + + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%+ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + %@@@@@@@@@@@@@@@@@@@@@@@@@@@ * + @@@@@@@@@@@@@@@@@@@@@@@@@@@% + -@@@@@@@@@@@@@@@@@@@@@@@@@ @ @ @@@@@@@@@@@@@@@@@@@@@@@@@- + @@@@@@@@@@@@@@@@@@@@@@@@+ :@@@@@@ =@@@@@@@@@@@@@@@@@@@@@@@@ + @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ + %@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@% + @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ + @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ + @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ + %@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@% + @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@: + =@@@@@@@@@@@@@@@@@@= + @@@@@@@@@@@@ + @@@@@@@@ + @@@@ + @@ + : + diff --git a/.config/fastfetch/logos/bb-mid.txt b/.config/fastfetch/logos/bb-mid.txt new file mode 100644 index 0000000..a37cb45 --- /dev/null +++ b/.config/fastfetch/logos/bb-mid.txt @@ -0,0 +1,24 @@ +$1 ### ### +$1 ###### ###### +$1 ######## ######## +$1 ########## ########## +$1 ############ ############ +$1 ############ ############ +$1 ########### # # ########### +$1 ########### ## ## ########### +$1 ########### ###### ########### +$1 ########### ######## ########### +$1 ########### ########## ############ +$1 ############################################ +$1 ########################################## +$1 ################################## +$1 ########################## +$1 #################### +$1 ################ +$1 ############ +$1 ######### +$1 ###### +$1 #### +$1 ## +$1 +$1 diff --git a/.config/fastfetch/logos/bb-smaller.txt b/.config/fastfetch/logos/bb-smaller.txt new file mode 100644 index 0000000..c7af289 --- /dev/null +++ b/.config/fastfetch/logos/bb-smaller.txt @@ -0,0 +1,14 @@ +$1 # # +$1 ### ### +$1 ##### ##### +$1 ###### ###### +$1 ##### # # ##### +$1 ###### ### ###### +$1 ####### ####### ####### +$1 ##################### +$1 ############# +$1 ######### +$1 ##### +$1 ### +$1 # +$1 diff --git a/.config/fastfetch/logos/bb.txt b/.config/fastfetch/logos/bb.txt new file mode 100644 index 0000000..273a78d --- /dev/null +++ b/.config/fastfetch/logos/bb.txt @@ -0,0 +1,19 @@ +$1 # # +$1 ### ### +$1 ###### ###### +$1 ######## ######## +$1 ######### ######### +$1 ######## # # ######### +$1 ######### ##### ######### +$1 ######## ##### ######## +$1 ######### ####### ######### +$1 ################################### +$1 ############################# +$1 ##################### +$1 ############### +$1 ########### +$1 ####### +$1 ##### +$1 ### +$1 # +$1 diff --git a/.config/fastfetch/logos/ds.txt b/.config/fastfetch/logos/ds.txt new file mode 100644 index 0000000..a0faa2d --- /dev/null +++ b/.config/fastfetch/logos/ds.txt @@ -0,0 +1,31 @@ + #- + #- + ##########- + ####++++++#------#### + -##+++++++++++#----------### + ##++++++++++++++#-------------##+ + ##++++++++++++++++#---------------##- + ##+++++++++++++++++#-----------------## - + -#+++++++++++++++++++#------------------###+ + +#++++++++++++++++++++#-------------------##+ + #+++++++++++++++++++++#------------------####- + ##+++++++++++++++++++++#--------------######### + #++++++++++++++++++++++#----------##########--#+ + ##++++++++++++++++++++++#--------#### ###--#+ + ##++++++++++++++++++++++------#### ###---## + ##########################++---#### ############- + ##++++++++++++++++++++++-----### -###----## + ##++++++++++++++++++++++#------### #####-----#+ + #++++++++++++++++++++++#-------########------##- + ##+++++++++++++++++++++#---------------------## + ##++++++++++++++++++++#--------------------##- + ##+++++++++++++++++++#-------------------##- + ##++++++++++++++++++#------------------##- + ##++++++++++++++++#----------------##+ + ###++++++++++++++#--------------###- + -##++++++++++++#------------###- + ####++++++++#--------####+ + -+################+- + -+#+-- + #- + +- diff --git a/.config/fastfetch/logos/glyphs b/.config/fastfetch/logos/glyphs new file mode 100644 index 0000000..f2190ff --- /dev/null +++ b/.config/fastfetch/logos/glyphs @@ -0,0 +1,17 @@ + + + + + + + + + + + + + +󰫍 +󰭟 + + diff --git a/.config/fastfetch/logos/nightwing.txt b/.config/fastfetch/logos/nightwing.txt new file mode 100644 index 0000000..f2cc27e --- /dev/null +++ b/.config/fastfetch/logos/nightwing.txt @@ -0,0 +1,40 @@ + @@@@ @@@@ + @@@@@@@@@@ @@@@@@@@@@ + @@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@ + @@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@ + @@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@ + @@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@ + @@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@ + @@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@ + @@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@ + @@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@ + @@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@ + @ @@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@ @ + @@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@ + @@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ + @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ + @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ + @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ + @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ + @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ + @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ + @@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@ + @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ + @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ + @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ + @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ + @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ + @@@@@@ @@@@@@@@@@@@@@@@@@@@@@ @@@@@@ + @@ @@@@@@@@@@@@@@@@@@@@@@ @@ + @@@@@@@@@@@@@@@@@@@@@@ + @@@@@@@@@@@@@@@@@@@@@@@@ + @@@@@@@@@@@@@@@@@@@@@@@@ + @@@@@@@@@@@@@@@@@@@@@@@@ + @@@@@@@@@@@@@@@@@@@@@@@@ + @@@@@@@@@@@@@@@@@@@@ + @@@@@@@@@@@@@@@@@@ + @@@@@@@@@@@@@@ + @@@@@@@@@@@@ + @@@@@@@@ + @@@@@ + @@ diff --git a/.config/fish/.alias b/.config/fish/.alias new file mode 100644 index 0000000..2f64fed --- /dev/null +++ b/.config/fish/.alias @@ -0,0 +1,40 @@ +#!/bin/bash +# ==================================================================== +# auth: alex +# file: .alias +# revn: 04-19-2026 2.0 +# func: define useful fish aliases +# +# TODO: make boom more robust (scp, etc) +# ==================================================================== +# r au mm-dd-yyyy: CHANGE LOG +# -------------------------------------------------------------------- +# ac 04-??-2026: init +# ac 04-16-2026: added gg alias +# * ac 04-19-2026: added boom alias +# added knight alias +# * ac 04-22-2026: fixed insane ranger/knight bug +# +# ==================================================================== + +# Useful aliases + + +# vim assumes tabs instead of buffers +alias vim="vim -p" + +# make ranger sound more batman-like +alias knight="ranger" + +# boomtube reference +alias boom="ssh" + +# shorthand for fastfetch +alias ff="fastfetch" + +# forfeit +alias FF="shutdown now" + +# good game +alias gg="sudo reboot now" + diff --git a/.config/fish/bb.cachyos-config.fish b/.config/fish/bb.cachyos-config.fish new file mode 100644 index 0000000..5be69fd --- /dev/null +++ b/.config/fish/bb.cachyos-config.fish @@ -0,0 +1,136 @@ +## Source from conf.d before our fish config +source /usr/share/cachyos-fish-config/conf.d/done.fish + + +## Set values +## Run fastfetch as welcome message +function fish_greeting + fastfetch +end + +# Format man pages +set -x MANROFFOPT "-c" +set -x MANPAGER "sh -c 'col -bx | bat -l man -p'" + +# Set settings for https://github.com/franciscolourenco/done +set -U __done_min_cmd_duration 10000 +set -U __done_notification_urgency_level low + +## Environment setup +# Apply .profile: use this to put fish compatible .profile stuff in +if test -f ~/.fish_profile + source ~/.fish_profile +end + +# Add ~/.local/bin to PATH +if test -d ~/.local/bin + if not contains -- ~/.local/bin $PATH + set -p PATH ~/.local/bin + end +end + +# Add depot_tools to PATH +if test -d ~/Applications/depot_tools + if not contains -- ~/Applications/depot_tools $PATH + set -p PATH ~/Applications/depot_tools + end +end + + +## Functions +# Functions needed for !! and !$ https://github.com/oh-my-fish/plugin-bang-bang +function __history_previous_command + switch (commandline -t) + case "!" + commandline -t $history[1]; commandline -f repaint + case "*" + commandline -i ! + end +end + +function __history_previous_command_arguments + switch (commandline -t) + case "!" + commandline -t "" + commandline -f history-token-search-backward + case "*" + commandline -i '$' + end +end + +if [ "$fish_key_bindings" = fish_vi_key_bindings ]; + bind -Minsert ! __history_previous_command + bind -Minsert '$' __history_previous_command_arguments +else + bind ! __history_previous_command + bind '$' __history_previous_command_arguments +end + +# Fish command history +function history + builtin history --show-time='%F %T ' +end + +function backup --argument filename + cp $filename $filename.bak +end + +# Copy DIR1 DIR2 +function copy + set count (count $argv | tr -d \n) + if test "$count" = 2; and test -d "$argv[1]" + set from (echo $argv[1] | trim-right /) + set to (echo $argv[2]) + command cp -r $from $to + else + command cp $argv + end +end + +# Replace ls with eza +alias ls='eza -al --color=always --group-directories-first --icons' # preferred listing +alias la='eza -a --color=always --group-directories-first --icons' # all files and dirs +alias ll='eza -abl --color=always --icons --git' # long format +alias lt='eza -aT --color=always --group-directories-first --icons' # tree listing +alias l.="eza -a | grep -e '^\.'" # show only dotfiles + +# Common use +alias grubup="sudo grub-mkconfig -o /boot/grub/grub.cfg" +alias fixpacman="sudo rm /var/lib/pacman/db.lck" +alias tarnow='tar -acf ' +alias untar='tar -zxvf ' +alias wget='wget -c ' +alias psmem='ps auxf | sort -nr -k 4' +alias psmem10='ps auxf | sort -nr -k 4 | head -10' +alias ..='cd ..' +alias ...='cd ../..' +alias ....='cd ../../..' +alias .....='cd ../../../..' +alias ......='cd ../../../../..' +alias dir='dir --color=auto' +alias vdir='vdir --color=auto' +alias grep='grep --color=auto' +alias fgrep='fgrep --color=auto' +alias egrep='egrep --color=auto' +alias hw='hwinfo --short' # Hardware Info +alias big="expac -H M '%m\t%n' | sort -h | nl" # Sort installed packages according to size in MB +alias gitpkg='pacman -Q | grep -i "\-git" | wc -l' # List amount of -git packages +alias update='sudo pacman -Syu' + +# Get fastest mirrors +alias mirror="sudo cachyos-rate-mirrors" + +# Help people new to Arch +alias apt='man pacman' +alias apt-get='man pacman' +alias please='sudo' +alias tb='nc termbin.com 9999' + +# Cleanup orphaned packages +alias cleanup='sudo pacman -Rns (pacman -Qtdq)' + +# Get the error messages from journalctl +alias jctl="journalctl -p 3 -xb" + +# Recent installed packages +alias rip="expac --timefmt='%Y-%m-%d %T' '%l\t%n %v' | sort | tail -200 | nl" diff --git a/.config/fish/bb.config.fish b/.config/fish/bb.config.fish new file mode 100644 index 0000000..8f2c0b9 --- /dev/null +++ b/.config/fish/bb.config.fish @@ -0,0 +1,25 @@ +# source default* settings +source /usr/share/cachyos-fish-config/cachyos-config.fish + +# scripst for polybar +source ~/.config/fish/functions/inc_brightness.fish +source ~/.config/fish/functions/dec_brightness.fish +source ~/.config/fish/functions/get_volume.fish + +# bluetooth connect function +source ~/.config/fish/functions/bt.fish + +# do not load default ranger config +set RANGER_LOAD_DEFAULT_RC FALSE + +# source aliases +if test -f ~/.config/fish/.alias + source ~/.config/fish/.alias +end + +# overwrite greeting +# potentially disabling fastfetch +function fish_greeting + # smth smth + fastfetch --config bb-large.jsonc +end diff --git a/.config/fish/fish_variables b/.config/fish/fish_variables new file mode 100644 index 0000000..e562d9d --- /dev/null +++ b/.config/fish/fish_variables @@ -0,0 +1,77 @@ +# This file contains fish universal variable definitions. +# VERSION: 3.0 +SETUVAR __done_min_cmd_duration:10000 +SETUVAR __done_notification_urgency_level:low +SETUVAR __fish_initialized:4300 +SETUVAR pure_begin_prompt_with_current_directory:true +SETUVAR pure_check_for_new_release:false +SETUVAR pure_color_at_sign:pure_color_mute +SETUVAR pure_color_aws_profile:pure_color_warning +SETUVAR pure_color_command_duration:pure_color_warning +SETUVAR pure_color_current_directory:pure_color_primary +SETUVAR pure_color_danger:red +SETUVAR pure_color_dark:black +SETUVAR pure_color_exit_status:pure_color_danger +SETUVAR pure_color_git_branch:pure_color_mute +SETUVAR pure_color_git_dirty:pure_color_mute +SETUVAR pure_color_git_stash:pure_color_info +SETUVAR pure_color_git_unpulled_commits:pure_color_info +SETUVAR pure_color_git_unpushed_commits:pure_color_info +SETUVAR pure_color_hostname:pure_color_mute +SETUVAR pure_color_info:cyan +SETUVAR pure_color_jobs:pure_color_normal +SETUVAR pure_color_k8s_context:pure_color_success +SETUVAR pure_color_k8s_namespace:pure_color_primary +SETUVAR pure_color_k8s_prefix:pure_color_info +SETUVAR pure_color_light:white +SETUVAR pure_color_mute:brblack +SETUVAR pure_color_nixdevshell_prefix:pure_color_info +SETUVAR pure_color_nixdevshell_symbol:pure_color_mute +SETUVAR pure_color_normal:normal +SETUVAR pure_color_prefix_root_prompt:pure_color_danger +SETUVAR pure_color_primary:blue +SETUVAR pure_color_prompt_on_error:pure_color_danger +SETUVAR pure_color_prompt_on_success:pure_color_success +SETUVAR pure_color_success:magenta +SETUVAR pure_color_system_time:pure_color_mute +SETUVAR pure_color_username_normal:pure_color_mute +SETUVAR pure_color_username_root:pure_color_light +SETUVAR pure_color_virtualenv:pure_color_mute +SETUVAR pure_color_warning:yellow +SETUVAR pure_convert_exit_status_to_signal:false +SETUVAR pure_enable_aws_profile:true +SETUVAR pure_enable_container_detection:true +SETUVAR pure_enable_git:true +SETUVAR pure_enable_k8s:false +SETUVAR pure_enable_nixdevshell:false +SETUVAR pure_enable_single_line_prompt:false +SETUVAR pure_enable_virtualenv:true +SETUVAR pure_reverse_prompt_symbol_in_vimode:true +SETUVAR pure_separate_prompt_on_error:false +SETUVAR pure_shorten_prompt_current_directory_length:0 +SETUVAR pure_shorten_window_title_current_directory_length:0 +SETUVAR pure_show_exit_status:false +SETUVAR pure_show_jobs:false +SETUVAR pure_show_numbered_git_indicator:false +SETUVAR pure_show_prefix_root_prompt:false +SETUVAR pure_show_subsecond_command_duration:false +SETUVAR pure_show_system_time:false +SETUVAR pure_symbol_aws_profile_prefix: +SETUVAR pure_symbol_container_prefix: +SETUVAR pure_symbol_exit_status_prefix:\x7c +SETUVAR pure_symbol_exit_status_separator:\x7c +SETUVAR pure_symbol_git_dirty:\x2a +SETUVAR pure_symbol_git_stash:\u2261 +SETUVAR pure_symbol_git_unpulled_commits:\u21e3 +SETUVAR pure_symbol_git_unpushed_commits:\u21e1 +SETUVAR pure_symbol_k8s_prefix:\u2638 +SETUVAR pure_symbol_nixdevshell_prefix:\u2744\ufe0f +SETUVAR pure_symbol_prefix_root_prompt:\x23 +SETUVAR pure_symbol_prompt:\u276f +SETUVAR pure_symbol_reverse_prompt:\u276e +SETUVAR pure_symbol_ssh_prefix: +SETUVAR pure_symbol_title_bar_separator:\x2d +SETUVAR pure_symbol_virtualenv_prefix: +SETUVAR pure_threshold_command_duration:5 +SETUVAR pure_truncate_prompt_current_directory_keeps:\x2d1 +SETUVAR pure_truncate_window_title_current_directory_keeps:\x2d1 diff --git a/.config/fish/functions/bb.bt.fish b/.config/fish/functions/bb.bt.fish new file mode 100644 index 0000000..fdbf9b1 --- /dev/null +++ b/.config/fish/functions/bb.bt.fish @@ -0,0 +1,19 @@ +#!/bin/fish + +function m50x + + set -l mac "00:0A:45:44:82:12" + + set -l conn $( bluetoothctl devices Connected ) + + if test -z $conn + if bluetoothctl connect $mac > /dev/null + echo "Connection successful" + end + else + if bluetoothctl disconnect > /dev/null + echo "Disconnection successful" + end + end +end + diff --git a/.config/fish/functions/bb.dec_brightness.fish b/.config/fish/functions/bb.dec_brightness.fish new file mode 100644 index 0000000..34bd78c --- /dev/null +++ b/.config/fish/functions/bb.dec_brightness.fish @@ -0,0 +1,15 @@ +#!/bin/fish + +function dec_brightness + + brightnessctl -q set 5%- + + set -f cur ( brightnessctl get ) + set -f max ( brightnessctl max ) + + set -f ret ( math -s0 "100 * $cur / $max" ) + + #echo $ret > /tmp/xobpipe + echo $ret + +end diff --git a/.config/fish/functions/bb.get_volume.fish b/.config/fish/functions/bb.get_volume.fish new file mode 100644 index 0000000..6556def --- /dev/null +++ b/.config/fish/functions/bb.get_volume.fish @@ -0,0 +1,15 @@ +#!/bin/fish + +function get_volume + + if string match --regex '\[off\]' $(amixer sset Master toggle) 1>/dev/null + set -f ret $( pamixer --get-volume | sed 's/$/!/' ) + else + set -f ret $( pamixer --get-volume ) + end + + #echo $ret > /tmp/xobpipe + echo $ret + +end + diff --git a/.config/fish/functions/bb.inc_brightness.fish b/.config/fish/functions/bb.inc_brightness.fish new file mode 100644 index 0000000..42f3419 --- /dev/null +++ b/.config/fish/functions/bb.inc_brightness.fish @@ -0,0 +1,15 @@ +#!/bin/fish + +function inc_brightness + + brightnessctl -q set +5% + + set -f cur ( brightnessctl get ) + set -f max ( brightnessctl max ) + + set -f ret ( math -s0 "100 * $cur / $max" ) + + #echo $ret > /tmp/xobpipe + echo $ret + +end diff --git a/.config/fish/functions/bb.qd.fish b/.config/fish/functions/bb.qd.fish new file mode 100644 index 0000000..a62ec72 --- /dev/null +++ b/.config/fish/functions/bb.qd.fish @@ -0,0 +1,9 @@ +#!/bin/fish + +function qd + set -l x ( pgrep -i "discord" | head -n1 ) + + if test $status -eq 0 + kill $x + end +end diff --git a/.config/i3/bb.batlock.sh b/.config/i3/bb.batlock.sh new file mode 100644 index 0000000..3169a89 --- /dev/null +++ b/.config/i3/bb.batlock.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +i3lock -i ~/Downloads/bb.jpeg --verif-text="" --ring-color=ff000030 --ringver-color=00000000 --insidever-color=00000000 --keyhl-color=00000090 --bshl-color=666666ff --time-pos="ix:iy+150" --noinput-text="" diff --git a/.config/i3/bb.config b/.config/i3/bb.config new file mode 100644 index 0000000..e7deb11 --- /dev/null +++ b/.config/i3/bb.config @@ -0,0 +1,236 @@ +set $mod Mod4 +#font-5 = "batman logo evolution tfb:style=Regular:pixelsize=25;3" +font pango:batman logo evolution tfb 9 +#font pango:Hack 9 +floating_modifier $mod + +# start a terminal +set $term alacritty +bindsym $mod+Return exec $term + +# kill focused window +bindsym $mod+q kill + +# start dmenu (a program launcher) +#bindsym ctrl+space exec rofi -show run +bindsym ctrl+shift+space exec "rofi -show combi -display-combi batcave -modi window,run,combi -combi-modi window,run" +#bindsym ctrl+space exec dmenu_run + +# alternatively, you can use the cursor keys: +bindsym $mod+Left focus left +bindsym $mod+Down focus down +bindsym $mod+Up focus up +bindsym $mod+Right focus right + +# alternatively, you can use the cursor keys: +bindsym $mod+Shift+Left move left +bindsym $mod+Shift+Down move down +bindsym $mod+Shift+Up move up +bindsym $mod+Shift+Right move right + +# split in horizontal orientation +bindsym $mod+h split h + +# split in vertical orientation +bindsym $mod+v split v + +bindsym $mod+t split toggle + +# enter fullscreen mode for the focused container +bindsym $mod+f fullscreen toggle + +# change container layout (stacked, tabbed, toggle split) +bindsym $mod+s layout stacking +bindsym $mod+w layout tabbed +bindsym $mod+e layout toggle split +bindsym $mod+Shift+w sticky toggle + +# toggle tiling / floating +bindsym $mod+Shift+space floating toggle + +# change focus between tiling / floating windows +bindsym $mod+space focus mode_toggle + +# focus the parent container +bindsym $mod+a focus parent + +# Define names for default workspaces for which we configure key bindings later on. +# We use variables to avoid repeating the names in multiple places. +set $ws1 "1" +set $ws2 "2" +set $ws3 "3" +set $ws4 "4" +set $ws5 "5" +set $ws6 "6" +set $ws7 "7" +set $ws8 "8" +set $ws9 "9" +set $ws10 "10" + +# switch to workspace +bindsym $mod+1 workspace number $ws1 +bindsym $mod+2 workspace number $ws2 +bindsym $mod+3 workspace number $ws3 +bindsym $mod+4 workspace number $ws4 +bindsym $mod+5 workspace number $ws5 +bindsym $mod+6 workspace number $ws6 +bindsym $mod+7 workspace number $ws7 +bindsym $mod+8 workspace number $ws8 +bindsym $mod+9 workspace number $ws9 +bindsym $mod+0 workspace number $ws10 + +# move focused container to workspace +bindsym $mod+Shift+1 move container to workspace number $ws1 +bindsym $mod+Shift+2 move container to workspace number $ws2 +bindsym $mod+Shift+3 move container to workspace number $ws3 +bindsym $mod+Shift+4 move container to workspace number $ws4 +bindsym $mod+Shift+5 move container to workspace number $ws5 +bindsym $mod+Shift+6 move container to workspace number $ws6 +bindsym $mod+Shift+7 move container to workspace number $ws7 +bindsym $mod+Shift+8 move container to workspace number $ws8 +bindsym $mod+Shift+9 move container to workspace number $ws9 +bindsym $mod+Shift+0 move container to workspace number $ws10 + +# reload the configuration file +bindsym $mod+Shift+c reload +# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) +bindsym $mod+Shift+r restart +# exit i3 (logs you out of your X session) +bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" + +# resize window (you can also use the mouse for that) +mode "resize" { + # These bindings trigger as soon as you enter the resize mode + + # same bindings, but for the arrow keys + bindsym Left resize shrink width 5 px or 5 ppt + bindsym Down resize grow height 5 px or 5 ppt + bindsym Up resize shrink height 5 px or 5 ppt + bindsym Right resize grow width 5 px or 5 ppt + + # back to normal: Enter or Escape + bindsym Return mode "default" + bindsym Escape mode "default" + bindsym $mod+r mode "default" +} + +bindsym $mod+r mode "resize" + + +# +# Status Bar: +# +exec_always --no-startup-id ~/.config/polybar/launch.sh + +# class border backgr. text indicator child_border +client.focused #000000 #000000 #ffffff #000000 #000000 +client.focused_inactive #000000 #000000 #ffffff #000000 #000000 +client.unfocused #000000 #000000 #888888 #000000 #000000 +client.urgent #000000 #000000 #ffffff #000000 #000000 +client.placeholder #000000 #000000 #ffffff #000000 #000000 +client.background #ffffff + +######################################################################## +######################################################################## +#### +#### Workplaces layout +#### +######################################################################## +######################################################################## + +exec --no-startup-id "i3-msg 'workspace 1; exec alacritty'" + +######################################################################## +######################################################################## +#### +#### Floated windows +#### +######################################################################## +######################################################################## + +for_window [title="Calculator"] floating enable +for_window [title="Timer"] floating enable +for_window [class="^.*"] border pixel 1 +for_window [class="librewolf"] border none +for_window [class="firefox"] border none +for_window [class="mpv"] floating enable +for_window [class="imv"] floating enable +for_window [class="zenity"] floating enable +for_window [class="cachyos-welcome"] floating enable + + +######################################################################## +######################################################################## +#### +#### HOTKEYS +#### +######################################################################## +######################################################################## + + +bindsym XF86AudioRaiseVolume exec "pamixer -ui 3 && pamixer --get-volume > /tmp/xobpipe" +bindsym XF86AudioLowerVolume exec "pamixer -ud 3 && pamixer --get-volume > /tmp/xobpipe" +# mute sound +#bindsym XF86AudioMute exec "amixer sset Master toggle | sed -En '/\[on\]/ s/.*\[([0-9]+)%\].*/\1/ p; /\[off\]/ s/.*/0/p' | head -1 > /tmp/xobpipe" +bindsym XF86AudioMute exec "amixer sset Master toggle | sed -En '/\[on\]/ s/.*\[([0-9]+)%\].*/\1/ p; /\[off\]/ s/.*\[([0-9]+)%\].*/\1!/ p' | head -1 > /tmp/xobpipe" + +# change screen brightness +#bindsym XF86MonBrightnessUp exec --no-startup-id "inc_brightness > /tmp/xobpipe" +bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl set +5% +#bindsym XF86MonBrightnessDown exec --no-startup-id "dec_brightness > /tmp/xobpipe" +bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl set 5%- + +bindsym $mod+Shift+p exec gnome-calculator +#bindsym $mod+p exec ~/.scripts/dmshot + +## This will switch the current layout to the 'us'. +#bindsym $mod+l exec "setxkbmap -layout us && sleep 0.1 && setxkbmap -option grp:caps_toggle 'us,ru' -option grp_led:caps && sleep 0.1 && i3lock --blur 5" + +## This keybind will lock the screen. The lockscreen. +bindsym $mod+Escape exec "sleep 0.1 && ~/.config/i3/i3lock_updated.sh" +bindsym $mod+Shift+Escape exec "sleep 0.1 && ~/.config/i3/batlock.sh" + +#exec --no-startup-id xautolock -time 20 -locker "systemctl suspend" + +######################################################################## +######################################################################## +#### +#### AUTOLOAD +#### +######################################################################## +######################################################################## + +## Here is a language switcher by pressing capslock button, +## and the capslock functionality available by using shift+capslock. +## Uncomment to enable 'us' to/from 'ru' switch. change to language(s) you prefer more. + +#exec_always setxkbmap -option grp:caps_toggle "us,ru" -option "grp:caps_toggle,grp_led:caps" + +exec xrandr --output HDMI-1 --mode 1920x1080 --rate 60 --scale 1x1 +#exec xrandr --auto --output HDMI-1 --mode 1920x1080 --above HDMI-2 + +#exec_always --no-startup-id killall back4.sh +#exec_always --no-startup-id $HOME/back4.sh ~/Downloads/bb-wp.gif + +#exec feh --bg-fill ~/.config/i3/wallpaper.png +exec feh --bg-fill ~/Downloads/bb.jpeg + +exec --no-startup-id dunst +exec --no-startup-id picom +exec --no-startup-id redshift +exec --no-startup-id dex -a -s /etc/xdg/autostart/:~/.config/autostart/ +exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 + +exec_always mkfifo /tmp/xobpipe && tail -f /tmp/xobpipe | xob -t 2170 & disown +#exec ~/.i3/launch.sh + +# EXEC +exec firefox +assign [class="firefox"] $ws2 + +exec snapchat +assign [class="Snapchat"] $ws3 + +exec discord +assign [class="discord"] $ws10 + diff --git a/.config/i3/bb.i3lock_updated.sh b/.config/i3/bb.i3lock_updated.sh new file mode 100755 index 0000000..4dbcc29 --- /dev/null +++ b/.config/i3/bb.i3lock_updated.sh @@ -0,0 +1 @@ +i3lock -kB5 --verif-text="" --ring-color=ff000030 --ringver-color=00000000 --insidever-color=00000000 --keyhl-color=00000090 --bshl-color=666666ff --time-pos="ix:iy+150" --indicator --noinput-text="" diff --git a/.config/i3/wallpaper.png b/.config/i3/wallpaper.png new file mode 100644 index 0000000..a621866 Binary files /dev/null and b/.config/i3/wallpaper.png differ diff --git a/.config/polybar/bb.config b/.config/polybar/bb.config new file mode 100644 index 0000000..4d8b464 --- /dev/null +++ b/.config/polybar/bb.config @@ -0,0 +1,339 @@ +;========================================================== +; +; +; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ +; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ +; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ +; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ +; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ +; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ +; +; +; To learn more about how to configure Polybar +; go to https://github.com/polybar/polybar +; +; The README contains a lot of information +; +;========================================================== + +[colors] +background = #FF0000 +background-alt = #000000 +foreground = #000000 +foreground-alt = #FF0000 +primary = #00FF00 +secondary = #0000FF +alert = #FF0000 +white = #FFFFFF + +[bar/example] +monitor = ${env:MONITOR:} +width = 100% +height = 22 +radius = 9.0 +fixed-center = true +top = yes +bottom = no +override-redirect = false + +foreground = ${colors.foreground-alt} +background = ${colors.background-alt} + +; Under-/overline pixel size and argb color +; Individual values can be defined using: +; {overline,underline}-size +; {overline,underline}-color +line-size = 1 +line-color = #dfdfdf + +border-top-size = 0 +border-bottom-size = 0 +border-left-size = 0 +border-right-size = 0 + +padding-left = 0 +padding-right = 0 + +module-margin-left = 0 +module-margin-right = 0 + +font-0 = Hack:pixelsize=9;3 +font-2 = "Wuncon Siji:pixelsize=10;3" +font-1 = Weather Icons:style=Regular:size=10;2 +font-3 = FontAwesome5Free:style=Solid:pixelsize=10;3 +font-4 = FontAwesome5Brands:style=Solid:pixelsize=10;3 +font-5 = "batman logo evolution tfb:style=Regular:pixelsize=25;3" +font-6 = "Material Design Icons:style=Regular:pixelsize=15;3" + +modules-left = i3 sp0 +modules-right = network sp1 battery sp2 temp sp1 linux-ver sp2 date sp2 +;modules-right = volume sp1 network sp1 battery sp2 temp sp1 linux-ver sp2 date sp2 +modules-center = bb + +tray-position = right +tray-padding = 0 +tray-detached = false +tray-maxsize = 14 +tray-scale = 1.0 +tray-background = ${colors.background-alt} +tray-foreground = ${colors.foreground-alt} +tray-offset-x = 0 +tray-offset-y = 0 + +wm-restack = i3 + +scroll-up = #i3.next +scroll-down = #i3.prev + +cursor-click = pointer + +[module/sp0] +type = custom/text +content = "| " +content-foreground = #93A1A1 +content-background = ${colors.background-alt} + +[module/sp1] +type = custom/text +content = " | " +content-foreground = #93A1A1 +content-background = ${colors.background-alt} + +[module/sp2] +type = custom/text +content = " |" +content-foreground = #93A1A1 +content-background = ${colors.background-alt} + +[module/bb] +type = custom/text +label = %{T6}O%{T-} +click-left = sleep 0.1 && i3lock -i ~/Downloads/bb.jpeg -F --verif-text="" --ring-color=ff000030 --ringver-color=00000000 --insidever-color=00000000 --keyhl-color=00000090 --bshl-color=666666ff --time-pos="ix:iy+150" --noinput-text="" + + +[module/i3] +type = internal/i3 +format = +index-sort = true +wrapping-scroll = false +strip-wsnumbers = false +enable-click = false +enable-scroll = false + +label-mode = %mode% +label-mode-padding = 1 +label-mode-foreground = ${colors.foreground-alt} +label-mode-background = ${colors.background-alt} + +; focused = Active workspace on focused monitor +label-focused = %index% +label-focused-foreground = ${colors.foreground} +label-focused-background = ${colors.background} +label-focused-underline = ${colors.foreground-alt} +label-focused-padding = 1 + +; unfocused = Inactive workspace on any monitor +label-unfocused = %index% +label-unfocused-padding = ${self.label-focused-padding} +label-unfocused-foreground = ${colors.foreground-alt} +label-unfocused-background = ${colors.background-alt} + +; visible = Active workspace on unfocused monitor +label-visible = %index% +label-visible-foreground = ${self.label-focused-background} +label-visible-background = ${self.label-focused-foreground} +label-visible-underline = ${self.label-focused-underline} +label-visible-padding = ${self.label-focused-padding} + +; urgent = Workspace with urgency hint set +label-urgent = %index% +label-urgent-foreground = ${colors.foreground} +label-urgent-background = ${colors.alert} +label-urgent-padding = 1 + +; Separator in between workspaces +label-separator = +label-separator-padding = 0 +label-separator-foreground = #fff + +[module/linux-ver] +type = custom/script +exec = uname -r +interval = 600 + +[module/battery] +type = internal/battery +full-at = 85 +low-at = 10 +battery = BAT0 +adapter = AC +poll-interval = 5 + +format-discharging = +label-discharging = %percentage%% +ramp-capacity-0 = 󰁺 +ramp-capacity-0-foreground = #FFFFFF +ramp-capacity-1 = 󰁻 +ramp-capacity-1-foreground = #FFFFFF +ramp-capacity-2 = 󰁼 +ramp-capacity-2-foreground = #FFFFFF +ramp-capacity-3 = 󰁽 +ramp-capacity-3-foreground = #FFFFFF +ramp-capacity-4 = 󰁾 +ramp-capacity-4-foreground = #FFFFFF +ramp-capacity-5 = 󰁿 +ramp-capacity-5-foreground = #FFFFFF +ramp-capacity-6 = 󰂀 +ramp-capacity-6-foreground = #FFFFFF +ramp-capacity-7 = 󰂁 +ramp-capacity-7-foreground = #FFFFFF +ramp-capacity-8 = 󰂂 +ramp-capacity-8-foreground = #FFFFFF +ramp-capacity-9 = 󰁹 +ramp-capacity-9-foreground = #FFFFFF + +format-charging = +label-charging = %percentage%% +animation-charging-0 = 󰢜 +animation-charging-0-foreground = #FFFFFF +animation-charging-1 = 󰂆 +animation-charging-1-foreground = #FFFFFF +animation-charging-2 = 󰂇 +animation-charging-2-foreground = #FFFFFF +animation-charging-3 = 󰂈 +animation-charging-3-foreground = #FFFFFF +animation-charging-4 = 󰢝 +animation-charging-4-foreground = #FFFFFF +animation-charging-5 = 󰂉 +animation-charging-5-foreground = #FFFFFF +animation-charging-6 = 󰢞 +animation-charging-6-foreground = #FFFFFF +animation-charging-7 = 󰂊 +animation-charging-7-foreground = #FFFFFF +animation-charging-8 = 󰂋 +animation-charging-8-foreground = #FFFFFF +animation-charging-9 = 󰂅 +animation-charging-9-foreground = #FFFFFF +animation-charging-framerate = 2000 + +format-low = +label-low = %percentage%% +animation-low-0 = 󱃍 +animation-low-1 = "%{F#00000000}󱃍%{F-}" +animation-low-framerate = 500 + +format-full = +label-full = %percentage%% %{F#ffffff}󱈏%{F-} + +[module/network] +type = internal/network +interface = wlan0 + +format-connected = +label-connected = %essid% %{F#FFFFFF}󰓢%{F-}%netspeed% +ramp-signal-0 = 󰤯 +ramp-signal-0-foreground = #FFFFFF +ramp-signal-1 = 󰤟 +ramp-signal-1-foreground = #FFFFFF +ramp-signal-2 = 󰤢 +ramp-signal-2-foreground = #FFFFFF +ramp-signal-3 = 󰤥 +ramp-signal-3-foreground = #FFFFFF +ramp-signal-4 = 󰤨 +ramp-signal-4-foreground = #FFFFFF + +format-disconnected = +label-disconnected = 󰤮 + +[module/tempy] +type = internal/temperature +interval = 0.5 +thermal-zone = 0 +zone-type = x86_pkg_temp +hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input +base-tempertaure = 25 +warn-temperature = 70 +units = true + +format =