diff options
| -rw-r--r-- | X11/alacritty/alacritty.yml | 74 | ||||
| -rw-r--r-- | X11/alacritty/colors.yml | 30 | ||||
| -rw-r--r-- | X11/alacritty/fonts.toml | 2 | ||||
| -rw-r--r-- | X11/alacritty/fonts.yml | 37 | ||||
| -rw-r--r-- | X11/openbox/rc.xml | 62 | ||||
| -rw-r--r-- | alias | 2 | ||||
| -rw-r--r-- | vim/mini.lua | 2 |
7 files changed, 31 insertions, 178 deletions
diff --git a/X11/alacritty/alacritty.yml b/X11/alacritty/alacritty.yml deleted file mode 100644 index 1005095..0000000 --- a/X11/alacritty/alacritty.yml +++ /dev/null | |||
| @@ -1,74 +0,0 @@ | |||
| 1 | ## Copyright (C) 2020-2021 Aditya Shakya <adi1090x@gmail.com> | ||
| 2 | ## Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 | ||
| 3 | |||
| 4 | ## Configuration for Alacritty, the GPU enhanced terminal emulator. | ||
| 5 | ## It's a very basic and simple config file, for full configuration... | ||
| 6 | ## See, /usr/share/doc/alacritty/example/alacritty.yml | ||
| 7 | |||
| 8 | ## Import files (Colors, Fonts, Etc) | ||
| 9 | import: | ||
| 10 | - ~/.config/alacritty/colors.yml | ||
| 11 | - ~/.config/alacritty/fonts.yml | ||
| 12 | |||
| 13 | ## Set environment variables | ||
| 14 | env: | ||
| 15 | TERM: alacritty | ||
| 16 | WINIT_X11_SCALE_FACTOR: '1.0' | ||
| 17 | |||
| 18 | ## Terminal window settings | ||
| 19 | window: | ||
| 20 | dimensions: | ||
| 21 | columns: 82 | ||
| 22 | lines: 18 | ||
| 23 | |||
| 24 | padding: | ||
| 25 | x: 24 | ||
| 26 | y: 12 | ||
| 27 | |||
| 28 | decorations: full | ||
| 29 | startup_mode: Windowed | ||
| 30 | dynamic_title: true | ||
| 31 | |||
| 32 | ## scrolling | ||
| 33 | history: 10000 | ||
| 34 | multiplier: 3 | ||
| 35 | |||
| 36 | ## Background opacity | ||
| 37 | opacity: 1.0 | ||
| 38 | |||
| 39 | ## Cursor | ||
| 40 | cursor: | ||
| 41 | style: | ||
| 42 | shape: Block | ||
| 43 | blinking: On | ||
| 44 | |||
| 45 | unfocused_hollow: false | ||
| 46 | |||
| 47 | ## Live config reload | ||
| 48 | live_config_reload: true | ||
| 49 | |||
| 50 | key_bindings: | ||
| 51 | - { key: W, mods: None, action: SemanticRight, mode: Vi|~Search } | ||
| 52 | - { key: B, mods: None, action: SemanticLeft, mode: Vi|~Search } | ||
| 53 | - { key: D, mods: Control, mode: Vi|~Search, action: ScrollHalfPageDown } | ||
| 54 | - { key: U, mods: Control, mode: Vi|~Search, action: ScrollHalfPageUp } | ||
| 55 | |||
| 56 | hints: | ||
| 57 | enabled: | ||
| 58 | - regex: "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\ | ||
| 59 | [^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+" | ||
| 60 | hyperlinks: true | ||
| 61 | command: xdg-open | ||
| 62 | post_processing: true | ||
| 63 | mouse: | ||
| 64 | enabled: true | ||
| 65 | mods: None | ||
| 66 | binding: | ||
| 67 | key: K | ||
| 68 | mods: Control|Shift | ||
| 69 | - regex: "([-_./0-9\u0040-\u005A\u0061-\u007A]{4,})" | ||
| 70 | action: Copy | ||
| 71 | post_processing: true | ||
| 72 | binding: | ||
| 73 | key: I | ||
| 74 | mods: Control|Shift | ||
diff --git a/X11/alacritty/colors.yml b/X11/alacritty/colors.yml deleted file mode 100644 index 5c83d9f..0000000 --- a/X11/alacritty/colors.yml +++ /dev/null | |||
| @@ -1,30 +0,0 @@ | |||
| 1 | ## Colors configuration | ||
| 2 | colors: | ||
| 3 | # Default colors | ||
| 4 | primary: | ||
| 5 | background: '#1E2128' | ||
| 6 | foreground: '#ABB2BF' | ||
| 7 | |||
| 8 | # Normal colors | ||
| 9 | normal: | ||
| 10 | black: '#32363D' | ||
| 11 | red: '#E06B74' | ||
| 12 | green: '#98C379' | ||
| 13 | #green: '#368405' | ||
| 14 | yellow: '#E5C07A' | ||
| 15 | #blue: '#62AEEF' | ||
| 16 | blue: '#177CC0' | ||
| 17 | magenta: '#C778DD' | ||
| 18 | cyan: '#55B6C2' | ||
| 19 | white: '#ABB2BF' | ||
| 20 | |||
| 21 | # Bright colors | ||
| 22 | bright: | ||
| 23 | black: '#50545B' | ||
| 24 | red: '#EA757E' | ||
| 25 | green: '#A2CD83' | ||
| 26 | yellow: '#EFCA84' | ||
| 27 | blue: '#6CB8F9' | ||
| 28 | magenta: '#D282E7' | ||
| 29 | cyan: '#5FC0CC' | ||
| 30 | white: '#B5BCC9' | ||
diff --git a/X11/alacritty/fonts.toml b/X11/alacritty/fonts.toml index 2683761..bc5803a 100644 --- a/X11/alacritty/fonts.toml +++ b/X11/alacritty/fonts.toml | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | [font] | 1 | [font] |
| 2 | size = 20 | 2 | size = 16 |
| 3 | 3 | ||
| 4 | [font.bold] | 4 | [font.bold] |
| 5 | family = "Source Code Pro" | 5 | family = "Source Code Pro" |
diff --git a/X11/alacritty/fonts.yml b/X11/alacritty/fonts.yml deleted file mode 100644 index d8cacaf..0000000 --- a/X11/alacritty/fonts.yml +++ /dev/null | |||
| @@ -1,37 +0,0 @@ | |||
| 1 | ## Copyright (C) 2020-2021 Aditya Shakya <adi1090x@gmail.com> | ||
| 2 | ## Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 | ||
| 3 | |||
| 4 | # Font configuration | ||
| 5 | font: | ||
| 6 | # Normal (roman) font face | ||
| 7 | normal: | ||
| 8 | family: "Source Code Pro" | ||
| 9 | #style: Regular | ||
| 10 | |||
| 11 | # Bold font face | ||
| 12 | bold: | ||
| 13 | family: "Source Code Pro" | ||
| 14 | #style: Bold | ||
| 15 | |||
| 16 | # Italic font face | ||
| 17 | italic: | ||
| 18 | family: "Source Code Pro" | ||
| 19 | #style: Italic | ||
| 20 | |||
| 21 | # Bold italic font face | ||
| 22 | bold_italic: | ||
| 23 | family: "Source Code Pro" | ||
| 24 | #style: Bold Italic | ||
| 25 | |||
| 26 | # Point size | ||
| 27 | size: 20 | ||
| 28 | |||
| 29 | # Offset | ||
| 30 | #offset: | ||
| 31 | # x: 0 | ||
| 32 | # y: 0 | ||
| 33 | |||
| 34 | # Glyph offset | ||
| 35 | #glyph_offset: | ||
| 36 | # x: 0 | ||
| 37 | # y: 0 | ||
diff --git a/X11/openbox/rc.xml b/X11/openbox/rc.xml index 42b7200..c4d1ddf 100644 --- a/X11/openbox/rc.xml +++ b/X11/openbox/rc.xml | |||
| @@ -27,38 +27,38 @@ | |||
| 27 | <keepBorder>yes</keepBorder> | 27 | <keepBorder>yes</keepBorder> |
| 28 | <animateIconify>yes</animateIconify> | 28 | <animateIconify>yes</animateIconify> |
| 29 | <font place="ActiveWindow"> | 29 | <font place="ActiveWindow"> |
| 30 | <name>Sans</name> | 30 | <name>Source Code Pro</name> |
| 31 | <size>20</size> | 31 | <size>16</size> |
| 32 | <weight>Bold</weight> | 32 | <weight>Bold</weight> |
| 33 | <slant>Normal</slant> | 33 | <slant>Normal</slant> |
| 34 | </font> | 34 | </font> |
| 35 | <font place="InactiveWindow"> | 35 | <font place="InactiveWindow"> |
| 36 | <name>Hack Nerd Font</name> | 36 | <name>Source Code Pro</name> |
| 37 | <size>20</size> | 37 | <size>16</size> |
| 38 | <weight>Normal</weight> | 38 | <weight>Normal</weight> |
| 39 | <slant>Normal</slant> | 39 | <slant>Normal</slant> |
| 40 | </font> | 40 | </font> |
| 41 | <font place="MenuHeader"> | 41 | <font place="MenuHeader"> |
| 42 | <name>Hack Nerd Font</name> | 42 | <name>Source Code Pro</name> |
| 43 | <size>20</size> | 43 | <size>16</size> |
| 44 | <weight>Bold</weight> | 44 | <weight>Bold</weight> |
| 45 | <slant>Normal</slant> | 45 | <slant>Normal</slant> |
| 46 | </font> | 46 | </font> |
| 47 | <font place="MenuItem"> | 47 | <font place="MenuItem"> |
| 48 | <name>Hack Nerd Font</name> | 48 | <name>Source Code Pro</name> |
| 49 | <size>20</size> | 49 | <size>16</size> |
| 50 | <weight>Normal</weight> | 50 | <weight>Normal</weight> |
| 51 | <slant>Normal</slant> | 51 | <slant>Normal</slant> |
| 52 | </font> | 52 | </font> |
| 53 | <font place="ActiveOnScreenDisplay"> | 53 | <font place="ActiveOnScreenDisplay"> |
| 54 | <name>Hack Nerd Font</name> | 54 | <name>Source Code Pro</name> |
| 55 | <size>20</size> | 55 | <size>16</size> |
| 56 | <weight>Bold</weight> | 56 | <weight>Bold</weight> |
| 57 | <slant>Normal</slant> | 57 | <slant>Normal</slant> |
| 58 | </font> | 58 | </font> |
| 59 | <font place="InactiveOnScreenDisplay"> | 59 | <font place="InactiveOnScreenDisplay"> |
| 60 | <name>Hack Nerd Font</name> | 60 | <name>Source Code Pro</name> |
| 61 | <size>20</size> | 61 | <size>16</size> |
| 62 | <weight>Normal</weight> | 62 | <weight>Normal</weight> |
| 63 | <slant>Normal</slant> | 63 | <slant>Normal</slant> |
| 64 | </font> | 64 | </font> |
| @@ -546,26 +546,6 @@ | |||
| 546 | </command> | 546 | </command> |
| 547 | </action> | 547 | </action> |
| 548 | </keybind> | 548 | </keybind> |
| 549 | <keybind key="W-F1"> | ||
| 550 | <action name="Execute"> | ||
| 551 | <command> | ||
| 552 | sh -c ' | ||
| 553 | xdotool search --name "@inbox" windowactivate || \ | ||
| 554 | alacritty --title "@inbox" -e nvim ~/log/inbox.md | ||
| 555 | ' | ||
| 556 | </command> | ||
| 557 | </action> | ||
| 558 | </keybind> | ||
| 559 | <keybind key="W-F2"> | ||
| 560 | <action name="Execute"> | ||
| 561 | <command> | ||
| 562 | sh -c ' | ||
| 563 | xdotool search --name "@log" windowactivate || \ | ||
| 564 | alacritty --title "@log" --working-directory ~/log | ||
| 565 | ' | ||
| 566 | </command> | ||
| 567 | </action> | ||
| 568 | </keybind> | ||
| 569 | <keybind key="W-S-e"> | 549 | <keybind key="W-S-e"> |
| 570 | <action name="Execute"> | 550 | <action name="Execute"> |
| 571 | <command> | 551 | <command> |
| @@ -601,6 +581,20 @@ | |||
| 601 | </command> | 581 | </command> |
| 602 | </action> | 582 | </action> |
| 603 | </keybind> | 583 | </keybind> |
| 584 | <keybind key="W-F1"> | ||
| 585 | <action name="Execute"> | ||
| 586 | <command> | ||
| 587 | ddcutil setvcp 60 0x01 | ||
| 588 | </command> | ||
| 589 | </action> | ||
| 590 | </keybind> | ||
| 591 | <keybind key="W-F2"> | ||
| 592 | <action name="Execute"> | ||
| 593 | <command> | ||
| 594 | ddcutil setvcp 60 0x03 | ||
| 595 | </command> | ||
| 596 | </action> | ||
| 597 | </keybind> | ||
| 604 | <keybind key="C-A-f"> | 598 | <keybind key="C-A-f"> |
| 605 | <action name="Execute"> | 599 | <action name="Execute"> |
| 606 | <command> | 600 | <command> |
| @@ -641,8 +635,8 @@ | |||
| 641 | </keybind> | 635 | </keybind> |
| 642 | <keybind key="W-S-a"> | 636 | <keybind key="W-S-a"> |
| 643 | <action name="Execute"> | 637 | <action name="Execute"> |
| 644 | <command>ob-music</command> | 638 | <command>ob-music</command> |
| 645 | <backup> | 639 | <backup> |
| 646 | sh -c ' | 640 | sh -c ' |
| 647 | xdotool search --name MPD windowquit || \ | 641 | xdotool search --name MPD windowquit || \ |
| 648 | alacritty --title MPD -e ncmpcpp | 642 | alacritty --title MPD -e ncmpcpp |
| @@ -232,6 +232,7 @@ alias pss='pacman -Ss' | |||
| 232 | alias yss='yay -Ss' | 232 | alias yss='yay -Ss' |
| 233 | alias pqi='pacman -Qi' | 233 | alias pqi='pacman -Qi' |
| 234 | alias pql='pacman -Qlq' | 234 | alias pql='pacman -Qlq' |
| 235 | alias pqe='pacman -Qqe' | ||
| 235 | pqlb() { | 236 | pqlb() { |
| 236 | pacman -Qlq $1 | grep bin | 237 | pacman -Qlq $1 | grep bin |
| 237 | } | 238 | } |
| @@ -239,7 +240,6 @@ alias yql='yay -Ql' | |||
| 239 | alias pf='pacman -F' | 240 | alias pf='pacman -F' |
| 240 | alias yf='yay -F' | 241 | alias yf='yay -F' |
| 241 | alias pfl='pacman -Fl' | 242 | alias pfl='pacman -Fl' |
| 242 | alias pqe='pacman -Qqe' | ||
| 243 | alias pR='sudo pacman -R' | 243 | alias pR='sudo pacman -R' |
| 244 | psi() { | 244 | psi() { |
| 245 | [[ $(pacman -Qqe $1) != '' ]] 2>/dev/null && echo -e "$(tput setaf 13)[Installed]$(tput sgr0)" | 245 | [[ $(pacman -Qqe $1) != '' ]] 2>/dev/null && echo -e "$(tput setaf 13)[Installed]$(tput sgr0)" |
diff --git a/vim/mini.lua b/vim/mini.lua index db1f2ba..7ca5051 100644 --- a/vim/mini.lua +++ b/vim/mini.lua | |||
| @@ -1488,7 +1488,7 @@ require("lazy").setup({ | |||
| 1488 | javascript = { 'javascript', 'standard' }, | 1488 | javascript = { 'javascript', 'standard' }, |
| 1489 | lua = { 'lua_language_server' } | 1489 | lua = { 'lua_language_server' } |
| 1490 | } | 1490 | } |
| 1491 | g.ale_fixers = {javascript = {'standard'}} | 1491 | g.ale_fixers = { javascript = { 'standard' } } |
| 1492 | g.ale_lint_on_save = 1 | 1492 | g.ale_lint_on_save = 1 |
| 1493 | g.ale_fix_on_save = 1 | 1493 | g.ale_fix_on_save = 1 |
| 1494 | 1494 | ||