initial commit
commit
eeaffdeefb
|
@ -0,0 +1,214 @@
|
||||||
|
Xft.autohint: 1
|
||||||
|
Xft.antialias: 1
|
||||||
|
Xft.hinting: true
|
||||||
|
Xft.hintstyle: hintslight
|
||||||
|
Xft.rgba: rgb
|
||||||
|
Xft.lcdfilter: lcddefault
|
||||||
|
Xcursor.theme: Adwaita
|
||||||
|
|
||||||
|
! urxvt
|
||||||
|
urxvt.font: xft:mono:size=10:antialias=true:hinting=true
|
||||||
|
urxvt.url-launcher: /usr/bin/xdg-open
|
||||||
|
urxvt.matcher.button: 1
|
||||||
|
urxvt.matcher.pattern.0: \\b([a-zA-Z]+:\/\/\\w[\\w-.@:]*|www\\.\\w[\\w-]*\\.\\w[\\w-.]*)(\/[^"' ()]*)?
|
||||||
|
urxvt.scrollBar: false
|
||||||
|
urxvt.termName: xterm-256color
|
||||||
|
urxvt.saveLines: 10000
|
||||||
|
urxvt.inheritPixmap: true
|
||||||
|
urxvt.shading: 20
|
||||||
|
urxvt.clipboard.autocopy: true
|
||||||
|
urxvt.perl-ext-common: default,selection-to-clipboard,pasta,matcher,keyboard-select,resize-font,font
|
||||||
|
urxvt.keysym.M-u: perl:url-select:select_next
|
||||||
|
urxvt.transparent: true
|
||||||
|
urxvt.buffered: true
|
||||||
|
urxvt.jumpScroll: false
|
||||||
|
urxvt.scrollTtyKeypress: true
|
||||||
|
urxvt.scrollTtyOutput: false
|
||||||
|
urxvt.scrollWithBuffer: false
|
||||||
|
urxvt.scrollstyle: plain
|
||||||
|
urxvt.secondaryScroll: false
|
||||||
|
urxvt.xftAntialias: true
|
||||||
|
!urxvt.color4: RoyalBlue
|
||||||
|
urxvt.matcher.rend.0: Bold fg6
|
||||||
|
urxvt.cursorBlink: false
|
||||||
|
urxvt.cursorColor: #5f8fff
|
||||||
|
urxvt.mapAlert: true
|
||||||
|
urxvt.pointerBlank: true
|
||||||
|
urxvt.resource: value
|
||||||
|
urxvt.iso14755: false
|
||||||
|
urxvt.iso14755_52: false
|
||||||
|
|
||||||
|
!xterm font
|
||||||
|
XTerm.vt100.faceName: mono:size=10
|
||||||
|
|
||||||
|
!st settings
|
||||||
|
*.font: mono:pixelsize=13
|
||||||
|
*.borderpx: 2
|
||||||
|
*.tabspaces: 4
|
||||||
|
!cursorColor STRING, &colorname[258] },
|
||||||
|
!termname STRING, &termname },
|
||||||
|
!shell STRING, &shell },
|
||||||
|
*.xfps: 30
|
||||||
|
!actionfps INTEGER, &actionfps },
|
||||||
|
!blinktimeout INTEGER, &blinktimeout },
|
||||||
|
*.bellvolume: 100 !INTEGER, &bellvolume },
|
||||||
|
!cwscale FLOAT, &cwscale },
|
||||||
|
!chscale FLOAT &chscale },
|
||||||
|
|
||||||
|
!dmenu settings
|
||||||
|
dmenu.font : mono:pixelsize=13
|
||||||
|
|
||||||
|
|
||||||
|
/*** COLOR SETTINGS ***/
|
||||||
|
|
||||||
|
!global colors
|
||||||
|
#define WHITE #ffffff
|
||||||
|
#define BLACK #000000
|
||||||
|
|
||||||
|
/* include color theme. theme can be set using ~/scripts/set_colors.sh*/
|
||||||
|
#include "./color"
|
||||||
|
|
||||||
|
!if COLOR15 is not defined, there is an error in ~/.config/colors. default to nord
|
||||||
|
#ifndef COLOR15
|
||||||
|
|
||||||
|
#define COLOR0 #3B4252
|
||||||
|
#define COLOR1 #BF616A
|
||||||
|
#define COLOR2 #A3BE8C
|
||||||
|
#define COLOR3 #EBCB8B
|
||||||
|
#define COLOR4 #81A1C1
|
||||||
|
#define COLOR5 #B48EAD
|
||||||
|
#define COLOR6 #88C0D0
|
||||||
|
#define COLOR7 #E5E9F0
|
||||||
|
#define COLOR8 #4C566A
|
||||||
|
#define COLOR9 #BF616A
|
||||||
|
#define COLOR10 #A3BE8C
|
||||||
|
#define COLOR11 #EBCB8B
|
||||||
|
#define COLOR12 #81A1C1
|
||||||
|
#define COLOR13 #B48EAD
|
||||||
|
#define COLOR14 #8FBCBB
|
||||||
|
#define COLOR15 #ECEFF4
|
||||||
|
|
||||||
|
#define FOREGROUND #D8DEE9
|
||||||
|
#define BACKGROUND #2E3440
|
||||||
|
|
||||||
|
#define DWM_NBDR COLOR13
|
||||||
|
#define DWM_NBG BACKGROUND
|
||||||
|
#define DWM_NFG COLOR6
|
||||||
|
#define DWM_SBDR WHITE
|
||||||
|
#define DWM_SBG #434C5E
|
||||||
|
#define DWM_SFG COLOR13
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* DWM colors
|
||||||
|
* dwm.normbordercolor: border not currently selected
|
||||||
|
* dwm.normbgcolor: bg of top bar, bg of not selected tags, bg of dmenu
|
||||||
|
* dwm.normfgclolor: ???
|
||||||
|
* dwm.selbordercolor: active window border color, color of selected entry in dmenu
|
||||||
|
* dwm.selbgcolor: selected tag color, color of section of top bar displaying window title
|
||||||
|
* dwm.selfgcolor: color of window title text, color of current tag indicator,
|
||||||
|
*/
|
||||||
|
|
||||||
|
!source dwm colors from color pallete if not defined
|
||||||
|
#ifndef DWM_NBDR
|
||||||
|
#define DWM_NBDR COLOR8
|
||||||
|
#endif
|
||||||
|
#ifndef DWM_NBG
|
||||||
|
#define DWM_NBG COLOR0
|
||||||
|
#endif
|
||||||
|
#ifndef DWM_NFG
|
||||||
|
#define DWM_NFG COLOR15
|
||||||
|
#endif
|
||||||
|
#ifndef DWM_SBDR
|
||||||
|
#define DWM_SBDR COLOR15
|
||||||
|
#endif
|
||||||
|
#ifndef DWM_SBG
|
||||||
|
#define DWM_SBG COLOR2
|
||||||
|
#endif
|
||||||
|
#ifndef DWM_FBG
|
||||||
|
#define DWM_FBG COLOR15
|
||||||
|
#endif
|
||||||
|
|
||||||
|
!source dmenu colors from color pallette if not defined
|
||||||
|
#ifndef DMENU_NBG
|
||||||
|
#define DMENU_NBG COLOR0
|
||||||
|
#endif
|
||||||
|
#ifndef DMENU_NFG
|
||||||
|
#define DMENU_NFG COLOR15
|
||||||
|
#endif
|
||||||
|
#ifndef DMENU_SBG
|
||||||
|
#define DMENU_SBG COLOR1
|
||||||
|
#endif
|
||||||
|
#ifndef DMENU_SFG
|
||||||
|
#define DMENU_SFG COLOR15
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
! 6 11 14
|
||||||
|
#define AAAA COLOR6
|
||||||
|
|
||||||
|
#ifndef DMENU_SHFG
|
||||||
|
#define DMENU_SHFG AAAA
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef DMENU_SHBG
|
||||||
|
#define DMENU_SHBG COLOR1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef DMENU_NHFG
|
||||||
|
#define DMENU_NHFG AAAA
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef DMENU_NHBG
|
||||||
|
#define DMENU_NHBG COLOR0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
!source colors for BG and FG if not defined
|
||||||
|
#ifndef BACKGROUND
|
||||||
|
#define BACKGROUND COLOR0
|
||||||
|
#endif
|
||||||
|
#ifndef FOREGROUND
|
||||||
|
#define FOREGROUND COLOR15
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
!set dwm colors defined in included file above
|
||||||
|
dwm.normbordercolor: DWM_NBDR
|
||||||
|
dwm.normbgcolor: DWM_NBG
|
||||||
|
dwm.normfgclolor: DWM_NFG
|
||||||
|
dwm.selbordercolor: DWM_SBDR
|
||||||
|
dwm.selbgcolor: DWM_SBG
|
||||||
|
dwm.selfgcolor: DWM_SFG
|
||||||
|
|
||||||
|
!set dmenu colors defined in included file above
|
||||||
|
dmenu.background : DMENU_NBG
|
||||||
|
dmenu.foreground : DMENU_NFG
|
||||||
|
dmenu.selbackground : DMENU_SBG
|
||||||
|
dmenu.selforeground : DMENU_SFG
|
||||||
|
|
||||||
|
dmenu.selhighlightfg : DMENU_SHFG
|
||||||
|
dmenu.selhighlightbg : DMENU_SHBG
|
||||||
|
dmenu.normhighlightfg : DMENU_NHFG
|
||||||
|
dmenu.normhighlightbg : DMENU_NHBG
|
||||||
|
|
||||||
|
/* ST/Xterm colors */
|
||||||
|
*.color0: COLOR0
|
||||||
|
*.color1: COLOR1
|
||||||
|
*.color2: COLOR2
|
||||||
|
*.color3: COLOR3
|
||||||
|
*.color4: COLOR4
|
||||||
|
*.color5: COLOR5
|
||||||
|
*.color6: COLOR6
|
||||||
|
*.color7: COLOR7
|
||||||
|
*.color8: COLOR8
|
||||||
|
*.color9: COLOR9
|
||||||
|
*.color10: COLOR10
|
||||||
|
*.color11: COLOR11
|
||||||
|
*.color12: COLOR12
|
||||||
|
*.color13: COLOR13
|
||||||
|
*.color14: COLOR14
|
||||||
|
*.color15: COLOR15
|
||||||
|
*.background: BACKGROUND
|
||||||
|
*.foreground: FOREGROUND
|
|
@ -0,0 +1,531 @@
|
||||||
|
# Configuration for Alacritty, the GPU enhanced terminal emulator.
|
||||||
|
|
||||||
|
# Any items in the `env` entry below will be added as
|
||||||
|
# environment variables. Some entries may override variables
|
||||||
|
# set by alacritty itself.
|
||||||
|
env:
|
||||||
|
# TERM variable
|
||||||
|
#
|
||||||
|
# This value is used to set the `$TERM` environment variable for
|
||||||
|
# each instance of Alacritty. If it is not present, alacritty will
|
||||||
|
# check the local terminfo database and use `alacritty` if it is
|
||||||
|
# available, otherwise `xterm-256color` is used.
|
||||||
|
TERM: xterm-256color
|
||||||
|
|
||||||
|
window:
|
||||||
|
# Window dimensions (changes require restart)
|
||||||
|
#
|
||||||
|
# Specified in number of columns/lines, not pixels.
|
||||||
|
# If both are `0`, this setting is ignored.
|
||||||
|
#dimensions:
|
||||||
|
# columns: 0
|
||||||
|
# lines: 0
|
||||||
|
|
||||||
|
# Window position (changes require restart)
|
||||||
|
#
|
||||||
|
# Specified in number of pixels.
|
||||||
|
# If the position is not set, the window manager will handle the placement.
|
||||||
|
#position:
|
||||||
|
# x: 0
|
||||||
|
# y: 0
|
||||||
|
|
||||||
|
# Window padding (changes require restart)
|
||||||
|
#
|
||||||
|
# Blank space added around the window in pixels. This padding is scaled
|
||||||
|
# by DPI and the specified value is always added at both opposing sides.
|
||||||
|
padding:
|
||||||
|
x: 3
|
||||||
|
y: 3
|
||||||
|
|
||||||
|
# Spread additional padding evenly around the terminal content.
|
||||||
|
#dynamic_padding: false
|
||||||
|
|
||||||
|
# Window decorations
|
||||||
|
#
|
||||||
|
# Values for `decorations`:
|
||||||
|
# - full: Borders and title bar
|
||||||
|
# - none: Neither borders nor title bar
|
||||||
|
#
|
||||||
|
# Values for `decorations` (macOS only):
|
||||||
|
# - transparent: Title bar, transparent background and title bar buttons
|
||||||
|
# - buttonless: Title bar, transparent background, but no title bar buttons
|
||||||
|
decorations: none
|
||||||
|
|
||||||
|
opacity: 0.98
|
||||||
|
#opacity: 1
|
||||||
|
|
||||||
|
# Startup Mode (changes require restart)
|
||||||
|
#
|
||||||
|
# Values for `startup_mode`:
|
||||||
|
# - Windowed
|
||||||
|
# - Maximized
|
||||||
|
# - Fullscreen
|
||||||
|
#
|
||||||
|
# Values for `startup_mode` (macOS only):
|
||||||
|
# - SimpleFullscreen
|
||||||
|
#startup_mode: Windowed
|
||||||
|
|
||||||
|
# Window title
|
||||||
|
#title: Alacritty
|
||||||
|
|
||||||
|
# Window class (Linux/BSD only):
|
||||||
|
#class:
|
||||||
|
# Application instance name
|
||||||
|
#instance: Alacritty
|
||||||
|
# General application class
|
||||||
|
#general: Alacritty
|
||||||
|
|
||||||
|
# GTK 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
|
||||||
|
|
||||||
|
#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: 3
|
||||||
|
|
||||||
|
# Scroll to the bottom when new text is written to the terminal.
|
||||||
|
#auto_scroll: false
|
||||||
|
|
||||||
|
# Spaces per Tab (changes require restart)
|
||||||
|
#
|
||||||
|
# This setting defines the width of a tab in cells.
|
||||||
|
#
|
||||||
|
# Some applications, like Emacs, rely on knowing about the width of a tab.
|
||||||
|
# To prevent unexpected behavior in these applications, it's also required to
|
||||||
|
# change the `it` value in terminfo when altering this setting.
|
||||||
|
#tabspaces: 8
|
||||||
|
|
||||||
|
# Font configuration
|
||||||
|
font:
|
||||||
|
# Normal (roman) font face
|
||||||
|
normal:
|
||||||
|
# Font family
|
||||||
|
#
|
||||||
|
# Default:
|
||||||
|
# - (macOS) Menlo
|
||||||
|
# - (Linux/BSD) monospace
|
||||||
|
# - (Windows) Consolas
|
||||||
|
family: monospace
|
||||||
|
|
||||||
|
# The `style` can be specified to pick a specific face.
|
||||||
|
style: Regular
|
||||||
|
|
||||||
|
# Bold font face
|
||||||
|
#bold:
|
||||||
|
# Font family
|
||||||
|
#
|
||||||
|
# If the bold family is not specified, it will fall back to the
|
||||||
|
# value specified for the normal font.
|
||||||
|
#family: monospace
|
||||||
|
|
||||||
|
# The `style` can be specified to pick a specific face.
|
||||||
|
#style: Bold
|
||||||
|
|
||||||
|
# Italic font face
|
||||||
|
#italic:
|
||||||
|
# Font family
|
||||||
|
#
|
||||||
|
# If the italic family is not specified, it will fall back to the
|
||||||
|
# value specified for the normal font.
|
||||||
|
#family: monospace
|
||||||
|
|
||||||
|
# The `style` can be specified to pick a specific face.
|
||||||
|
#style: Italic
|
||||||
|
|
||||||
|
# Bold italic font face
|
||||||
|
#bold_italic:
|
||||||
|
# Font family
|
||||||
|
#
|
||||||
|
# If the bold italic family is not specified, it will fall back to the
|
||||||
|
# value specified for the normal font.
|
||||||
|
#family: monospace
|
||||||
|
|
||||||
|
# The `style` can be specified to pick a specific face.
|
||||||
|
#style: Bold Italic
|
||||||
|
|
||||||
|
# Point size
|
||||||
|
size: 10.0
|
||||||
|
|
||||||
|
# Offset is the extra space around each character. `offset.y` can be thought of
|
||||||
|
# as modifying the line spacing, and `offset.x` as modifying the letter spacing.
|
||||||
|
#offset:
|
||||||
|
# x: 0
|
||||||
|
# y: 0
|
||||||
|
|
||||||
|
# Glyph offset determines the locations of the glyphs within their cells with
|
||||||
|
# the default being at the bottom. Increasing `x` moves the glyph to the right,
|
||||||
|
# increasing `y` moves the glyph upwards.
|
||||||
|
#glyph_offset:
|
||||||
|
# x: 0
|
||||||
|
# y: 0
|
||||||
|
|
||||||
|
# Thin stroke font rendering (macOS only)
|
||||||
|
#
|
||||||
|
# Thin strokes are suitable for retina displays, but for non-retina screens
|
||||||
|
# it is recommended to set `use_thin_strokes` to `false`
|
||||||
|
#
|
||||||
|
# macOS >= 10.14.x:
|
||||||
|
#
|
||||||
|
# If the font quality on non-retina display looks bad then set
|
||||||
|
# `use_thin_strokes` to `true` and enable font smoothing by running the
|
||||||
|
# following command:
|
||||||
|
# `defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO`
|
||||||
|
#
|
||||||
|
# This is a global setting and will require a log out or restart to take
|
||||||
|
# effect.
|
||||||
|
#use_thin_strokes: true
|
||||||
|
|
||||||
|
# If `true`, bold text is drawn using the bright color variants.
|
||||||
|
#draw_bold_text_with_bright_colors: true
|
||||||
|
|
||||||
|
# Base16 Gruvbox dark, medium - alacritty color config
|
||||||
|
# Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox)
|
||||||
|
colors:
|
||||||
|
# Default colors
|
||||||
|
primary:
|
||||||
|
background: '0x282828'
|
||||||
|
foreground: '0xd5c4a1'
|
||||||
|
|
||||||
|
# Colors the cursor will use if `custom_cursor_colors` is true
|
||||||
|
cursor:
|
||||||
|
text: '0x282828'
|
||||||
|
cursor: '0xd5c4a1'
|
||||||
|
|
||||||
|
# Normal colors
|
||||||
|
normal:
|
||||||
|
black: '0x282828'
|
||||||
|
red: '0xfb4934'
|
||||||
|
green: '0xb8bb26'
|
||||||
|
yellow: '0xfabd2f'
|
||||||
|
blue: '0x83a598'
|
||||||
|
magenta: '0xd3869b'
|
||||||
|
cyan: '0x8ec07c'
|
||||||
|
white: '0xd5c4a1'
|
||||||
|
|
||||||
|
# Bright colors
|
||||||
|
bright:
|
||||||
|
black: '0x665c54'
|
||||||
|
red: '0xfe8019'
|
||||||
|
green: '0x3c3836'
|
||||||
|
yellow: '0x504945'
|
||||||
|
blue: '0xbdae93'
|
||||||
|
magenta: '0xebdbb2'
|
||||||
|
cyan: '0xd65d0e'
|
||||||
|
white: '0xfbf1c7'
|
||||||
|
|
||||||
|
draw_bold_text_with_bright_colors: false
|
||||||
|
|
||||||
|
# Visual Bell
|
||||||
|
#
|
||||||
|
# Any time the BEL code is received, Alacritty "rings" the visual bell. Once
|
||||||
|
# rung, the terminal background will be set to white and transition back to the
|
||||||
|
# default background color. You can control the rate of this transition by
|
||||||
|
# setting the `duration` property (represented in milliseconds). You can also
|
||||||
|
# configure the transition function by setting the `animation` property.
|
||||||
|
#
|
||||||
|
# Values for `animation`:
|
||||||
|
# - Ease
|
||||||
|
# - EaseOut
|
||||||
|
# - EaseOutSine
|
||||||
|
# - EaseOutQuad
|
||||||
|
# - EaseOutCubic
|
||||||
|
# - EaseOutQuart
|
||||||
|
# - EaseOutQuint
|
||||||
|
# - EaseOutExpo
|
||||||
|
# - EaseOutCirc
|
||||||
|
# - Linear
|
||||||
|
#
|
||||||
|
# Specifying a `duration` of `0` will disable the visual bell.
|
||||||
|
#visual_bell:
|
||||||
|
# animation: EaseOutExpo
|
||||||
|
# duration: 0
|
||||||
|
# color: '0xffffff'
|
||||||
|
|
||||||
|
# Background opacity
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
|
||||||
|
|
||||||
|
#selection:
|
||||||
|
#semantic_escape_chars: ",│`|:\"' ()[]{}<>\t"
|
||||||
|
|
||||||
|
# When set to `true`, selected text will be copied to the primary clipboard.
|
||||||
|
#save_to_clipboard: false
|
||||||
|
|
||||||
|
# Allow terminal applications to change Alacritty's window title.
|
||||||
|
#dynamic_title: true
|
||||||
|
|
||||||
|
#cursor:
|
||||||
|
# Cursor style
|
||||||
|
#
|
||||||
|
# Values for `style`:
|
||||||
|
# - ▇ Block
|
||||||
|
# - _ Underline
|
||||||
|
# - | Beam
|
||||||
|
#style: Block
|
||||||
|
|
||||||
|
# If this is `true`, the cursor will be rendered as a hollow box when the
|
||||||
|
# window is not focused.
|
||||||
|
#unfocused_hollow: true
|
||||||
|
|
||||||
|
# Live config reload (changes require restart)
|
||||||
|
#live_config_reload: true
|
||||||
|
|
||||||
|
# Shell
|
||||||
|
#
|
||||||
|
# You can set `shell.program` to the path of your favorite shell, e.g. `/bin/fish`.
|
||||||
|
# Entries in `shell.args` are passed unmodified as arguments to the shell.
|
||||||
|
#
|
||||||
|
# Default:
|
||||||
|
# - (macOS) /bin/bash --login
|
||||||
|
# - (Linux/BSD) user login shell
|
||||||
|
# - (Windows) powershell
|
||||||
|
#shell:
|
||||||
|
# program: /bin/bash
|
||||||
|
# args:
|
||||||
|
# - --login
|
||||||
|
|
||||||
|
# Startup directory
|
||||||
|
#
|
||||||
|
# Directory the shell is started in. If this is unset, or `None`, the working
|
||||||
|
# directory of the parent process will be used.
|
||||||
|
#working_directory: None
|
||||||
|
|
||||||
|
# WinPTY backend (Windows only)
|
||||||
|
#
|
||||||
|
# Alacritty defaults to using the newer ConPTY backend if it is available,
|
||||||
|
# since it resolves a lot of bugs and is quite a bit faster. If it is not
|
||||||
|
# available, the the WinPTY backend will be used instead.
|
||||||
|
#
|
||||||
|
# Setting this option to `true` makes Alacritty use the legacy WinPTY backend,
|
||||||
|
# even if the ConPTY backend is available.
|
||||||
|
#winpty_backend: false
|
||||||
|
|
||||||
|
# Send ESC (\x1b) before characters when alt is pressed.
|
||||||
|
#alt_send_esc: true
|
||||||
|
|
||||||
|
#debug:
|
||||||
|
# Display the time it takes to redraw each frame.
|
||||||
|
#render_timer: false
|
||||||
|
|
||||||
|
# Keep the log file after quitting Alacritty.
|
||||||
|
#persistent_logging: false
|
||||||
|
|
||||||
|
# Log level
|
||||||
|
#
|
||||||
|
# Values for `log_level`:
|
||||||
|
# - None
|
||||||
|
# - Error
|
||||||
|
# - Warn
|
||||||
|
# - Info
|
||||||
|
# - Debug
|
||||||
|
# - Trace
|
||||||
|
#log_level: Warn
|
||||||
|
|
||||||
|
# Print all received window events.
|
||||||
|
#print_events: false
|
||||||
|
|
||||||
|
# Record all characters and escape sequences as test data.
|
||||||
|
#ref_test: false
|
||||||
|
|
||||||
|
#mouse:
|
||||||
|
# Click settings
|
||||||
|
#
|
||||||
|
# The `double_click` and `triple_click` settings control the time
|
||||||
|
# alacritty should wait for accepting multiple clicks as one double
|
||||||
|
# or triple click.
|
||||||
|
#double_click: { threshold: 300 }
|
||||||
|
#triple_click: { threshold: 300 }
|
||||||
|
|
||||||
|
# If this is `true`, the cursor is temporarily hidden when typing.
|
||||||
|
#hide_when_typing: false
|
||||||
|
|
||||||
|
#url:
|
||||||
|
# URL launcher
|
||||||
|
#
|
||||||
|
# This program is executed when clicking on a text which is recognized as a URL.
|
||||||
|
# The URL is always added to the command as the last parameter.
|
||||||
|
#
|
||||||
|
# When set to `None`, URL launching will be disabled completely.
|
||||||
|
#
|
||||||
|
# Default:
|
||||||
|
# - (macOS) open
|
||||||
|
# - (Linux/BSD) xdg-open
|
||||||
|
# - (Windows) explorer
|
||||||
|
#launcher:
|
||||||
|
# program: xdg-open
|
||||||
|
# args: []
|
||||||
|
|
||||||
|
# URL modifiers
|
||||||
|
#
|
||||||
|
# These are the modifiers that need to be held down for opening URLs when clicking
|
||||||
|
# on them. The available modifiers are documented in the key binding section.
|
||||||
|
#modifiers: None
|
||||||
|
|
||||||
|
# Mouse bindings
|
||||||
|
#
|
||||||
|
# Mouse bindings are specified as a list of objects, much like the key
|
||||||
|
# bindings further below.
|
||||||
|
#
|
||||||
|
# Each mouse binding will specify a:
|
||||||
|
#
|
||||||
|
# - `mouse`:
|
||||||
|
#
|
||||||
|
# - Middle
|
||||||
|
# - Left
|
||||||
|
# - Right
|
||||||
|
# - Numeric identifier such as `5`
|
||||||
|
#
|
||||||
|
# - `action` (see key bindings)
|
||||||
|
#
|
||||||
|
# And optionally:
|
||||||
|
#
|
||||||
|
# - `mods` (see key bindings)
|
||||||
|
#mouse_bindings:
|
||||||
|
# - { mouse: Middle, action: PasteSelection }
|
||||||
|
|
||||||
|
# Key bindings
|
||||||
|
#
|
||||||
|
# Key bindings are specified as a list of objects. For example, this is the
|
||||||
|
# default paste binding:
|
||||||
|
#
|
||||||
|
# `- { key: V, mods: Control|Shift, action: Paste }`
|
||||||
|
#
|
||||||
|
# Each key binding will specify a:
|
||||||
|
#
|
||||||
|
# - `key`: Identifier of the key pressed
|
||||||
|
#
|
||||||
|
# - A-Z
|
||||||
|
# - F1-F24
|
||||||
|
# - Key0-Key9
|
||||||
|
#
|
||||||
|
# A full list with available key codes can be found here:
|
||||||
|
# https://docs.rs/glutin/*/glutin/event/enum.VirtualKeyCode.html#variants
|
||||||
|
#
|
||||||
|
# Instead of using the name of the keys, the `key` field also supports using
|
||||||
|
# the scancode of the desired key. Scancodes have to be specified as a
|
||||||
|
# decimal number. This command will allow you to display the hex scancodes
|
||||||
|
# for certain keys:
|
||||||
|
#
|
||||||
|
# `showkey --scancodes`.
|
||||||
|
#
|
||||||
|
# Then exactly one of:
|
||||||
|
#
|
||||||
|
# - `chars`: Send a byte sequence to the running application
|
||||||
|
#
|
||||||
|
# The `chars` field writes the specified string to the terminal. This makes
|
||||||
|
# it possible to pass escape sequences. To find escape codes for bindings
|
||||||
|
# like `PageUp` (`"\x1b[5~"`), you can run the command `showkey -a` outside
|
||||||
|
# of tmux. Note that applications use terminfo to map escape sequences back
|
||||||
|
# to keys. It is therefore required to update the terminfo when changing an
|
||||||
|
# escape sequence.
|
||||||
|
#
|
||||||
|
# - `action`: Execute a predefined action
|
||||||
|
#
|
||||||
|
# - Copy
|
||||||
|
# - Paste
|
||||||
|
# - PasteSelection
|
||||||
|
# - IncreaseFontSize
|
||||||
|
# - DecreaseFontSize
|
||||||
|
# - ResetFontSize
|
||||||
|
# - ScrollPageUp
|
||||||
|
# - ScrollPageDown
|
||||||
|
# - ScrollLineUp
|
||||||
|
# - ScrollLineDown
|
||||||
|
# - ScrollToTop
|
||||||
|
# - ScrollToBottom
|
||||||
|
# - ClearHistory
|
||||||
|
# - Hide
|
||||||
|
# - Minimize
|
||||||
|
# - Quit
|
||||||
|
# - ToggleFullscreen
|
||||||
|
# - SpawnNewInstance
|
||||||
|
# - ClearLogNotice
|
||||||
|
# - ReceiveChar
|
||||||
|
# - None
|
||||||
|
#
|
||||||
|
# (macOS only):
|
||||||
|
# - ToggleSimpleFullscreen: Enters fullscreen without occupying another space
|
||||||
|
#
|
||||||
|
# - `command`: Fork and execute a specified command plus arguments
|
||||||
|
#
|
||||||
|
# The `command` field must be a map containing a `program` string and an
|
||||||
|
# `args` array of command line parameter strings. For example:
|
||||||
|
# `{ program: "alacritty", args: ["-e", "vttest"] }`
|
||||||
|
#
|
||||||
|
# And optionally:
|
||||||
|
#
|
||||||
|
# - `mods`: Key modifiers to filter binding actions
|
||||||
|
#
|
||||||
|
# - Command
|
||||||
|
# - Control
|
||||||
|
# - Option
|
||||||
|
# - Super
|
||||||
|
# - Shift
|
||||||
|
# - Alt
|
||||||
|
#
|
||||||
|
# Multiple `mods` can be combined using `|` like this:
|
||||||
|
# `mods: Control|Shift`.
|
||||||
|
# Whitespace and capitalization are relevant and must match the example.
|
||||||
|
#
|
||||||
|
# - `mode`: Indicate a binding for only specific terminal reported modes
|
||||||
|
#
|
||||||
|
# This is mainly used to send applications the correct escape sequences
|
||||||
|
# when in different modes.
|
||||||
|
#
|
||||||
|
# - AppCursor
|
||||||
|
# - AppKeypad
|
||||||
|
# - Alt
|
||||||
|
#
|
||||||
|
# A `~` operator can be used before a mode to apply the binding whenever
|
||||||
|
# the mode is *not* active, e.g. `~Alt`.
|
||||||
|
#
|
||||||
|
# Bindings are always filled by default, but will be replaced when a new
|
||||||
|
# binding with the same triggers is defined. To unset a default binding, it can
|
||||||
|
# be mapped to the `ReceiveChar` action. Alternatively, you can use `None` for
|
||||||
|
# a no-op if you do not wish to receive input characters for that binding.
|
||||||
|
#key_bindings:
|
||||||
|
# (Windows, Linux, and BSD only)
|
||||||
|
#- { key: V, mods: Control|Shift, action: Paste }
|
||||||
|
#- { key: C, mods: Control|Shift, action: Copy }
|
||||||
|
#- { key: Insert, mods: Shift, action: PasteSelection }
|
||||||
|
#- { key: Key0, mods: Control, action: ResetFontSize }
|
||||||
|
#- { key: Equals, mods: Control, action: IncreaseFontSize }
|
||||||
|
#- { key: Add, mods: Control, action: IncreaseFontSize }
|
||||||
|
#- { key: Subtract, mods: Control, action: DecreaseFontSize }
|
||||||
|
#- { key: Minus, mods: Control, action: DecreaseFontSize }
|
||||||
|
|
||||||
|
# (Windows only)
|
||||||
|
#- { key: Return, mods: Alt, action: ToggleFullscreen }
|
||||||
|
|
||||||
|
# (macOS only)
|
||||||
|
#- { key: Key0, mods: Command, action: ResetFontSize }
|
||||||
|
#- { key: Equals, mods: Command, action: IncreaseFontSize }
|
||||||
|
#- { key: Add, mods: Command, action: IncreaseFontSize }
|
||||||
|
#- { key: Minus, mods: Command, action: DecreaseFontSize }
|
||||||
|
#- { key: K, mods: Command, action: ClearHistory }
|
||||||
|
#- { key: K, mods: Command, chars: "\x0c" }
|
||||||
|
#- { key: V, mods: Command, action: Paste }
|
||||||
|
#- { key: C, mods: Command, action: Copy }
|
||||||
|
#- { key: H, mods: Command, action: Hide }
|
||||||
|
#- { key: M, mods: Command, action: Minimize }
|
||||||
|
#- { key: Q, mods: Command, action: Quit }
|
||||||
|
#- { key: W, mods: Command, action: Quit }
|
||||||
|
#- { key: F, mods: Command|Control, action: ToggleFullscreen }
|
||||||
|
|
||||||
|
#- { key: Paste, action: Paste }
|
||||||
|
#- { key: Copy, action: Copy }
|
||||||
|
#- { key: L, mods: Control, action: ClearLogNotice }
|
||||||
|
#- { key: L, mods: Control, chars: "\x0c" }
|
||||||
|
#- { key: PageUp, mods: Shift, action: ScrollPageUp, mode: ~Alt }
|
||||||
|
#- { key: PageDown, mods: Shift, action: ScrollPageDown, mode: ~Alt }
|
||||||
|
#- { key: Home, mods: Shift, action: ScrollToTop, mode: ~Alt }
|
||||||
|
#- { key: End, mods: Shift, action: ScrollToBottom, mode: ~Alt }
|
|
@ -0,0 +1,36 @@
|
||||||
|
# Base16 Atlas - alacritty color config
|
||||||
|
# Alex Lende (https://ajlende.com)
|
||||||
|
colors:
|
||||||
|
# Default colors
|
||||||
|
primary:
|
||||||
|
background: '0x002635'
|
||||||
|
foreground: '0xa1a19a'
|
||||||
|
|
||||||
|
# Colors the cursor will use if `custom_cursor_colors` is true
|
||||||
|
cursor:
|
||||||
|
text: '0x002635'
|
||||||
|
cursor: '0xa1a19a'
|
||||||
|
|
||||||
|
# Normal colors
|
||||||
|
normal:
|
||||||
|
black: '0x002635'
|
||||||
|
red: '0xff5a67'
|
||||||
|
green: '0x7fc06e'
|
||||||
|
yellow: '0xffcc1b'
|
||||||
|
blue: '0x5dd7b9'
|
||||||
|
magenta: '0x9a70a4'
|
||||||
|
cyan: '0x14747e'
|
||||||
|
white: '0xa1a19a'
|
||||||
|
|
||||||
|
# Bright colors
|
||||||
|
bright:
|
||||||
|
black: '0x6c8b91'
|
||||||
|
red: '0xf08e48'
|
||||||
|
green: '0x00384d'
|
||||||
|
yellow: '0x517f8d'
|
||||||
|
blue: '0x869696'
|
||||||
|
magenta: '0xe6e6dc'
|
||||||
|
cyan: '0xc43060'
|
||||||
|
white: '0xfafaf8'
|
||||||
|
|
||||||
|
draw_bold_text_with_bright_colors: false
|
|
@ -0,0 +1,36 @@
|
||||||
|
# Base16 Dracula - alacritty color config
|
||||||
|
# Mike Barkmin (http://github.com/mikebarkmin) based on Dracula Theme (http://github.com/dracula)
|
||||||
|
colors:
|
||||||
|
# Default colors
|
||||||
|
primary:
|
||||||
|
background: '0x282936'
|
||||||
|
foreground: '0xe9e9f4'
|
||||||
|
|
||||||
|
# Colors the cursor will use if `custom_cursor_colors` is true
|
||||||
|
cursor:
|
||||||
|
text: '0x282936'
|
||||||
|
cursor: '0xe9e9f4'
|
||||||
|
|
||||||
|
# Normal colors
|
||||||
|
normal:
|
||||||
|
black: '0x282936'
|
||||||
|
red: '0xea51b2'
|
||||||
|
green: '0xebff87'
|
||||||
|
yellow: '0x00f769'
|
||||||
|
blue: '0x62d6e8'
|
||||||
|
magenta: '0xb45bcf'
|
||||||
|
cyan: '0xa1efe4'
|
||||||
|
white: '0xe9e9f4'
|
||||||
|
|
||||||
|
# Bright colors
|
||||||
|
bright:
|
||||||
|
black: '0x626483'
|
||||||
|
red: '0xb45bcf'
|
||||||
|
green: '0x3a3c4e'
|
||||||
|
yellow: '0x4d4f68'
|
||||||
|
blue: '0x62d6e8'
|
||||||
|
magenta: '0xf1f2f8'
|
||||||
|
cyan: '0x00f769'
|
||||||
|
white: '0xf7f7fb'
|
||||||
|
|
||||||
|
draw_bold_text_with_bright_colors: false
|
|
@ -0,0 +1,42 @@
|
||||||
|
# Base16 Gruvbox dark, soft 256 - alacritty color config
|
||||||
|
# Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox)
|
||||||
|
colors:
|
||||||
|
# Default colors
|
||||||
|
primary:
|
||||||
|
background: '0x32302f'
|
||||||
|
foreground: '0xd5c4a1'
|
||||||
|
|
||||||
|
# Colors the cursor will use if `custom_cursor_colors` is true
|
||||||
|
cursor:
|
||||||
|
text: '0x32302f'
|
||||||
|
cursor: '0xd5c4a1'
|
||||||
|
|
||||||
|
# Normal colors
|
||||||
|
normal:
|
||||||
|
black: '0x32302f'
|
||||||
|
red: '0xfb4934'
|
||||||
|
green: '0xb8bb26'
|
||||||
|
yellow: '0xfabd2f'
|
||||||
|
blue: '0x83a598'
|
||||||
|
magenta: '0xd3869b'
|
||||||
|
cyan: '0x8ec07c'
|
||||||
|
white: '0xd5c4a1'
|
||||||
|
|
||||||
|
# Bright colors
|
||||||
|
bright:
|
||||||
|
black: '0x665c54'
|
||||||
|
red: '0xfb4934'
|
||||||
|
green: '0xb8bb26'
|
||||||
|
yellow: '0xfabd2f'
|
||||||
|
blue: '0x83a598'
|
||||||
|
magenta: '0xd3869b'
|
||||||
|
cyan: '0x8ec07c'
|
||||||
|
white: '0xfbf1c7'
|
||||||
|
|
||||||
|
indexed_colors:
|
||||||
|
- { index: 16, color: '0xfe8019' }
|
||||||
|
- { index: 17, color: '0xd65d0e' }
|
||||||
|
- { index: 18, color: '0x3c3836' }
|
||||||
|
- { index: 19, color: '0x504945' }
|
||||||
|
- { index: 20, color: '0xbdae93' }
|
||||||
|
- { index: 21, color: '0xebdbb2' }
|
|
@ -0,0 +1,36 @@
|
||||||
|
# Base16 Gruvbox dark, soft - alacritty color config
|
||||||
|
# Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox)
|
||||||
|
colors:
|
||||||
|
# Default colors
|
||||||
|
primary:
|
||||||
|
background: '0x32302f'
|
||||||
|
foreground: '0xd5c4a1'
|
||||||
|
|
||||||
|
# Colors the cursor will use if `custom_cursor_colors` is true
|
||||||
|
cursor:
|
||||||
|
text: '0x32302f'
|
||||||
|
cursor: '0xd5c4a1'
|
||||||
|
|
||||||
|
# Normal colors
|
||||||
|
normal:
|
||||||
|
black: '0x32302f'
|
||||||
|
red: '0xfb4934'
|
||||||
|
green: '0xb8bb26'
|
||||||
|
yellow: '0xfabd2f'
|
||||||
|
blue: '0x83a598'
|
||||||
|
magenta: '0xd3869b'
|
||||||
|
cyan: '0x8ec07c'
|
||||||
|
white: '0xd5c4a1'
|
||||||
|
|
||||||
|
# Bright colors
|
||||||
|
bright:
|
||||||
|
black: '0x665c54'
|
||||||
|
red: '0xfe8019'
|
||||||
|
green: '0x3c3836'
|
||||||
|
yellow: '0x504945'
|
||||||
|
blue: '0xbdae93'
|
||||||
|
magenta: '0xebdbb2'
|
||||||
|
cyan: '0xd65d0e'
|
||||||
|
white: '0xfbf1c7'
|
||||||
|
|
||||||
|
draw_bold_text_with_bright_colors: false
|
|
@ -0,0 +1,96 @@
|
||||||
|
colors:
|
||||||
|
# Default colors
|
||||||
|
primary:
|
||||||
|
background: '0x282a36'
|
||||||
|
foreground: '0xf8f8f2'
|
||||||
|
|
||||||
|
# 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: '0x9a9a9a'
|
||||||
|
#bright_foreground: '0xffffff'
|
||||||
|
|
||||||
|
# Cursor colors
|
||||||
|
#
|
||||||
|
# Colors which should be used to draw the terminal cursor. If these are unset,
|
||||||
|
# the cursor color will be the inverse of the cell color.
|
||||||
|
#cursor:
|
||||||
|
# text: '0x000000'
|
||||||
|
# cursor: '0xffffff'
|
||||||
|
|
||||||
|
# Selection colors
|
||||||
|
#
|
||||||
|
# Colors which should be used to draw the selection area. If selection
|
||||||
|
# background is unset, selection color will be the inverse of the cell colors.
|
||||||
|
# If only text is unset the cell text color will remain the same.
|
||||||
|
#selection:
|
||||||
|
# text: '0xeaeaea'
|
||||||
|
# background: '0x404040'
|
||||||
|
|
||||||
|
# Normal colors
|
||||||
|
#normal:
|
||||||
|
# black: '0x000000'
|
||||||
|
# red: '0xd54e53'
|
||||||
|
# green: '0xb9ca4a'
|
||||||
|
# yellow: '0xe6c547'
|
||||||
|
# blue: '0x7aa6da'
|
||||||
|
# magenta: '0xc397d8'
|
||||||
|
# cyan: '0x70c0ba'
|
||||||
|
# white: '0xeaeaea'
|
||||||
|
|
||||||
|
# Bright colors
|
||||||
|
#bright:
|
||||||
|
# black: '0x666666'
|
||||||
|
# red: '0xff3334'
|
||||||
|
# green: '0x9ec400'
|
||||||
|
# yellow: '0xe7c547'
|
||||||
|
# blue: '0x7aa6da'
|
||||||
|
# magenta: '0xb77ee0'
|
||||||
|
# cyan: '0x54ced6'
|
||||||
|
# white: '0xffffff'
|
||||||
|
|
||||||
|
#dracula
|
||||||
|
normal:
|
||||||
|
black: '0x000000'
|
||||||
|
red: '0xff5555'
|
||||||
|
green: '0x50fa7b'
|
||||||
|
yellow: '0xf1fa8c'
|
||||||
|
blue: '0xbd93f9'
|
||||||
|
magenta: '0xff79c6'
|
||||||
|
cyan: '0x8be9fd'
|
||||||
|
white: '0xbbbbbb'
|
||||||
|
bright:
|
||||||
|
black: '0x44475a'
|
||||||
|
red: '0xff5555'
|
||||||
|
green: '0x50fa7b'
|
||||||
|
yellow: '0xf1fa8c'
|
||||||
|
blue: '0xbd93f9'
|
||||||
|
magenta: '0xff79c6'
|
||||||
|
cyan: '0x8be9fd'
|
||||||
|
white: '0xffffff'
|
||||||
|
|
||||||
|
# Dim colors
|
||||||
|
#
|
||||||
|
# If the dim colors are not set, they will be calculated automatically based
|
||||||
|
# on the `normal` colors.
|
||||||
|
#dim:
|
||||||
|
# black: '0x000000'
|
||||||
|
# red: '0x8c3336'
|
||||||
|
# green: '0x7a8530'
|
||||||
|
# yellow: '0x97822e'
|
||||||
|
# blue: '0x506d8f'
|
||||||
|
# magenta: '0x80638e'
|
||||||
|
# cyan: '0x497e7a'
|
||||||
|
# white: '0x9a9a9a'
|
||||||
|
|
||||||
|
# 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: '0xff00ff' }`
|
||||||
|
#
|
||||||
|
#indexed_colors: []
|
|
@ -0,0 +1,66 @@
|
||||||
|
#better commands
|
||||||
|
alias ls="ls -hN --color=auto --group-directories-first"
|
||||||
|
alias wget='wget --hsts-file ~/.config/wget/wget-hsts'
|
||||||
|
|
||||||
|
#git
|
||||||
|
alias gs='git status | less'
|
||||||
|
|
||||||
|
#xbps
|
||||||
|
#alias xi='sudo xbps-install'
|
||||||
|
#alias xq='xbps-query'
|
||||||
|
#alias xr='sudo xbps-remove'
|
||||||
|
|
||||||
|
alias vim='nvim'
|
||||||
|
alias mbsync="mbsync -c $HOME/.config/mbsync/config"
|
||||||
|
|
||||||
|
#alias setwp='wal -s -t -e -i '
|
||||||
|
|
||||||
|
#shortend commands
|
||||||
|
alias btc='bluetoothctl'
|
||||||
|
|
||||||
|
#sfeed
|
||||||
|
alias sf='sfeed_curses ~/.local/share/sfeed/feeds/*'
|
||||||
|
alias sfu='sfeed_update ~/.config/sfeed/sfeedrc'
|
||||||
|
alias sfc='rm -r ~/.local/share/sfeed/feeds/*'
|
||||||
|
alias sfe='$EDITOR ~/.config/sfeed/sfeedrc'
|
||||||
|
|
||||||
|
|
||||||
|
#alias mocp='mocp -M ~/.config/moc/' #-T transparent-background'
|
||||||
|
#alias glrun='proot -r ~/.local/share/void-glibc -b /home/'
|
||||||
|
alias mpvyl='mpv --ytdl-format=18 '
|
||||||
|
|
||||||
|
#system power
|
||||||
|
alias poweroff='sudo poweroff'
|
||||||
|
alias reboot='sudo reboot'
|
||||||
|
alias shutdown='sudo shutdown'
|
||||||
|
|
||||||
|
#programs
|
||||||
|
alias trc='tremc -c @192.168.1.162:9091'
|
||||||
|
alias pm='pulsemixer'
|
||||||
|
|
||||||
|
#Youtube
|
||||||
|
alias yv='pipe-viewer --resolution=480p'
|
||||||
|
alias yd='youtube-dl'
|
||||||
|
|
||||||
|
#dotfiles configuration alias
|
||||||
|
alias config='git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
|
||||||
|
|
||||||
|
alias chrome='firejail chromium --ozone-platform-hint=auto'
|
||||||
|
|
||||||
|
note() {
|
||||||
|
NOTEFILE="$HOME/.cache/notes"
|
||||||
|
if [ "$#" -lt 1 ]; then
|
||||||
|
cat "$NOTEFILE"
|
||||||
|
elif [ "$1" = "-e" ]; then
|
||||||
|
$EDITOR "$NOTEFILE"
|
||||||
|
elif [ "$1" = "-h" ]; then
|
||||||
|
echo " usage: note this is a note"
|
||||||
|
echo " the line: \"this is a note\" is stored as a line in the file $NOTEFILE"
|
||||||
|
echo ""
|
||||||
|
echo " run this without arguments to view the contents of $NOTEFILE"
|
||||||
|
echo " -e -> edit note file with \$EDITOR"
|
||||||
|
echo " -h -> print this help menu"
|
||||||
|
else
|
||||||
|
echo "$@" >> "$NOTEFILE"
|
||||||
|
fi
|
||||||
|
}
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#generated from: /home/alex/.config/bemenu/colors/base16-nord
|
||||||
|
export BEMENU_OPTS="-H 22 --nb #2E3440 --nf #EBCB8B --hb #2E3440 --hf #ECEFF4 --sb #3B4252 --sf #ECEFF4 --tb #2E3440 --tf #EBCB8B --fb #2E3440 --ff #ffffff"
|
|
@ -0,0 +1,16 @@
|
||||||
|
#002635
|
||||||
|
#00384d
|
||||||
|
#517F8D
|
||||||
|
#6C8B91
|
||||||
|
#869696
|
||||||
|
#a1a19a
|
||||||
|
#e6e6dc
|
||||||
|
#fafaf8
|
||||||
|
#ff5a67
|
||||||
|
#f08e48
|
||||||
|
#ffcc1b
|
||||||
|
#7fc06e
|
||||||
|
#14747e
|
||||||
|
#5dd7b9
|
||||||
|
#9a70a4
|
||||||
|
#c43060
|
|
@ -0,0 +1,16 @@
|
||||||
|
#1d2021
|
||||||
|
#3c3836
|
||||||
|
#504945
|
||||||
|
#665c54
|
||||||
|
#bdae93
|
||||||
|
#d5c4a1
|
||||||
|
#ebdbb2
|
||||||
|
#fbf1c7
|
||||||
|
#fb4934
|
||||||
|
#fe8019
|
||||||
|
#fabd2f
|
||||||
|
#b8bb26
|
||||||
|
#8ec07c
|
||||||
|
#83a598
|
||||||
|
#d3869b
|
||||||
|
#d65d0e
|
|
@ -0,0 +1,16 @@
|
||||||
|
#2E3440
|
||||||
|
#3B4252
|
||||||
|
#434C5E
|
||||||
|
#4C566A
|
||||||
|
#D8DEE9
|
||||||
|
#E5E9F0
|
||||||
|
#ECEFF4
|
||||||
|
#8FBCBB
|
||||||
|
#BF616A
|
||||||
|
#D08770
|
||||||
|
#EBCB8B
|
||||||
|
#A3BE8C
|
||||||
|
#88C0D0
|
||||||
|
#81A1C1
|
||||||
|
#B48EAD
|
||||||
|
#5E81AC
|
|
@ -0,0 +1,16 @@
|
||||||
|
#002635
|
||||||
|
#00384d
|
||||||
|
#517F8D
|
||||||
|
#6C8B91
|
||||||
|
#869696
|
||||||
|
#a1a19a
|
||||||
|
#e6e6dc
|
||||||
|
#fafaf8
|
||||||
|
#ff5a67
|
||||||
|
#f08e48
|
||||||
|
#ffcc1b
|
||||||
|
#7fc06e
|
||||||
|
#14747e
|
||||||
|
#5dd7b9
|
||||||
|
#9a70a4
|
||||||
|
#c43060
|
|
@ -0,0 +1,16 @@
|
||||||
|
#1d2021
|
||||||
|
#3c3836
|
||||||
|
#504945
|
||||||
|
#665c54
|
||||||
|
#bdae93
|
||||||
|
#d5c4a1
|
||||||
|
#ebdbb2
|
||||||
|
#fbf1c7
|
||||||
|
#fb4934
|
||||||
|
#fe8019
|
||||||
|
#fabd2f
|
||||||
|
#b8bb26
|
||||||
|
#8ec07c
|
||||||
|
#83a598
|
||||||
|
#d3869b
|
||||||
|
#d65d0e
|
|
@ -0,0 +1,16 @@
|
||||||
|
#2E3440
|
||||||
|
#3B4252
|
||||||
|
#434C5E
|
||||||
|
#4C566A
|
||||||
|
#D8DEE9
|
||||||
|
#E5E9F0
|
||||||
|
#ECEFF4
|
||||||
|
#8FBCBB
|
||||||
|
#BF616A
|
||||||
|
#D08770
|
||||||
|
#EBCB8B
|
||||||
|
#A3BE8C
|
||||||
|
#88C0D0
|
||||||
|
#81A1C1
|
||||||
|
#B48EAD
|
||||||
|
#5E81AC
|
|
@ -0,0 +1,76 @@
|
||||||
|
<?xml version='1.0'?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
|
||||||
|
<fontconfig>
|
||||||
|
|
||||||
|
<!-- Set preferred serif, sans serif, and monospace fonts. -->
|
||||||
|
<alias>
|
||||||
|
<family>Serif</family>
|
||||||
|
<prefer><family>Linux Libertine</family></prefer>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>sans-serif</family>
|
||||||
|
<prefer><family>Linux Biolinum</family></prefer>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>sans</family>
|
||||||
|
<prefer><family>Linux Biolinum</family></prefer>
|
||||||
|
</alias>
|
||||||
|
<alias>
|
||||||
|
<family>monospace</family>
|
||||||
|
<prefer><family>Mononoki Nerd Font</family></prefer>
|
||||||
|
<!-- <prefer><family>Terminus (TTF)</family></prefer> -->
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
<!-- Aliases for commonly used MS fonts. -->
|
||||||
|
<match>
|
||||||
|
<test name="family"><string>Arial</string></test>
|
||||||
|
<edit name="family" mode="assign" binding="strong">
|
||||||
|
<string>Linux Biolinum</string>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
<match>
|
||||||
|
<test name="family"><string>Helvetica</string></test>
|
||||||
|
<edit name="family" mode="assign" binding="strong">
|
||||||
|
<string>Linux Biolinum</string>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
<match>
|
||||||
|
<test name="family"><string>Verdana</string></test>
|
||||||
|
<edit name="family" mode="assign" binding="strong">
|
||||||
|
<string>Linux Biolinum</string>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
<match>
|
||||||
|
<test name="family"><string>Tahoma</string></test>
|
||||||
|
<edit name="family" mode="assign" binding="strong">
|
||||||
|
<string>Linux Biolinum</string>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
<match>
|
||||||
|
<!-- Insert joke here -->
|
||||||
|
<test name="family"><string>Comic Sans MS</string></test>
|
||||||
|
<edit name="family" mode="assign" binding="strong">
|
||||||
|
<string>Linux Biolinum</string>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
<match>
|
||||||
|
<test name="family"><string>Times New Roman</string></test>
|
||||||
|
<edit name="family" mode="assign" binding="strong">
|
||||||
|
<string>Linux Libertine</string>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
<match>
|
||||||
|
<test name="family"><string>Times</string></test>
|
||||||
|
<edit name="family" mode="assign" binding="strong">
|
||||||
|
<string>Linux Libertine</string>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
<match>
|
||||||
|
<test name="family"><string>Courier New</string></test>
|
||||||
|
<edit name="family" mode="assign" binding="strong">
|
||||||
|
<string>Mononoki Nerd Font</string>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
|
||||||
|
</fontconfig>
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
[Filechooser Settings]
|
||||||
|
LocationMode=path-bar
|
||||||
|
ShowHidden=true
|
||||||
|
ShowSizeColumn=true
|
||||||
|
GeometryX=512
|
||||||
|
GeometryY=194
|
||||||
|
GeometryWidth=792
|
||||||
|
GeometryHeight=702
|
||||||
|
SortColumn=name
|
||||||
|
SortOrder=ascending
|
||||||
|
StartupMode=recent
|
|
@ -0,0 +1,19 @@
|
||||||
|
# DO NOT EDIT! This file will be overwritten by LXAppearance.
|
||||||
|
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
|
||||||
|
|
||||||
|
include "/home/alex/.gtkrc-2.0.mine"
|
||||||
|
gtk-theme-name="Nordic-standard-buttons"
|
||||||
|
gtk-icon-theme-name="Papirus-Dark"
|
||||||
|
gtk-font-name="Sans 10"
|
||||||
|
gtk-cursor-theme-name="Adwaita"
|
||||||
|
gtk-cursor-theme-size=0
|
||||||
|
gtk-toolbar-style=GTK_TOOLBAR_BOTH
|
||||||
|
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
||||||
|
gtk-button-images=1
|
||||||
|
gtk-menu-images=1
|
||||||
|
gtk-enable-event-sounds=1
|
||||||
|
gtk-enable-input-feedback-sounds=1
|
||||||
|
gtk-xft-antialias=1
|
||||||
|
gtk-xft-hinting=1
|
||||||
|
gtk-xft-hintstyle="hintslight"
|
||||||
|
gtk-xft-rgba="rgb"
|
|
@ -0,0 +1,16 @@
|
||||||
|
[Settings]
|
||||||
|
gtk-theme-name=Nordic-standard-buttons
|
||||||
|
gtk-icon-theme-name=Papirus-Dark
|
||||||
|
gtk-font-name=Sans 10
|
||||||
|
gtk-cursor-theme-size=0
|
||||||
|
gtk-toolbar-style=GTK_TOOLBAR_ICONS
|
||||||
|
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
||||||
|
gtk-button-images=1
|
||||||
|
gtk-menu-images=0
|
||||||
|
gtk-enable-event-sounds=1
|
||||||
|
gtk-enable-input-feedback-sounds=1
|
||||||
|
gtk-xft-antialias=1
|
||||||
|
gtk-xft-hinting=1
|
||||||
|
gtk-xft-hintstyle=hintslight
|
||||||
|
gtk-xft-rgba=rgb
|
||||||
|
gtk-cursor-theme-name=Adwaita
|
|
@ -0,0 +1 @@
|
||||||
|
$include /etc/inputrc
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,163 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
export LF_ICONS="\
|
||||||
|
di=:\
|
||||||
|
fi=:\
|
||||||
|
ln=:\
|
||||||
|
or=:\
|
||||||
|
ex=:\
|
||||||
|
*.c=:\
|
||||||
|
*.cc=:\
|
||||||
|
*.clj=:\
|
||||||
|
*.coffee=:\
|
||||||
|
*.cpp=:\
|
||||||
|
*.css=:\
|
||||||
|
*.d=:\
|
||||||
|
*.dart=:\
|
||||||
|
*.erl=:\
|
||||||
|
*.exs=:\
|
||||||
|
*.fs=:\
|
||||||
|
*.go=:\
|
||||||
|
*.gitignore=:\
|
||||||
|
*.h=:\
|
||||||
|
*.hh=:\
|
||||||
|
*.hpp=:\
|
||||||
|
*.hs=:\
|
||||||
|
*.html=:\
|
||||||
|
*.java=:\
|
||||||
|
*.jl=:\
|
||||||
|
*.js=:\
|
||||||
|
*.json=:\
|
||||||
|
*.lua=:\
|
||||||
|
*.md=:\
|
||||||
|
*.php=:\
|
||||||
|
*.pl=:\
|
||||||
|
*.pro=:\
|
||||||
|
*.py=:\
|
||||||
|
*.rb=:\
|
||||||
|
*.rs=:\
|
||||||
|
*.scala=:\
|
||||||
|
*.ts=:\
|
||||||
|
*.vim=:\
|
||||||
|
*.cmd=:\
|
||||||
|
*.ps1=:\
|
||||||
|
*.sh=:\
|
||||||
|
*.bash=:\
|
||||||
|
*.zsh=:\
|
||||||
|
*.fish=:\
|
||||||
|
*.tar=:\
|
||||||
|
*.tgz=:\
|
||||||
|
*.arc=:\
|
||||||
|
*.arj=:\
|
||||||
|
*.taz=:\
|
||||||
|
*.lha=:\
|
||||||
|
*.lz4=:\
|
||||||
|
*.lzh=:\
|
||||||
|
*.lzma=:\
|
||||||
|
*.tlz=:\
|
||||||
|
*.txz=:\
|
||||||
|
*.tzo=:\
|
||||||
|
*.t7z=:\
|
||||||
|
*.zip=:\
|
||||||
|
*.z=:\
|
||||||
|
*.dz=:\
|
||||||
|
*.gz=:\
|
||||||
|
*.lrz=:\
|
||||||
|
*.lz=:\
|
||||||
|
*.lzo=:\
|
||||||
|
*.xz=:\
|
||||||
|
*.zst=:\
|
||||||
|
*.tzst=:\
|
||||||
|
*.bz2=:\
|
||||||
|
*.bz=:\
|
||||||
|
*.tbz=:\
|
||||||
|
*.tbz2=:\
|
||||||
|
*.tz=:\
|
||||||
|
*.deb=:\
|
||||||
|
*.rpm=:\
|
||||||
|
*.jar=:\
|
||||||
|
*.war=:\
|
||||||
|
*.ear=:\
|
||||||
|
*.sar=:\
|
||||||
|
*.rar=:\
|
||||||
|
*.alz=:\
|
||||||
|
*.ace=:\
|
||||||
|
*.zoo=:\
|
||||||
|
*.cpio=:\
|
||||||
|
*.7z=:\
|
||||||
|
*.rz=:\
|
||||||
|
*.cab=:\
|
||||||
|
*.wim=:\
|
||||||
|
*.swm=:\
|
||||||
|
*.dwm=:\
|
||||||
|
*.esd=:\
|
||||||
|
*.exe=🍷:\
|
||||||
|
*.jpg=:\
|
||||||
|
*.jpeg=:\
|
||||||
|
*.mjpg=:\
|
||||||
|
*.mjpeg=:\
|
||||||
|
*.gif=:\
|
||||||
|
*.bmp=:\
|
||||||
|
*.pbm=:\
|
||||||
|
*.pgm=:\
|
||||||
|
*.ppm=:\
|
||||||
|
*.tga=:\
|
||||||
|
*.xbm=:\
|
||||||
|
*.xpm=:\
|
||||||
|
*.tif=:\
|
||||||
|
*.tiff=:\
|
||||||
|
*.png=:\
|
||||||
|
*.svg=:\
|
||||||
|
*.svgz=:\
|
||||||
|
*.mng=:\
|
||||||
|
*.pcx=:\
|
||||||
|
*.mov=:\
|
||||||
|
*.mpg=:\
|
||||||
|
*.mpeg=:\
|
||||||
|
*.m2v=:\
|
||||||
|
*.mkv=:\
|
||||||
|
*.webm=:\
|
||||||
|
*.ogm=:\
|
||||||
|
*.mp4=:\
|
||||||
|
*.m4v=:\
|
||||||
|
*.mp4v=:\
|
||||||
|
*.vob=:\
|
||||||
|
*.qt=:\
|
||||||
|
*.nuv=:\
|
||||||
|
*.wmv=:\
|
||||||
|
*.asf=:\
|
||||||
|
*.rm=:\
|
||||||
|
*.rmvb=:\
|
||||||
|
*.flc=:\
|
||||||
|
*.avi=:\
|
||||||
|
*.fli=:\
|
||||||
|
*.flv=:\
|
||||||
|
*.gl=:\
|
||||||
|
*.dl=:\
|
||||||
|
*.xcf=:\
|
||||||
|
*.xwd=:\
|
||||||
|
*.yuv=:\
|
||||||
|
*.cgm=:\
|
||||||
|
*.emf=:\
|
||||||
|
*.ogv=:\
|
||||||
|
*.ogx=:\
|
||||||
|
*.aac=:\
|
||||||
|
*.au=:\
|
||||||
|
*.flac=:\
|
||||||
|
*.m4a=:\
|
||||||
|
*.mid=:\
|
||||||
|
*.midi=:\
|
||||||
|
*.mka=:\
|
||||||
|
*.mp3=:\
|
||||||
|
*.mpc=:\
|
||||||
|
*.ogg=:\
|
||||||
|
*.ra=:\
|
||||||
|
*.wav=:\
|
||||||
|
*.oga=:\
|
||||||
|
*.opus=:\
|
||||||
|
*.spx=:\
|
||||||
|
*.xspf=:\
|
||||||
|
*.pdf=:\
|
||||||
|
*.nix=:\
|
||||||
|
"
|
||||||
|
|
|
@ -0,0 +1,99 @@
|
||||||
|
# interpreter for shell commands (needs to be POSIX compatible)
|
||||||
|
set shell sh
|
||||||
|
|
||||||
|
set color256 true
|
||||||
|
set icons true
|
||||||
|
set ignorecase true
|
||||||
|
#set drawbox true
|
||||||
|
|
||||||
|
|
||||||
|
set previewer ~/.config/lf/pv.sh
|
||||||
|
map i $~/.config/lf/pv.sh $f | less -R
|
||||||
|
|
||||||
|
# set '-eu' options for shell commands
|
||||||
|
# These options are used to have safer shell commands. Option '-e' is used to
|
||||||
|
# exit on error and option '-u' is used to give error for unset variables.
|
||||||
|
# Option '-f' disables pathname expansion which can be useful when $f, $fs, and
|
||||||
|
# $fx variables contain names with '*' or '?' characters. However, this option
|
||||||
|
# is used selectively within individual commands as it can be limiting at
|
||||||
|
# times.
|
||||||
|
set shellopts '-eu'
|
||||||
|
|
||||||
|
# set internal field separator (IFS) to "\n" for shell commands
|
||||||
|
# This is useful to automatically split file names in $fs and $fx properly
|
||||||
|
# since default file separator used in these variables (i.e. 'filesep' option)
|
||||||
|
# is newline. You need to consider the values of these options and create your
|
||||||
|
# commands accordingly.
|
||||||
|
set ifs "\n"
|
||||||
|
|
||||||
|
# leave some space at the top and the bottom of the screen
|
||||||
|
set scrolloff 10
|
||||||
|
|
||||||
|
# use enter for shell commands
|
||||||
|
map <enter> shell
|
||||||
|
|
||||||
|
# execute current file (must be executable)
|
||||||
|
map x $$f
|
||||||
|
map X !$f
|
||||||
|
|
||||||
|
# dedicated keys for file opener actions
|
||||||
|
map o &mimeo $f
|
||||||
|
map O $mimeopen --ask $f
|
||||||
|
|
||||||
|
# define a custom 'open' command
|
||||||
|
# This command is called when current file is not a directory. You may want to
|
||||||
|
# use either file extensions and/or mime types here. Below uses an editor for
|
||||||
|
# text files and a file opener for the rest.
|
||||||
|
cmd open ${{
|
||||||
|
case $(file --mime-type $f -b) in
|
||||||
|
text/*) $EDITOR $fx;;
|
||||||
|
audio/*) mpv --input-ipc-server=/tmp/mpvsoc$(date +%%s) $f ;;
|
||||||
|
application/pdf) setsid zathura $fx >/dev/null 2>&1 & ;;
|
||||||
|
application/zip) setsid unzip -l $f | less;;
|
||||||
|
application/rar) setsid unrar l $f | less;;
|
||||||
|
image/gif) setsid mpv $f --loop=inf ;;
|
||||||
|
image/jpeg) setsid imv $f ;;
|
||||||
|
image/png) setsid imv $f ;;
|
||||||
|
image/*) setsid imv $f ;;
|
||||||
|
video/*) setsid mpv $f --loop=inf ;;
|
||||||
|
application/json) $EDITOR $f;;
|
||||||
|
*) for f in $fx; do setsid $OPENER $f > /dev/null 2> /dev/null & done;;
|
||||||
|
esac
|
||||||
|
}}
|
||||||
|
|
||||||
|
# define a custom 'rename' command without prompt for overwrite
|
||||||
|
# cmd rename %[ -e $1 ] && printf "file exists" || mv $f $1
|
||||||
|
# map r push :rename<space>
|
||||||
|
|
||||||
|
# make sure trash folder exists
|
||||||
|
%mkdir -p ~/.trash
|
||||||
|
|
||||||
|
# move current file or selected files to trash folder
|
||||||
|
# (also see 'man mv' for backup/overwrite options)
|
||||||
|
cmd trash %set -f; mv $fx ~/.trash/
|
||||||
|
|
||||||
|
# define a custom 'delete' command
|
||||||
|
cmd delete ${{
|
||||||
|
set -f
|
||||||
|
printf "$fx\n"
|
||||||
|
printf "delete?[y/n]"
|
||||||
|
read ans
|
||||||
|
[ $ans = "y" ] && rm -rf $fx
|
||||||
|
}}
|
||||||
|
|
||||||
|
# use '<backspace2>' key for either 'trash' or 'delete' command
|
||||||
|
map <backspace2> trash
|
||||||
|
# map <delete> delete
|
||||||
|
|
||||||
|
# extract the current file with the right command
|
||||||
|
# (xkcd link: https://xkcd.com/1168/)
|
||||||
|
cmd extract ${{
|
||||||
|
compress.sh -e "$fx"
|
||||||
|
}}
|
||||||
|
|
||||||
|
cmd compress ${{
|
||||||
|
compress.sh -c "$fx"
|
||||||
|
}}
|
||||||
|
|
||||||
|
map c compress $fx
|
||||||
|
map C extract $f
|
|
@ -0,0 +1,22 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
W="$(($(tput cols)/2 - 10))"
|
||||||
|
#H="$(tput lines)"
|
||||||
|
|
||||||
|
fn="$1"
|
||||||
|
w="$2"
|
||||||
|
h="$3"
|
||||||
|
x="$4"
|
||||||
|
y="$5"
|
||||||
|
|
||||||
|
case "$fn" in
|
||||||
|
*.tar*) tar tf "$1";;
|
||||||
|
*.zip) unzip -l "$1";;
|
||||||
|
*.rar) unrar l "$1";;
|
||||||
|
*.7z) 7z l "$1";;
|
||||||
|
*.jpg | *.JPG | *.jpeg) chafa "$fn" --size="$w"x"$h" ;;#viu -t "$1" -w "$2" ;;
|
||||||
|
*.png | *.svg | *.gif) chafa "$fn" --size="$w"x"$h" ;;
|
||||||
|
*.mp4 | *.mkv | *.webm | *.avi | *.mpg | *.mpeg | *.ogv | *.flv | *.wmv | *.WMV) ffmpegthumbnailer -i "$fn" -c jpeg -o - | chafa - --size="$w"x"$h";;
|
||||||
|
*.pdf) pdftotext "$1" -;;
|
||||||
|
*) bat -f "$1";; #*) highlight -O ansi "$1" || cat "$1";;
|
||||||
|
esac
|
|
@ -0,0 +1,56 @@
|
||||||
|
local modes = require("modes")
|
||||||
|
local settings = require("settings")
|
||||||
|
local downloads = require("downloads")
|
||||||
|
local webview = require("webview")
|
||||||
|
|
||||||
|
---set download dir, and stop prompt for download
|
||||||
|
downloads.default_dir = os.getenv("HOME") .. "/dl"
|
||||||
|
downloads.add_signal("download-location", function (uri, file)
|
||||||
|
luakit.spawn(string.format("notify-send 'Luakit' 'file downloaded to ~/dl/'"))
|
||||||
|
if not file or file == "" then
|
||||||
|
file = (string.match(uri, "/([^/]+)$")
|
||||||
|
or string.match(uri, "^%w+://(.+)")
|
||||||
|
or string.gsub(uri, "/", "_")
|
||||||
|
or "untitled")
|
||||||
|
end
|
||||||
|
return downloads.default_dir .. "/" .. file
|
||||||
|
end)
|
||||||
|
|
||||||
|
---set how to handle various schemes (from luakit FAQ)
|
||||||
|
webview.add_signal("init", function (view)
|
||||||
|
view:add_signal("navigation-request", function (v, uri)
|
||||||
|
---open magnet links with transadd
|
||||||
|
if string.match(string.lower(uri), "^magnet:") then
|
||||||
|
luakit.spawn(string.format("%s %q", "transadd", uri))
|
||||||
|
return false
|
||||||
|
end
|
||||||
|
--- Check URI and open program here
|
||||||
|
end)
|
||||||
|
end)
|
||||||
|
|
||||||
|
|
||||||
|
---set home page
|
||||||
|
settings.window.home_page = os.getenv("HOME") .. "/.config/startpage/index.html"
|
||||||
|
|
||||||
|
|
||||||
|
---open webpage in mpv with: ; + shift + m
|
||||||
|
local video_cmd_fmt = "mpv '%s' --loop"
|
||||||
|
modes.add_binds("ex-follow", {
|
||||||
|
{ "m", "Hint all links and open the video behind that link externally with MPV.",
|
||||||
|
function (w)
|
||||||
|
w:set_mode("follow", {
|
||||||
|
prompt = "open with MPV", selector = "uri", evaluator = "uri",
|
||||||
|
func = function (uri)
|
||||||
|
assert(type(uri) == "string")
|
||||||
|
luakit.spawn(string.format(video_cmd_fmt, uri))
|
||||||
|
w:notify("Launched MPV")
|
||||||
|
end
|
||||||
|
})
|
||||||
|
end },
|
||||||
|
{ "M", "Open the video on the current page externally with MPV.",
|
||||||
|
function (w)
|
||||||
|
local uri = string.gsub(w.view.uri or "", " ", "%%20")
|
||||||
|
luakit.spawn(string.format(video_cmd_fmt, uri))
|
||||||
|
w:notify("Launched MPV")
|
||||||
|
end },
|
||||||
|
})
|
|
@ -0,0 +1 @@
|
||||||
|
1 5 3 r2930
|
Binary file not shown.
|
@ -0,0 +1,690 @@
|
||||||
|
# This is a configuration file for the MOC player. It should be named
|
||||||
|
# 'config' and placed in the ~/.moc directory. As this file can specify
|
||||||
|
# commands which invoke other applications, MOC will refuse to start if it
|
||||||
|
# is not owned by either root or the current user, or if it is writable by
|
||||||
|
# anyone other than its owner. All options are given with their default
|
||||||
|
# values, and therefore commented.
|
||||||
|
|
||||||
|
# Comments begin with '#'.
|
||||||
|
# You can use quotes and escape ('\') in parameters.
|
||||||
|
#
|
||||||
|
# You can have variable values substituted by enclosing the variable name
|
||||||
|
# as "${...}". (This only applies to the portion of the option following
|
||||||
|
# the '='.) Variables are substituted first from the environment then,
|
||||||
|
# if not found, from the configuration options. (Note that the value of
|
||||||
|
# a configuration option substituted is that which it has at the time the
|
||||||
|
# substitution variable is encountered.) If there is a naming conflict
|
||||||
|
# between an environment and configuration variable, you may be able to
|
||||||
|
# resolve it by using lowercase as the environment variable matches are
|
||||||
|
# case-sensitive whereas the configuration variables are not.
|
||||||
|
#
|
||||||
|
# You can also use the form "${...:-...}" where the value in the second
|
||||||
|
# position will be substituted if the variable name given in the first
|
||||||
|
# position is unset or null.
|
||||||
|
#
|
||||||
|
# So, for example:
|
||||||
|
#
|
||||||
|
# MusicDir = /music/${USER:-public}
|
||||||
|
# Fastdir1 = ${MusicDir}/mp3/rock
|
||||||
|
# Fastdir2 = ${MusicDir}/mp3/electronic
|
||||||
|
# Fastdir3 = ${MusicDir}/mp3/rap
|
||||||
|
# Fastdir4 = ${MusicDir}/mp3/etc
|
||||||
|
#
|
||||||
|
# Variable names are limited to those accepted by the BASH shell; that
|
||||||
|
# is, those comprising the upper- and lowercase ASCII characters, digits
|
||||||
|
# and the underscore.
|
||||||
|
#
|
||||||
|
# If you need to use the "${" sequence for any other purpose, write "$${"
|
||||||
|
# and it will be replaced by "${" and not treated as a substitution.
|
||||||
|
#
|
||||||
|
# Some options take lists of strings as their values. The strings are
|
||||||
|
# separated by colons. Additional strings can be appended to the list
|
||||||
|
# using "+=" in place of a plain "=" to assign the value. For an example,
|
||||||
|
# see the XTerms option.
|
||||||
|
#
|
||||||
|
# You can override any configuration option when you run MOC using the
|
||||||
|
# '-O' command line option:
|
||||||
|
#
|
||||||
|
# mocp -O AutoNext=no -O messagelingertime=1 -O XTerms+=xxt:xwt
|
||||||
|
#
|
||||||
|
# This command line option can be repeated as many times as needed and
|
||||||
|
# the configuration option name is not case sensitive. (Note that MOC
|
||||||
|
# does not perform variable substitution on the value of such overridden
|
||||||
|
# configuration options.) Most option values are set before the
|
||||||
|
# configuration file is processed (which allows the new values to be
|
||||||
|
# picked up by substitutions), however list-valued options are overridden
|
||||||
|
# afterwards (which gives the choice of whether the configured values are
|
||||||
|
# replaced or added to).
|
||||||
|
|
||||||
|
# Remember that the client and server are separate processes and the
|
||||||
|
# server will retain the configuration values formed from the environment
|
||||||
|
# within which it was originally started.
|
||||||
|
|
||||||
|
# Show file titles (title, author, album) instead of file names?
|
||||||
|
#ReadTags = yes
|
||||||
|
|
||||||
|
# In which directory do you store your music files? If you specify it
|
||||||
|
# you will be able to jump straight to this directory with the '-m'
|
||||||
|
# parameter or the 'm' command. This can also point to a playlist.
|
||||||
|
#
|
||||||
|
# Example: MusicDir = "/home/joe/music"
|
||||||
|
#
|
||||||
|
MusicDir = $HOME/media/audio/
|
||||||
|
|
||||||
|
# Start in the music directory by default? If set to 'no', start
|
||||||
|
# in the current directory by default. A single directory on
|
||||||
|
# the command line takes precedence.
|
||||||
|
#StartInMusicDir = no
|
||||||
|
|
||||||
|
# How to sort? FileName is the option's only value for now.
|
||||||
|
#Sort = FileName
|
||||||
|
|
||||||
|
# Show errors in the streams (for example, broken frames in MP3 files)?
|
||||||
|
#ShowStreamErrors = no
|
||||||
|
|
||||||
|
# Ignore CRC errors in MP3 files? Most players do that, so the default
|
||||||
|
# value is 'yes'.
|
||||||
|
#MP3IgnoreCRCErrors = yes
|
||||||
|
|
||||||
|
# Set playback toggles.
|
||||||
|
#Repeat = no
|
||||||
|
#Shuffle = no
|
||||||
|
#AutoNext = yes
|
||||||
|
|
||||||
|
# Default FormatString:
|
||||||
|
#
|
||||||
|
# %n - Track number
|
||||||
|
# %a - Artist
|
||||||
|
# %A - Album
|
||||||
|
# %t - Title
|
||||||
|
# %(X:TRUE:FALSE) - Ternary expression: if X exists, do TRUE,
|
||||||
|
# otherwise FALSE. The escape character must
|
||||||
|
# be doubled (i.e., '\\'). (See zshmisc
|
||||||
|
# documentation for more information.)
|
||||||
|
#
|
||||||
|
#FormatString = "%(n:%n :)%(a:%a - :)%(t:%t:)%(A: \(%A\):)"
|
||||||
|
|
||||||
|
# Input and output buffer sizes (in kilobytes).
|
||||||
|
#InputBuffer = 512 # Minimum value is 32KB
|
||||||
|
#OutputBuffer = 512 # Minimum value is 128KB
|
||||||
|
|
||||||
|
# How much to fill the input buffer before playing (in kilobytes)?
|
||||||
|
# This can't be greater than the value of InputBuffer. While this has
|
||||||
|
# a positive effect for network streams, it also causes the broadcast
|
||||||
|
# audio to be delayed.
|
||||||
|
#Prebuffering = 64
|
||||||
|
|
||||||
|
# Use this HTTP proxy server for internet streams. If not set, the
|
||||||
|
# environment variables http_proxy and ALL_PROXY will be used if present.
|
||||||
|
#
|
||||||
|
# Format: HTTPProxy = PROXY_NAME:PORT
|
||||||
|
#
|
||||||
|
#HTTPProxy =
|
||||||
|
|
||||||
|
# Sound driver - OSS, ALSA, JACK, SNDIO (on OpenBSD) or null (only for
|
||||||
|
# debugging). You can enter more than one driver as a colon-separated
|
||||||
|
# list. The first working driver will be used.
|
||||||
|
#SoundDriver = JACK:ALSA:OSS
|
||||||
|
|
||||||
|
# Jack output settings.
|
||||||
|
#JackClientName = "moc"
|
||||||
|
#JackStartServer = no
|
||||||
|
#JackOutLeft = "system:playback_1"
|
||||||
|
#JackOutRight = "system:playback_2"
|
||||||
|
|
||||||
|
# OSS output settings.
|
||||||
|
#OSSDevice = /dev/dsp
|
||||||
|
#OSSMixerDevice = /dev/mixer
|
||||||
|
#OSSMixerChannel1 = pcm # 'pcm', 'master' or 'speaker'
|
||||||
|
#OSSMixerChannel2 = master # 'pcm', 'master' or 'speaker'
|
||||||
|
|
||||||
|
# ALSA output settings. If you need to dump the audio produced by MOC
|
||||||
|
# to a file for diagnostic purposes, the following setting of 'ALSADevice'
|
||||||
|
# should do that:
|
||||||
|
#
|
||||||
|
# ALSADevice=tee:hw,'/tmp/out.wav',wav
|
||||||
|
#
|
||||||
|
#ALSADevice = default
|
||||||
|
#ALSAMixer1 = PCM
|
||||||
|
#ALSAMixer2 = Master
|
||||||
|
|
||||||
|
# Under some circumstances on 32-bit systems, audio played continously
|
||||||
|
# for long periods of time may begin to stutter. Setting this option to
|
||||||
|
# 'yes' will force MOC to avoid ALSA's dmix resampling and prevent this
|
||||||
|
# stutter. But it also has other implications:
|
||||||
|
#
|
||||||
|
# - You may experience unacceptably high CPU load.
|
||||||
|
# - ALSA's resampler plug-ins will not be used.
|
||||||
|
# - The resampling may be of lower quality than ALSA would provide.
|
||||||
|
# - You may need to try different "ResampleMethod" option settings.
|
||||||
|
# - The "ForceSampleRate" option may be ineffective.
|
||||||
|
# - If libsamplerate is not configured, many audios may be unplayable.
|
||||||
|
#
|
||||||
|
#ALSAStutterDefeat = no
|
||||||
|
|
||||||
|
# Save software mixer state?
|
||||||
|
# If enabled, a file 'softmixer' will be created in '~/.moc/' storing the
|
||||||
|
# mixersetting set when the server is shut down.
|
||||||
|
# Note that there is a "hidden" 'Amplification' setting in that file.
|
||||||
|
# Amplification (0-200) is used to scale the mixer setting (0-100). This
|
||||||
|
# results in a higher signal amplitude but may also produce clipping.
|
||||||
|
#Softmixer_SaveState = yes
|
||||||
|
|
||||||
|
# Save equalizer state?
|
||||||
|
# If enabled, a file 'equalizer' will be created in '~/.moc/' storing the
|
||||||
|
# equalizer settings when the server is shut down.
|
||||||
|
# Note that there is a "hidden" 'Mixin' setting in that file.
|
||||||
|
# Mixin (0.0-1.0) is used to determine how much of the original signal is
|
||||||
|
# used after equalizing. 0 means to only use the equalized sound, while 1
|
||||||
|
# effectively disabled the mixer. The default is 0.25.
|
||||||
|
#Equalizer_SaveState = yes
|
||||||
|
|
||||||
|
# Show files with dot at the beginning?
|
||||||
|
#ShowHiddenFiles = no
|
||||||
|
|
||||||
|
# Hide file name extensions?
|
||||||
|
#HideFileExtension = no
|
||||||
|
|
||||||
|
# Show file format in menu?
|
||||||
|
#ShowFormat = yes
|
||||||
|
|
||||||
|
# Show file time in menu? Possible values: 'yes', 'no' and 'IfAvailable'
|
||||||
|
# (meaning show the time only when it is already known, which often works
|
||||||
|
# faster).
|
||||||
|
#ShowTime = IfAvailable
|
||||||
|
|
||||||
|
# Show time played as a percentage in the time progress bar.
|
||||||
|
#ShowTimePercent = no
|
||||||
|
|
||||||
|
# Values of the TERM environment variable which are deemed to be managed by
|
||||||
|
# screen(1). If you are setting a specific terminal using screen(1)'s
|
||||||
|
# '-T <term>' option, then you will need to add 'screen.<term>' to this list.
|
||||||
|
# Note that this is only a partial test; the value of the WINDOW environment
|
||||||
|
# variable must also be a number (which screen(1) sets).
|
||||||
|
#ScreenTerms = screen:screen-w:vt100
|
||||||
|
|
||||||
|
# Values of the TERM environment variable which are deemed to be xterms. If
|
||||||
|
# you are using MOC within screen(1) under an xterm, then add screen(1)'s
|
||||||
|
# TERM setting here as well to cause MOC to update the xterm's title.
|
||||||
|
#XTerms = xterm
|
||||||
|
#XTerms += xterm-colour:xterm-color
|
||||||
|
#XTerms += xterm-256colour:xterm-256color
|
||||||
|
#XTerms += rxvt:rxvt-unicode
|
||||||
|
#XTerms += rxvt-unicode-256colour:rxvt-unicode-256color
|
||||||
|
#XTerms += eterm
|
||||||
|
|
||||||
|
# Theme file to use. This can be absolute path or relative to
|
||||||
|
# /usr/share/moc/themes/ (depends on installation prefix) or
|
||||||
|
# ~/.moc/themes/ .
|
||||||
|
#
|
||||||
|
# Example: Theme = laras_theme
|
||||||
|
#
|
||||||
|
Theme = transparent-background
|
||||||
|
|
||||||
|
# The theme used when running on an xterm.
|
||||||
|
#
|
||||||
|
# Example: XTermTheme = transparent-background
|
||||||
|
#
|
||||||
|
#XTermTheme =
|
||||||
|
|
||||||
|
# Should MOC try to autoload the default lyrics file for an audio? (The
|
||||||
|
# default lyrics file is a text file with the same file name as the audio
|
||||||
|
# file name with any trailing "extension" removed.)
|
||||||
|
#AutoLoadLyrics = yes
|
||||||
|
|
||||||
|
# MOC directory (where pid file, socket and state files are stored).
|
||||||
|
# You can use ~ at the beginning.
|
||||||
|
#MOCDir = ~/.moc
|
||||||
|
|
||||||
|
# Use mmap() to read files. mmap() is much slower on NFS.
|
||||||
|
#UseMMap = no
|
||||||
|
|
||||||
|
# Use MIME to identify audio files. This can make for slower loading
|
||||||
|
# of playlists but is more accurate than using "extensions".
|
||||||
|
#UseMimeMagic = no
|
||||||
|
|
||||||
|
# Assume this encoding for ID3 version 1/1.1 tags (MP3 files). Unlike
|
||||||
|
# ID3v2, UTF-8 is not used here and MOC can't guess how tags are encoded.
|
||||||
|
# Another solution is using librcc (see the next option). This option is
|
||||||
|
# ignored if UseRCC is set to 'yes'.
|
||||||
|
#ID3v1TagsEncoding = WINDOWS-1250
|
||||||
|
|
||||||
|
# Use librcc to fix ID3 version 1/1.1 tags encoding.
|
||||||
|
#UseRCC = yes
|
||||||
|
|
||||||
|
# Use librcc to filenames and directory names encoding.
|
||||||
|
#UseRCCForFilesystem = yes
|
||||||
|
|
||||||
|
# When this option is set the player assumes that if the encoding of
|
||||||
|
# ID3v2 is set to ISO-8859-1 then the ID3v1TagsEncoding is actually
|
||||||
|
# that and applies appropriate conversion.
|
||||||
|
#EnforceTagsEncoding = no
|
||||||
|
|
||||||
|
# Enable the conversion of filenames from the local encoding to UTF-8.
|
||||||
|
#FileNamesIconv = no
|
||||||
|
|
||||||
|
# Enable the conversion of the xterm title from UTF-8 to the local encoding.
|
||||||
|
#NonUTFXterm = no
|
||||||
|
|
||||||
|
# Should MOC precache files to assist gapless playback?
|
||||||
|
#Precache = yes
|
||||||
|
|
||||||
|
# Remember the playlist after exit?
|
||||||
|
#SavePlaylist = yes
|
||||||
|
|
||||||
|
# When using more than one client (interface) at a time, do they share
|
||||||
|
# the playlist?
|
||||||
|
#SyncPlaylist = yes
|
||||||
|
|
||||||
|
# Choose a keymap file (relative to '~/.moc/' or using an absolute path).
|
||||||
|
# An annotated example keymap file is included ('keymap.example').
|
||||||
|
#
|
||||||
|
# Example: Keymap = my_keymap
|
||||||
|
#
|
||||||
|
#Keymap =
|
||||||
|
|
||||||
|
# Use ASCII rather than graphic characters for drawing lines. This
|
||||||
|
# helps on some terminals.
|
||||||
|
#ASCIILines = no
|
||||||
|
|
||||||
|
# FastDirs, these allow you to jump directly to a directory, the key
|
||||||
|
# bindings are in the keymap file.
|
||||||
|
#
|
||||||
|
# Examples: Fastdir1 = /mp3/rock
|
||||||
|
# Fastdir2 = /mp3/electronic
|
||||||
|
# Fastdir3 = /mp3/rap
|
||||||
|
# Fastdir4 = /mp3/etc
|
||||||
|
#
|
||||||
|
#Fastdir1 =
|
||||||
|
#Fastdir2 =
|
||||||
|
#Fastdir3 =
|
||||||
|
#Fastdir4 =
|
||||||
|
#Fastdir5 =
|
||||||
|
#Fastdir6 =
|
||||||
|
#Fastdir7 =
|
||||||
|
#Fastdir8 =
|
||||||
|
#Fastdir9 =
|
||||||
|
#Fastdir10 =
|
||||||
|
|
||||||
|
# How fast to seek (in number of seconds per keystroke). The first
|
||||||
|
# option is for normal seek and the second for silent seek.
|
||||||
|
#SeekTime = 1
|
||||||
|
#SilentSeekTime = 5
|
||||||
|
|
||||||
|
# PreferredDecoders allows you to specify which decoder should be used
|
||||||
|
# for any given audio format. It is a colon-separated list in which
|
||||||
|
# each entry is of the general form 'code(decoders)', where 'code'
|
||||||
|
# identifies the audio format and 'decoders' is a comma-separated list
|
||||||
|
# of decoders in order of preference.
|
||||||
|
#
|
||||||
|
# The audio format identifier may be either a filename extension or a
|
||||||
|
# MIME media type. If the latter, the format is 'type/subtype' (e.g.,
|
||||||
|
# 'audio/flac'). Because different systems may give different MIME
|
||||||
|
# media types, any 'x-' prefix of the subtype is ignored both here and
|
||||||
|
# in the actual file MIME type (so all combinations of 'audio/flac' and
|
||||||
|
# 'audio/x-flac' match each other).
|
||||||
|
#
|
||||||
|
# For Internet streams the matching is done on MIME media type and on
|
||||||
|
# actual content. For files the matches are made on MIME media type
|
||||||
|
# (if the 'UseMimeMagic' option is set) and on filename extension. The
|
||||||
|
# MIME media type of a file is not determined until the first entry for
|
||||||
|
# MIME is encountered in the list.
|
||||||
|
#
|
||||||
|
# The matching is done in the order of appearance in the list with any
|
||||||
|
# entries added from the command line being matched before those listed
|
||||||
|
# here. Therefore, if you place all filename extension entries before
|
||||||
|
# all MIME entries you will speed up MOC's processing of directories
|
||||||
|
# (which could be significant for remote file systems).
|
||||||
|
#
|
||||||
|
# The decoder list may be empty, in which case no decoders will be used
|
||||||
|
# for files (and files with that audio format ignored) while Internet
|
||||||
|
# streams will be assessed on the actual content. Any decoder position
|
||||||
|
# may contain an asterisk, in which case any decoder not otherwise listed
|
||||||
|
# which can handle the audio format will be used. It is not an error to
|
||||||
|
# list the same decoder twice, but neither does it make sense to do so.
|
||||||
|
#
|
||||||
|
# If you have a mix of audio and non-audio files in your directories, you
|
||||||
|
# may wish to include entries at top of the list which ignore non-audio
|
||||||
|
# files by extension.
|
||||||
|
#
|
||||||
|
# In summary, the PreferredDecoders option provides fine control over the
|
||||||
|
# type of matching which is performed (filename extension, MIME media
|
||||||
|
# type and streamed media content) and which decoder(s) (if any) are used
|
||||||
|
# based on the option's list entries and their ordering.
|
||||||
|
#
|
||||||
|
# Examples: aac(aac,ffmpeg) first try FAAD2 for AACs then FFmpeg
|
||||||
|
# mp3() ignore MP3 files
|
||||||
|
# wav(*,sndfile) use sndfile for WAV as a last resort
|
||||||
|
# ogg(vorbis,*):flac(flac,*) try Xiph decoders first
|
||||||
|
# ogg():audio/ogg() ignore OGG files, and
|
||||||
|
# force Internet selection by content
|
||||||
|
# gz():html() ignore some non-audio files
|
||||||
|
#
|
||||||
|
# Any unspecified audio formats default to trying all decoders.
|
||||||
|
# Any unknown (or misspelt) drivers are ignored.
|
||||||
|
# All names are case insensitive.
|
||||||
|
# The default setting reflects the historical situation modified by
|
||||||
|
# the experience of users.
|
||||||
|
#
|
||||||
|
#PreferredDecoders = aac(aac,ffmpeg):m4a(ffmpeg)
|
||||||
|
#PreferredDecoders += mpc(musepack,*,ffmpeg):mpc8(musepack,*,ffmpeg)
|
||||||
|
#PreferredDecoders += sid(sidplay2):mus(sidplay2)
|
||||||
|
#PreferredDecoders += wav(sndfile,*,ffmpeg)
|
||||||
|
#PreferredDecoders += wv(wavpack,*,ffmpeg)
|
||||||
|
#PreferredDecoders += audio/aac(aac):audio/aacp(aac):audio/m4a(ffmpeg)
|
||||||
|
#PreferredDecoders += audio/wav(sndfile,*)
|
||||||
|
|
||||||
|
# The following PreferredDecoders attempt to handle the ambiguity surrounding
|
||||||
|
# container types such as OGG for files. The first two entries will force
|
||||||
|
# a local file to the correct decoder (assuming the .ogg file contains Vorbis
|
||||||
|
# audio), while the MIME media types will cause Internet audio streams to
|
||||||
|
# be assessed on content (which may be either Vorbis or Speex).
|
||||||
|
#
|
||||||
|
#PreferredDecoders += ogg(vorbis,ffmpeg):oga(vorbis,ffmpeg):ogv(ffmpeg)
|
||||||
|
#PreferredDecoders += opus(ffmpeg)
|
||||||
|
#PreferredDecoders += spx(speex)
|
||||||
|
#PreferredDecoders += application/ogg(vorbis):audio/ogg(vorbis)
|
||||||
|
|
||||||
|
# Which resampling method to use. There are a few methods of resampling
|
||||||
|
# sound supported by libresamplerate. The default is 'Linear') which is
|
||||||
|
# also the fastest. A better description can be found at:
|
||||||
|
#
|
||||||
|
# http://www.mega-nerd.com/libsamplerate/api_misc.html#Converters
|
||||||
|
#
|
||||||
|
# but briefly, the following methods are based on bandlimited interpolation
|
||||||
|
# and are higher quality, but also slower:
|
||||||
|
#
|
||||||
|
# SincBestQuality - really slow (I know you probably have an xx GHz
|
||||||
|
# processor, but it's still not enough to not see
|
||||||
|
# this in the top output :) The worst case
|
||||||
|
# Signal-to-Noise Ratio is 97dB.
|
||||||
|
# SincMediumQuality - much faster.
|
||||||
|
# SincFastest - the fastest bandlimited interpolation.
|
||||||
|
#
|
||||||
|
# And these are lower quality, but much faster methods:
|
||||||
|
#
|
||||||
|
# ZeroOrderHold - really poor quality, but it's really fast.
|
||||||
|
# Linear - a bit better and a bit slower.
|
||||||
|
#
|
||||||
|
#ResampleMethod = Linear
|
||||||
|
|
||||||
|
# Always use this sample rate (in Hz) when opening the audio device (and
|
||||||
|
# resample the sound if necessary). When set to 0 the device is opened
|
||||||
|
# with the file's rate.
|
||||||
|
#ForceSampleRate = 0
|
||||||
|
|
||||||
|
# By default, even if the sound card reports that it can output 24bit samples
|
||||||
|
# MOC converts 24bit PCM to 16bit. Setting this option to 'yes' allows MOC
|
||||||
|
# to use 24bit output. (The MP3 decoder, for example, uses this format.)
|
||||||
|
# This is disabled by default because there were reports that it prevents
|
||||||
|
# MP3 files from playing on some soundcards.
|
||||||
|
#Allow24bitOutput = no
|
||||||
|
|
||||||
|
# Use realtime priority for output buffer thread. This will prevent gaps
|
||||||
|
# while playing even with heavy load. The user who runs MOC must have
|
||||||
|
# permissions to set such a priority. This could be dangerous, because it
|
||||||
|
# is possible that a bug in MOC will freeze your computer.
|
||||||
|
#UseRealtimePriority = no
|
||||||
|
|
||||||
|
# The number of audio files for which MOC will cache tags. When this limit
|
||||||
|
# is reached, file tags are discarded on a least recently used basis (with
|
||||||
|
# one second resolution). You can disable the cache by giving it a size of
|
||||||
|
# zero. Note that if you decrease the cache size below the number of items
|
||||||
|
# currently in the cache, the number will not decrease immediately (if at
|
||||||
|
# all).
|
||||||
|
#TagsCacheSize = 256
|
||||||
|
|
||||||
|
# Number items in the playlist.
|
||||||
|
#PlaylistNumbering = yes
|
||||||
|
|
||||||
|
# Main window layouts can be configured. You can change the position and
|
||||||
|
# size of the menus (directory and playlist). You have three layouts and
|
||||||
|
# can switch between then using the 'l' key (standard mapping). By default,
|
||||||
|
# only two layouts are configured.
|
||||||
|
#
|
||||||
|
# The format is as follows:
|
||||||
|
#
|
||||||
|
# - Each layout is described as a list of menu entries.
|
||||||
|
# - Each menu entry is of the form:
|
||||||
|
#
|
||||||
|
# menu(position_x, position_y, width, height)
|
||||||
|
#
|
||||||
|
# where 'menu' is either 'directory' or 'playlist'.
|
||||||
|
# - The parameters define position and size of the menu. They can
|
||||||
|
# be absolute numbers (like 10) or a percentage of the screen size
|
||||||
|
# (like 45%).
|
||||||
|
# - 'width' and 'height' can have also value of 'FILL' which means
|
||||||
|
# fill the screen from the menu's position to the border.
|
||||||
|
# - Menus may overlap.
|
||||||
|
#
|
||||||
|
# You must describe at least one menu (default is to fill the whole window).
|
||||||
|
# There must be at least one layout (Layout1) defined; others can be empty.
|
||||||
|
#
|
||||||
|
# Example: Layout1 = playlist(50%,50%,50%,50%)
|
||||||
|
# Layout2 = ""
|
||||||
|
# Layout3 = ""
|
||||||
|
#
|
||||||
|
# Just one layout, the directory will occupy the whole
|
||||||
|
# screen, the playlist will have 1/4 of the screen size
|
||||||
|
# and be positioned at lower right corner. (Note that
|
||||||
|
# because the playlist will be hidden by the directory
|
||||||
|
# you will have to use the TAB key to make the playlist
|
||||||
|
# visible.)
|
||||||
|
#
|
||||||
|
# Example: Layout1 = playlist(0,0,100%,10):directory(0,10,100%,FILL)
|
||||||
|
#
|
||||||
|
# The screen is split into two parts: playlist at the top
|
||||||
|
# and the directory menu at the bottom. Playlist will
|
||||||
|
# occupy 10 lines and the directory menu the rest.
|
||||||
|
#
|
||||||
|
#Layout1 = directory(0,0,50%,100%):playlist(50%,0,FILL,100%)
|
||||||
|
#Layout2 = directory(0,0,100%,100%):playlist(0,0,100%,100%)
|
||||||
|
#Layout3 = ""
|
||||||
|
|
||||||
|
# When the song changes, should the menu be scrolled so that the currently
|
||||||
|
# played file is visible?
|
||||||
|
#FollowPlayedFile = yes
|
||||||
|
|
||||||
|
# What to do if the interface was started and the server is already playing
|
||||||
|
# something from the playlist? If CanStartInPlaylist is set to 'yes', the
|
||||||
|
# interface will switch to the playlist. When set to 'no' it will start
|
||||||
|
# from the last directory.
|
||||||
|
#CanStartInPlaylist = yes
|
||||||
|
|
||||||
|
# Executing external commands (1 - 10) invoked with key commands (F1 - F10
|
||||||
|
# by default).
|
||||||
|
#
|
||||||
|
# Some arguments are substituted before executing:
|
||||||
|
#
|
||||||
|
# %f - file path
|
||||||
|
# %i - title made from tags
|
||||||
|
# %S - start block mark (in seconds)
|
||||||
|
# %E - end block mark (in seconds)
|
||||||
|
#
|
||||||
|
# Data from tags can also be substituted:
|
||||||
|
#
|
||||||
|
# %t - title
|
||||||
|
# %a - album
|
||||||
|
# %r - artist
|
||||||
|
# %n - track
|
||||||
|
# %m - time of the file (in seconds)
|
||||||
|
#
|
||||||
|
# The parameters above apply to the currently selected file. If you change
|
||||||
|
# them to capital letters, they are taken from the file currently playing.
|
||||||
|
#
|
||||||
|
# Programs are run using execv(), not a shell, so you can't do things like
|
||||||
|
# redirecting the output to a file. The command string is split using blank
|
||||||
|
# characters as separators; the first element is the command to be executed
|
||||||
|
# and the rest are its parameters, so if you use "echo Playing: %I" we run
|
||||||
|
# program 'echo' (from $PATH) with 2 parameters: the string 'Playing:' and
|
||||||
|
# the title of the file currently playing. Even if the title contains
|
||||||
|
# spaces, it's still one parameter and it's safe if it contains `rm -rf /`.
|
||||||
|
#
|
||||||
|
# Examples: ExecCommand1 = "cp %f /mnt/usb_drive"
|
||||||
|
# ExecCommand2 = "/home/joe/now_playing %I"
|
||||||
|
#
|
||||||
|
#ExecCommand1 =
|
||||||
|
#ExecCommand2 =
|
||||||
|
#ExecCommand3 =
|
||||||
|
#ExecCommand4 =
|
||||||
|
#ExecCommand5 =
|
||||||
|
#ExecCommand6 =
|
||||||
|
#ExecCommand7 =
|
||||||
|
#ExecCommand8 =
|
||||||
|
#ExecCommand9 =
|
||||||
|
#ExecCommand10 =
|
||||||
|
|
||||||
|
# Display the cursor in the line with the selected file. Some braille
|
||||||
|
# readers (the Handy Tech modular series ZMU 737, for example) use the
|
||||||
|
# cursor to focus and can make use of it to present the file line even
|
||||||
|
# when other fields are changing.
|
||||||
|
#UseCursorSelection = no
|
||||||
|
|
||||||
|
# Set the terminal title when running under xterm.
|
||||||
|
#SetXtermTitle = yes
|
||||||
|
|
||||||
|
# Set the terminal title when running under screen(1). If MOC can detect
|
||||||
|
# that it is running under screen(1), then it will set an appropriate
|
||||||
|
# title (see description of ScreenTerms above). However, if multiple
|
||||||
|
# levels of screen management are involved, detection might fail and this
|
||||||
|
# could cause a screen upset. In that situation you can use this option
|
||||||
|
# to force screen titles off.
|
||||||
|
#SetScreenTitle = yes
|
||||||
|
|
||||||
|
# Display full paths instead of just file names in the playlist.
|
||||||
|
#PlaylistFullPaths = yes
|
||||||
|
|
||||||
|
# The following setting describes how block markers are displayed in
|
||||||
|
# the play time progress bar. Its value is a string of exactly three
|
||||||
|
# characters. The first character is displayed in a position which
|
||||||
|
# corresponds to the time marked as the start of a block and the last
|
||||||
|
# character to the time marked as the end of the block. The middle
|
||||||
|
# character is displayed instead if both the start and the end of the block
|
||||||
|
# would fall in the same position (within the resolution of the interface).
|
||||||
|
# You can turn off the displaying of these block marker positions by using
|
||||||
|
# three space characters.
|
||||||
|
#BlockDecorators = "`\"'"
|
||||||
|
|
||||||
|
# How long (in seconds) to leave a message displayed on the screen.
|
||||||
|
# Setting this to a high value allows you to scroll through the messages
|
||||||
|
# using the 'hide_message' key. Setting it to zero means you'll have to
|
||||||
|
# be quick to see any message at all. Any new messages will be queued up
|
||||||
|
# and displayed after the current message's linger time expires.
|
||||||
|
#MessageLingerTime = 3
|
||||||
|
|
||||||
|
# Does MOC display a prefix on delayed messages indicating
|
||||||
|
# the number of queued messages still to be displayed?
|
||||||
|
#PrefixQueuedMessages = yes
|
||||||
|
|
||||||
|
# String to append to the queued message count if any
|
||||||
|
# error messages are still waiting to be displayed.
|
||||||
|
#ErrorMessagesQueued = "!"
|
||||||
|
|
||||||
|
# Self-describing ModPlug options (with 'yes' or 'no' values).
|
||||||
|
#ModPlug_Oversampling = yes
|
||||||
|
#ModPlug_NoiseReduction = yes
|
||||||
|
#ModPlug_Reverb = no
|
||||||
|
#ModPlug_MegaBass = no
|
||||||
|
#ModPlug_Surround = no
|
||||||
|
|
||||||
|
# ModPlug resampling mode.
|
||||||
|
# Valid values are:
|
||||||
|
#
|
||||||
|
# FIR - 8 tap fir filter (extremely high quality)
|
||||||
|
# SPLINE - Cubic spline interpolation (high quality)
|
||||||
|
# LINEAR - Linear interpolation (fast, good quality)
|
||||||
|
# NEAREST - No interpolation (very fast, extremely bad sound quality)
|
||||||
|
#
|
||||||
|
#ModPlug_ResamplingMode = FIR
|
||||||
|
|
||||||
|
# Other self-describing ModPlug audio characteristic options.
|
||||||
|
# (Note that the 32 bit sample size seems to be buggy.)
|
||||||
|
#ModPlug_Channels = 2 # 1 or 2 channels
|
||||||
|
#ModPlug_Bits = 16 # 8, 16 or 32 bits
|
||||||
|
#ModPlug_Frequency = 44100 # 11025, 22050, 44100 or 48000 Hz
|
||||||
|
#ModPlug_ReverbDepth = 0 # 0 (quiet) to 100 (loud)
|
||||||
|
#ModPlug_ReverbDelay = 0 # Delay in ms (usually 40-200ms)
|
||||||
|
#ModPlug_BassAmount = 0 # 0 (quiet) to 100 (loud).
|
||||||
|
#ModPlug_BassRange = 10 # Cutoff in Hz (10-100).
|
||||||
|
#ModPlug_SurroundDepth = 0 # Surround level 0(quiet)-100(heavy).
|
||||||
|
#ModPlug_SurroundDelay = 0 # Surround delay in ms, usually 5-40ms.
|
||||||
|
#ModPlug_LoopCount = 0 # 0 (never), n (times) or -1 (forever)
|
||||||
|
|
||||||
|
# Self-describing TiMidity audio characteristic options.
|
||||||
|
#TiMidity_Rate = 44100 # Between 8000 and 48000
|
||||||
|
#TiMidity_Bits = 16 # 8 or 16
|
||||||
|
#TiMidity_Channels = 2 # 1 or 2
|
||||||
|
#TiMidity_Volume = 100 # 0 to 800
|
||||||
|
|
||||||
|
# You can setup a TiMidity-Config-File here.
|
||||||
|
# Leave it unset to use library defaults (/etc/timidity.cfg mostly).
|
||||||
|
# Setting it to 'yes' also uses the library defaults.
|
||||||
|
# Set it to 'no' if you don't have any configuration file.
|
||||||
|
# Otherwise set it to the name of a specific file.
|
||||||
|
#TiMidity_Config =
|
||||||
|
|
||||||
|
# Self-describing SidPlay2 audio characteristic options.
|
||||||
|
#SidPlay2_DefaultSongLength = 180 # If not in database (in seconds)
|
||||||
|
#SidPlay2_MinimumSongLength = 0 # Play at least n (in seconds)
|
||||||
|
#SidPlay2_Frequency = 44100 # 4000 to 48000
|
||||||
|
#SidPlay2_Bits = 16 # 8 or 16
|
||||||
|
#SidPlay2_Optimisation = 0 # 0 (worst quality) to 2 (best quality)
|
||||||
|
|
||||||
|
# Set path to a HVSC-compatible database (if not set, database is disabled).
|
||||||
|
#SidPlay2_Database =
|
||||||
|
|
||||||
|
# SidPlay2 playback Mode:
|
||||||
|
#
|
||||||
|
# "M": Mono (best for many SIDs)
|
||||||
|
# "S": Stereo
|
||||||
|
# "L"/"R": Left / Right
|
||||||
|
#
|
||||||
|
#SidPlay2_PlayMode = "M"
|
||||||
|
|
||||||
|
# Use start-song information from SID ('yes') or start at first song
|
||||||
|
# ('no'). Songs before the start-song won't be played. (Note that this
|
||||||
|
# option previously took the values 1 and 0; these are now deprecated
|
||||||
|
# in favour of 'yes' and 'no'.)
|
||||||
|
#SidPlay2_StartAtStart = yes
|
||||||
|
|
||||||
|
# Play sub-tunes. (Note that this option previously took the values 1
|
||||||
|
# and 0; these are now deprecated in favour of 'yes' and 'no'.)
|
||||||
|
#SidPlay2_PlaySubTunes = yes
|
||||||
|
|
||||||
|
# Run the OnSongChange command when a new song starts playing.
|
||||||
|
# Specify the full path (i.e. no leading '~') of an executable to run.
|
||||||
|
# Arguments will be passed, and you can use the following escapes:
|
||||||
|
#
|
||||||
|
# %a artist
|
||||||
|
# %r album
|
||||||
|
# %f filename
|
||||||
|
# %t title
|
||||||
|
# %n track
|
||||||
|
# %d file duration in XX:YY form
|
||||||
|
# %D file duration, number of seconds
|
||||||
|
#
|
||||||
|
# No pipes/redirects can be used directly, but writing a shell script
|
||||||
|
# can do the job.
|
||||||
|
#
|
||||||
|
# Example: OnSongChange = "/home/jack/.moc/myscript %a %r"
|
||||||
|
#
|
||||||
|
#OnSongChange =
|
||||||
|
|
||||||
|
# If RepeatSongChange is 'yes' then MOC will execute the command every time
|
||||||
|
# a song starts playing regardless of whether or not it is just repeating.
|
||||||
|
# Otherwise the command will only be executed when a different song is
|
||||||
|
# started.
|
||||||
|
#RepeatSongChange = no
|
||||||
|
|
||||||
|
# Run the OnStop command (full path, no arguments) when MOC changes state
|
||||||
|
# to stopped (i.e., when user stopped playing or changes a song).
|
||||||
|
#OnStop = "/home/jack/.moc/myscript_on_stop"
|
||||||
|
|
||||||
|
# This option determines which song to play after finishing all the songs
|
||||||
|
# in the queue. Setting this to 'yes' causes MOC to play the song which
|
||||||
|
# follows the song being played before queue playing started. If set to
|
||||||
|
# 'no', MOC will play the song following the last song in the queue if it
|
||||||
|
# is in the playlist. The default is 'yes' because this is the way other
|
||||||
|
# players usually behave. (Note that this option previously took the
|
||||||
|
# values 1 and 0; these are now deprecated in favour of 'yes' and 'no'.)
|
||||||
|
#QueueNextSongReturn = yes
|
|
@ -0,0 +1,2 @@
|
||||||
|
Active: 1
|
||||||
|
Mixin: 0.250000
|
|
@ -0,0 +1,188 @@
|
||||||
|
# This is the example keymap file for MOC. You can define your own key
|
||||||
|
# bindings for MOC commands by creating your own keymap file and setting
|
||||||
|
# the 'Keymap' option in ~/.moc/config.
|
||||||
|
#
|
||||||
|
# The format of this file is:
|
||||||
|
#
|
||||||
|
# - Lines beginning with # are comments.
|
||||||
|
# - Blank lines are ignored.
|
||||||
|
# - Every other line is expected to be in one of the formats:
|
||||||
|
#
|
||||||
|
# COMMAND = [KEY ...]
|
||||||
|
# COMMAND += KEY ...
|
||||||
|
#
|
||||||
|
# The KEY can be:
|
||||||
|
#
|
||||||
|
# - Just a char, like i, L, ", *
|
||||||
|
# - CTRL-KEY sequence: ^k (CTRL-k), ^4
|
||||||
|
# - ALT-KEY (meta) sequence: M-j (ALT-j), M-/
|
||||||
|
# - Special keys: DOWN, UP
|
||||||
|
# LEFT, RIGHT
|
||||||
|
# HOME, END
|
||||||
|
# BACKSPACE
|
||||||
|
# INS, DEL
|
||||||
|
# ENTER
|
||||||
|
# PAGE_UP, PAGE_DOWN
|
||||||
|
# SPACE, TAB
|
||||||
|
# KEYPAD_CENTER
|
||||||
|
# ESCAPE
|
||||||
|
# F1 - F12
|
||||||
|
#
|
||||||
|
# Note that the use of a digit as a KEY is deprecated.
|
||||||
|
#
|
||||||
|
# Maximum number of KEYs for one COMMAND is 5.
|
||||||
|
#
|
||||||
|
# Omitting the KEY for a COMMAND will unbind all its default keys. They
|
||||||
|
# will also be automatically unbound when you bind new KEYs to it. Individual
|
||||||
|
# default KEYs will be automatically unbound when they are explicitly bound
|
||||||
|
# to some other COMMAND.
|
||||||
|
#
|
||||||
|
# Using the '+=' form will cause the KEYs to be appended to any existing
|
||||||
|
# (default or explicit) bindings for the COMMAND. Appending an existing
|
||||||
|
# default binding for the same COMMAND will cause MOC to think of that KEY
|
||||||
|
# as then being explicitly bound.
|
||||||
|
#
|
||||||
|
# Only one binding for any given COMMAND can appear in the keymap file. One
|
||||||
|
# exception to this is that if the default keys for a COMMAND are explicitly
|
||||||
|
# unbound then a subsequent binding may appear for it. A second exception
|
||||||
|
# is that multiple appending bindings may appear.
|
||||||
|
#
|
||||||
|
# Meta-key detection is sensitive to the ESCDELAY environment variable (see
|
||||||
|
# the manpage for ncurses(3)). In its absence, MOC resets the default
|
||||||
|
# delay to 25ms. If you need to emulate meta-key sequences using the ESC
|
||||||
|
# key, then you may need to set the value of ESCDELAY back to its ncurses
|
||||||
|
# default of 1000ms (but doing so will make the response to the ESC key
|
||||||
|
# sluggish).
|
||||||
|
#
|
||||||
|
# If MOC's keypresses are being filtered through some other program (in a
|
||||||
|
# GUI environment, for example) which also does meta-key detection, then
|
||||||
|
# MOC is at the mercy of the timings with which that program presents them.
|
||||||
|
#
|
||||||
|
# Default key configuration for MOC (and a list of all available commands):
|
||||||
|
|
||||||
|
# MOC control keys:
|
||||||
|
quit_client = q
|
||||||
|
quit = Q
|
||||||
|
|
||||||
|
# Menu and interface control keys:
|
||||||
|
go = ENTER
|
||||||
|
menu_down = DOWN
|
||||||
|
menu_up = UP
|
||||||
|
menu_page_down = PAGE_DOWN
|
||||||
|
menu_page_up = PAGE_UP
|
||||||
|
menu_first_item = HOME
|
||||||
|
menu_last_item = END
|
||||||
|
search_menu = g /
|
||||||
|
toggle_read_tags = f
|
||||||
|
toggle_show_time = ^t
|
||||||
|
toggle_show_format = ^f
|
||||||
|
toggle_menu = TAB
|
||||||
|
toggle_layout = l
|
||||||
|
toggle_hidden_files = H
|
||||||
|
next_search = ^g ^n
|
||||||
|
show_lyrics = L
|
||||||
|
theme_menu = T
|
||||||
|
help = h ?
|
||||||
|
refresh = ^r
|
||||||
|
reload = r
|
||||||
|
|
||||||
|
# Audio playing and positioning keys:
|
||||||
|
seek_forward = RIGHT
|
||||||
|
seek_backward = LEFT
|
||||||
|
seek_forward_fast = ]
|
||||||
|
seek_backward_fast = [
|
||||||
|
pause = p SPACE
|
||||||
|
stop = s
|
||||||
|
next = n
|
||||||
|
previous = b
|
||||||
|
toggle_shuffle = S
|
||||||
|
toggle_repeat = R
|
||||||
|
toggle_auto_next = X
|
||||||
|
toggle_mixer = x
|
||||||
|
go_url = o
|
||||||
|
|
||||||
|
# Volume control keys:
|
||||||
|
volume_down_1 = <
|
||||||
|
volume_up_1 = >
|
||||||
|
volume_down_5 = ,
|
||||||
|
volume_up_5 = .
|
||||||
|
volume_10 = M-1
|
||||||
|
volume_20 = M-2
|
||||||
|
volume_30 = M-3
|
||||||
|
volume_40 = M-4
|
||||||
|
volume_50 = M-5
|
||||||
|
volume_60 = M-6
|
||||||
|
volume_70 = M-7
|
||||||
|
volume_80 = M-8
|
||||||
|
volume_90 = M-9
|
||||||
|
|
||||||
|
# Directory navigation keys: defaults are Shift-number
|
||||||
|
# (i.e., 'shift 1' -> '!' -> 'Fastdir1').
|
||||||
|
go_to_a_directory = i
|
||||||
|
go_to_music_directory = m
|
||||||
|
go_to_fast_dir1 = !
|
||||||
|
go_to_fast_dir2 = @
|
||||||
|
go_to_fast_dir3 = #
|
||||||
|
go_to_fast_dir4 = $
|
||||||
|
go_to_fast_dir5 = %
|
||||||
|
go_to_fast_dir6 = ^
|
||||||
|
go_to_fast_dir7 = &
|
||||||
|
go_to_fast_dir8 = *
|
||||||
|
go_to_fast_dir9 = (
|
||||||
|
go_to_fast_dir10 = )
|
||||||
|
go_to_playing_file = G
|
||||||
|
go_up = U
|
||||||
|
|
||||||
|
# Playlist specific keys:
|
||||||
|
add_file = a
|
||||||
|
add_directory = A
|
||||||
|
plist_add_stream = ^u
|
||||||
|
delete_from_playlist = d
|
||||||
|
playlist_full_paths = P
|
||||||
|
plist_move_up = u
|
||||||
|
plist_move_down = j
|
||||||
|
save_playlist = V
|
||||||
|
remove_dead_entries = Y
|
||||||
|
clear_playlist = C
|
||||||
|
|
||||||
|
# Queue manipulation keys:
|
||||||
|
enqueue_file = z
|
||||||
|
clear_queue = Z
|
||||||
|
|
||||||
|
# User interaction control:
|
||||||
|
history_up = UP
|
||||||
|
history_down = DOWN
|
||||||
|
delete_to_start = ^u
|
||||||
|
delete_to_end = ^k
|
||||||
|
cancel = ^x ESCAPE
|
||||||
|
hide_message = M
|
||||||
|
|
||||||
|
# Softmixer specific keys:
|
||||||
|
toggle_softmixer = w
|
||||||
|
toggle_make_mono = J
|
||||||
|
|
||||||
|
# Equalizer specific keys:
|
||||||
|
toggle_equalizer = E
|
||||||
|
equalizer_refresh = e
|
||||||
|
equalizer_prev = K
|
||||||
|
equalizer_next = k
|
||||||
|
|
||||||
|
# External commands:
|
||||||
|
mark_start = '
|
||||||
|
mark_end = "
|
||||||
|
exec_command1 = F1
|
||||||
|
exec_command2 = F2
|
||||||
|
exec_command3 = F3
|
||||||
|
exec_command4 = F4
|
||||||
|
exec_command5 = F5
|
||||||
|
exec_command6 = F6
|
||||||
|
exec_command7 = F7
|
||||||
|
exec_command8 = F8
|
||||||
|
exec_command9 = F9
|
||||||
|
exec_command10 = F10
|
||||||
|
|
||||||
|
# The following commands are available but not assigned to any keys by
|
||||||
|
# default:
|
||||||
|
#
|
||||||
|
# toggle_percent Switch on/off play progress bar time percentage
|
||||||
|
#
|
|
@ -0,0 +1 @@
|
||||||
|
/home/alex/media/audio/music/compilations
|
|
@ -0,0 +1,4 @@
|
||||||
|
#EXTM3U
|
||||||
|
#MOCSERIAL: 768
|
||||||
|
#EXTINF:18965,/home/alex/media/audio/music/compilations/The Best Of Folk Metal Mix. Compilation 2.-wClxK8r_Sj0.webm
|
||||||
|
/home/alex/media/audio/music/compilations/The Best Of Folk Metal Mix. Compilation 2.-wClxK8r_Sj0.webm
|
|
@ -0,0 +1,4 @@
|
||||||
|
Active: 0
|
||||||
|
Amplification: 100
|
||||||
|
Value: 100
|
||||||
|
Mono: 0
|
|
@ -0,0 +1,34 @@
|
||||||
|
# Transparent background theme by Marcin Michałowski
|
||||||
|
|
||||||
|
background = default default
|
||||||
|
frame = white default
|
||||||
|
window_title = white default
|
||||||
|
directory = white default bold
|
||||||
|
selected_directory = white blue bold
|
||||||
|
playlist = white default bold
|
||||||
|
selected_playlist = white blue bold
|
||||||
|
file = white default
|
||||||
|
selected_file = white blue
|
||||||
|
marked_file = green default bold
|
||||||
|
marked_selected_file = green blue bold
|
||||||
|
info = blue default bold
|
||||||
|
status = white default
|
||||||
|
title = white default bold
|
||||||
|
state = white default bold
|
||||||
|
current_time = white default bold
|
||||||
|
time_left = white default bold
|
||||||
|
total_time = white default bold
|
||||||
|
time_total_frames = white default
|
||||||
|
sound_parameters = white default bold
|
||||||
|
legend = white default
|
||||||
|
disabled = blue default bold
|
||||||
|
enabled = white default bold
|
||||||
|
empty_mixer_bar = white default
|
||||||
|
filled_mixer_bar = black cyan
|
||||||
|
empty_time_bar = white default
|
||||||
|
filled_time_bar = black cyan
|
||||||
|
entry = white default
|
||||||
|
entry_title = black cyan
|
||||||
|
error = red default bold
|
||||||
|
message = green default bold
|
||||||
|
plist_time = white default bold
|
|
@ -0,0 +1,22 @@
|
||||||
|
music_directory "~/media/audio"
|
||||||
|
playlist_directory "~/.config/mpd/playlists/"
|
||||||
|
|
||||||
|
auto_update "yes"
|
||||||
|
bind_to_address "127.0.0.1"
|
||||||
|
restore_paused "yes"
|
||||||
|
max_output_buffer_size "16384"
|
||||||
|
|
||||||
|
audio_output {
|
||||||
|
type "pulse"
|
||||||
|
name "pulse audio"
|
||||||
|
#device "pulse"
|
||||||
|
#mixer_type "hardware"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
audio_output {
|
||||||
|
type "fifo"
|
||||||
|
name "Visualizer feed"
|
||||||
|
path "/tmp/mpd.fifo"
|
||||||
|
format "44100:16:2"
|
||||||
|
}
|
|
@ -0,0 +1,16 @@
|
||||||
|
hwdec=vaapi
|
||||||
|
gpu-context=wayland
|
||||||
|
osc=no
|
||||||
|
alang=jpn
|
||||||
|
slang=eng
|
||||||
|
|
||||||
|
[extension.gif]
|
||||||
|
loop-file=inf
|
||||||
|
|
||||||
|
[extension.webm]
|
||||||
|
loop-file=inf
|
||||||
|
|
||||||
|
[idle]
|
||||||
|
profile-cond=p["idle-active"]
|
||||||
|
profile-restore=copy-equal
|
||||||
|
background=1
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,163 @@
|
||||||
|
# vim: filetype=neomuttrc
|
||||||
|
# This file contains all of mutt-wizard's default settings.
|
||||||
|
# mutt-wizard will have this file sourced from your muttrc.
|
||||||
|
# In the interest of seamless updating, do not edit this file.
|
||||||
|
# If you want to override any settings, set those in your muttrc.
|
||||||
|
set mailcap_path = /nix/store/szhf8qsrw2y077kj7frl6i804mghd6y3-mutt-wizard-3.2.1/share/mutt-wizard/mailcap:$mailcap_path
|
||||||
|
set mime_type_query_command = "file --mime-type -b %s"
|
||||||
|
set date_format="%y/%m/%d %I:%M%p"
|
||||||
|
set index_format="%2C %Z %?X?A& ? %D %-15.15F %s (%-4.4c)"
|
||||||
|
set sort = 'reverse-date'
|
||||||
|
set smtp_authenticators = 'gssapi:login'
|
||||||
|
set query_command = "abook --mutt-query '%s'"
|
||||||
|
set rfc2047_parameters = yes
|
||||||
|
set sleep_time = 0 # Pause 0 seconds for informational messages
|
||||||
|
set markers = no # Disables the `+` displayed at line wraps
|
||||||
|
set mark_old = no # Unread mail stay unread until read
|
||||||
|
set mime_forward = yes # attachments are forwarded with mail
|
||||||
|
set wait_key = no # mutt won't ask "press key to continue"
|
||||||
|
set fast_reply # skip to compose when replying
|
||||||
|
set fcc_attach # save attachments with the body
|
||||||
|
set forward_format = "Fwd: %s" # format of subject when forwarding
|
||||||
|
set forward_quote # include message in forwards
|
||||||
|
set reverse_name # reply as whomever it was to
|
||||||
|
set include # include message in replies
|
||||||
|
set mail_check=60 # to avoid lags using IMAP with some email providers (yahoo for example)
|
||||||
|
auto_view text/html # automatically show html (mailcap uses lynx)
|
||||||
|
auto_view application/pgp-encrypted
|
||||||
|
#set display_filter = "tac | sed '/\\\[-- Autoview/,+1d' | tac" # Suppress autoview messages.
|
||||||
|
alternative_order text/plain text/enriched text/html
|
||||||
|
bind index,pager i noop
|
||||||
|
bind index,pager g noop
|
||||||
|
bind index \Cf noop
|
||||||
|
|
||||||
|
# General rebindings
|
||||||
|
bind index j next-entry
|
||||||
|
bind index k previous-entry
|
||||||
|
bind attach <return> view-mailcap
|
||||||
|
bind attach l view-mailcap
|
||||||
|
bind editor <space> noop
|
||||||
|
bind index G last-entry
|
||||||
|
bind index gg first-entry
|
||||||
|
bind pager,attach h exit
|
||||||
|
bind pager j next-line
|
||||||
|
bind pager k previous-line
|
||||||
|
bind pager l view-attachments
|
||||||
|
bind index D delete-message
|
||||||
|
bind index U undelete-message
|
||||||
|
bind index L limit
|
||||||
|
bind index h noop
|
||||||
|
bind index l display-message
|
||||||
|
bind index,query <space> tag-entry
|
||||||
|
#bind browser h goto-parent
|
||||||
|
macro browser h '<change-dir><kill-line>..<enter>' "Go to parent folder"
|
||||||
|
bind index,pager H view-raw-message
|
||||||
|
bind browser l select-entry
|
||||||
|
bind pager,browser gg top-page
|
||||||
|
bind pager,browser G bottom-page
|
||||||
|
bind index,pager,browser d half-down
|
||||||
|
bind index,pager,browser u half-up
|
||||||
|
bind index,pager S sync-mailbox
|
||||||
|
bind index,pager R group-reply
|
||||||
|
bind index \031 previous-undeleted # Mouse wheel
|
||||||
|
bind index \005 next-undeleted # Mouse wheel
|
||||||
|
bind pager \031 previous-line # Mouse wheel
|
||||||
|
bind pager \005 next-line # Mouse wheel
|
||||||
|
bind editor <Tab> complete-query
|
||||||
|
|
||||||
|
#set crypt_autosign = yes
|
||||||
|
#set crypt_opportunistic_encrypt = yes
|
||||||
|
#set pgp_self_encrypt = yes
|
||||||
|
#set pgp_default_key = 'your@gpgemailaddre.ss'
|
||||||
|
|
||||||
|
macro index,pager a "<enter-command>set my_pipe_decode=\$pipe_decode pipe_decode<return><pipe-message>abook --add-email<return><enter-command>set pipe_decode=\$my_pipe_decode; unset my_pipe_decode<return>" "add the sender address to abook"
|
||||||
|
macro index \Cr "T~U<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" "mark all messages as read"
|
||||||
|
macro index O "<shell-escape>mw -Y<enter>" "run mw -Y to sync all mail"
|
||||||
|
macro index \Cf "<enter-command>unset wait_key<enter><shell-escape>printf 'Enter a search term to find with notmuch: '; read x; echo \$x >~/.cache/mutt_terms<enter><limit>~i \"\`notmuch search --output=messages \$(cat ~/.cache/mutt_terms) | head -n 600 | perl -le '@a=<>;s/\^id:// for@a;$,=\"|\";print@a' | perl -le '@a=<>; chomp@a; s/\\+/\\\\+/ for@a;print@a' \`\"<enter>" "show only messages matching a notmuch pattern"
|
||||||
|
macro index A "<limit>all\n" "show all messages (undo limit)"
|
||||||
|
|
||||||
|
# Sidebar mappings
|
||||||
|
set sidebar_visible = yes
|
||||||
|
set sidebar_width = 20
|
||||||
|
set sidebar_short_path = yes
|
||||||
|
set sidebar_next_new_wrap = yes
|
||||||
|
set mail_check_stats
|
||||||
|
set sidebar_format = '%D%?F? [%F]?%* %?N?%N/? %?S?%S?'
|
||||||
|
bind index,pager \Ck sidebar-prev
|
||||||
|
bind index,pager \Cj sidebar-next
|
||||||
|
bind index,pager \Co sidebar-open
|
||||||
|
bind index,pager \Cp sidebar-prev-new
|
||||||
|
bind index,pager \Cn sidebar-next-new
|
||||||
|
bind index,pager B sidebar-toggle-visible
|
||||||
|
|
||||||
|
# Default index colors:
|
||||||
|
color index yellow default '.*'
|
||||||
|
color index_author red default '.*'
|
||||||
|
color index_number blue default
|
||||||
|
color index_subject cyan default '.*'
|
||||||
|
|
||||||
|
# New mail is boldened:
|
||||||
|
color index brightyellow black "~N"
|
||||||
|
color index_author brightred black "~N"
|
||||||
|
color index_subject brightcyan black "~N"
|
||||||
|
|
||||||
|
# Tagged mail is highlighted:
|
||||||
|
color index brightyellow blue "~T"
|
||||||
|
color index_author brightred blue "~T"
|
||||||
|
color index_subject brightcyan blue "~T"
|
||||||
|
|
||||||
|
# Other colors and aesthetic settings:
|
||||||
|
mono bold bold
|
||||||
|
mono underline underline
|
||||||
|
mono indicator reverse
|
||||||
|
mono error bold
|
||||||
|
color normal default default
|
||||||
|
color indicator brightblack white
|
||||||
|
color sidebar_highlight red default
|
||||||
|
color sidebar_divider brightblack black
|
||||||
|
color sidebar_flagged red black
|
||||||
|
color sidebar_new green black
|
||||||
|
color normal brightyellow default
|
||||||
|
color error red default
|
||||||
|
color tilde black default
|
||||||
|
color message cyan default
|
||||||
|
color markers red white
|
||||||
|
color attachment white default
|
||||||
|
color search brightmagenta default
|
||||||
|
color status brightyellow black
|
||||||
|
color hdrdefault brightgreen default
|
||||||
|
color quoted green default
|
||||||
|
color quoted1 blue default
|
||||||
|
color quoted2 cyan default
|
||||||
|
color quoted3 yellow default
|
||||||
|
color quoted4 red default
|
||||||
|
color quoted5 brightred default
|
||||||
|
color signature brightgreen default
|
||||||
|
color bold black default
|
||||||
|
color underline black default
|
||||||
|
color normal default default
|
||||||
|
|
||||||
|
# Regex highlighting:
|
||||||
|
color header blue default ".*"
|
||||||
|
color header brightmagenta default "^(From)"
|
||||||
|
color header brightcyan default "^(Subject)"
|
||||||
|
color header brightwhite default "^(CC|BCC)"
|
||||||
|
color body brightred default "[\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+" # Email addresses
|
||||||
|
color body brightblue default "(https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+" # URL
|
||||||
|
color body green default "\`[^\`]*\`" # Green text between ` and `
|
||||||
|
color body brightblue default "^# \.*" # Headings as bold blue
|
||||||
|
color body brightcyan default "^## \.*" # Subheadings as bold cyan
|
||||||
|
color body brightgreen default "^### \.*" # Subsubheadings as bold green
|
||||||
|
color body yellow default "^(\t| )*(-|\\*) \.*" # List items as yellow
|
||||||
|
color body brightcyan default "[;:][-o][)/(|]" # emoticons
|
||||||
|
color body brightcyan default "[;:][)(|]" # emoticons
|
||||||
|
color body brightcyan default "[ ][*][^*]*[*][ ]?" # more emoticon?
|
||||||
|
color body brightcyan default "[ ]?[*][^*]*[*][ ]" # more emoticon?
|
||||||
|
color body red default "(BAD signature)"
|
||||||
|
color body cyan default "(Good signature)"
|
||||||
|
color body brightblack default "^gpg: Good signature .*"
|
||||||
|
color body brightyellow default "^gpg: "
|
||||||
|
color body brightyellow red "^gpg: BAD signature from.*"
|
||||||
|
mono body bold "^gpg: Good signature"
|
||||||
|
mono body bold "^gpg: BAD signature from.*"
|
||||||
|
color body red default "([a-z][a-z0-9+-]*://(((([a-z0-9_.!~*'();:&=+$,-]|%[0-9a-f][0-9a-f])*@)?((([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?|[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+)(:[0-9]+)?)|([a-z0-9_.!~*'()$,;:@&=+-]|%[0-9a-f][0-9a-f])+)(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?(#([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?|(www|ftp)\\.(([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?(:[0-9]+)?(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?(#([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?)[^].,:;!)? \t\r\n<>\"]"
|
|
@ -0,0 +1,479 @@
|
||||||
|
##############################################################
|
||||||
|
## This is the example bindings file. Copy it to ##
|
||||||
|
## ~/.ncmpcpp/bindings or $XDG_CONFIG_HOME/ncmpcpp/bindings ##
|
||||||
|
## and set up your preferences ##
|
||||||
|
##############################################################
|
||||||
|
#
|
||||||
|
#def_key "mouse"
|
||||||
|
# mouse_event
|
||||||
|
#
|
||||||
|
#def_key "up"
|
||||||
|
# scroll_up
|
||||||
|
#
|
||||||
|
#def_key "shift-up"
|
||||||
|
# select_item
|
||||||
|
# scroll_up
|
||||||
|
#
|
||||||
|
#def_key "down"
|
||||||
|
# scroll_down
|
||||||
|
#
|
||||||
|
#def_key "shift-down"
|
||||||
|
# select_item
|
||||||
|
# scroll_down
|
||||||
|
#
|
||||||
|
#def_key "["
|
||||||
|
# scroll_up_album
|
||||||
|
#
|
||||||
|
#def_key "]"
|
||||||
|
# scroll_down_album
|
||||||
|
#
|
||||||
|
#def_key "{"
|
||||||
|
# scroll_up_artist
|
||||||
|
#
|
||||||
|
#def_key "}"
|
||||||
|
# scroll_down_artist
|
||||||
|
#
|
||||||
|
#def_key "page_up"
|
||||||
|
# page_up
|
||||||
|
#
|
||||||
|
#def_key "page_down"
|
||||||
|
# page_down
|
||||||
|
#
|
||||||
|
#def_key "home"
|
||||||
|
# move_home
|
||||||
|
#
|
||||||
|
#def_key "end"
|
||||||
|
# move_end
|
||||||
|
#
|
||||||
|
#def_key "insert"
|
||||||
|
# select_item
|
||||||
|
#
|
||||||
|
#def_key "enter"
|
||||||
|
# enter_directory
|
||||||
|
#
|
||||||
|
#def_key "enter"
|
||||||
|
# toggle_output
|
||||||
|
#
|
||||||
|
#def_key "enter"
|
||||||
|
# run_action
|
||||||
|
#
|
||||||
|
#def_key "enter"
|
||||||
|
# play_item
|
||||||
|
#
|
||||||
|
#def_key "space"
|
||||||
|
# add_item_to_playlist
|
||||||
|
#
|
||||||
|
#def_key "space"
|
||||||
|
# toggle_lyrics_update_on_song_change
|
||||||
|
#
|
||||||
|
#def_key "space"
|
||||||
|
# toggle_visualization_type
|
||||||
|
#
|
||||||
|
#def_key "delete"
|
||||||
|
# delete_playlist_items
|
||||||
|
#
|
||||||
|
#def_key "delete"
|
||||||
|
# delete_browser_items
|
||||||
|
#
|
||||||
|
#def_key "delete"
|
||||||
|
# delete_stored_playlist
|
||||||
|
#
|
||||||
|
#def_key "right"
|
||||||
|
# next_column
|
||||||
|
#
|
||||||
|
#def_key "right"
|
||||||
|
# slave_screen
|
||||||
|
#
|
||||||
|
#def_key "right"
|
||||||
|
# volume_up
|
||||||
|
#
|
||||||
|
#def_key "+"
|
||||||
|
# volume_up
|
||||||
|
#
|
||||||
|
#def_key "left"
|
||||||
|
# previous_column
|
||||||
|
#
|
||||||
|
#def_key "left"
|
||||||
|
# master_screen
|
||||||
|
#
|
||||||
|
#def_key "left"
|
||||||
|
# volume_down
|
||||||
|
#
|
||||||
|
#def_key "-"
|
||||||
|
# volume_down
|
||||||
|
#
|
||||||
|
#def_key ":"
|
||||||
|
# execute_command
|
||||||
|
#
|
||||||
|
#def_key "tab"
|
||||||
|
# next_screen
|
||||||
|
#
|
||||||
|
#def_key "shift-tab"
|
||||||
|
# previous_screen
|
||||||
|
#
|
||||||
|
#def_key "f1"
|
||||||
|
# show_help
|
||||||
|
#
|
||||||
|
#def_key "1"
|
||||||
|
# show_playlist
|
||||||
|
#
|
||||||
|
#def_key "2"
|
||||||
|
# show_browser
|
||||||
|
#
|
||||||
|
#def_key "2"
|
||||||
|
# change_browse_mode
|
||||||
|
#
|
||||||
|
#def_key "3"
|
||||||
|
# show_search_engine
|
||||||
|
#
|
||||||
|
#def_key "3"
|
||||||
|
# reset_search_engine
|
||||||
|
#
|
||||||
|
#def_key "4"
|
||||||
|
# show_media_library
|
||||||
|
#
|
||||||
|
#def_key "4"
|
||||||
|
# toggle_media_library_columns_mode
|
||||||
|
#
|
||||||
|
#def_key "5"
|
||||||
|
# show_playlist_editor
|
||||||
|
#
|
||||||
|
#def_key "6"
|
||||||
|
# show_tag_editor
|
||||||
|
#
|
||||||
|
#def_key "7"
|
||||||
|
# show_outputs
|
||||||
|
#
|
||||||
|
#def_key "8"
|
||||||
|
# show_visualizer
|
||||||
|
#
|
||||||
|
#def_key "="
|
||||||
|
# show_clock
|
||||||
|
#
|
||||||
|
#def_key "@"
|
||||||
|
# show_server_info
|
||||||
|
#
|
||||||
|
#def_key "s"
|
||||||
|
# stop
|
||||||
|
#
|
||||||
|
#def_key "p"
|
||||||
|
# pause
|
||||||
|
#
|
||||||
|
#def_key ">"
|
||||||
|
# next
|
||||||
|
#
|
||||||
|
#def_key "<"
|
||||||
|
# previous
|
||||||
|
#
|
||||||
|
#def_key "ctrl-h"
|
||||||
|
# jump_to_parent_directory
|
||||||
|
#
|
||||||
|
#def_key "ctrl-h"
|
||||||
|
# replay_song
|
||||||
|
#
|
||||||
|
#def_key "backspace"
|
||||||
|
# jump_to_parent_directory
|
||||||
|
#
|
||||||
|
#def_key "backspace"
|
||||||
|
# replay_song
|
||||||
|
#
|
||||||
|
def_key "f"
|
||||||
|
seek_forward
|
||||||
|
#
|
||||||
|
def_key "b"
|
||||||
|
seek_backward
|
||||||
|
#
|
||||||
|
#def_key "r"
|
||||||
|
# toggle_repeat
|
||||||
|
#
|
||||||
|
#def_key "z"
|
||||||
|
# toggle_random
|
||||||
|
#
|
||||||
|
#def_key "y"
|
||||||
|
# save_tag_changes
|
||||||
|
#
|
||||||
|
#def_key "y"
|
||||||
|
# start_searching
|
||||||
|
#
|
||||||
|
#def_key "y"
|
||||||
|
# toggle_single
|
||||||
|
#
|
||||||
|
#def_key "R"
|
||||||
|
# toggle_consume
|
||||||
|
#
|
||||||
|
#def_key "Y"
|
||||||
|
# toggle_replay_gain_mode
|
||||||
|
#
|
||||||
|
#def_key "T"
|
||||||
|
# toggle_add_mode
|
||||||
|
#
|
||||||
|
#def_key "|"
|
||||||
|
# toggle_mouse
|
||||||
|
#
|
||||||
|
#def_key "#"
|
||||||
|
# toggle_bitrate_visibility
|
||||||
|
#
|
||||||
|
#def_key "Z"
|
||||||
|
# shuffle
|
||||||
|
#
|
||||||
|
#def_key "x"
|
||||||
|
# toggle_crossfade
|
||||||
|
#
|
||||||
|
#def_key "X"
|
||||||
|
# set_crossfade
|
||||||
|
#
|
||||||
|
#def_key "u"
|
||||||
|
# update_database
|
||||||
|
#
|
||||||
|
#def_key "ctrl-s"
|
||||||
|
# sort_playlist
|
||||||
|
#
|
||||||
|
#def_key "ctrl-s"
|
||||||
|
# toggle_browser_sort_mode
|
||||||
|
#
|
||||||
|
#def_key "ctrl-s"
|
||||||
|
# toggle_media_library_sort_mode
|
||||||
|
#
|
||||||
|
#def_key "ctrl-r"
|
||||||
|
# reverse_playlist
|
||||||
|
#
|
||||||
|
#def_key "ctrl-f"
|
||||||
|
# apply_filter
|
||||||
|
#
|
||||||
|
#def_key "ctrl-_"
|
||||||
|
# select_found_items
|
||||||
|
#
|
||||||
|
#def_key "/"
|
||||||
|
# find
|
||||||
|
#
|
||||||
|
#def_key "/"
|
||||||
|
# find_item_forward
|
||||||
|
#
|
||||||
|
#def_key "?"
|
||||||
|
# find
|
||||||
|
#
|
||||||
|
#def_key "?"
|
||||||
|
# find_item_backward
|
||||||
|
#
|
||||||
|
#def_key "."
|
||||||
|
# next_found_item
|
||||||
|
#
|
||||||
|
#def_key ","
|
||||||
|
# previous_found_item
|
||||||
|
#
|
||||||
|
#def_key "w"
|
||||||
|
# toggle_find_mode
|
||||||
|
#
|
||||||
|
#def_key "e"
|
||||||
|
# edit_song
|
||||||
|
#
|
||||||
|
#def_key "e"
|
||||||
|
# edit_library_tag
|
||||||
|
#
|
||||||
|
#def_key "e"
|
||||||
|
# edit_library_album
|
||||||
|
#
|
||||||
|
#def_key "e"
|
||||||
|
# edit_directory_name
|
||||||
|
#
|
||||||
|
#def_key "e"
|
||||||
|
# edit_playlist_name
|
||||||
|
#
|
||||||
|
#def_key "e"
|
||||||
|
# edit_lyrics
|
||||||
|
#
|
||||||
|
#def_key "i"
|
||||||
|
# show_song_info
|
||||||
|
#
|
||||||
|
#def_key "I"
|
||||||
|
# show_artist_info
|
||||||
|
#
|
||||||
|
#def_key "g"
|
||||||
|
# jump_to_position_in_song
|
||||||
|
#
|
||||||
|
#def_key "l"
|
||||||
|
# show_lyrics
|
||||||
|
#
|
||||||
|
#def_key "ctrl-v"
|
||||||
|
# select_range
|
||||||
|
#
|
||||||
|
#def_key "v"
|
||||||
|
# reverse_selection
|
||||||
|
#
|
||||||
|
#def_key "V"
|
||||||
|
# remove_selection
|
||||||
|
#
|
||||||
|
#def_key "B"
|
||||||
|
# select_album
|
||||||
|
#
|
||||||
|
#def_key "a"
|
||||||
|
# add_selected_items
|
||||||
|
#
|
||||||
|
#def_key "c"
|
||||||
|
# clear_playlist
|
||||||
|
#
|
||||||
|
#def_key "c"
|
||||||
|
# clear_main_playlist
|
||||||
|
#
|
||||||
|
#def_key "C"
|
||||||
|
# crop_playlist
|
||||||
|
#
|
||||||
|
#def_key "C"
|
||||||
|
# crop_main_playlist
|
||||||
|
#
|
||||||
|
#def_key "m"
|
||||||
|
# move_sort_order_up
|
||||||
|
#
|
||||||
|
#def_key "m"
|
||||||
|
# move_selected_items_up
|
||||||
|
#
|
||||||
|
#def_key "n"
|
||||||
|
# move_sort_order_down
|
||||||
|
#
|
||||||
|
#def_key "n"
|
||||||
|
# move_selected_items_down
|
||||||
|
#
|
||||||
|
#def_key "M"
|
||||||
|
# move_selected_items_to
|
||||||
|
#
|
||||||
|
#def_key "A"
|
||||||
|
# add
|
||||||
|
#
|
||||||
|
#def_key "S"
|
||||||
|
# save_playlist
|
||||||
|
#
|
||||||
|
#def_key "o"
|
||||||
|
# jump_to_playing_song
|
||||||
|
#
|
||||||
|
#def_key "G"
|
||||||
|
# jump_to_browser
|
||||||
|
#
|
||||||
|
#def_key "G"
|
||||||
|
# jump_to_playlist_editor
|
||||||
|
#
|
||||||
|
#def_key "~"
|
||||||
|
# jump_to_media_library
|
||||||
|
#
|
||||||
|
#def_key "E"
|
||||||
|
# jump_to_tag_editor
|
||||||
|
#
|
||||||
|
#def_key "U"
|
||||||
|
# toggle_playing_song_centering
|
||||||
|
#
|
||||||
|
#def_key "P"
|
||||||
|
# toggle_display_mode
|
||||||
|
#
|
||||||
|
#def_key "\\"
|
||||||
|
# toggle_interface
|
||||||
|
#
|
||||||
|
#def_key "!"
|
||||||
|
# toggle_separators_between_albums
|
||||||
|
#
|
||||||
|
#def_key "L"
|
||||||
|
# toggle_lyrics_fetcher
|
||||||
|
#
|
||||||
|
#def_key "F"
|
||||||
|
# fetch_lyrics_in_background
|
||||||
|
#
|
||||||
|
#def_key "alt-l"
|
||||||
|
# toggle_fetching_lyrics_in_background
|
||||||
|
#
|
||||||
|
#def_key "ctrl-l"
|
||||||
|
# toggle_screen_lock
|
||||||
|
#
|
||||||
|
#def_key "`"
|
||||||
|
# toggle_library_tag_type
|
||||||
|
#
|
||||||
|
#def_key "`"
|
||||||
|
# refetch_lyrics
|
||||||
|
#
|
||||||
|
#def_key "`"
|
||||||
|
# add_random_items
|
||||||
|
#
|
||||||
|
#def_key "ctrl-p"
|
||||||
|
# set_selected_items_priority
|
||||||
|
#
|
||||||
|
#def_key "q"
|
||||||
|
# quit
|
||||||
|
#
|
||||||
|
#
|
||||||
|
#def_key "f"
|
||||||
|
# find
|
||||||
|
#def_key "f"
|
||||||
|
# find_item_forward
|
||||||
|
|
||||||
|
def_key "+"
|
||||||
|
show_clock
|
||||||
|
def_key "="
|
||||||
|
volume_up
|
||||||
|
|
||||||
|
def_key "j"
|
||||||
|
scroll_down
|
||||||
|
def_key "k"
|
||||||
|
scroll_up
|
||||||
|
|
||||||
|
def_key "ctrl-u"
|
||||||
|
page_up
|
||||||
|
#push_characters "kkkkkkkkkkkkkkk"
|
||||||
|
def_key "ctrl-d"
|
||||||
|
page_down
|
||||||
|
#push_characters "jjjjjjjjjjjjjjj"
|
||||||
|
def_key "u"
|
||||||
|
page_up
|
||||||
|
#push_characters "kkkkkkkkkkkkkkk"
|
||||||
|
def_key "d"
|
||||||
|
page_down
|
||||||
|
#push_characters "jjjjjjjjjjjjjjj"
|
||||||
|
def_key "h"
|
||||||
|
previous_column
|
||||||
|
def_key "l"
|
||||||
|
next_column
|
||||||
|
|
||||||
|
def_key "."
|
||||||
|
show_lyrics
|
||||||
|
|
||||||
|
def_key "n"
|
||||||
|
next_found_item
|
||||||
|
def_key "N"
|
||||||
|
previous_found_item
|
||||||
|
|
||||||
|
# not used but bound
|
||||||
|
def_key "J"
|
||||||
|
move_sort_order_down
|
||||||
|
def_key "K"
|
||||||
|
move_sort_order_up
|
||||||
|
def_key "h"
|
||||||
|
jump_to_parent_directory
|
||||||
|
def_key "l"
|
||||||
|
enter_directory
|
||||||
|
def_key "l"
|
||||||
|
run_action
|
||||||
|
def_key "l"
|
||||||
|
play_item
|
||||||
|
def_key "m"
|
||||||
|
show_media_library
|
||||||
|
def_key "m"
|
||||||
|
toggle_media_library_columns_mode
|
||||||
|
def_key "t"
|
||||||
|
show_tag_editor
|
||||||
|
def_key "v"
|
||||||
|
show_visualizer
|
||||||
|
def_key "G"
|
||||||
|
move_end
|
||||||
|
def_key "g"
|
||||||
|
move_home
|
||||||
|
#jump_to_position_in_song
|
||||||
|
def_key "U"
|
||||||
|
update_database
|
||||||
|
def_key "s"
|
||||||
|
reset_search_engine
|
||||||
|
def_key "s"
|
||||||
|
show_search_engine
|
||||||
|
#def_key "f"
|
||||||
|
# show_browser
|
||||||
|
#def_key "f"
|
||||||
|
# change_browse_mode
|
||||||
|
def_key "x"
|
||||||
|
delete_playlist_items
|
||||||
|
def_key "P"
|
||||||
|
show_playlist
|
|
@ -0,0 +1,32 @@
|
||||||
|
# vim: filetype=conf
|
||||||
|
|
||||||
|
ncmpcpp_directory = "~/.config/ncmpcpp/"
|
||||||
|
lyrics_directory = "~/.local/share/lyrics/"
|
||||||
|
mpd_music_dir = "~/media/audio/"
|
||||||
|
message_delay_time = "1"
|
||||||
|
visualizer_type = "wave"
|
||||||
|
song_list_format = {$4%a - }{%t}|{$8%f$9}$R{$3(%l)$9}
|
||||||
|
song_status_format = $b{{$8"%t"}} $3by {$4%a{ $3in $7%b{ (%y)}} $3}|{$8%f}
|
||||||
|
song_library_format = {%n - }{%t}|{%f}
|
||||||
|
alternative_header_first_line_format = $b$1$aqqu$/a$9 {%t}|{%f} $1$atqq$/a$9$/b
|
||||||
|
alternative_header_second_line_format = {{$4$b%a$/b$9}{ - $7%b$9}{ ($4%y$9)}}|{%D}
|
||||||
|
current_item_prefix = $(cyan)$r$b
|
||||||
|
current_item_suffix = $/r$(end)$/b
|
||||||
|
current_item_inactive_column_prefix = $(magenta)$r
|
||||||
|
current_item_inactive_column_suffix = $/r$(end)
|
||||||
|
playlist_display_mode = columns
|
||||||
|
browser_display_mode = columns
|
||||||
|
progressbar_look = ->
|
||||||
|
media_library_primary_tag = album_artist
|
||||||
|
media_library_albums_split_by_date = no
|
||||||
|
startup_screen = "browser"
|
||||||
|
display_volume_level = no
|
||||||
|
ignore_leading_the = yes
|
||||||
|
external_editor = nvim
|
||||||
|
use_console_editor = yes
|
||||||
|
empty_tag_color = magenta
|
||||||
|
main_window_color = white
|
||||||
|
progressbar_color = black:b
|
||||||
|
progressbar_elapsed_color = blue:b
|
||||||
|
statusbar_color = red
|
||||||
|
statusbar_time_color = cyan:b
|
|
@ -0,0 +1,62 @@
|
||||||
|
if empty(glob('~/.local/share/nvim/site/autoload/plug.vim'))
|
||||||
|
silent !curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs
|
||||||
|
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||||
|
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
call plug#begin('~/.local/share/nvim/plugged')
|
||||||
|
Plug 'vim-airline/vim-airline'
|
||||||
|
Plug 'vim-airline/vim-airline-themes'
|
||||||
|
|
||||||
|
Plug 'tpope/vim-fugitive'
|
||||||
|
Plug 'dense-analysis/ale'
|
||||||
|
Plug 'chriskempson/base16-vim'
|
||||||
|
|
||||||
|
"language support
|
||||||
|
Plug 'tbastos/vim-lua'
|
||||||
|
call plug#end()
|
||||||
|
|
||||||
|
"enable ale completion
|
||||||
|
let g:ale_completion_enabled = 1
|
||||||
|
|
||||||
|
"airline setup
|
||||||
|
"let g:airline_extensions = []
|
||||||
|
let g:airline#extensions#tabline#enabled = 1
|
||||||
|
let g:airline#extensions#ale#enabled = 1
|
||||||
|
let g:airline_powerline_fonts = 1
|
||||||
|
let g:airline_theme='base16_atlas'
|
||||||
|
|
||||||
|
"syntax numbers, wildmode
|
||||||
|
syntax on
|
||||||
|
set ruler
|
||||||
|
set number "relativenumber
|
||||||
|
set wildmode=longest,list,full
|
||||||
|
|
||||||
|
"Tab Config
|
||||||
|
set expandtab "converts tabs to spaces
|
||||||
|
set shiftwidth=4
|
||||||
|
set tabstop=4
|
||||||
|
|
||||||
|
"split navigation
|
||||||
|
nnoremap <silent> <tab> :if &modifiable && !&readonly && &modified <CR> :write<CR> :endif<CR>:bnext<CR>
|
||||||
|
nnoremap <silent> <s-tab> :if &modifiable && !&readonly && &modified <CR> :write<CR> :endif<CR>:bprevious<CR>
|
||||||
|
|
||||||
|
"make vim use system clipboard by default. ONLY FOR NEOVIM
|
||||||
|
set clipboard+=unnamedplus
|
||||||
|
|
||||||
|
let vim_markdown_preview_browser='librewolf'
|
||||||
|
let vim_markdown_preview_use_xdg_open=1
|
||||||
|
|
||||||
|
"enable unicode support if possible
|
||||||
|
if has("multi_byte")
|
||||||
|
if &termencoding == ""
|
||||||
|
let &termencoding = &encoding
|
||||||
|
endif
|
||||||
|
set encoding=utf-8
|
||||||
|
setglobal fileencoding=utf-8
|
||||||
|
" Uncomment to have 'bomb' on by default for new files.
|
||||||
|
" Note, this will not apply to the first, empty buffer created at Vim startup.
|
||||||
|
"setglobal bomb
|
||||||
|
set fileencodings=ucs-bom,utf-8,latin1
|
||||||
|
endif
|
|
@ -0,0 +1,10 @@
|
||||||
|
uniform float opacity;
|
||||||
|
uniform bool invert_color;
|
||||||
|
uniform sampler2D tex;
|
||||||
|
|
||||||
|
void main() {
|
||||||
|
vec4 c = texture2D(tex, gl_TexCoord[0].xy);
|
||||||
|
float y = dot(c.rgb, vec3(0.299, 0.587, 0.114));
|
||||||
|
// y = 1.0 -y;
|
||||||
|
gl_FragColor = vec4(y, y, y, 1.0);
|
||||||
|
}
|
|
@ -0,0 +1,419 @@
|
||||||
|
#################################
|
||||||
|
# Shadows #
|
||||||
|
#################################
|
||||||
|
|
||||||
|
|
||||||
|
# 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
|
||||||
|
shadow = true;
|
||||||
|
|
||||||
|
# The blur radius for shadows, in pixels. (defaults to 12)
|
||||||
|
# shadow-radius = 12
|
||||||
|
shadow-radius = 7;
|
||||||
|
|
||||||
|
# The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
|
||||||
|
# shadow-opacity = .75
|
||||||
|
|
||||||
|
# The left offset for shadows, in pixels. (defaults to -15)
|
||||||
|
# shadow-offset-x = -15
|
||||||
|
shadow-offset-x = -7;
|
||||||
|
|
||||||
|
# The top offset for shadows, in pixels. (defaults to -15)
|
||||||
|
# shadow-offset-y = -15
|
||||||
|
shadow-offset-y = -7;
|
||||||
|
|
||||||
|
# Red color value of shadow (0.0 - 1.0, defaults to 0).
|
||||||
|
# shadow-red = 0
|
||||||
|
|
||||||
|
# Green color value of shadow (0.0 - 1.0, defaults to 0).
|
||||||
|
# shadow-green = 0
|
||||||
|
|
||||||
|
# Blue color value of shadow (0.0 - 1.0, defaults to 0).
|
||||||
|
# shadow-blue = 0
|
||||||
|
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
|
# examples:
|
||||||
|
# shadow-exclude = "n:e:Notification";
|
||||||
|
#
|
||||||
|
# shadow-exclude = []
|
||||||
|
shadow-exclude = [
|
||||||
|
"name = 'Notification'",
|
||||||
|
"class_g = 'Conky'",
|
||||||
|
"class_g ?= 'Notify-osd'",
|
||||||
|
"class_g = 'Cairo-clock'",
|
||||||
|
"_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
|
||||||
|
# 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 = ""
|
||||||
|
|
||||||
|
# Crop shadow of a window fully on a particular Xinerama screen to the screen.
|
||||||
|
# xinerama-shadow-crop = false
|
||||||
|
|
||||||
|
|
||||||
|
#################################
|
||||||
|
# Fading #
|
||||||
|
#################################
|
||||||
|
|
||||||
|
|
||||||
|
# Fade windows in/out when opening/closing and when opacity changes,
|
||||||
|
# unless no-fading-openclose is used.
|
||||||
|
# fading = false
|
||||||
|
fading = true;
|
||||||
|
|
||||||
|
# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
|
||||||
|
# fade-in-step = 0.028
|
||||||
|
fade-in-step = 0.03;
|
||||||
|
|
||||||
|
# Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03)
|
||||||
|
# fade-out-step = 0.03
|
||||||
|
fade-out-step = 0.03;
|
||||||
|
|
||||||
|
# The time between steps in fade step, in milliseconds. (> 0, defaults to 10)
|
||||||
|
# fade-delta = 10
|
||||||
|
|
||||||
|
# Specify a list of conditions of windows that should not be faded.
|
||||||
|
# fade-exclude = []
|
||||||
|
|
||||||
|
# Do not fade on window open/close.
|
||||||
|
# no-fading-openclose = false
|
||||||
|
|
||||||
|
# Do not fade destroyed ARGB windows with WM frame. Workaround of bugs in Openbox, Fluxbox, etc.
|
||||||
|
# no-fading-destroyed-argb = false
|
||||||
|
|
||||||
|
|
||||||
|
#################################
|
||||||
|
# Transparency / Opacity #
|
||||||
|
#################################
|
||||||
|
|
||||||
|
|
||||||
|
# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
|
||||||
|
# inactive-opacity = 1
|
||||||
|
inactive-opacity = 0.8;
|
||||||
|
|
||||||
|
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
|
||||||
|
# frame-opacity = 1.0
|
||||||
|
frame-opacity = 0.7;
|
||||||
|
|
||||||
|
# Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows.
|
||||||
|
# inactive-opacity-override = true
|
||||||
|
inactive-opacity-override = false;
|
||||||
|
|
||||||
|
# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
|
||||||
|
# active-opacity = 1.0
|
||||||
|
|
||||||
|
# Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
|
||||||
|
# inactive-dim = 0.0
|
||||||
|
|
||||||
|
# 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
|
||||||
|
# programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows.
|
||||||
|
# example:
|
||||||
|
# opacity-rule = [ "80:class_g = 'URxvt'" ];
|
||||||
|
#
|
||||||
|
# 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-size = 12
|
||||||
|
#
|
||||||
|
# blur-deviation = false
|
||||||
|
#
|
||||||
|
# blur-strength = 5
|
||||||
|
|
||||||
|
# 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.
|
||||||
|
# Implies:
|
||||||
|
# blur-background
|
||||||
|
# Bad in performance, with driver-dependent behavior. The name may change.
|
||||||
|
#
|
||||||
|
# blur-background-frame = false
|
||||||
|
|
||||||
|
|
||||||
|
# Use fixed blur strength rather than adjusting according to window opacity.
|
||||||
|
# blur-background-fixed = false
|
||||||
|
|
||||||
|
|
||||||
|
# Specify the blur convolution kernel, with the following format:
|
||||||
|
# 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 = "3x3box";
|
||||||
|
|
||||||
|
|
||||||
|
# Exclude conditions for background blur.
|
||||||
|
# blur-background-exclude = []
|
||||||
|
blur-background-exclude = [
|
||||||
|
"window_type = 'dock'",
|
||||||
|
"window_type = 'desktop'",
|
||||||
|
"_GTK_FRAME_EXTENTS@:c"
|
||||||
|
];
|
||||||
|
|
||||||
|
#################################
|
||||||
|
# General Settings #
|
||||||
|
#################################
|
||||||
|
|
||||||
|
# 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 = "xrender";
|
||||||
|
|
||||||
|
# Enable/disable VSync.
|
||||||
|
# vsync = false
|
||||||
|
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
|
||||||
|
# child that has 'WM_STATE') and mark them as active.
|
||||||
|
#
|
||||||
|
# mark-wmwin-focused = false
|
||||||
|
mark-wmwin-focused = true;
|
||||||
|
|
||||||
|
# Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused.
|
||||||
|
# mark-ovredir-focused = false
|
||||||
|
mark-ovredir-focused = true;
|
||||||
|
|
||||||
|
# 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-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;
|
||||||
|
|
||||||
|
# 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
|
||||||
|
# when redirecting/unredirecting windows.
|
||||||
|
#
|
||||||
|
# unredir-if-possible = false
|
||||||
|
|
||||||
|
# Delay before unredirecting the window, in milliseconds. Defaults to 0.
|
||||||
|
# unredir-if-possible-delay = 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
|
||||||
|
# in the same group focused at the same time.
|
||||||
|
#
|
||||||
|
# detect-transient = false
|
||||||
|
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.
|
||||||
|
#
|
||||||
|
# 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).
|
||||||
|
# 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.
|
||||||
|
# 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.
|
||||||
|
# My tests show a 15% performance boost. Recommended.
|
||||||
|
#
|
||||||
|
glx-no-stencil = true
|
||||||
|
|
||||||
|
# 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 = true
|
||||||
|
|
||||||
|
# Disable the use of damage information.
|
||||||
|
# This cause the whole screen to be redrawn everytime, 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 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 = true
|
||||||
|
|
||||||
|
# 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-fshader-win = ""
|
||||||
|
|
||||||
|
# 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.
|
||||||
|
# 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.
|
||||||
|
# Setting this to 1.0 disables this behaviour. Requires --use-damage to be disabled. (default: 1.0)
|
||||||
|
#
|
||||||
|
# max-brightness = 1.0
|
||||||
|
|
||||||
|
# Make transparent windows clip other windows like non-transparent windows do,
|
||||||
|
# instead of blending on top of them.
|
||||||
|
#
|
||||||
|
# transparent-clipping = false
|
||||||
|
|
||||||
|
# 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
|
||||||
|
# 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.
|
||||||
|
# When setting this option from the config file, it is recommended to use an absolute path.
|
||||||
|
#
|
||||||
|
# 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"
|
||||||
|
|
||||||
|
# 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",
|
||||||
|
# "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.
|
||||||
|
# (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
|
||||||
|
# transparent, and you want shadows in those areas.
|
||||||
|
#
|
||||||
|
# clip-shadow-above:::
|
||||||
|
# Controls wether 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
|
||||||
|
# redirected again after been unredirected. If you have unredir-if-possible
|
||||||
|
# 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; clip-shadow-above = true; }
|
||||||
|
dnd = { shadow = false; }
|
||||||
|
popup_menu = { opacity = 0.8; }
|
||||||
|
dropdown_menu = { opacity = 0.8; }
|
||||||
|
};
|
|
@ -0,0 +1,90 @@
|
||||||
|
# Shadow
|
||||||
|
shadow = true;
|
||||||
|
shadow-radius = 7;
|
||||||
|
shadow-offset-x = -7;
|
||||||
|
shadow-offset-y = -7;
|
||||||
|
log-level = "warn";
|
||||||
|
# log-file = "/path/to/your/log/file";
|
||||||
|
# shadow-opacity = 0.7;
|
||||||
|
# shadow-red = 0.0;
|
||||||
|
# shadow-green = 0.0;
|
||||||
|
# shadow-blue = 0.0;
|
||||||
|
shadow-exclude = [
|
||||||
|
"name = 'Notification'",
|
||||||
|
"class_g = 'Conky'",
|
||||||
|
"class_g ?= 'Notify-osd'",
|
||||||
|
"class_g = 'Cairo-clock'",
|
||||||
|
"_GTK_FRAME_EXTENTS@:c"
|
||||||
|
];
|
||||||
|
# shadow-exclude = "n:e:Notification";
|
||||||
|
# shadow-exclude-reg = "x10+0+0";
|
||||||
|
# xinerama-shadow-crop = true;
|
||||||
|
|
||||||
|
# Opacity
|
||||||
|
#uncomment for window transparency
|
||||||
|
menu-opacity = 0.8;
|
||||||
|
inactive-opacity = 0.8;
|
||||||
|
# active-opacity = 0.8;
|
||||||
|
frame-opacity = 0.7;
|
||||||
|
inactive-opacity-override = false;
|
||||||
|
# inactive-dim = 0.2;
|
||||||
|
# inactive-dim-fixed = true;
|
||||||
|
# blur-background = true;
|
||||||
|
# blur-background-frame = true;
|
||||||
|
blur-kern = "3x3box";
|
||||||
|
# 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-background-fixed = true;
|
||||||
|
blur-background-exclude = [
|
||||||
|
"window_type = 'dock'",
|
||||||
|
"window_type = 'desktop'",
|
||||||
|
"_GTK_FRAME_EXTENTS@:c"
|
||||||
|
];
|
||||||
|
# opacity-rule = [ "80:class_g = 'URxvt'" ];
|
||||||
|
|
||||||
|
# max-brightness = 0.66
|
||||||
|
|
||||||
|
# Fading
|
||||||
|
fading = true;
|
||||||
|
# fade-delta = 30;
|
||||||
|
fade-in-step = 0.03;
|
||||||
|
fade-out-step = 0.03;
|
||||||
|
# no-fading-openclose = true;
|
||||||
|
# no-fading-destroyed-argb = true;
|
||||||
|
fade-exclude = [ ];
|
||||||
|
|
||||||
|
# Other
|
||||||
|
backend = "glx";
|
||||||
|
|
||||||
|
|
||||||
|
mark-wmwin-focused = true;
|
||||||
|
mark-ovredir-focused = true;
|
||||||
|
# use-ewmh-active-win = true;
|
||||||
|
detect-rounded-corners = true;
|
||||||
|
detect-client-opacity = true;
|
||||||
|
refresh-rate = 0;
|
||||||
|
vsync = true;
|
||||||
|
# sw-opti = true;
|
||||||
|
# unredir-if-possible = true;
|
||||||
|
# unredir-if-possible-delay = 5000;
|
||||||
|
# unredir-if-possible-exclude = [ ];
|
||||||
|
focus-exclude = [ "class_g = 'Cairo-clock'" ];
|
||||||
|
detect-transient = true;
|
||||||
|
detect-client-leader = true;
|
||||||
|
invert-color-include = [ ];
|
||||||
|
# resize-damage = 1;
|
||||||
|
|
||||||
|
# GLX backend
|
||||||
|
glx-no-stencil = true;
|
||||||
|
glx-no-rebind-pixmap = true;
|
||||||
|
xrender-sync-fence = true;
|
||||||
|
use-damage = true;
|
||||||
|
|
||||||
|
# Window type settings
|
||||||
|
wintypes:
|
||||||
|
{
|
||||||
|
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
|
||||||
|
dock = { shadow = false; }
|
||||||
|
dnd = { shadow = false; }
|
||||||
|
popup_menu = { opacity = 0.8; }
|
||||||
|
dropdown_menu = { opacity = 0.8; }
|
||||||
|
};
|
|
@ -0,0 +1,24 @@
|
||||||
|
; Global settings
|
||||||
|
[redshift]
|
||||||
|
temp-day=6500
|
||||||
|
temp-night=2000
|
||||||
|
transition=1
|
||||||
|
;gamma=0.8:0.7:0.8
|
||||||
|
gamma=1.000:1.000:1.000
|
||||||
|
;location-provider=geoclue
|
||||||
|
location-provider=manual
|
||||||
|
adjustment-method=vidmode
|
||||||
|
;brightness=1.0:0.5
|
||||||
|
|
||||||
|
; The location provider and adjustment method settings
|
||||||
|
; are in their own sections.
|
||||||
|
; This is an example lat long for Portland, OR
|
||||||
|
[manual]
|
||||||
|
lat=34.73
|
||||||
|
lon=-86.58
|
||||||
|
|
||||||
|
; In this example screen 1 is adjusted by vidmode. Note
|
||||||
|
; that the numbering starts from 0, so this is actually
|
||||||
|
; the second screen.
|
||||||
|
;[vidmode]
|
||||||
|
;screen=1
|
|
@ -0,0 +1,149 @@
|
||||||
|
configuration {
|
||||||
|
/* modes: "drun,run,ssh";*/
|
||||||
|
/* font: "mono 12";*/
|
||||||
|
/* location: 0;*/
|
||||||
|
/* yoffset: 0;*/
|
||||||
|
/* xoffset: 0;*/
|
||||||
|
/* fixed-num-lines: true;*/
|
||||||
|
/* show-icons: false;*/
|
||||||
|
/* terminal: "rofi-sensible-terminal";*/
|
||||||
|
/* ssh-client: "ssh";*/
|
||||||
|
/* ssh-command: "{terminal} -e {ssh-client} {host} [-p {port}]";*/
|
||||||
|
/* run-command: "{cmd}";*/
|
||||||
|
/* run-list-command: "";*/
|
||||||
|
/* run-shell-command: "{terminal} -e {cmd}";*/
|
||||||
|
/* window-command: "wmctrl -i -R {window}";*/
|
||||||
|
/* window-match-fields: "all";*/
|
||||||
|
/* icon-theme: ;*/
|
||||||
|
/* drun-match-fields: "name,generic,exec,categories,keywords";*/
|
||||||
|
/* drun-categories: ;*/
|
||||||
|
/* drun-show-actions: false;*/
|
||||||
|
/* drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]";*/
|
||||||
|
/* drun-url-launcher: "xdg-open";*/
|
||||||
|
/* disable-history: false;*/
|
||||||
|
/* ignored-prefixes: "";*/
|
||||||
|
/* sort: false;*/
|
||||||
|
/* sorting-method: "normal";*/
|
||||||
|
/* case-sensitive: false;*/
|
||||||
|
/* cycle: true;*/
|
||||||
|
/* sidebar-mode: false;*/
|
||||||
|
/* hover-select: false;*/
|
||||||
|
/* eh: 1;*/
|
||||||
|
/* auto-select: false;*/
|
||||||
|
/* parse-hosts: false;*/
|
||||||
|
/* parse-known-hosts: true;*/
|
||||||
|
/* combi-modes: "window,run";*/
|
||||||
|
/* matching: "normal";*/
|
||||||
|
/* tokenize: true;*/
|
||||||
|
/* m: "-5";*/
|
||||||
|
/* filter: ;*/
|
||||||
|
/* dpi: -1;*/
|
||||||
|
/* threads: 0;*/
|
||||||
|
/* scroll-method: 0;*/
|
||||||
|
/* window-format: "{w} {c} {t}";*/
|
||||||
|
/* click-to-exit: true;*/
|
||||||
|
/* max-history-size: 25;*/
|
||||||
|
/* combi-hide-mode-prefix: false;*/
|
||||||
|
/* combi-display-format: "{mode} {text}";*/
|
||||||
|
/* matching-negate-char: '-' /* unsupported */;*/
|
||||||
|
/* cache-dir: ;*/
|
||||||
|
/* window-thumbnail: false;*/
|
||||||
|
/* drun-use-desktop-cache: false;*/
|
||||||
|
/* drun-reload-desktop-cache: false;*/
|
||||||
|
/* normalize-match: false;*/
|
||||||
|
/* steal-focus: false;*/
|
||||||
|
/* application-fallback-icon: ;*/
|
||||||
|
/* pid: "/run/user/1000/rofi.pid";*/
|
||||||
|
/* display-run: ;*/
|
||||||
|
/* display-ssh: ;*/
|
||||||
|
/* display-drun: ;*/
|
||||||
|
/* display-combi: ;*/
|
||||||
|
/* display-keys: ;*/
|
||||||
|
/* display-filebrowser: ;*/
|
||||||
|
/* kb-primary-paste: "Control+V,Shift+Insert";*/
|
||||||
|
/* kb-secondary-paste: "Control+v,Insert";*/
|
||||||
|
/* kb-clear-line: "Control+w";*/
|
||||||
|
/* kb-move-front: "Control+a";*/
|
||||||
|
/* kb-move-end: "Control+e";*/
|
||||||
|
/* kb-move-word-back: "Alt+b,Control+Left";*/
|
||||||
|
/* kb-move-word-forward: "Alt+f,Control+Right";*/
|
||||||
|
/* kb-move-char-back: "Left,Control+b";*/
|
||||||
|
/* kb-move-char-forward: "Right,Control+f";*/
|
||||||
|
/* kb-remove-word-back: "Control+Alt+h,Control+BackSpace";*/
|
||||||
|
/* kb-remove-word-forward: "Control+Alt+d";*/
|
||||||
|
/* kb-remove-char-forward: "Delete,Control+d";*/
|
||||||
|
/* kb-remove-char-back: "BackSpace,Shift+BackSpace,Control+h";*/
|
||||||
|
/* kb-remove-to-eol: "Control+k";*/
|
||||||
|
/* kb-remove-to-sol: "Control+u";*/
|
||||||
|
/* kb-accept-entry: "Control+j,Control+m,Return,KP_Enter";*/
|
||||||
|
/* kb-accept-custom: "Control+Return";*/
|
||||||
|
/* kb-accept-custom-alt: "Control+Shift+Return";*/
|
||||||
|
/* kb-accept-alt: "Shift+Return";*/
|
||||||
|
/* kb-delete-entry: "Shift+Delete";*/
|
||||||
|
/* kb-mode-next: "Shift+Right,Control+Tab";*/
|
||||||
|
/* kb-mode-previous: "Shift+Left,Control+ISO_Left_Tab";*/
|
||||||
|
/* kb-mode-complete: "Control+l";*/
|
||||||
|
/* kb-row-left: "Control+Page_Up";*/
|
||||||
|
/* kb-row-right: "Control+Page_Down";*/
|
||||||
|
/* kb-row-up: "Up,Control+p";*/
|
||||||
|
/* kb-row-down: "Down,Control+n";*/
|
||||||
|
/* kb-row-tab: "";*/
|
||||||
|
/* kb-element-next: "Tab";*/
|
||||||
|
/* kb-element-prev: "ISO_Left_Tab";*/
|
||||||
|
/* kb-page-prev: "Page_Up";*/
|
||||||
|
/* kb-page-next: "Page_Down";*/
|
||||||
|
/* kb-row-first: "Home,KP_Home";*/
|
||||||
|
/* kb-row-last: "End,KP_End";*/
|
||||||
|
/* kb-row-select: "Control+space";*/
|
||||||
|
/* kb-screenshot: "Alt+S";*/
|
||||||
|
/* kb-ellipsize: "Alt+period";*/
|
||||||
|
/* kb-toggle-case-sensitivity: "grave,dead_grave";*/
|
||||||
|
/* kb-toggle-sort: "Alt+grave";*/
|
||||||
|
/* kb-cancel: "Escape,Control+g,Control+bracketleft";*/
|
||||||
|
/* kb-custom-1: "Alt+1";*/
|
||||||
|
/* kb-custom-2: "Alt+2";*/
|
||||||
|
/* kb-custom-3: "Alt+3";*/
|
||||||
|
/* kb-custom-4: "Alt+4";*/
|
||||||
|
/* kb-custom-5: "Alt+5";*/
|
||||||
|
/* kb-custom-6: "Alt+6";*/
|
||||||
|
/* kb-custom-7: "Alt+7";*/
|
||||||
|
/* kb-custom-8: "Alt+8";*/
|
||||||
|
/* kb-custom-9: "Alt+9";*/
|
||||||
|
/* kb-custom-10: "Alt+0";*/
|
||||||
|
/* kb-custom-11: "Alt+exclam";*/
|
||||||
|
/* kb-custom-12: "Alt+at";*/
|
||||||
|
/* kb-custom-13: "Alt+numbersign";*/
|
||||||
|
/* kb-custom-14: "Alt+dollar";*/
|
||||||
|
/* kb-custom-15: "Alt+percent";*/
|
||||||
|
/* kb-custom-16: "Alt+dead_circumflex";*/
|
||||||
|
/* kb-custom-17: "Alt+ampersand";*/
|
||||||
|
/* kb-custom-18: "Alt+asterisk";*/
|
||||||
|
/* kb-custom-19: "Alt+parenleft";*/
|
||||||
|
/* kb-select-1: "Super+1";*/
|
||||||
|
/* kb-select-2: "Super+2";*/
|
||||||
|
/* kb-select-3: "Super+3";*/
|
||||||
|
/* kb-select-4: "Super+4";*/
|
||||||
|
/* kb-select-5: "Super+5";*/
|
||||||
|
/* kb-select-6: "Super+6";*/
|
||||||
|
/* kb-select-7: "Super+7";*/
|
||||||
|
/* kb-select-8: "Super+8";*/
|
||||||
|
/* kb-select-9: "Super+9";*/
|
||||||
|
/* kb-select-10: "Super+0";*/
|
||||||
|
/* ml-row-left: "ScrollLeft";*/
|
||||||
|
/* ml-row-right: "ScrollRight";*/
|
||||||
|
/* ml-row-up: "ScrollUp";*/
|
||||||
|
/* ml-row-down: "ScrollDown";*/
|
||||||
|
/* me-select-entry: "MousePrimary";*/
|
||||||
|
/* me-accept-entry: "MouseDPrimary";*/
|
||||||
|
/* me-accept-custom: "Control+MouseDPrimary";*/
|
||||||
|
timeout {
|
||||||
|
action: "kb-cancel";
|
||||||
|
delay: 0;
|
||||||
|
}
|
||||||
|
filebrowser {
|
||||||
|
directories-first: true;
|
||||||
|
sorting-method: "name";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@theme "base16-gruvbox-dark-medium"
|
|
@ -0,0 +1,79 @@
|
||||||
|
sfeedpath="$HOME/.local/share/sfeed/feeds"
|
||||||
|
|
||||||
|
! [ -f "$SFEED_URL_FILE" ] && echo "Creating sfeed url file." && mkdir -p "$(echo $SFEED_URL_FILE | sed 's/\/[a-z]*$//g')" && touch "$SFEED_URL_FILE"
|
||||||
|
|
||||||
|
#override fetch command to fix some feeds not downloading
|
||||||
|
fetch() {
|
||||||
|
# fail on redirects, hide User-Agent, timeout is 15 seconds.
|
||||||
|
curl -L --max-redirs 5 -H "User-Agent:" -f -s -m 15 \
|
||||||
|
"$2" 2>/dev/null
|
||||||
|
}
|
||||||
|
|
||||||
|
# list of feeds to fetch:
|
||||||
|
feeds() {
|
||||||
|
# feed <name> <feedurl> [basesiteurl] [encoding]
|
||||||
|
# sfeedpath
|
||||||
|
# get youtube Atom feed: curl -s -L 'https://www.youtube.com/user/gocoding/videos' | sfeed_web | cut -f 1
|
||||||
|
#
|
||||||
|
|
||||||
|
#NEWS
|
||||||
|
#feed "Breaking911" "https://breaking911.com/feed"
|
||||||
|
feed "Revolver News" "https://www.revolver.news/feed/"
|
||||||
|
|
||||||
|
#Tech
|
||||||
|
feed "NEWS Phoronix" "https://www.phoronix.com/rss.php"
|
||||||
|
feed "TheHackerNews" "https://feeds.feedburner.com/TheHackersNews"
|
||||||
|
feed "Arch Linux News" "https://archlinux.org/feeds/news/"
|
||||||
|
feed "Suckless" "http://suckless.org/atom.xml"
|
||||||
|
feed "Codemadness" "https://www.codemadness.nl/atom.xml"
|
||||||
|
|
||||||
|
#Linux Distros
|
||||||
|
#feed "LibreELEC" "https://libreelec.tv/feed/"
|
||||||
|
#feed "Artix Linux" "https://artixlinux.org/feed.php"
|
||||||
|
feed "Alpine Linux" "https://www.alpinelinux.org/atom.xml"
|
||||||
|
|
||||||
|
#Youtube
|
||||||
|
#feed "VIDS YT HydeWars" "https://www.youtube.com/feeds/videos.xml?channel_id=UCfUaZ8Ra7m7BqUEACv2jySw"
|
||||||
|
#feed "VIDS YT MilleniaThinker" "https://www.youtube.com/feeds/videos.xml?channel_id=UC3TUCGI-7rSjvHsE4ONXRww"
|
||||||
|
#feed "VIDS YT MentalOutlaw" "https://www.youtube.com/feeds/videos.xml?channel_id=UC7YOGHUfC1Tb6E4pudI9STA"
|
||||||
|
#feed "VIDS YT The Bioneer" "https://www.youtube.com/feeds/videos.xml?channel_id=UCIh_TPYPqjJuS_-nOfAIlfg"
|
||||||
|
#Bitchute
|
||||||
|
feed "VIDS BIT Paul Joseph Watson" "https://www.bitchute.com/feeds/rss/channel/pauljosephwatson/"
|
||||||
|
feed "VIDS BIT Liberum Arbitrium" "https://www.bitchute.com/feeds/rss/channel/liberum-arbitrium/"
|
||||||
|
#feed "VIDS BIT Keith Woods" "https://www.bitchute.com/feeds/rss/channel/keithwoods/"
|
||||||
|
feed "VIDS BIT PaxTube" "https://www.bitchute.com/feeds/rss/channel/paxtube/"
|
||||||
|
#feed "VIDS BIT MisterMetokur" "https://www.bitchute.com/feeds/rss/channel/mistermetokur/"
|
||||||
|
|
||||||
|
#Anime
|
||||||
|
#feed "VIDS YT RetroCrush" "https://www.youtube.com/feeds/videos.xml?channel_id=UCPZkYpT5XIUou8sV8zk-3jQ"
|
||||||
|
feed "VIDS YT DemolitionD" "https://www.youtube.com/feeds/videos.xml?channel_id=UCcAvljdM2NMdMYq_pvT9pBw"
|
||||||
|
feed "VIDS YT Merryweather Comics" "https://www.youtube.com/feeds/videos.xml?channel_id=UCvCtIO1it51jSkZGibS9R3w"
|
||||||
|
#feed "VIDS YT Super Eyepatch Wolf" "https://www.youtube.com/feeds/videos.xml?channel_id=UCtGoikgbxP4F3rgI9PldI9g"
|
||||||
|
#feed "VIDS YT Pikamee" "https://www.youtube.com/feeds/videos.xml?channel_id=UCajhBT4nMrg3DLS-bLL2RCg"
|
||||||
|
#feed "VIDS YT ChoobiePatootie" "https://www.youtube.com/feeds/videos.xml?channel_id=UCESCrvsa2H5hNMmBbgkAWdQ"
|
||||||
|
|
||||||
|
#Podcasts
|
||||||
|
#feed "POD The Dick Show" "https://thedickshow.com/feed/podcast/rss"
|
||||||
|
feed "POD Not Related" "https://notrelated.xyz/rss"
|
||||||
|
|
||||||
|
#Baisudo
|
||||||
|
feed "Luke Smith Vids" "https://videos.lukesmith.xyz/feeds/videos.xml?accountId=3"
|
||||||
|
feed "Luke Smith" "https://lukesmith.xyz/rss.xml"
|
||||||
|
feed "Stonetoss" "https://stonetoss.com/index.php/comic/feed/"
|
||||||
|
#feed "VIDS YT John Doyle" "https://www.youtube.com/feeds/videos.xml?channel_id=UCzZpgppwC_XQMe8lFiI77-Q"
|
||||||
|
#feed "VIDS YT The New Pill" "https://www.youtube.com/feeds/videos.xml?channel_id=UCiUkcNS6W0n8QdosuZASduQ"
|
||||||
|
|
||||||
|
#Boogaloo
|
||||||
|
#feed "VIDS YT Booligan Shooting Sports" "https://www.youtube.com/feeds/videos.xml?channel_id=UCzcWHu-x6oWOHxwZTfhrXug"
|
||||||
|
feed "CtrlPew" "https://ctrlpew.com/feed"
|
||||||
|
#feed "VIDS YT Bushradical" "https://www.youtube.com/feeds/videos.xml?channel_id=UCo698VL13Dip93yh0f4Rc5Q"
|
||||||
|
|
||||||
|
#Crypto
|
||||||
|
#feed "Chainlink Blog" "https://blog.chain.link/rss/"
|
||||||
|
feed "GetMonero" "https://www.getmonero.org/feed.xml"
|
||||||
|
|
||||||
|
#Misc
|
||||||
|
#feed "VIDS YT Primitive Technology" "https://www.youtube.com/feeds/videos.xml?channel_id=UCAL3JXZSzSm8AlZyD3nQdBA"
|
||||||
|
|
||||||
|
feed "based.cooking" "https://based.cooking/index.xml"
|
||||||
|
}
|
|
@ -0,0 +1,33 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
#remove things from $HOME
|
||||||
|
export XDG_CONFIG_HOME="$HOME/.config"
|
||||||
|
export XDG_CONFIG_DIRS="$HOME/.config"
|
||||||
|
export XDG_DATA_HOME="$HOME/.local/share"
|
||||||
|
export XDG_CACHE_HOME="$HOME/.cache"
|
||||||
|
export XDG_DOCUMENTS_DIR="$HOME/docs"
|
||||||
|
export XDG_DOWNLOAD_DIR="$HOME/dl"
|
||||||
|
export XDG_MUSIC_DIR="$HOME/media/audio/music"
|
||||||
|
export XDG_PICTURES_DIR="$HOME/media/img"
|
||||||
|
export XDG_VIDEOS_DIR="$HOME/media/video"
|
||||||
|
export HISTFILE="$XDG_DATA_HOME"/bash/history
|
||||||
|
#XDG_DESKTOP_DIR="$HOME/Desktop"
|
||||||
|
#XDG_PUBLICSHARE_DIR="$HOME/Public"
|
||||||
|
#XDG_TEMPLATES_DIR="$HOME/Templates"
|
||||||
|
|
||||||
|
export NOTMUCH_CONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/notmuch-config"
|
||||||
|
export GTK2_RC_FILES="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-2.0/gtkrc-2.0"
|
||||||
|
export WGETRC="${XDG_CONFIG_HOME:-$HOME/.config}/wget/wgetrc"
|
||||||
|
export INPUTRC="${XDG_CONFIG_HOME:-$HOME/.config}/inputrc"
|
||||||
|
#export ALSA_CONFIG_PATH="$XDG_CONFIG_HOME/alsa/asoundrc"
|
||||||
|
export WINEPREFIX="$XDG_DATA_HOME/wineprefixes/default"
|
||||||
|
export STACK_ROOT="$XDG_DATA_HOME"/stack
|
||||||
|
export PASSWORD_STORE_DIR="${XDG_DATA_HOME:-$HOME/.local/share}/password-store"
|
||||||
|
export GNUPGHOME="$XDG_DATA_HOME/gnupg"
|
||||||
|
export CARGO_HOME="${XDG_DATA_HOME:-$HOME/.local/share}/cargo"
|
||||||
|
export GOPATH="${XDG_DATA_HOME:-$HOME/.local/share}/go"
|
||||||
|
export ANSIBLE_CONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/ansible/ansible.cfg"
|
||||||
|
export TMUX_TMPDIR="$XDG_RUNTIME_DIR"
|
||||||
|
export ANDROID_SDK_HOME="${XDG_CONFIG_HOME:-$HOME/.config}/android"
|
||||||
|
export MBSYNCRC="${XDG_CONFIG_HOME:-$HOME/.config}/mbsync/config"
|
||||||
|
export ELECTRUMDIR="${XDG_DATA_HOME:-$HOME/.local/share}/electrum"
|
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
BEMENU_CONF="$HOME/.config/bemenu/bemenu_opts.sh"
|
||||||
|
[ -f "$BEMENU_CONF" ] && . "$BEMENU_CONF"
|
||||||
|
#End wayland config
|
||||||
|
|
||||||
|
#make librewolf use wayland
|
||||||
|
export GDK_BACKEND=wayland
|
||||||
|
export MOZ_ENABLE_WAYLAND=1
|
||||||
|
|
|
@ -0,0 +1,19 @@
|
||||||
|
## Base16 Atlas
|
||||||
|
# Author: Alex Lende (https://ajlende.com)
|
||||||
|
|
||||||
|
set $base00 #002635
|
||||||
|
set $base01 #00384d
|
||||||
|
set $base02 #517F8D
|
||||||
|
set $base03 #6C8B91
|
||||||
|
set $base04 #869696
|
||||||
|
set $base05 #a1a19a
|
||||||
|
set $base06 #e6e6dc
|
||||||
|
set $base07 #fafaf8
|
||||||
|
set $base08 #ff5a67
|
||||||
|
set $base09 #f08e48
|
||||||
|
set $base0A #ffcc1b
|
||||||
|
set $base0B #7fc06e
|
||||||
|
set $base0C #14747e
|
||||||
|
set $base0D #5dd7b9
|
||||||
|
set $base0E #9a70a4
|
||||||
|
set $base0F #c43060
|
|
@ -0,0 +1,16 @@
|
||||||
|
set $base00 #2b2b2b
|
||||||
|
set $base01 #323232
|
||||||
|
set $base02 #323232
|
||||||
|
set $base03 #606366
|
||||||
|
set $base04 #a4a3a3
|
||||||
|
set $base05 #a9b7c6
|
||||||
|
set $base06 #ffc66d
|
||||||
|
set $base07 #ffffff
|
||||||
|
set $base08 #4eade5
|
||||||
|
set $base09 #689757
|
||||||
|
set $base0A #bbb529
|
||||||
|
set $base0B #6a8759
|
||||||
|
set $base0C #629755
|
||||||
|
set $base0D #9876aa
|
||||||
|
set $base0E #cc7832
|
||||||
|
set $base0F #808080
|
|
@ -0,0 +1,19 @@
|
||||||
|
## Base16 Default Dark
|
||||||
|
# Author: Chris Kempson (http://chriskempson.com)
|
||||||
|
|
||||||
|
set $base00 #181818
|
||||||
|
set $base01 #282828
|
||||||
|
set $base02 #383838
|
||||||
|
set $base03 #585858
|
||||||
|
set $base04 #b8b8b8
|
||||||
|
set $base05 #d8d8d8
|
||||||
|
set $base06 #e8e8e8
|
||||||
|
set $base07 #f8f8f8
|
||||||
|
set $base08 #ab4642
|
||||||
|
set $base09 #dc9656
|
||||||
|
set $base0A #f7ca88
|
||||||
|
set $base0B #a1b56c
|
||||||
|
set $base0C #86c1b9
|
||||||
|
set $base0D #7cafc2
|
||||||
|
set $base0E #ba8baf
|
||||||
|
set $base0F #a16946
|
|
@ -0,0 +1,16 @@
|
||||||
|
set $base00 #282936
|
||||||
|
set $base01 #3a3c4e
|
||||||
|
set $base02 #4d4f68
|
||||||
|
set $base03 #626483
|
||||||
|
set $base04 #62d6e8
|
||||||
|
set $base05 #e9e9f4
|
||||||
|
set $base06 #f1f2f8
|
||||||
|
set $base07 #f7f7fb
|
||||||
|
set $base08 #ea51b2
|
||||||
|
set $base09 #b45bcf
|
||||||
|
set $base0A #00f769
|
||||||
|
set $base0B #ebff87
|
||||||
|
set $base0C #a1efe4
|
||||||
|
set $base0D #62d6e8
|
||||||
|
set $base0E #b45bcf
|
||||||
|
set $base0F #00f769
|
|
@ -0,0 +1,19 @@
|
||||||
|
#dracula colorscheme for sway
|
||||||
|
#based on base16 (https://github.com/rkubosz/base16-sway)
|
||||||
|
|
||||||
|
set $base00 #282936
|
||||||
|
set $base01 #3a3c4e
|
||||||
|
set $base02 #F7CA88
|
||||||
|
set $base03 #626483
|
||||||
|
set $base04 #62d6e8
|
||||||
|
set $base05 #e9e9f4
|
||||||
|
set $base06 #f1f2f8
|
||||||
|
set $base07 #f7f7fb
|
||||||
|
set $base08 #ea51b2
|
||||||
|
set $base09 #b45bcf
|
||||||
|
set $base0A #00f769
|
||||||
|
set $base0B #ebff87
|
||||||
|
set $base0C #a1efe4
|
||||||
|
set $base0D #62d6e8
|
||||||
|
set $base0E #b45bcf
|
||||||
|
set $base0F #00f769
|
|
@ -0,0 +1,16 @@
|
||||||
|
set $base00 #32302f
|
||||||
|
set $base01 #3c3836
|
||||||
|
set $base02 #504945
|
||||||
|
set $base03 #665c54
|
||||||
|
set $base04 #bdae93
|
||||||
|
set $base05 #d5c4a1
|
||||||
|
set $base06 #ebdbb2
|
||||||
|
set $base07 #fbf1c7
|
||||||
|
set $base08 #fb4934
|
||||||
|
set $base09 #fe8019
|
||||||
|
set $base0A #fabd2f
|
||||||
|
set $base0B #b8bb26
|
||||||
|
set $base0C #8ec07c
|
||||||
|
set $base0D #83a598
|
||||||
|
set $base0E #d3869b
|
||||||
|
set $base0F #d65d0e
|
|
@ -0,0 +1,305 @@
|
||||||
|
# Default config for sway
|
||||||
|
#
|
||||||
|
# Copy this to ~/.config/sway/config and edit it to your liking.
|
||||||
|
#
|
||||||
|
# Read `man 5 sway` for a complete reference.
|
||||||
|
|
||||||
|
### Variables
|
||||||
|
#
|
||||||
|
# Logo key. Use Mod1 for Alt.
|
||||||
|
set $mod Mod1
|
||||||
|
# Home row direction keys, like vim
|
||||||
|
set $left h
|
||||||
|
set $down j
|
||||||
|
set $up k
|
||||||
|
set $right l
|
||||||
|
# Your preferred terminal emulator
|
||||||
|
set $term alacritty
|
||||||
|
# Your preferred application launcher
|
||||||
|
# Note: it's recommended that you pass the final command to sway
|
||||||
|
#set $menu bemenu-run | xargs swaymsg exec --
|
||||||
|
set $menu rofi -show run | xargs swaymsg exec --
|
||||||
|
|
||||||
|
### Output configuration
|
||||||
|
#
|
||||||
|
# Default wallpaper
|
||||||
|
#output * bg ~/.config/sway/backgrounds/Sway_Wallpaper_Blue_1920x1080.png fill
|
||||||
|
#
|
||||||
|
# Example configuration:
|
||||||
|
#
|
||||||
|
#output HDMI-A-1 resolution 1920x1080 position 1920,0
|
||||||
|
#output HDMI-A-1 bg ~/.config/wall fill
|
||||||
|
#output DP-1 resolution 1920x1080 position 0,0
|
||||||
|
#output DP-1 bg ~/.config/wall fill
|
||||||
|
output * bg ~/.config/wall fill
|
||||||
|
output VGA-1 disable
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
||||||
|
|
||||||
|
### Idle configuration
|
||||||
|
#
|
||||||
|
# Example configuration:
|
||||||
|
#
|
||||||
|
exec swayidle -w \
|
||||||
|
timeout 900 'swaylock -f -c 000000' \
|
||||||
|
timeout 1200 'swaymsg "output * dpms off"' \
|
||||||
|
resume 'swaymsg "output * dpms on"' \
|
||||||
|
before-sleep 'swaylock -f -c 000000'
|
||||||
|
#
|
||||||
|
# This will lock your screen after 300 seconds of inactivity, then turn off
|
||||||
|
# your displays after another 300 seconds, and turn your screens back on when
|
||||||
|
# resumed. It will also lock your screen before your computer goes to sleep.
|
||||||
|
|
||||||
|
#set transparency
|
||||||
|
set $opacity 0.9
|
||||||
|
#for_window [class=".*"] opacity 1.0
|
||||||
|
#for_window [app_id=".*"] opacity 1.0
|
||||||
|
|
||||||
|
#for_window [class='alacritty'] opacity $opacity
|
||||||
|
#for_window [class="bash"] opacity $opacity
|
||||||
|
#for_window [app_id="alacritty"] opacity $opacity
|
||||||
|
|
||||||
|
font pango:mononoki Nerd Font Regular 10
|
||||||
|
|
||||||
|
### Input configuration
|
||||||
|
#
|
||||||
|
# Example configuration:
|
||||||
|
#
|
||||||
|
# input "2:14:SynPS/2_Synaptics_TouchPad" {
|
||||||
|
# dwt enabled
|
||||||
|
# tap enabled
|
||||||
|
# natural_scroll enabled
|
||||||
|
# middle_emulation enabled
|
||||||
|
# }
|
||||||
|
#
|
||||||
|
# You can get the names of your inputs by running: swaymsg -t get_inputs
|
||||||
|
# Read `man 5 sway-input` for more information about this section.
|
||||||
|
|
||||||
|
xwayland enable
|
||||||
|
|
||||||
|
### Key bindings
|
||||||
|
#
|
||||||
|
# Basics:
|
||||||
|
#
|
||||||
|
# Start a terminal
|
||||||
|
bindsym $mod+Return exec $term
|
||||||
|
|
||||||
|
# Kill focused window
|
||||||
|
bindsym $mod+Shift+q kill
|
||||||
|
|
||||||
|
# Start your launcher
|
||||||
|
bindsym $mod+d exec $menu
|
||||||
|
|
||||||
|
# Drag floating windows by holding down $mod and left mouse button.
|
||||||
|
# Resize them with right mouse button + $mod.
|
||||||
|
# Despite the name, also works for non-floating windows.
|
||||||
|
# Change normal to inverse to use left mouse button for resizing and right
|
||||||
|
# mouse button for dragging.
|
||||||
|
floating_modifier $mod normal
|
||||||
|
|
||||||
|
# Reload the configuration file
|
||||||
|
bindsym $mod+Shift+c reload
|
||||||
|
|
||||||
|
# Exit sway (logs you out of your Wayland session)
|
||||||
|
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'exec "$HOME"/.local/init/init.sh -c'
|
||||||
|
#
|
||||||
|
# Moving around:
|
||||||
|
#
|
||||||
|
# Move your focus around
|
||||||
|
bindsym $mod+$left focus left
|
||||||
|
bindsym $mod+$down focus down
|
||||||
|
bindsym $mod+$up focus up
|
||||||
|
bindsym $mod+$right focus right
|
||||||
|
# Or use $mod+[up|down|left|right]
|
||||||
|
bindsym $mod+Left focus left
|
||||||
|
bindsym $mod+Down focus down
|
||||||
|
bindsym $mod+Up focus up
|
||||||
|
bindsym $mod+Right focus right
|
||||||
|
|
||||||
|
# Move the focused window with the same, but add Shift
|
||||||
|
bindsym $mod+Shift+$left move left
|
||||||
|
bindsym $mod+Shift+$down move down
|
||||||
|
bindsym $mod+Shift+$up move up
|
||||||
|
bindsym $mod+Shift+$right move right
|
||||||
|
# Ditto, with arrow 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
|
||||||
|
#
|
||||||
|
# Workspaces:
|
||||||
|
#
|
||||||
|
# Switch to workspace
|
||||||
|
bindsym $mod+1 workspace 1
|
||||||
|
bindsym $mod+2 workspace 2
|
||||||
|
bindsym $mod+3 workspace 3
|
||||||
|
bindsym $mod+4 workspace 4
|
||||||
|
bindsym $mod+5 workspace 5
|
||||||
|
bindsym $mod+6 workspace 6
|
||||||
|
bindsym $mod+7 workspace 7
|
||||||
|
bindsym $mod+8 workspace 8
|
||||||
|
bindsym $mod+9 workspace 9
|
||||||
|
bindsym $mod+0 workspace 10
|
||||||
|
# Move focused container to workspace
|
||||||
|
bindsym $mod+Shift+1 move container to workspace 1
|
||||||
|
bindsym $mod+Shift+2 move container to workspace 2
|
||||||
|
bindsym $mod+Shift+3 move container to workspace 3
|
||||||
|
bindsym $mod+Shift+4 move container to workspace 4
|
||||||
|
bindsym $mod+Shift+5 move container to workspace 5
|
||||||
|
bindsym $mod+Shift+6 move container to workspace 6
|
||||||
|
bindsym $mod+Shift+7 move container to workspace 7
|
||||||
|
bindsym $mod+Shift+8 move container to workspace 8
|
||||||
|
bindsym $mod+Shift+9 move container to workspace 9
|
||||||
|
bindsym $mod+Shift+0 move container to workspace 10
|
||||||
|
# Note: workspaces can have any name you want, not just numbers.
|
||||||
|
# We just use 1-10 as the default.
|
||||||
|
#
|
||||||
|
# Layout stuff:
|
||||||
|
#
|
||||||
|
# You can "split" the current object of your focus with
|
||||||
|
# $mod+b or $mod+v, for horizontal and vertical splits
|
||||||
|
# respectively.
|
||||||
|
bindsym $mod+b splith
|
||||||
|
bindsym $mod+v splitv
|
||||||
|
|
||||||
|
# Switch the current container between different layout styles
|
||||||
|
bindsym $mod+s layout stacking
|
||||||
|
bindsym $mod+w layout tabbed
|
||||||
|
bindsym $mod+e layout toggle split
|
||||||
|
|
||||||
|
# Make the current focus fullscreen
|
||||||
|
bindsym $mod+f fullscreen
|
||||||
|
|
||||||
|
# Toggle the current focus between tiling and floating mode
|
||||||
|
bindsym $mod+Shift+space floating toggle
|
||||||
|
|
||||||
|
# Swap focus between the tiling area and the floating area
|
||||||
|
bindsym $mod+space focus mode_toggle
|
||||||
|
|
||||||
|
# Move focus to the parent container
|
||||||
|
bindsym $mod+a focus parent
|
||||||
|
#
|
||||||
|
# Scratchpad:
|
||||||
|
#
|
||||||
|
# Sway has a "scratchpad", which is a bag of holding for windows.
|
||||||
|
# You can send windows there and get them back later.
|
||||||
|
|
||||||
|
# Move the currently focused window to the scratchpad
|
||||||
|
bindsym $mod+Shift+minus move scratchpad
|
||||||
|
|
||||||
|
# Show the next scratchpad window or hide the focused scratchpad window.
|
||||||
|
# If there are multiple scratchpad windows, this command cycles through them.
|
||||||
|
bindsym $mod+minus scratchpad show
|
||||||
|
#
|
||||||
|
# Resizing containers:
|
||||||
|
#
|
||||||
|
mode "resize" {
|
||||||
|
# left will shrink the containers width
|
||||||
|
# right will grow the containers width
|
||||||
|
# up will shrink the containers height
|
||||||
|
# down will grow the containers height
|
||||||
|
bindsym $left resize shrink width 10px
|
||||||
|
bindsym $down resize grow height 10px
|
||||||
|
bindsym $up resize shrink height 10px
|
||||||
|
bindsym $right resize grow width 10px
|
||||||
|
|
||||||
|
# Ditto, with arrow keys
|
||||||
|
bindsym Left resize shrink width 10px
|
||||||
|
bindsym Down resize grow height 10px
|
||||||
|
bindsym Up resize shrink height 10px
|
||||||
|
bindsym Right resize grow width 10px
|
||||||
|
|
||||||
|
# Return to default mode
|
||||||
|
bindsym Return mode "default"
|
||||||
|
bindsym Escape mode "default"
|
||||||
|
}
|
||||||
|
bindsym $mod+r mode "resize"
|
||||||
|
|
||||||
|
#custom keybinds
|
||||||
|
bindsym XF86AudioRaiseVolume exec vol.sh -i 0.02
|
||||||
|
bindsym XF86AudioLowerVolume exec vol.sh -d 0.02
|
||||||
|
bindsym XF86AudioMute exec vol.sh --toggle-mute
|
||||||
|
bindsym $mod+p exec fixscr.sh --menu
|
||||||
|
bindsym $mod+o exec browser.sh
|
||||||
|
bindsym $mod+shift+s exec ss.sh -s
|
||||||
|
bindsym ctrl+alt+delete exec waylogout
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#include ~/.config/sway/colors/base16-atlas
|
||||||
|
include ~/.local/src/base16-sway/themes/base16-gruvbox-dark-medium.config
|
||||||
|
#include ~/.local/src/base16-sway/themes/base16-atlas.config
|
||||||
|
#include ~/.local/src/base16-sway/themes/base16-gruvbox-dark-hard.config
|
||||||
|
#include ~/.local/src/base16-sway/themes/base16-nord.config
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# Status Bar:
|
||||||
|
#
|
||||||
|
# Read `man 5 sway-bar` for more information about this section.
|
||||||
|
bar {
|
||||||
|
position top
|
||||||
|
|
||||||
|
# When the status_command prints a new line to stdout, swaybar updates.
|
||||||
|
# The default just shows the current date and time.
|
||||||
|
#status_command while date +'%Y-%m-%d %l:%M:%S %p'; do sleep 1; done
|
||||||
|
status_command sh $HOME/.local/scripts/sway-bar.sh -l
|
||||||
|
|
||||||
|
colors {
|
||||||
|
background $base00
|
||||||
|
separator $base01
|
||||||
|
statusline $base04
|
||||||
|
|
||||||
|
# State Border BG Text
|
||||||
|
focused_workspace $base05 $base0D $base00
|
||||||
|
active_workspace $base05 $base03 $base00
|
||||||
|
inactive_workspace $base03 $base01 $base05
|
||||||
|
urgent_workspace $base08 $base08 $base00
|
||||||
|
binding_mode $base00 $base0A $base00
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# Basic color configuration using the Base16 variables for windows and borders.
|
||||||
|
# Property Name Border BG Text Indicator Child Border
|
||||||
|
client.focused $base05 $base0D $base00 $base0D $base0D
|
||||||
|
client.focused_inactive $base01 $base01 $base05 $base03 $base01
|
||||||
|
client.unfocused $base01 $base00 $base05 $base01 $base01
|
||||||
|
client.urgent $base08 $base08 $base00 $base08 $base08
|
||||||
|
client.placeholder $base00 $base00 $base05 $base00 $base00
|
||||||
|
client.background $base07
|
||||||
|
|
||||||
|
#GTK theme
|
||||||
|
set $gnome_schema "org.gnome.desktop.interface"
|
||||||
|
exec_always {
|
||||||
|
gsettings set $gnome_schema gtk-theme 'Nordic-standard-buttons'
|
||||||
|
gsettings set $gnome_schema icon-theme 'ePapirus-Dark'
|
||||||
|
gsettings set $gnome_schema cursor-theme 'Adwaita'
|
||||||
|
gsettings set $gnome_schema font-name 'Noto Sans'
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#gaps
|
||||||
|
gaps inner 10
|
||||||
|
gaps outer 10
|
||||||
|
|
||||||
|
#border
|
||||||
|
default_border pixel 2
|
||||||
|
|
||||||
|
#set windows to float by default
|
||||||
|
for_window [class="Matplotlib"] floating enable
|
||||||
|
|
||||||
|
#input config
|
||||||
|
input type:pointer accel_profile flat
|
||||||
|
input type:pointer pointer_accel -0.5
|
||||||
|
seat seat0 xcursor_theme Adwaita 10
|
||||||
|
|
||||||
|
include /etc/sway/config.d/*
|
||||||
|
|
||||||
|
exec ~/.local/init/init.sh -i ~/.local/init/startup
|
||||||
|
|
||||||
|
#do any computer specific setup here, monitor configs, etc.
|
||||||
|
exec_always ~/.init.sh
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
font=mono
|
||||||
|
color=3B4252
|
||||||
|
inside-color=2E3440
|
||||||
|
inside-caps-lock-color=88c0d0
|
||||||
|
inside-ver-color=88c0d0
|
||||||
|
inside-wrong-color=BF616A
|
||||||
|
ring-color=A3BE8C
|
||||||
|
ring-caps-lock-color=5E81AC
|
||||||
|
key-hl-color=E5E9F0
|
||||||
|
bs-hl-color=D08770
|
|
@ -0,0 +1,21 @@
|
||||||
|
ring-color=A3BE8Caa
|
||||||
|
inside-color=2E344066
|
||||||
|
text-color=eaeaeaaa
|
||||||
|
line-color=00000000
|
||||||
|
ring-selection-color=88c0d0aa
|
||||||
|
inside-selection-color=88c0d066
|
||||||
|
text-selection-color=eaeaeaaa
|
||||||
|
line-selection-color=00000000
|
||||||
|
font=mono
|
||||||
|
effect-blur=7x5
|
||||||
|
indicator-thickness=20
|
||||||
|
lock-command="exec swaylock -f"
|
||||||
|
logout-command="exec swaymsg exit"
|
||||||
|
suspend-command="echo suspend"
|
||||||
|
hibernate-command="echo hibernate"
|
||||||
|
poweroff-command="doas /sbin/poweroff"
|
||||||
|
reboot-command="doas /sbin/reboot"
|
||||||
|
switch-user-command="echo switch"
|
||||||
|
hide-cancel
|
||||||
|
screenshots
|
||||||
|
selection-label
|
|
@ -0,0 +1 @@
|
||||||
|
hsts-file=~/.cache/wget-hsts
|
|
@ -0,0 +1,15 @@
|
||||||
|
set statusbar-h-padding 50
|
||||||
|
set statusbar-v-padding 0
|
||||||
|
set page-padding 10
|
||||||
|
|
||||||
|
map i recolor
|
||||||
|
|
||||||
|
#KEYBINDINGS
|
||||||
|
#map <A-a> shortcut_function
|
||||||
|
#map <C-a> shortcut_function
|
||||||
|
# A - Alt
|
||||||
|
# C - Control
|
||||||
|
# S - Shift
|
||||||
|
#map <A--> zoom out
|
||||||
|
#map <A-=> zoom in
|
||||||
|
|
|
@ -0,0 +1,92 @@
|
||||||
|
# Luke's config for the Zoomer Shell
|
||||||
|
|
||||||
|
# Enable colors and change prompt:
|
||||||
|
autoload -U colors && colors
|
||||||
|
|
||||||
|
#PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magenta]%}%~%{$fg[red]%}]%{$reset_color%}$%b "
|
||||||
|
PS1="%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magenta]%}%~% %{$fg[yellow]%} -> "
|
||||||
|
# History in cache directory:
|
||||||
|
HISTSIZE=10000
|
||||||
|
SAVEHIST=10000
|
||||||
|
HISTFILE=~/.cache/zsh/history
|
||||||
|
|
||||||
|
# Basic auto/tab complete:
|
||||||
|
autoload -U compinit
|
||||||
|
zstyle ':completion:*' menu select
|
||||||
|
zmodload zsh/complist
|
||||||
|
compinit
|
||||||
|
_comp_options+=(globdots) # Include hidden files.
|
||||||
|
|
||||||
|
# vi mode
|
||||||
|
bindkey -v
|
||||||
|
export KEYTIMEOUT=1
|
||||||
|
|
||||||
|
# Use vim keys in tab complete menu:
|
||||||
|
bindkey -M menuselect 'h' vi-backward-char
|
||||||
|
bindkey -M menuselect 'k' vi-up-line-or-history
|
||||||
|
bindkey -M menuselect 'l' vi-forward-char
|
||||||
|
bindkey -M menuselect 'j' vi-down-line-or-history
|
||||||
|
bindkey -v '^?' backward-delete-char
|
||||||
|
|
||||||
|
# Change cursor shape for different vi modes.
|
||||||
|
function zle-keymap-select {
|
||||||
|
if [[ ${KEYMAP} == vicmd ]] ||
|
||||||
|
[[ $1 = 'block' ]]; then
|
||||||
|
echo -ne '\e[1 q'
|
||||||
|
elif [[ ${KEYMAP} == main ]] ||
|
||||||
|
[[ ${KEYMAP} == viins ]] ||
|
||||||
|
[[ ${KEYMAP} = '' ]] ||
|
||||||
|
[[ $1 = 'beam' ]]; then
|
||||||
|
echo -ne '\e[5 q'
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
zle -N zle-keymap-select
|
||||||
|
zle-line-init() {
|
||||||
|
zle -K viins # initiate `vi insert` as keymap (can be removed if `bindkey -V` has been set elsewhere)
|
||||||
|
echo -ne "\e[5 q"
|
||||||
|
}
|
||||||
|
zle -N zle-line-init
|
||||||
|
echo -ne '\e[5 q' # Use beam shape cursor on startup.
|
||||||
|
preexec() { echo -ne '\e[5 q' ;} # Use beam shape cursor for each new prompt.
|
||||||
|
|
||||||
|
# Use lf to switch directories and bind it to ctrl-o
|
||||||
|
lfcd () {
|
||||||
|
tmp="$(mktemp)"
|
||||||
|
lf -last-dir-path="$tmp" "$@"
|
||||||
|
if [ -f "$tmp" ]; then
|
||||||
|
dir="$(cat "$tmp")"
|
||||||
|
rm -f "$tmp"
|
||||||
|
[ -d "$dir" ] && [ "$dir" != "$(pwd)" ] && cd "$dir"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
bindkey -s '^o' 'lfcd\n'
|
||||||
|
|
||||||
|
# Edit line in vim with ctrl-e:
|
||||||
|
autoload edit-command-line; zle -N edit-command-line
|
||||||
|
bindkey '^e' edit-command-line
|
||||||
|
|
||||||
|
# Load aliases and shortcuts if existent.
|
||||||
|
[ -f "$HOME/.config/shortcutrc" ] && source "$HOME/.config/shortcutrc"
|
||||||
|
[ -f "$HOME/.config/aliasrc" ] && source "$HOME/.config/aliasrc"
|
||||||
|
|
||||||
|
#my additions
|
||||||
|
unsetopt nomatch
|
||||||
|
|
||||||
|
|
||||||
|
#source haskell file if it exists
|
||||||
|
[ -f "$HOME/.ghcup/env" ] && source "$HOME/.ghcup/env"
|
||||||
|
|
||||||
|
if ! [ -f $HOME/.local/share/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]; then
|
||||||
|
mkdir -p $HOME/.local/share/zsh/
|
||||||
|
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $HOME/.local/share/zsh/zsh-syntax-highlighting
|
||||||
|
fi
|
||||||
|
|
||||||
|
# prompt stuff
|
||||||
|
pfetch
|
||||||
|
|
||||||
|
#if [ -f "/usr/bin/starship" ]; then
|
||||||
|
# eval "$(starship init zsh)"
|
||||||
|
#fi
|
||||||
|
|
||||||
|
# Load zsh-syntax-highlighting; should be last.
|
||||||
|
source $HOME/.local/share/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2>/dev/null
|
Loading…
Reference in New Issue