diff --git a/.config/alacritty.yml b/.config/alacritty.yml index 0c01444..b793495 100644 --- a/.config/alacritty.yml +++ b/.config/alacritty.yml @@ -23,12 +23,13 @@ env: # available, otherwise `xterm-256color` is used. TERM: alacritty -window: +#window: # Window dimensions (changes require restart) # - # Number of lines/columns (not pixels) in the terminal. The number of columns - # must be at least `2`, while using a value of `0` for columns and lines will - # fall back to the window manager's recommended size. + # Number of lines/columns (not pixels) in the terminal. Both lines and columns + # must be non-zero for this to take effect. The number of columns must be at + # least `2`, while using a value of `0` for columns and lines will fall back + # to the window manager's recommended size #dimensions: # columns: 0 # lines: 0 @@ -67,8 +68,7 @@ window: # # Window opacity as a floating point number from `0.0` to `1.0`. # The value `0.0` is completely transparent and `1.0` is opaque. - opacity: 0.9 - + #opacity: 1.0 # Startup Mode (changes require restart) # @@ -94,11 +94,12 @@ window: # General application class #general: Alacritty - # GTK theme variant (Linux/BSD only) + # Decorations theme variant (Linux/BSD only) # - # Override the variant of the GTK theme. Commonly supported values are `dark` - # and `light`. Set this to `None` to use the default theme variant. - #gtk_theme_variant: None + # Override the variant of the GTK theme/Wayland client side decorations. + # Commonly supported values are `dark` and `light`. Set this to `None` to use + # the default theme variant. + #decorations_theme_variant: None #scrolling: # Maximum number of lines in the scrollback buffer. @@ -173,48 +174,157 @@ font: # x: 0 # y: 0 - # Thin stroke font rendering (macOS only) + # Use built-in font for box drawing characters. # - # Thin strokes are suitable for retina displays, but for non-retina screens - # it is recommended to set `use_thin_strokes` to `false`. - #use_thin_strokes: true + # If `true`, Alacritty will use a custom built-in font for box drawing + # characters (Unicode points 2500 - 259f). + # + #builtin_box_drawing: true # If `true`, bold text is drawn using the bright color variants. #draw_bold_text_with_bright_colors: false # Colors (Tomorrow Night) -colors: +#colors: # Default colors - primary: - background: '#1d1f21' - foreground: '#c5c8c6' + #primary: + # background: '#1d1f21' + # foreground: '#c5c8c6' - # Colors the cursor will use if `custom_cursor_colors` is true - cursor: - text: '#1d1f21' - cursor: '#ffffff' + # Bright and dim foreground colors + # + # The dimmed foreground color is calculated automatically if it is not + # present. If the bright foreground color is not set, or + # `draw_bold_text_with_bright_colors` is `false`, the normal foreground + # color will be used. + #dim_foreground: '#828482' + #bright_foreground: '#eaeaea' + + # Cursor colors + # + # Colors which should be used to draw the terminal cursor. + # + # Allowed values are CellForeground/CellBackground, which reference the + # affected cell, or hexadecimal colors like #ff00ff. + #cursor: + # text: CellBackground + # cursor: CellForeground + + # Vi mode cursor colors + # + # Colors for the cursor when the vi mode is active. + # + # Allowed values are CellForeground/CellBackground, which reference the + # affected cell, or hexadecimal colors like #ff00ff. + #vi_mode_cursor: + # text: CellBackground + # cursor: CellForeground + + # Search colors + # + # Colors used for the search bar and match highlighting. + #search: + # Allowed values are CellForeground/CellBackground, which reference the + # affected cell, or hexadecimal colors like #ff00ff. + #matches: + # foreground: '#000000' + # background: '#ffffff' + #focused_match: + # foreground: '#ffffff' + # background: '#000000' + + # Keyboard hints + #hints: + # First character in the hint label + # + # Allowed values are CellForeground/CellBackground, which reference the + # affected cell, or hexadecimal colors like #ff00ff. + #start: + # foreground: '#1d1f21' + # background: '#e9ff5e' + + # All characters after the first one in the hint label + # + # Allowed values are CellForeground/CellBackground, which reference the + # affected cell, or hexadecimal colors like #ff00ff. + #end: + # foreground: '#e9ff5e' + # background: '#1d1f21' + + # Line indicator + # + # Color used for the indicator displaying the position in history during + # search and vi mode. + # + # By default, these will use the opposing primary color. + #line_indicator: + # foreground: None + # background: None + + # Footer bar + # + # Color used for the footer bar on the bottom, used by search regex input, + # hyperlink URI preview, etc. + # + #footer_bar: + # background: '#c5c8c6' + # foreground: '#1d1f21' + + # Selection colors + # + # Colors which should be used to draw the selection area. + # + # Allowed values are CellForeground/CellBackground, which reference the + # affected cell, or hexadecimal colors like #ff00ff. + #selection: + # text: CellBackground + # background: CellForeground # Normal colors - normal: - black: '#1d1f21' - red: '#cc6666' - green: '#b5bd68' - yellow: '#e6c547' - blue: '#81a2be' - magenta: '#b294bb' - cyan: '#70c0ba' - white: '#373b41' + #normal: + # black: '#1d1f21' + # red: '#cc6666' + # green: '#b5bd68' + # yellow: '#f0c674' + # blue: '#81a2be' + # magenta: '#b294bb' + # cyan: '#8abeb7' + # white: '#c5c8c6' # Bright colors - bright: - black: '#666666' - red: '#ff3334' - green: '#9ec400' - yellow: '#f0c674' - blue: '#81a2be' - magenta: '#b77ee0' - cyan: '#54ced6' - white: '#282a2e' + #bright: + # black: '#666666' + # red: '#d54e53' + # green: '#b9ca4a' + # yellow: '#e7c547' + # blue: '#7aa6da' + # magenta: '#c397d8' + # cyan: '#70c0b1' + # white: '#eaeaea' + + # Dim colors + # + # If the dim colors are not set, they will be calculated automatically based + # on the `normal` colors. + #dim: + # black: '#131415' + # red: '#864343' + # green: '#777c44' + # yellow: '#9e824c' + # blue: '#556a7d' + # magenta: '#75617b' + # cyan: '#5b7d78' + # white: '#828482' + + # Indexed Colors + # + # The indexed colors include all colors from 16 to 256. + # When these are not set, they're filled with sensible defaults. + # + # Example: + # `- { index: 16, color: '#ff00ff' }` + # + #indexed_colors: [] # Transparent cell backgrounds # @@ -303,6 +413,11 @@ colors: # Cursor blinking interval in milliseconds. #blink_interval: 750 + # Time after which cursor stops blinking, in seconds. + # + # Specifying '0' will disable timeout for blinking. + #blink_timeout: 5 + # If this is `true`, the cursor will be rendered as a hollow box when the # window is not focused. #unfocused_hollow: true @@ -321,8 +436,7 @@ colors: # shell. # # Default: -# - (macOS) /bin/bash --login -# - (Linux/BSD) user login shell +# - (Linux/BSD/macOS) `$SHELL` or the user's login shell, if `$SHELL` is unset # - (Windows) powershell #shell: # program: /bin/bash @@ -353,18 +467,22 @@ colors: # If this is `true`, the cursor is temporarily hidden when typing. #hide_when_typing: false -# Regex hints +# Hints # -# Terminal hints can be used to find text in the visible part of the terminal -# and pipe it to other applications. +# Terminal hints can be used to find text or hyperlink in the visible part of +# the terminal and pipe it to other applications. #hints: # Keys used for the hint labels. #alphabet: "jfkdls;ahgurieowpq" # List with all available hints # - # Each hint must have a `regex` and either an `action` or a `command` field. - # The fields `mouse`, `binding` and `post_processing` are optional. + # Each hint must have any of `regex` or `hyperlinks` field and either an + # `action` or a `command` field. The fields `mouse`, `binding` and + # `post_processing` are optional. + # + # The `hyperlinks` option will cause OSC 8 escape sequence hyperlinks to be + # highlighted. # # The fields `command`, `binding.key`, `binding.mods`, `binding.mode` and # `mouse.mods` accept the same values as they do in the `key_bindings` section. @@ -374,7 +492,8 @@ colors: # # If the `post_processing` field is set to `true`, heuristics will be used to # shorten the match if there are characters likely not to be part of the hint - # (e.g. a trailing `.`). This is most useful for URIs. + # (e.g. a trailing `.`). This is most useful for URIs and applies only to + # `regex` matches. # # Values for `action`: # - Copy @@ -388,6 +507,7 @@ colors: #enabled: # - regex: "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\ # [^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+" + # hyperlinks: true # command: xdg-open # post_processing: true # mouse: @@ -516,6 +636,8 @@ colors: # - ToggleBlockSelection # - ToggleSemanticSelection # Toggle semantic selection based on `selection.semantic_escape_chars`. +# - CenterAroundViCursor +# Center view around vi mode cursor # # - Vi mode exclusive cursor motion actions: # @@ -641,9 +763,9 @@ colors: #- { key: Copy, action: Copy } #- { key: L, mods: Control, action: ClearLogNotice } #- { key: L, mods: Control, mode: ~Vi|~Search, chars: "\x0c" } - #- { key: PageUp, mods: Shift, mode: ~Alt, action: ScrollPageUp, } + #- { key: PageUp, mods: Shift, mode: ~Alt, action: ScrollPageUp } #- { key: PageDown, mods: Shift, mode: ~Alt, action: ScrollPageDown } - #- { key: Home, mods: Shift, mode: ~Alt, action: ScrollToTop, } + #- { key: Home, mods: Shift, mode: ~Alt, action: ScrollToTop } #- { key: End, mods: Shift, mode: ~Alt, action: ScrollToBottom } # Vi Mode @@ -669,6 +791,7 @@ colors: #- { key: V, mods: Control, mode: Vi|~Search, action: ToggleBlockSelection } #- { key: V, mods: Alt, mode: Vi|~Search, action: ToggleSemanticSelection } #- { key: Return, mode: Vi|~Search, action: Open } + #- { key: Z, mode: Vi|~Search, action: CenterAroundViCursor } #- { key: K, mode: Vi|~Search, action: Up } #- { key: J, mode: Vi|~Search, action: Down } #- { key: H, mode: Vi|~Search, action: Left } @@ -767,3 +890,6 @@ colors: # Print all received window events. #print_events: false + + # Highlight window damage information. + #highlight_damage: false diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index 6ffbdaf..d14a61b 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -13,6 +13,7 @@ vim.o.list = true vim.o.number = true vim.o.relativenumber = true +vim.o.laststatus = 3 vim.o.ignorecase = true vim.o.smartcase = true @@ -44,6 +45,7 @@ vim.o.mousemodel = extend require"pack-impatient" vim.cmd("packadd plenary") +require"pack-onedark" require"pack-dirdiff" require"pack-easy-align" require"pack-indent-blankline" diff --git a/.config/nvim/lua/pack-which-key.lua b/.config/nvim/lua/pack-which-key.lua index f65cf2b..a92c9ec 100644 --- a/.config/nvim/lua/pack-which-key.lua +++ b/.config/nvim/lua/pack-which-key.lua @@ -1,2 +1,2 @@ vim.cmd("packadd which-key") -require'which-key'.setup{} +require'which-key'.setup {} diff --git a/.config/nvim/pack/plugins/opt/lspconfig b/.config/nvim/pack/plugins/opt/lspconfig index c720632..3bb0c53 160000 --- a/.config/nvim/pack/plugins/opt/lspconfig +++ b/.config/nvim/pack/plugins/opt/lspconfig @@ -1 +1 @@ -Subproject commit c7206327096bedf2e213788a60624a84b3b7552d +Subproject commit 3bb0c53b1df74d4b3b70d5939a015b19064a5a06 diff --git a/.config/nvim/pack/plugins/opt/treesitter b/.config/nvim/pack/plugins/opt/treesitter index 0b00eb4..619f1ac 160000 --- a/.config/nvim/pack/plugins/opt/treesitter +++ b/.config/nvim/pack/plugins/opt/treesitter @@ -1 +1 @@ -Subproject commit 0b00eb4b826bde517e87a0993bdb8409435b2378 +Subproject commit 619f1ace03860d668c7a661332c38480f2db2584 diff --git a/.config/picom.conf b/.config/picom.conf index 487007b..ed507be 100644 --- a/.config/picom.conf +++ b/.config/picom.conf @@ -3,8 +3,8 @@ ################################# -# Enabled client-side shadows on windows. Note desktop windows -# (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow, +# Enabled client-side shadows on windows. Note desktop windows +# (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow, # unless explicitly requested using the wintypes option. # # shadow = false @@ -25,16 +25,6 @@ shadow-offset-x = -7; # shadow-offset-y = -15 shadow-offset-y = -7; -# Avoid drawing shadows on dock/panel windows. This option is deprecated, -# you should use the *wintypes* option in your config file instead. -# -# no-dock-shadow = false - -# Don't draw shadows on drag-and-drop windows. This option is deprecated, -# you should use the *wintypes* option in your config file instead. -# -# no-dnd-shadow = false - # Red color value of shadow (0.0 - 1.0, defaults to 0). # shadow-red = 0 @@ -44,16 +34,8 @@ shadow-offset-y = -7; # Blue color value of shadow (0.0 - 1.0, defaults to 0). # shadow-blue = 0 -# Do not paint shadows on shaped windows. Note shaped windows -# here means windows setting its shape through X Shape extension. -# Those using ARGB background is beyond our control. -# Deprecated, use -# shadow-exclude = 'bounding_shaped' -# or -# shadow-exclude = 'bounding_shaped && !rounded_corners' -# instead. -# -# shadow-ignore-shaped = '' +# Hex string color value of shadow (#000000 - #FFFFFF, defaults to #000000). This option will override options set shadow-(red/green/blue) +# shadow-color = "#000000" # Specify a list of conditions of windows that should have no shadow. # @@ -69,12 +51,15 @@ shadow-exclude = [ "_GTK_FRAME_EXTENTS@:c" ]; +# Specify a list of conditions of windows that should have no shadow painted over, such as a dock window. +# clip-shadow-above = [] + # Specify a X geometry that describes the region in which shadow should not -# be painted in, such as a dock window region. Use +# be painted in, such as a dock window region. Use # shadow-exclude-reg = "x10+0+0" # for example, if the 10 pixels on the bottom of the screen should not have shadows painted on. # -# shadow-exclude-reg = "" +# shadow-exclude-reg = "" # Crop shadow of a window fully on a particular Xinerama screen to the screen. # xinerama-shadow-crop = false @@ -88,7 +73,7 @@ shadow-exclude = [ # Fade windows in/out when opening/closing and when opacity changes, # unless no-fading-openclose is used. # fading = false -#fading = true +#fading = true; # Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028) # fade-in-step = 0.028 @@ -118,16 +103,13 @@ fade-out-step = 0.03; # Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0) # inactive-opacity = 1 -#inactive-opacity = 0.8; +#inactive-opacity = 0.95; # Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default) # frame-opacity = 1.0 -#frame-opacity = 0.7; +#frame-opacity = 0.9; -# Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0) -# menu-opacity = 1.0 - -# Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows. +# Let inactive opacity set by -i override the '_NET_WM_WINDOW_OPACITY' values of windows. # inactive-opacity-override = true inactive-opacity-override = false; @@ -137,16 +119,16 @@ inactive-opacity-override = false; # Dim inactive windows. (0.0 - 1.0, defaults to 0.0) # inactive-dim = 0.0 -# Specify a list of conditions of windows that should always be considered focused. +# Specify a list of conditions of windows that should never be considered focused. # focus-exclude = [] focus-exclude = [ "class_g = 'Cairo-clock'" ]; # Use fixed inactive dim value, instead of adjusting according to window opacity. # inactive-dim-fixed = 1.0 -# Specify a list of opacity rules, in the format `PERCENT:PATTERN`, -# like `50:name *= "Firefox"`. picom-trans is recommended over this. -# Note we don't make any guarantee about possible conflicts with other +# Specify a list of opacity rules, in the format `PERCENT:PATTERN`, +# like `50:name *= "Firefox"`. picom-trans is recommended over this. +# Note we don't make any guarantee about possible conflicts with other # programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows. # example: # opacity-rule = [ "80:class_g = 'URxvt'" ]; @@ -154,26 +136,44 @@ focus-exclude = [ "class_g = 'Cairo-clock'" ]; # opacity-rule = [] +################################# +# Corners # +################################# + +# Sets the radius of rounded window corners. When > 0, the compositor will +# round the corners of windows. Does not interact well with +# `transparent-clipping`. +corner-radius = 0 + +# Exclude conditions for rounded corners. +rounded-corners-exclude = [ + "window_type = 'dock'", + "window_type = 'desktop'" +]; + + ################################# # Background-Blurring # ################################# # Parameters for background blurring, see the *BLUR* section for more information. -# blur-method = +# blur-method = # blur-size = 12 # # blur-deviation = false +# +# blur-strength = 5 -# Blur background of semi-transparent / ARGB windows. -# Bad in performance, with driver-dependent behavior. +# Blur background of semi-transparent / ARGB windows. +# Bad in performance, with driver-dependent behavior. # The name of the switch may change without prior notifications. # # blur-background = false -# Blur background of windows when the window frame is not opaque. +# Blur background of windows when the window frame is not opaque. # Implies: -# blur-background +# blur-background # Bad in performance, with driver-dependent behavior. The name may change. # # blur-background-frame = false @@ -187,7 +187,7 @@ focus-exclude = [ "class_g = 'Cairo-clock'" ]; # example: # blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"; # -# blur-kern = '' +# blur-kern = "" blur-kern = "3x3box"; @@ -203,23 +203,25 @@ blur-background-exclude = [ # General Settings # ################################# +# Enable remote control via D-Bus. See the man page for more details. +# dbus = true + # Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers. # daemon = false # Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`. # `xrender` is the default one. # -# backend = 'glx' -backend = "glx"; +backend = "glx" # Enable/disable VSync. # vsync = false -vsync = true +vsync = true; # Enable remote control via D-Bus. See the *D-BUS API* section below for more details. # dbus = false -# Try to detect WM windows (a non-override-redirect window with no +# Try to detect WM windows (a non-override-redirect window with no # child that has 'WM_STATE') and mark them as active. # # mark-wmwin-focused = false @@ -229,40 +231,26 @@ mark-wmwin-focused = true; # mark-ovredir-focused = false mark-ovredir-focused = true; -# Try to detect windows with rounded corners and don't consider them +# Try to detect windows with rounded corners and don't consider them # shaped windows. The accuracy is not very high, unfortunately. # # detect-rounded-corners = false detect-rounded-corners = true; -# Detect '_NET_WM_OPACITY' on client windows, useful for window managers -# not passing '_NET_WM_OPACITY' of client windows to frame windows. +# Detect '_NET_WM_WINDOW_OPACITY' on client windows, useful for window managers +# not passing '_NET_WM_WINDOW_OPACITY' of client windows to frame windows. # # detect-client-opacity = false detect-client-opacity = true; -# Specify refresh rate of the screen. If not specified or 0, picom will -# try detecting this with X RandR extension. -# -# refresh-rate = 60 -refresh-rate = 0 - -# Limit picom to repaint at most once every 1 / 'refresh_rate' second to -# boost performance. This should not be used with -# vsync drm/opengl/opengl-oml -# as they essentially does sw-opti's job already, -# unless you wish to specify a lower refresh rate than the actual value. -# -# sw-opti = - -# Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window, -# rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy, +# Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window, +# rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy, # provided that the WM supports it. # # use-ewmh-active-win = false -# Unredirect all windows if a full-screen opaque window is detected, -# to maximize performance for full-screen windows. Known to cause flickering +# Unredirect all windows if a full-screen opaque window is detected, +# to maximize performance for full-screen windows. Known to cause flickering # when redirecting/unredirecting windows. # # unredir-if-possible = false @@ -273,84 +261,90 @@ refresh-rate = 0 # Conditions of windows that shouldn't be considered full-screen for unredirecting screen. # unredir-if-possible-exclude = [] -# Use 'WM_TRANSIENT_FOR' to group windows, and consider windows +# Use 'WM_TRANSIENT_FOR' to group windows, and consider windows # in the same group focused at the same time. # # detect-transient = false -detect-transient = true +detect-transient = true; -# Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same -# group focused at the same time. 'WM_TRANSIENT_FOR' has higher priority if -# detect-transient is enabled, too. +# Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same +# group focused at the same time. This usually means windows from the same application +# will be considered focused or unfocused at the same time. +# 'WM_TRANSIENT_FOR' has higher priority if detect-transient is enabled, too. # # detect-client-leader = false -detect-client-leader = true -# Resize damaged region by a specific number of pixels. -# A positive value enlarges it while a negative one shrinks it. -# If the value is positive, those additional pixels will not be actually painted -# to screen, only used in blur calculation, and such. (Due to technical limitations, -# with use-damage, those pixels will still be incorrectly painted to screen.) -# Primarily used to fix the line corruption issues of blur, -# in which case you should use the blur radius value here -# (e.g. with a 3x3 kernel, you should use `--resize-damage 1`, -# with a 5x5 one you use `--resize-damage 2`, and so on). +# Resize damaged region by a specific number of pixels. +# A positive value enlarges it while a negative one shrinks it. +# If the value is positive, those additional pixels will not be actually painted +# to screen, only used in blur calculation, and such. (Due to technical limitations, +# with use-damage, those pixels will still be incorrectly painted to screen.) +# Primarily used to fix the line corruption issues of blur, +# in which case you should use the blur radius value here +# (e.g. with a 3x3 kernel, you should use `--resize-damage 1`, +# with a 5x5 one you use `--resize-damage 2`, and so on). # May or may not work with *--glx-no-stencil*. Shrinking doesn't function correctly. # # resize-damage = 1 -# Specify a list of conditions of windows that should be painted with inverted color. +# Specify a list of conditions of windows that should be painted with inverted color. # Resource-hogging, and is not well tested. # # invert-color-include = [] -# GLX backend: Avoid using stencil buffer, useful if you don't have a stencil buffer. -# Might cause incorrect opacity when rendering transparent content (but never -# practically happened) and may not work with blur-background. +# GLX backend: Avoid using stencil buffer, useful if you don't have a stencil buffer. +# Might cause incorrect opacity when rendering transparent content (but never +# practically happened) and may not work with blur-background. # My tests show a 15% performance boost. Recommended. # -# glx-no-stencil = false +glx-no-stencil = true; -# GLX backend: Avoid rebinding pixmap on window damage. -# Probably could improve performance on rapid window content changes, +# GLX backend: Avoid rebinding pixmap on window damage. +# Probably could improve performance on rapid window content changes, # but is known to break things on some drivers (LLVMpipe, xf86-video-intel, etc.). # Recommended if it works. # # glx-no-rebind-pixmap = false -# Disable the use of damage information. -# This cause the whole screen to be redrawn everytime, instead of the part of the screen +# Disable the use of damage information. +# This cause the whole screen to be redrawn every time, instead of the part of the screen # has actually changed. Potentially degrades the performance, but might fix some artifacts. # The opposing option is use-damage # # no-use-damage = false -use-damage = true +use-damage = true; -# Use X Sync fence to sync clients' draw calls, to make sure all draw -# calls are finished before picom starts drawing. Needed on nvidia-drivers +# Use X Sync fence to sync clients' draw calls, to make sure all draw +# calls are finished before picom starts drawing. Needed on nvidia-drivers # with GLX backend for some users. # # xrender-sync-fence = false -# GLX backend: Use specified GLSL fragment shader for rendering window contents. -# See `compton-default-fshader-win.glsl` and `compton-fake-transparency-fshader-win.glsl` -# in the source tree for examples. +# GLX backend: Use specified GLSL fragment shader for rendering window +# contents. Read the man page for a detailed explanation of the interface. # -# glx-fshader-win = '' +# window-shader-fg = "default" -# Force all windows to be painted with blending. Useful if you +# Use rules to set per-window shaders. Syntax is SHADER_PATH:PATTERN, similar +# to opacity-rule. SHADER_PATH can be "default". This overrides window-shader-fg. +# +# window-shader-fg-rule = [ +# "my_shader.frag:window_type != 'dock'" +# ] + +# Force all windows to be painted with blending. Useful if you # have a glx-fshader-win that could turn opaque pixels transparent. # # force-win-blend = false -# Do not use EWMH to detect fullscreen windows. +# Do not use EWMH to detect fullscreen windows. # Reverts to checking if a window is fullscreen based only on its size and coordinates. # # no-ewmh-fullscreen = false -# Dimming bright windows so their brightness doesn't exceed this set value. -# Brightness of a window is estimated by averaging all pixels in the window, -# so this could comes with a performance hit. +# Dimming bright windows so their brightness doesn't exceed this set value. +# Brightness of a window is estimated by averaging all pixels in the window, +# so this could comes with a performance hit. # Setting this to 1.0 disables this behaviour. Requires --use-damage to be disabled. (default: 1.0) # # max-brightness = 1.0 @@ -360,63 +354,73 @@ use-damage = true # # transparent-clipping = false +# Specify a list of conditions of windows that should never have transparent +# clipping applied. Useful for screenshot tools, where you need to be able to +# see through transparent parts of the window. +# +# transparent-clipping-exclude = [] + # Set the log level. Possible values are: # "trace", "debug", "info", "warn", "error" -# in increasing level of importance. Case doesn't matter. -# If using the "TRACE" log level, it's better to log into a file +# in increasing level of importance. Case doesn't matter. +# If using the "TRACE" log level, it's better to log into a file # using *--log-file*, since it can generate a huge stream of logs. # # log-level = "debug" log-level = "warn"; # Set the log file. -# If *--log-file* is never specified, logs will be written to stderr. -# Otherwise, logs will to written to the given file, though some of the early -# logs might still be written to the stderr. +# If *--log-file* is never specified, logs will be written to stderr. +# Otherwise, logs will to written to the given file, though some of the early +# logs might still be written to the stderr. # When setting this option from the config file, it is recommended to use an absolute path. # -# log-file = '/path/to/your/log/file' +# log-file = "/path/to/your/log/file" # Show all X errors (for debugging) # show-all-xerrors = false # Write process ID to a file. -# write-pid-path = '/path/to/your/log/file' +# write-pid-path = "/path/to/your/log/file" # Window type settings -# -# 'WINDOW_TYPE' is one of the 15 window types defined in EWMH standard: -# "unknown", "desktop", "dock", "toolbar", "menu", "utility", -# "splash", "dialog", "normal", "dropdown_menu", "popup_menu", +# +# 'WINDOW_TYPE' is one of the 15 window types defined in EWMH standard: +# "unknown", "desktop", "dock", "toolbar", "menu", "utility", +# "splash", "dialog", "normal", "dropdown_menu", "popup_menu", # "tooltip", "notification", "combo", and "dnd". -# +# # Following per window-type options are available: :: -# +# # fade, shadow::: # Controls window-type-specific shadow and fade settings. -# +# # opacity::: # Controls default opacity of the window type. -# +# # focus::: -# Controls whether the window of this type is to be always considered focused. +# Controls whether the window of this type is to be always considered focused. # (By default, all window types except "normal" and "dialog" has this on.) -# +# # full-shadow::: -# Controls whether shadow is drawn under the parts of the window that you -# normally won't be able to see. Useful when the window has parts of it +# Controls whether shadow is drawn under the parts of the window that you +# normally won't be able to see. Useful when the window has parts of it # transparent, and you want shadows in those areas. -# +# +# clip-shadow-above::: +# Controls whether shadows that would have been drawn above the window should +# be clipped. Useful for dock windows that should have no shadow painted on top. +# # redir-ignore::: -# Controls whether this type of windows should cause screen to become +# Controls whether this type of windows should cause screen to become # redirected again after been unredirected. If you have unredir-if-possible -# set, and doesn't want certain window to cause unnecessary screen redirection, +# set, and doesn't want certain window to cause unnecessary screen redirection, # you can set this to `true`. # #wintypes: #{ # tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; }; -# dock = { shadow = false; } +# dock = { shadow = false; clip-shadow-above = true; } # dnd = { shadow = false; } # popup_menu = { opacity = 0.8; } # dropdown_menu = { opacity = 0.8; } diff --git a/.xinitrc b/.xinitrc index bc3996b..a1d2f8a 100644 --- a/.xinitrc +++ b/.xinitrc @@ -1,7 +1,8 @@ #!/bin/sh -xrandr \ - --output eDP-1 --auto --primary \ - --output HDMI-A-1 --auto --right-of eDP-1 +xrandr \ + --output eDP-1 --auto --primary \ + --output DP-1-2 --auto --pos 1920x0 \ + --output DP-1-3 --auto --pos 3840x0 -exec awesome +exec dwm diff --git a/.zshenv b/.zshenv index 1620265..b465cd8 100644 --- a/.zshenv +++ b/.zshenv @@ -8,6 +8,7 @@ export XDG_CONFIG_DIRS=/etc/xdg export XDG_DATA_DIRS='/usr/local/share/:/usr/share/' export ZDOTDIR="$HOME"/.config/zsh +export ZSH_CUSTOM="$ZDOTDIR/custom" export HISTFILE="$XDG_STATE_HOME"/zsh/history export ZLE_RPROMPT_INDENT=0