summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/alacritty/alacritty.yml110
-rw-r--r--.config/nvim/config.lua13
-rwxr-xr-x.config/x11/xprofile1
-rwxr-xr-x.config/x11/xresources46
4 files changed, 60 insertions, 110 deletions
diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml
deleted file mode 100644
index 7247ab8..0000000
--- a/.config/alacritty/alacritty.yml
+++ /dev/null
@@ -1,110 +0,0 @@
-# draw_bold_text_with_bright_colors: true
-# Set this if using macOS
-# alt_send_esc: false
-
-colors:
- # Default colors
- primary:
- background: '#0A0A0A'
- foreground: '#f5f5f5'
-
- # Colors the cursor will use if `custom_cursor_colors` is true
- cursor:
- text: '#151515'
- cursor: '#d0d0d0'
-
- # Normal colors
- normal:
- black: '#151515'
- red: '#AC4142'
- green: '#A1B56C'
- yellow: '#F4BF75'
- blue: '#A5D6FF'
- magenta: '#AA759F'
- cyan: '#75B5AA'
- white: '#D0D0D0'
-
- # Bright colors
- bright:
- black: '#505050'
- red: '#AC4142'
- green: '#A1B56C'
- yellow: '#F4BF75'
- blue: '#A5D6FF'
- magenta: '#AA759F'
- cyan: '#75B5AA'
- white: '#F5F5F5'
-
- indexed_colors:
- - { index: 16, color: '#d28445' }
- - { index: 17, color: '#8f5536' }
- - { index: 18, color: '#202020' }
- - { index: 19, color: '#303030' }
- - { index: 20, color: '#b0b0b0' }
- - { index: 21, color: '#e0e0e0' }
-
-background_opacity: 1.0
-
-font:
- # The normal (roman) font face to use.
- normal:
- family: SpaceMono Nerd Font
- # Style can be specified to pick a specific face.
- style: Regular
-
- # The bold font face
- bold:
- family: SpaceMono Nerd Font
- # Style can be specified to pick a specific face.
- # style: Bold
-
- # The italic font face
- italic:
- family: SpaceMono Nerd Font
- # Style can be specified to pick a specific face.
- # style: Italic
- size: 7.0
-
- offset:
- x: 0
- y: 0
- glyph_offset:
- x: 0
- y: 0
-
-env:
- TERM: xterm-256color
-
-window:
- padding:
- x: 32
- y: 16
- # scrolling:
- # # Maximum number of lines in the scrollback buffer.
- # # Specifying '0' will disable scrolling.
- history: 10000
- # # Number of lines the viewport will move for every line scrolled when
- # # scrollback is enabled (history > 0).
- # multiplier: 10
- decorations: none
- # # If `true`, bold text is drawn using the bright color variants.
- # draw_bold_text_with_bright_colors: true
-
- # selection:
- semantic_escape_chars: ',│`|:"'' ()[]{}<>'
- save_to_clipboard: true
- live_config_reload: true
-key_bindings:
- - { key: V, mods: Control|Shift, action: Paste }
- - { key: C, mods: Control|Shift, action: Copy }
- - { key: Key0, mods: Control, action: ResetFontSize }
- - { key: Equals, mods: Control, action: IncreaseFontSize }
- # - { key: Add, mods: Control, action: IncreaseFontSize }
- # - { key: Subtract, mods: Control, action: DecreaseFontSize }
- # Vi mode
- - { key: LBracket, mods: Control|Alt, action: ToggleViMode }
- - { key: Q, mode: Vi, action: ToggleViMode }
- - { key: H, mods: Shift, mode: Vi, action: First }
- - { key: L, mods: Shift, mode: Vi, action: Last }
- - { key: Minus, mods: Control, action: DecreaseFontSize }
- - { key: N, mods: Control, action: SpawnNewInstance }
diff --git a/.config/nvim/config.lua b/.config/nvim/config.lua
index 8d595ee..0805ca0 100644
--- a/.config/nvim/config.lua
+++ b/.config/nvim/config.lua
@@ -76,6 +76,19 @@ options.lang.json.formatters = {
options.plugins = {
{
+ "folke/trouble.nvim",
+ cmd = "TroubleToggle",
+ },
+
+ {
+ "nvim-telescope/telescope-project.nvim",
+ event = "BufWinEnter",
+ setup = function()
+ vim.cmd [[packadd telescope.nvim]]
+ end,
+ },
+
+ {
"folke/twilight.nvim",
config = function()
require("extra.twilight").config()
diff --git a/.config/x11/xprofile b/.config/x11/xprofile
index d341451..6fdde7f 100755
--- a/.config/x11/xprofile
+++ b/.config/x11/xprofile
@@ -9,6 +9,7 @@ xset r rate 300 50 & # Speed xrate up
unclutter & # Remove mouse when idle
xbanish & # Remove mouse when typing
dwmblocks & # Status bar
+xrdb xresources &
echo $PATH > /tmp/path.dbg
# This line autostart an instance of Pulseaudio that does not exit on idle.
diff --git a/.config/x11/xresources b/.config/x11/xresources
index 84b231b..fdd5701 100755
--- a/.config/x11/xresources
+++ b/.config/x11/xresources
@@ -3,3 +3,49 @@
/* */
/* !! Set a default font and font size as below: */
/* *.font: monospace:size=10 */
+
+/* xterm*selectToClipboard: true */
+/* xterm*disallowedWindowOps: 20,21,SetXProp */
+/* *.font: Monospace:pixelsize=25:antialias=true:autohint=true; */
+/* *.fontalt0:Braille:pixelsize=24:antialias=true:autohint=true; */
+/* *.fontalt1:JoyPixels:pixelsize=24:antialias=true:autohint=true; */
+
+! colors
+
+! special
+*.foreground: #F5F5F5
+*.background: #0A0A0A
+/* *.cursorColor: #D0D0D0 */
+*.revCursorColor: #151515
+
+! black
+*.color0: #0A0A0A
+*.color8: #0A0A0A
+
+! red
+*.color1: #AC4142
+*.color9: #AC4142
+
+! green
+*.color2: #A1B56C
+*.color10: #A1B56C
+
+! yellow
+*.color3: #F4BF75
+*.color11: #F4BF75
+
+! blue
+*.color4: #A5D6FF
+*.color12: #A5D6FF
+
+! magenta
+*.color5: #AA759F
+*.color13: #AA759F
+
+! cyan
+*.color6: #75B5AA
+*.color14: #75B5AA
+
+! white
+*.color7: #D0D0D0
+*.color15: #F5F5F5