Compare commits

...

3 Commits
main ... chama

Author SHA1 Message Date
b88ac8812a Changes 2024-08-22 10:25:29 -06:00
1f4d4ab9df Changes 2024-04-07 17:44:55 -06:00
Dakedres
5c1270830c Chama a 2023-11-11 03:20:01 -05:00
58 changed files with 1466 additions and 2547 deletions

29
README
View File

@ -4,25 +4,30 @@
| | | | | |- | | |-' `-.
`-' `-' `-' | ' ' `-' `-'
-' [1]
Window Manager - bspwm[6], with tabs via tabbed[7]
Terminal - Kitty[3]
Browser - qutebrowser[4]
Panel - tint2[5]
| The Cape fox (Vulpes chama), also called the asse, cama fox or the silver-backed fox, is a small species of fox, native to southern Africa.
Screenshot in ./screenshot.png, if it pleases
Required
‾‾‾‾‾
- bspwm
- sxhkd
- tint2
- feh
- rofi
- mate-power-manager
- nm-applet
- alacritty
Programs I use with this setup
‾‾‾‾‾
- sxiv
- ncspot
- flameshot
Theme
‾‾‾‾‾
Right now I use a Kaolin Dark theme. Many themes are pulled directly from alternateved/kaolin-inspired[2]
Links
‾‾‾‾‾
1. Ascii font is "Shimrod" from http://www.patorjk.com/software/taag (other cool small fonts are "script", and "stampatello")
2. https://github.com/alternateved/kaolin-inspired
3. https://sw.kovidgoyal.net/kitty
4. https://qutebrowser.org
5. https://wiki.archlinux.org/title/Tint2
6. https://github.com/baskerville/bspwm
7. https://tools.suckless.org/tabbed
2. https://github.com/alternateved/kaolin-inspired

View File

@ -1,32 +1,37 @@
#!/bin/bash
#!/bin/sh
dir=$PWD
scripts_subdir=$(echo "$PWD/scripts")
set -x
dotfiles_root="$(dirname "$0")"
dotfiles_root="$(realpath "$dotfiles_root")"
scripts_dir="${dotfiles_root}/scripts"
config_dir="${dotfiles_root}/config"
echo "$scripts_dir"
rsync -a ~/pictures/wallpapers/* wallpapers/
cp ~/.chama "${scripts_dir}/chama"
cd config
rsync -a ~/.config/kitty .
rsync -a --exclude 'bookmarks' ~/.config/qutebrowser .
cd "$config_dir" || exit
rsync -a --exclude 'bookmarks' --exclude '__pycache__' ~/.config/qutebrowser .
rsync -a ~/.config/alacritty .
rsync -a ~/.config/bspwm .
rsync -a ~/.config/sxhkd .
rsync -a ~/.config/tint2/tint2rc tint2/
rsync -a ~/.config/lxqt .
rsync -a ~/.config/rofi .
cp ~/.config/picom.conf .
cd ~/bin
cd ~/bin || exit
cp \
bsp-float \
bsp-floating-only \
bsp-smove \
bsp-status \
bsp-toggle-visibility \
ezmount \
pfetch \
power \
qutesearch \
qutebrowser \
rofi-ask \
"set-desktop-theme" \
tabc-smart-detach \
sxhkd-help \
web \
$scripts_subdir
git-untracked \
"$scripts_dir"

View File

@ -0,0 +1,321 @@
[font]
size = 10.0
[font.normal]
family = "Inconsolata"
[[keyboard.bindings]]
action = "ScrollPageUp"
key = "PageUp"
[[keyboard.bindings]]
action = "ScrollPageDown"
key = "PageDown"
[[keyboard.bindings]]
action = "ToggleViMode"
key = "Space"
mode = "~Search"
mods = "Shift|Control"
[[keyboard.bindings]]
action = "ScrollToBottom"
key = "Space"
mode = "Vi|~Search"
mods = "Shift|Control"
[[keyboard.bindings]]
action = "ClearSelection"
key = "Escape"
mode = "Vi|~Search"
[[keyboard.bindings]]
action = "ToggleViMode"
key = "I"
mode = "Vi|~Search"
[[keyboard.bindings]]
action = "ScrollToBottom"
key = "I"
mode = "Vi|~Search"
[[keyboard.bindings]]
action = "ToggleViMode"
key = "C"
mode = "Vi|~Search"
mods = "Control"
[[keyboard.bindings]]
action = "ScrollLineUp"
key = "Y"
mode = "Vi|~Search"
mods = "Control"
[[keyboard.bindings]]
action = "ScrollLineDown"
key = "E"
mode = "Vi|~Search"
mods = "Control"
[[keyboard.bindings]]
action = "ScrollToTop"
key = "G"
mode = "Vi|~Search"
[[keyboard.bindings]]
action = "ScrollToBottom"
key = "G"
mode = "Vi|~Search"
mods = "Shift"
[[keyboard.bindings]]
action = "ScrollPageUp"
key = "B"
mode = "Vi|~Search"
mods = "Control"
[[keyboard.bindings]]
action = "ScrollPageDown"
key = "F"
mode = "Vi|~Search"
mods = "Control"
[[keyboard.bindings]]
action = "ScrollHalfPageUp"
key = "U"
mode = "Vi|~Search"
mods = "Control"
[[keyboard.bindings]]
action = "ScrollHalfPageDown"
key = "D"
mode = "Vi|~Search"
mods = "Control"
[[keyboard.bindings]]
action = "Copy"
key = "Y"
mode = "Vi|~Search"
[[keyboard.bindings]]
action = "ClearSelection"
key = "Y"
mode = "Vi|~Search"
[[keyboard.bindings]]
action = "ClearSelection"
key = "Copy"
mode = "Vi|~Search"
[[keyboard.bindings]]
action = "ToggleNormalSelection"
key = "V"
mode = "Vi|~Search"
[[keyboard.bindings]]
action = "ToggleLineSelection"
key = "V"
mode = "Vi|~Search"
mods = "Shift"
[[keyboard.bindings]]
action = "ToggleBlockSelection"
key = "V"
mode = "Vi|~Search"
mods = "Control"
[[keyboard.bindings]]
action = "ToggleSemanticSelection"
key = "V"
mode = "Vi|~Search"
mods = "Alt"
[[keyboard.bindings]]
action = "Open"
key = "Return"
mode = "Vi|~Search"
[[keyboard.bindings]]
action = "CenterAroundViCursor"
key = "Z"
mode = "Vi|~Search"
[[keyboard.bindings]]
action = "Up"
key = "K"
mode = "Vi|~Search"
[[keyboard.bindings]]
action = "Down"
key = "J"
mode = "Vi|~Search"
[[keyboard.bindings]]
action = "Left"
key = "H"
mode = "Vi|~Search"
[[keyboard.bindings]]
action = "Right"
key = "L"
mode = "Vi|~Search"
[[keyboard.bindings]]
action = "Up"
key = "Up"
mode = "Vi|~Search"
[[keyboard.bindings]]
action = "Down"
key = "Down"
mode = "Vi|~Search"
[[keyboard.bindings]]
action = "Left"
key = "Left"
mode = "Vi|~Search"
[[keyboard.bindings]]
action = "Right"
key = "Right"
mode = "Vi|~Search"
[[keyboard.bindings]]
action = "First"
key = "Key0"
mode = "Vi|~Search"
[[keyboard.bindings]]
action = "Last"
key = "Key4"
mode = "Vi|~Search"
mods = "Shift"
[[keyboard.bindings]]
action = "FirstOccupied"
key = "Key6"
mode = "Vi|~Search"
mods = "Shift"
[[keyboard.bindings]]
action = "High"
key = "H"
mode = "Vi|~Search"
mods = "Shift"
[[keyboard.bindings]]
action = "Middle"
key = "M"
mode = "Vi|~Search"
mods = "Shift"
[[keyboard.bindings]]
action = "Low"
key = "L"
mode = "Vi|~Search"
mods = "Shift"
[[keyboard.bindings]]
action = "SemanticLeft"
key = "B"
mode = "Vi|~Search"
[[keyboard.bindings]]
action = "SemanticRight"
key = "W"
mode = "Vi|~Search"
[[keyboard.bindings]]
action = "SemanticRightEnd"
key = "E"
mode = "Vi|~Search"
[[keyboard.bindings]]
action = "WordLeft"
key = "B"
mode = "Vi|~Search"
mods = "Shift"
[[keyboard.bindings]]
action = "WordRight"
key = "W"
mode = "Vi|~Search"
mods = "Shift"
[[keyboard.bindings]]
action = "WordRightEnd"
key = "E"
mode = "Vi|~Search"
mods = "Shift"
[[keyboard.bindings]]
action = "Bracket"
key = "Key5"
mode = "Vi|~Search"
mods = "Shift"
[[keyboard.bindings]]
action = "SearchForward"
key = "Slash"
mode = "Vi|~Search"
[[keyboard.bindings]]
action = "SearchBackward"
key = "Slash"
mode = "Vi|~Search"
mods = "Shift"
[[keyboard.bindings]]
action = "SearchNext"
key = "N"
mode = "Vi|~Search"
[[keyboard.bindings]]
action = "SearchPrevious"
key = "N"
mode = "Vi|~Search"
mods = "Shift"
[shell]
program = "/bin/zsh"
#START SHCHEMES BLOCK : shchemes create_theme alacritty
# Base16 - alacritty color config
#
[colors]
draw_bold_text_with_bright_colors = false
# Default colors
[colors.primary]
background = '0x1C1E26'
foreground = '0xCBCED0'
# Colors the cursor will use if `custom_cursor_colors` is true
[colors.cursor]
text = '0x1C1E26'
cursor = '0xCBCED0'
# Normal colors
[colors.normal]
black = '0x1C1E26'
red = '0xE95678'
green = '0x29D398'
yellow = '0xFAC29A'
blue = '0x26BBD9'
magenta = '0xEE64AC'
cyan = '0x59E1E3'
white = '0xCBCED0'
# Bright colors
[colors.bright]
black = '0x6F6F70'
red = '0xFAB795'
green = '0x232530'
yellow = '0x2E303E'
blue = '0x9DA0A2'
magenta = '0xDCDFE4'
cyan = '0xF09383'
white = '0xE3E6EE'
#END SHCHEMES BLOCK

View File

@ -0,0 +1,911 @@
# Configuration for Alacritty, the GPU enhanced terminal emulator.
# Import additional configuration files
#
# Imports are loaded in order, skipping all missing files, with the importing
# file being loaded last. If a field is already present in a previous import, it
# will be replaced.
#
# All imports must either be absolute paths starting with `/`, or paths relative
# to the user's home directory starting with `~/`.
#import:
# - /path/to/alacritty.yml
# 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: alacritty
#window:
# Window dimensions (changes require restart)
#
# Number of lines/columns (not pixels) in the terminal. Both lines and columns
# must be non-zero for this to take effect. The number of columns must be at
# least `2`, while using a value of `0` for columns and lines will fall back
# to the window manager's recommended size
#dimensions:
# columns: 0
# lines: 0
# 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: 0
# y: 0
# 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 and no title bar buttons
#decorations: full
# 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.
#opacity: 1.0
# 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
# Allow terminal applications to change Alacritty's window title.
#dynamic_title: true
# Window class (Linux/BSD only):
#class:
# Application instance name
#instance: Alacritty
# General application class
#general: Alacritty
# Decorations theme variant
#
# Override the variant of the System theme/GTK theme/Wayland client side
# decorations. Commonly supported values are `Dark`, `Light`, and `None` for
# auto pick-up. Set this to `None` to use the default theme variant.
#decorations_theme_variant: None
# Resize increments
#
# Prefer resizing window by discrete steps equal to cell dimensions.
#resize_increments: false
# Make `Option` key behave as `Alt` (macOS only):
# - OnlyLeft
# - OnlyRight
# - Both
# - None (default)
#option_as_alt: None
#scrolling:
# Maximum number of lines in the scrollback buffer.
# Specifying '0' will disable scrolling.
#history: 10000
# Scrolling distance multiplier.
#multiplier: 3
# Font configuration
font:
# Normal (roman) font face
normal:
# Font family
#
# Default:
# - (macOS) Menlo
# - (Linux/BSD) monospace
# - (Windows) Consolas
family: Inconsolata
# 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 upward.
#glyph_offset:
# x: 0
# y: 0
# Use built-in font for box drawing characters.
#
# If `true`, Alacritty will use a custom built-in font for box drawing
# characters (Unicode points 2500 - 259f).
#
#builtin_box_drawing: true
# If `true`, bold text is drawn using the bright color variants.
#draw_bold_text_with_bright_colors: false
# Colors (Tomorrow Night)
#colors:
# Default colors
#primary:
# background: '#1d1f21'
# foreground: '#c5c8c6'
# Bright and dim foreground colors
#
# The dimmed foreground color is calculated automatically if it is not
# present. If the bright foreground color is not set, or
# `draw_bold_text_with_bright_colors` is `false`, the normal foreground
# color will be used.
#dim_foreground: '#828482'
#bright_foreground: '#eaeaea'
# Cursor colors
#
# Colors which should be used to draw the terminal cursor.
#
# Allowed values are CellForeground/CellBackground, which reference the
# affected cell, or hexadecimal colors like #ff00ff.
#cursor:
# text: CellBackground
# cursor: CellForeground
# Vi mode cursor colors
#
# Colors for the cursor when the vi mode is active.
#
# Allowed values are CellForeground/CellBackground, which reference the
# affected cell, or hexadecimal colors like #ff00ff.
#vi_mode_cursor:
# text: CellBackground
# cursor: CellForeground
# Search colors
#
# Colors used for the search bar and match highlighting.
#search:
# Allowed values are CellForeground/CellBackground, which reference the
# affected cell, or hexadecimal colors like #ff00ff.
#matches:
# foreground: '#000000'
# background: '#ffffff'
#focused_match:
# foreground: '#ffffff'
# background: '#000000'
# Keyboard hints
#hints:
# First character in the hint label
#
# Allowed values are CellForeground/CellBackground, which reference the
# affected cell, or hexadecimal colors like #ff00ff.
#start:
# foreground: '#1d1f21'
# background: '#e9ff5e'
# All characters after the first one in the hint label
#
# Allowed values are CellForeground/CellBackground, which reference the
# affected cell, or hexadecimal colors like #ff00ff.
#end:
# foreground: '#e9ff5e'
# background: '#1d1f21'
# Line indicator
#
# Color used for the indicator displaying the position in history during
# search and vi mode.
#
# By default, these will use the opposing primary color.
#line_indicator:
# foreground: None
# background: None
# Footer bar
#
# Color used for the footer bar on the bottom, used by search regex input,
# hyperlink URI preview, etc.
#
#footer_bar:
# background: '#c5c8c6'
# foreground: '#1d1f21'
# Selection colors
#
# Colors which should be used to draw the selection area.
#
# Allowed values are CellForeground/CellBackground, which reference the
# affected cell, or hexadecimal colors like #ff00ff.
#selection:
# text: CellBackground
# background: CellForeground
# Normal colors
#normal:
# black: '#1d1f21'
# red: '#cc6666'
# green: '#b5bd68'
# yellow: '#f0c674'
# blue: '#81a2be'
# magenta: '#b294bb'
# cyan: '#8abeb7'
# white: '#c5c8c6'
# Bright colors
#bright:
# black: '#666666'
# red: '#d54e53'
# green: '#b9ca4a'
# yellow: '#e7c547'
# blue: '#7aa6da'
# magenta: '#c397d8'
# cyan: '#70c0b1'
# white: '#eaeaea'
# Dim colors
#
# If the dim colors are not set, they will be calculated automatically based
# on the `normal` colors.
#dim:
# black: '#131415'
# red: '#864343'
# green: '#777c44'
# yellow: '#9e824c'
# blue: '#556a7d'
# magenta: '#75617b'
# cyan: '#5b7d78'
# white: '#828482'
# Indexed Colors
#
# The indexed colors include all colors from 16 to 256.
# When these are not set, they're filled with sensible defaults.
#
# Example:
# `- { index: 16, color: '#ff00ff' }`
#
#indexed_colors: []
# Transparent cell backgrounds
#
# Whether or not `window.opacity` applies to all cell backgrounds or only to
# the default background. When set to `true` all cells will be transparent
# regardless of their background color.
#transparent_background_colors: false
# Bell
#
# The bell is rung every time the BEL control character is received.
#bell:
# Visual Bell Animation
#
# Animation effect for flashing the screen when the visual bell is rung.
#
# Values for `animation`:
# - Ease
# - EaseOut
# - EaseOutSine
# - EaseOutQuad
# - EaseOutCubic
# - EaseOutQuart
# - EaseOutQuint
# - EaseOutExpo
# - EaseOutCirc
# - Linear
#animation: EaseOutExpo
# Duration of the visual bell flash in milliseconds. A `duration` of `0` will
# disable the visual bell animation.
#duration: 0
# Visual bell animation color.
#color: '#ffffff'
# Bell Command
#
# This program is executed whenever the bell is rung.
#
# When set to `command: None`, no command will be executed.
#
# Example:
# command:
# program: notify-send
# args: ["Hello, World!"]
#
#command: None
#selection:
# This string contains all characters that are used as separators for
# "semantic words" in Alacritty.
#semantic_escape_chars: ",│`|:\"' ()[]{}<>\t"
# When set to `true`, selected text will be copied to the primary clipboard.
#save_to_clipboard: false
#cursor:
# Cursor style
#style:
# Cursor shape
#
# Values for `shape`:
# - ▇ Block
# - _ Underline
# - | Beam
#shape: Block
# Cursor blinking state
#
# Values for `blinking`:
# - Never: Prevent the cursor from ever blinking
# - Off: Disable blinking by default
# - On: Enable blinking by default
# - Always: Force the cursor to always blink
#blinking: Off
# Vi mode cursor style
#
# If the vi mode cursor style is `None` or not specified, it will fall back to
# the style of the active value of the normal cursor.
#
# See `cursor.style` for available options.
#vi_mode_style: None
# Cursor blinking interval in milliseconds.
#blink_interval: 750
# Time after which cursor stops blinking, in seconds.
#
# Specifying '0' will disable timeout for blinking.
#blink_timeout: 5
# If this is `true`, the cursor will be rendered as a hollow box when the
# window is not focused.
#unfocused_hollow: true
# Thickness of the cursor relative to the cell width as floating point number
# from `0.0` to `1.0`.
#thickness: 0.15
# 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:
# - (Linux/BSD/macOS) `$SHELL` or the user's login shell, if `$SHELL` is unset
# - (Windows) powershell
shell:
program: /bin/zsh
# 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
# Offer IPC using `alacritty msg` (unix only)
#ipc_socket: true
#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
# Hints
#
# Terminal hints can be used to find text or hyperlink in the visible part of
# the terminal and pipe it to other applications.
#hints:
# Keys used for the hint labels.
#alphabet: "jfkdls;ahgurieowpq"
# List with all available hints
#
# Each hint must have any of `regex` or `hyperlinks` field and either an
# `action` or a `command` field. The fields `mouse`, `binding` and
# `post_processing` are optional.
#
# The `hyperlinks` option will cause OSC 8 escape sequence hyperlinks to be
# highlighted.
#
# The fields `command`, `binding.key`, `binding.mods`, `binding.mode` and
# `mouse.mods` accept the same values as they do in the `key_bindings` section.
#
# The `mouse.enabled` field controls if the hint should be underlined while
# the mouse with all `mouse.mods` keys held or the vi mode cursor is above it.
#
# If the `post_processing` field is set to `true`, heuristics will be used to
# shorten the match if there are characters likely not to be part of the hint
# (e.g. a trailing `.`). This is most useful for URIs and applies only to
# `regex` matches.
#
# Values for `action`:
# - Copy
# Copy the hint's text to the clipboard.
# - Paste
# Paste the hint's text to the terminal or search.
# - Select
# Select the hint's text.
# - MoveViModeCursor
# Move the vi mode cursor to the beginning of the hint.
#enabled:
# - regex: "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)\
# [^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+"
# hyperlinks: true
# command: xdg-open
# post_processing: true
# mouse:
# enabled: true
# mods: None
# binding:
# key: U
# mods: Control|Shift
# Mouse bindings
#
# Mouse bindings are specified as a list of objects, much like the key
# bindings further below.
#
# To trigger mouse bindings when an application running within Alacritty
# captures the mouse, the `Shift` modifier is automatically added as a
# requirement.
#
# Each mouse binding will specify a:
#
# - `mouse`:
#
# - Middle
# - Left
# - Right
# - Numeric identifier such as `5`
#
# - `action` (see key bindings for actions not exclusive to mouse mode)
#
# - Mouse exclusive actions:
#
# - ExpandSelection
# Expand the selection to the current mouse cursor location.
#
# And optionally:
#
# - `mods` (see key bindings)
#mouse_bindings:
# - { mouse: Right, action: ExpandSelection }
# - { mouse: Right, mods: Control, action: ExpandSelection }
# - { mouse: Middle, mode: ~Vi, 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/winit/*/winit/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
#
# - ToggleViMode
# - SearchForward
# Start searching toward the right of the search origin.
# - SearchBackward
# Start searching toward the left of the search origin.
# - Copy
# - Paste
# - IncreaseFontSize
# - DecreaseFontSize
# - ResetFontSize
# - ScrollPageUp
# - ScrollPageDown
# - ScrollHalfPageUp
# - ScrollHalfPageDown
# - ScrollLineUp
# - ScrollLineDown
# - ScrollToTop
# - ScrollToBottom
# - ClearHistory
# Remove the terminal's scrollback history.
# - Hide
# Hide the Alacritty window.
# - Minimize
# Minimize the Alacritty window.
# - Quit
# Quit Alacritty.
# - ToggleFullscreen
# - ToggleMaximized
# - SpawnNewInstance
# Spawn a new instance of Alacritty.
# - CreateNewWindow
# Create a new Alacritty window from the current process.
# - ClearLogNotice
# Clear Alacritty's UI warning and error notice.
# - ClearSelection
# Remove the active selection.
# - ReceiveChar
# - None
#
# - Vi mode exclusive actions:
#
# - Open
# Perform the action of the first matching hint under the vi mode cursor
# with `mouse.enabled` set to `true`.
# - ToggleNormalSelection
# - ToggleLineSelection
# - ToggleBlockSelection
# - ToggleSemanticSelection
# Toggle semantic selection based on `selection.semantic_escape_chars`.
# - CenterAroundViCursor
# Center view around vi mode cursor
#
# - Vi mode exclusive cursor motion actions:
#
# - Up
# One line up.
# - Down
# One line down.
# - Left
# One character left.
# - Right
# One character right.
# - First
# First column, or beginning of the line when already at the first column.
# - Last
# Last column, or beginning of the line when already at the last column.
# - FirstOccupied
# First non-empty cell in this terminal row, or first non-empty cell of
# the line when already at the first cell of the row.
# - High
# Top of the screen.
# - Middle
# Center of the screen.
# - Low
# Bottom of the screen.
# - SemanticLeft
# Start of the previous semantically separated word.
# - SemanticRight
# Start of the next semantically separated word.
# - SemanticLeftEnd
# End of the previous semantically separated word.
# - SemanticRightEnd
# End of the next semantically separated word.
# - WordLeft
# Start of the previous whitespace separated word.
# - WordRight
# Start of the next whitespace separated word.
# - WordLeftEnd
# End of the previous whitespace separated word.
# - WordRightEnd
# End of the next whitespace separated word.
# - Bracket
# Character matching the bracket at the cursor's location.
# - SearchNext
# Beginning of the next match.
# - SearchPrevious
# Beginning of the previous match.
# - SearchStart
# Start of the match to the left of the vi mode cursor.
# - SearchEnd
# End of the match to the right of the vi mode cursor.
#
# - Search mode exclusive actions:
# - SearchFocusNext
# Move the focus to the next search match.
# - SearchFocusPrevious
# Move the focus to the previous search match.
# - SearchConfirm
# - SearchCancel
# - SearchClear
# Reset the search regex.
# - SearchDeleteWord
# Delete the last word in the search regex.
# - SearchHistoryPrevious
# Go to the previous regex in the search history.
# - SearchHistoryNext
# Go to the next regex in the search history.
#
# - macOS exclusive actions:
# - ToggleSimpleFullscreen
# Enter fullscreen without occupying another space.
#
# - Linux/BSD exclusive actions:
#
# - CopySelection
# Copy from the selection buffer.
# - PasteSelection
# Paste from the selection buffer.
#
# - `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
# - Search
# - Alt
# - Vi
#
# 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.
#
# If the same trigger is assigned to multiple actions, all of them are executed
# in the order they were defined in.
key_bindings:
#- { key: Paste, action: Paste }
#- { key: Copy, action: Copy }
#- { key: L, mods: Control, action: ClearLogNotice }
#- { key: L, mods: Control, mode: ~Vi|~Search, chars: "\x0c" }
- { key: PageUp, action: ScrollPageUp }
- { key: PageDown, action: ScrollPageDown }
#- { key: Home, mods: Shift, mode: ~Alt, action: ScrollToTop }
#- { key: End, mods: Shift, mode: ~Alt, action: ScrollToBottom }
# Vi Mode
- { key: Space, mods: Shift|Control, mode: ~Search, action: ToggleViMode }
- { key: Space, mods: Shift|Control, mode: Vi|~Search, action: ScrollToBottom }
- { key: Escape, mode: Vi|~Search, action: ClearSelection }
- { key: I, mode: Vi|~Search, action: ToggleViMode }
- { key: I, mode: Vi|~Search, action: ScrollToBottom }
- { key: C, mods: Control, mode: Vi|~Search, action: ToggleViMode }
- { key: Y, mods: Control, mode: Vi|~Search, action: ScrollLineUp }
- { key: E, mods: Control, mode: Vi|~Search, action: ScrollLineDown }
- { key: G, mode: Vi|~Search, action: ScrollToTop }
- { key: G, mods: Shift, mode: Vi|~Search, action: ScrollToBottom }
- { key: B, mods: Control, mode: Vi|~Search, action: ScrollPageUp }
- { key: F, mods: Control, mode: Vi|~Search, action: ScrollPageDown }
- { key: U, mods: Control, mode: Vi|~Search, action: ScrollHalfPageUp }
- { key: D, mods: Control, mode: Vi|~Search, action: ScrollHalfPageDown }
- { key: Y, mode: Vi|~Search, action: Copy }
- { key: Y, mode: Vi|~Search, action: ClearSelection }
- { key: Copy, mode: Vi|~Search, action: ClearSelection }
- { key: V, mode: Vi|~Search, action: ToggleNormalSelection }
- { key: V, mods: Shift, mode: Vi|~Search, action: ToggleLineSelection }
- { key: V, mods: Control, mode: Vi|~Search, action: ToggleBlockSelection }
- { key: V, mods: Alt, mode: Vi|~Search, action: ToggleSemanticSelection }
- { key: Return, mode: Vi|~Search, action: Open }
- { key: Z, mode: Vi|~Search, action: CenterAroundViCursor }
- { key: K, mode: Vi|~Search, action: Up }
- { key: J, mode: Vi|~Search, action: Down }
- { key: H, mode: Vi|~Search, action: Left }
- { key: L, mode: Vi|~Search, action: Right }
- { key: Up, mode: Vi|~Search, action: Up }
- { key: Down, mode: Vi|~Search, action: Down }
- { key: Left, mode: Vi|~Search, action: Left }
- { key: Right, mode: Vi|~Search, action: Right }
- { key: Key0, mode: Vi|~Search, action: First }
- { key: Key4, mods: Shift, mode: Vi|~Search, action: Last }
- { key: Key6, mods: Shift, mode: Vi|~Search, action: FirstOccupied }
- { key: H, mods: Shift, mode: Vi|~Search, action: High }
- { key: M, mods: Shift, mode: Vi|~Search, action: Middle }
- { key: L, mods: Shift, mode: Vi|~Search, action: Low }
- { key: B, mode: Vi|~Search, action: SemanticLeft }
- { key: W, mode: Vi|~Search, action: SemanticRight }
- { key: E, mode: Vi|~Search, action: SemanticRightEnd }
- { key: B, mods: Shift, mode: Vi|~Search, action: WordLeft }
- { key: W, mods: Shift, mode: Vi|~Search, action: WordRight }
- { key: E, mods: Shift, mode: Vi|~Search, action: WordRightEnd }
- { key: Key5, mods: Shift, mode: Vi|~Search, action: Bracket }
- { key: Slash, mode: Vi|~Search, action: SearchForward }
- { key: Slash, mods: Shift, mode: Vi|~Search, action: SearchBackward }
- { key: N, mode: Vi|~Search, action: SearchNext }
- { key: N, mods: Shift, mode: Vi|~Search, action: SearchPrevious }
# Search Mode
#- { key: Return, mode: Search|Vi, action: SearchConfirm }
#- { key: Escape, mode: Search, action: SearchCancel }
#- { key: C, mods: Control, mode: Search, action: SearchCancel }
#- { key: U, mods: Control, mode: Search, action: SearchClear }
#- { key: W, mods: Control, mode: Search, action: SearchDeleteWord }
#- { key: P, mods: Control, mode: Search, action: SearchHistoryPrevious }
#- { key: N, mods: Control, mode: Search, action: SearchHistoryNext }
#- { key: Up, mode: Search, action: SearchHistoryPrevious }
#- { key: Down, mode: Search, action: SearchHistoryNext }
#- { key: Return, mode: Search|~Vi, action: SearchFocusNext }
#- { key: Return, mods: Shift, mode: Search|~Vi, action: SearchFocusPrevious }
# (Windows, Linux, and BSD only)
#- { key: V, mods: Control|Shift, mode: ~Vi, action: Paste }
#- { key: C, mods: Control|Shift, action: Copy }
#- { key: F, mods: Control|Shift, mode: ~Search, action: SearchForward }
#- { key: B, mods: Control|Shift, mode: ~Search, action: SearchBackward }
#- { key: C, mods: Control|Shift, mode: Vi|~Search, action: ClearSelection }
#- { key: Insert, mods: Shift, action: PasteSelection }
#- { key: Key0, mods: Control, action: ResetFontSize }
#- { key: Equals, mods: Control, action: IncreaseFontSize }
#- { key: Plus, mods: Control, action: IncreaseFontSize }
#- { key: NumpadAdd, mods: Control, action: IncreaseFontSize }
#- { key: Minus, mods: Control, action: DecreaseFontSize }
#- { key: NumpadSubtract, mods: Control, action: DecreaseFontSize }
# (Windows only)
#- { key: Return, mods: Alt, action: ToggleFullscreen }
# (macOS only)
#- { key: K, mods: Command, mode: ~Vi|~Search, chars: "\x0c" }
#- { key: K, mods: Command, mode: ~Vi|~Search, action: ClearHistory }
#- { key: Key0, mods: Command, action: ResetFontSize }
#- { key: Equals, mods: Command, action: IncreaseFontSize }
#- { key: Plus, mods: Command, action: IncreaseFontSize }
#- { key: NumpadAdd, mods: Command, action: IncreaseFontSize }
#- { key: Minus, mods: Command, action: DecreaseFontSize }
#- { key: NumpadSubtract, mods: Command, action: DecreaseFontSize }
#- { key: V, mods: Command, action: Paste }
#- { key: C, mods: Command, action: Copy }
#- { key: C, mods: Command, mode: Vi|~Search, action: ClearSelection }
#- { key: H, mods: Command, action: Hide }
#- { key: H, mods: Command|Alt, action: HideOtherApplications }
#- { key: M, mods: Command, action: Minimize }
#- { key: Q, mods: Command, action: Quit }
#- { key: W, mods: Command, action: Quit }
#- { key: N, mods: Command, action: CreateNewWindow }
#- { key: F, mods: Command|Control, action: ToggleFullscreen }
#- { key: F, mods: Command, mode: ~Search, action: SearchForward }
#- { key: B, mods: Command, mode: ~Search, action: SearchBackward }
#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`:
# - Off
# - Error
# - Warn
# - Info
# - Debug
# - Trace
#log_level: Warn
# Renderer override.
# - glsl3
# - gles2
# - gles2_pure
#renderer: None
# Print all received window events.
#print_events: false
# Highlight window damage information.
#highlight_damage: false

View File

@ -5,6 +5,7 @@ PATH="/home/dakedres/bin:$PATH"
pgrep -x sxhkd > /dev/null || sxhkd &
wmname LG3D &
greenclip daemon &
bspc monitor -d I II III IV V
@ -33,5 +34,6 @@ bspc rule -a Kupfer.py focus=on
bspc rule -a Screenkey manage=off
xsetroot -cursor_name left_ptr &
$(dirname $0)/colors
export _JAVA_AWT_WM_NONREPARENTING=1
export _JAVA_AWT_WM_NONREPARENTING=1

3
config/bspwm/colors Executable file
View File

@ -0,0 +1,3 @@
bspc config normal_border_color "#2E303E"
bspc config active_border_color "#6F6F70"
bspc config focused_border_color "#9DA0A2"

View File

@ -1,69 +0,0 @@
# Theme: https://github.com/alternateved/kaolin-inspired/blob/main/kaolin-dark/kitty/Kaolin_Dark.conf
shell fish
editor micro
enable_audio_bell no
font_family Ubuntu Mono
bold_font Ubuntu Medium
italic_font Ubuntu Italic
bold_italic_font Ubuntu Medium Italic
font_size 11.5
## name: Kaolin Dark
## author: Ogden Webb
## license: GNU GPLv3
## blurb: Dark jade theme inspired by Sierra.vim.
# The basic colors
foreground #E4E4E8
background #18181B
selection_foreground #18181B
selection_background #E4E4E8
# Cursor colors
cursor #E4E4E8
cursor_text_color #ffffff
# kitty window border colors
active_border_color #4D9391
inactive_border_color #4B5254
# Tab bar colors
active_tab_background #E4E4E8
active_tab_foreground #18181B
inactive_tab_background #879193
inactive_tab_foreground #18181B
# black
color0 #4B5254
color8 #879193
# red
color1 #CD5C60
color9 #E36D5B
# green
color2 #6FB593
color10 #72CCBA
# yellow
color3 #DBAC66
color11 #F2C866
# blue
color4 #91B9C7
color12 #97B8DE
# magenta
color5 #845A84
color13 #8C629C
# cyan
color6 #4D9391
color14 #5096AB
# white
color7 #E4E4E8
color15 #EFEFF1

View File

@ -1,2 +0,0 @@
[General]
__userfile__=true

View File

@ -1,9 +0,0 @@
[Sizes]
SplitterPos=200
ViewsIconSize=24
WindowSize=@Size(895 1070)
[Window]
DirTree=true
StatusBar=true
ToolBar=true

View File

@ -1,14 +0,0 @@
[Sizes]
SplitterPos=200
WindowSize=@Size(700 500)
[View]
BigIconSize=48
Mode=Detailed
ScrollPerPixel=true
ShowThumbnails=true
SmallIconSize=24
SortColumn=name
SortFolderFirst=true
SortOrder=ascending
ThumbnailIconSize=128

View File

@ -1,238 +0,0 @@
[General]
AllowGrabBaseKeypad=true
AllowGrabBaseSpecial=false
AllowGrabLocks=false
AllowGrabMiscKeypad=true
AllowGrabMiscSpecial=true
MultipleActionsBehaviour=first
WindowSize=@Invalid()
[Control%2BAlt%2BB.1]
Comment=Web browser
Enabled=true
Exec=xdg-open, about:blank
[Control%2BAlt%2BDelete.2]
Comment=Task manager
Enabled=true
Exec=qps
[Control%2BAlt%2BL.3]
Comment=lockscreen
Enabled=true
Exec=xdg-screensaver, lock
[Control%2BAlt%2BT.4]
Comment=Launch Terminal
Enabled=true
Exec=qterminal
[Meta%2B0.5]
Comment=Activate task 10
Enabled=true
path=/panel/taskbar/task_10
[Meta%2B1.6]
Comment=Activate task 1
Enabled=true
path=/panel/taskbar/task_1
[Meta%2B2.7]
Comment=Activate task 2
Enabled=true
path=/panel/taskbar/task_2
[Meta%2B3.8]
Comment=Activate task 3
Enabled=true
path=/panel/taskbar/task_3
[Meta%2B4.9]
Comment=Activate task 4
Enabled=true
path=/panel/taskbar/task_4
[Meta%2B5.10]
Comment=Activate task 5
Enabled=true
path=/panel/taskbar/task_5
[Meta%2B6.11]
Comment=Activate task 6
Enabled=true
path=/panel/taskbar/task_6
[Meta%2B7.12]
Comment=Activate task 7
Enabled=true
path=/panel/taskbar/task_7
[Meta%2B8.13]
Comment=Activate task 8
Enabled=true
path=/panel/taskbar/task_8
[Meta%2B9.14]
Comment=Activate task 9
Enabled=true
path=/panel/taskbar/task_9
[Meta%2BD.15]
Comment=Show desktop
Enabled=true
path=/panel/showdesktop/show_hide
[Meta%2BE.16]
Comment=Pcmanfm
Enabled=true
Exec=pcmanfm-qt
[Meta%2BF1.17]
Comment=Switch to desktop 1
Enabled=true
path=/panel/desktopswitch/desktop_1
[Meta%2BF10.18]
Comment=Switch to desktop 10
Enabled=true
path=/panel/desktopswitch/desktop_10
[Meta%2BF11.19]
Comment=Switch to desktop 11
Enabled=true
path=/panel/desktopswitch/desktop_11
[Meta%2BF12.20]
Comment=Switch to desktop 12
Enabled=true
path=/panel/desktopswitch/desktop_12
[Meta%2BF2.21]
Comment=Switch to desktop 2
Enabled=true
path=/panel/desktopswitch/desktop_2
[Meta%2BF3.22]
Comment=Switch to desktop 3
Enabled=true
path=/panel/desktopswitch/desktop_3
[Meta%2BF4.23]
Comment=Switch to desktop 4
Enabled=true
path=/panel/desktopswitch/desktop_4
[Meta%2BF5.24]
Comment=Switch to desktop 5
Enabled=true
path=/panel/desktopswitch/desktop_5
[Meta%2BF6.25]
Comment=Switch to desktop 6
Enabled=true
path=/panel/desktopswitch/desktop_6
[Meta%2BF7.26]
Comment=Switch to desktop 7
Enabled=true
path=/panel/desktopswitch/desktop_7
[Meta%2BF8.27]
Comment=Switch to desktop 8
Enabled=true
path=/panel/desktopswitch/desktop_8
[Meta%2BF9.28]
Comment=Switch to desktop 9
Enabled=true
path=/panel/desktopswitch/desktop_9
[Meta%2BR.29]
Comment=Show/hide runner
Enabled=true
path=/runner/show_hide_dialog
[Print.30]
Comment=screen shot
Enabled=true
Exec=screengrab
[Shift%2BControl%2BF6.31]
Comment=\x2600 \x2193
Enabled=true
Exec=lxqt-config-brightness, -d
[Shift%2BControl%2BF7.32]
Comment=\x2600 \x2191
Enabled=true
Exec=lxqt-config-brightness, -i
[Super_L.33]
Comment=Show/hide main menu
Enabled=true
path=/panel/mainmenu/show_hide
[XF86AudioLowerVolume.34]
Comment=Decrease sound volume
Enabled=true
path=/panel/volume/down
[XF86AudioMute.35]
Comment=Mute/unmute sound volume
Enabled=true
path=/panel/volume/mute
[XF86AudioRaiseVolume.36]
Comment=Increase sound volume
Enabled=true
path=/panel/volume/up
[XF86Calculator.37]
Comment=Launch calculator
Enabled=true
Exec=kcalc
[XF86Eject.38]
Comment=Eject removable media
Enabled=true
path=/panel/mount/eject
[XF86HomePage.39]
Comment=Launch browser
Enabled=true
Exec=xdg-open, about:blank
[XF86Mail.40]
Comment=Launch mail
Enabled=true
Exec=trojita
[XF86MonBrightnessDown.41]
Comment=\x2600 \x2193
Enabled=true
Exec=lxqt-config-brightness, -d
[XF86MonBrightnessUp.42]
Comment=\x2600 \x2191
Enabled=true
Exec=lxqt-config-brightness, -i
[XF86MyComputer.43]
Comment=Launch pcmanfm
Enabled=true
Exec=pcmanfm-qt
[XF86PowerOff.44]
Comment=Power off key action
Enabled=true
path=/powermanager/keypoweroff
[XF86Sleep.45]
Comment=Hibernate key action
Enabled=true
path=/powermanager/keyhibernate
[XF86Suspend.46]
Comment=Suspend key action
Enabled=true
path=/powermanager/keysuspend

View File

@ -1,4 +0,0 @@
[General]
ControlGTKThemeEnabled=true
__userfile__=true
size=@Size(648 598)

View File

@ -1,2 +0,0 @@
[General]
size=@Size(600 400)

View File

@ -1,3 +0,0 @@
[General]
__userfile__=true
size=@Size(861 622)

View File

@ -1,2 +0,0 @@
[General]
__userfile__=true

View File

@ -1,2 +0,0 @@
[General]
size=@Size(1870 1070)

View File

@ -1,6 +0,0 @@
[General]
__userfile__=true
enableBatteryWatcher=true
enableIdlenessWatcher=true
enableLidWatcher=true
runCheckLevel=1

View File

@ -1,2 +0,0 @@
[General]
__userfile__=true

View File

@ -1,17 +0,0 @@
[General]
__userfile__=true
icon_theme=ePapirus
theme=frost
[Palette]
base_color=#18181b
highlight_color=#91b9c7
highlighted_text_color=#ffffff
link_color=#9ba5a7
link_visited_color=#845a84
text_color=#e4e4e8
window_color=#222225
window_text_color=#e4e4e8
[Qt]
style=Breeze

View File

@ -1,2 +0,0 @@
[General]
__userfile__=true

View File

@ -1,63 +0,0 @@
[General]
__userfile__=true
[desktopswitch]
alignment=Left
type=desktopswitch
[mainmenu]
alignment=Left
type=mainmenu
[mount]
alignment=Right
type=mount
[panel1]
alignment=-1
animation-duration=0
background-color=@Variant(\0\0\0\x43\0\xff\xff\0\0\0\0\0\0\0\0)
background-image=
desktop=0
font-color=@Variant(\0\0\0\x43\0\xff\xff\0\0\0\0\0\0\0\0)
hidable=false
hide-on-overlap=false
iconSize=22
lineCount=1
lockPanel=false
opacity=100
panelSize=32
position=Bottom
reserve-space=true
show-delay=0
visible-margin=true
width=100
width-percent=true
[quicklaunch]
alignment=Left
type=quicklaunch
[showdesktop]
alignment=Right
type=showdesktop
[statusnotifier]
alignment=Right
type=statusnotifier
[taskbar]
alignment=Left
type=taskbar
[tray]
alignment=Right
type=tray
[volume]
alignment=Right
type=volume
[worldclock]
alignment=Right
type=worldclock

View File

@ -1,2 +0,0 @@
[General]
__userfile__=true

View File

@ -1,16 +0,0 @@
[General]
__userfile__=true
window_manager=bspwm
[Environment]
BROWSER=qutebrowser
GTK_CSD=0
GTK_OVERLAY_SCROLLING=0
GTK_USE_PORTAL=1
SAL_USE_VCLPLUGIN=qt5
SAL_VCL_QT5_USE_CAIRO=true
TERM=kitty
[Mouse]
cursor_size=22
cursor_theme=breeze_cursors

View File

@ -1,2 +0,0 @@
[General]
__userfile__=true

View File

@ -1,436 +0,0 @@
#################################
# 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 = 8;
# 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 monitor to that monitor. This is
# currently implemented using the X RandR extension.
# crop-shadow-to-monitor = 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.09;
# Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03)
# fade-out-step = 0.03
fade-out-step = 0.09;
# 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_WINDOW_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 = [
# "80:class_g = 'Rofi'"
# ]
#################################
# 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 #
#################################
# Enable remote control via D-Bus. See the man page for more details.
# dbus = true
# Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers.
# daemon = false
# Specify the backend to use: `xrender`, `glx`, `egl` or `xr_glx_hybrid`.
# `xrender` is the default one.
#
# backend = "glx"
backend = "xrender";
# Use higher precision during rendering, and apply dither when presenting the
# rendered screen. Reduces banding artifacts, but might cause performance
# degradation. Only works with OpenGL.
dithered-present = false;
# 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_WINDOW_OPACITY' on client windows, useful for window managers
# not passing '_NET_WM_WINDOW_OPACITY' of client windows to frame windows.
#
# detect-client-opacity = false
detect-client-opacity = true;
# 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. This usually means windows from the same application
# will be considered focused or unfocused at the same time.
# 'WM_TRANSIENT_FOR' has higher priority if detect-transient is enabled, too.
#
# detect-client-leader = false
# 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 = false
# GLX backend: Avoid rebinding pixmap on window damage.
# Probably could improve performance on rapid window content changes,
# but is known to break things on some drivers (LLVMpipe, xf86-video-intel, etc.).
# Recommended if it works.
#
# glx-no-rebind-pixmap = false
# Disable the use of damage information.
# This cause the whole screen to be redrawn every time, instead of the part of the screen
# has actually changed. Potentially degrades the performance, but might fix some artifacts.
# The opposing option is use-damage
#
# no-use-damage = false
use-damage = true;
# Use X Sync fence to sync clients' draw calls, to make sure all draw
# calls are finished before picom starts drawing. Needed on nvidia-drivers
# with GLX backend for some users.
#
# xrender-sync-fence = false
# GLX backend: Use specified GLSL fragment shader for rendering window
# contents. Read the man page for a detailed explanation of the interface.
#
# window-shader-fg = "default"
# Use rules to set per-window shaders. Syntax is SHADER_PATH:PATTERN, similar
# to opacity-rule. SHADER_PATH can be "default". This overrides window-shader-fg.
#
# window-shader-fg-rule = [
# "my_shader.frag:window_type != 'dock'"
# ]
# Force all windows to be painted with blending. Useful if you
# have a glx-fshader-win that could turn opaque pixels transparent.
#
# force-win-blend = false
# Do not use EWMH to detect fullscreen windows.
# 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
# Specify a list of conditions of windows that should never have transparent
# clipping applied. Useful for screenshot tools, where you need to be able to
# see through transparent parts of the window.
#
# transparent-clipping-exclude = []
# Set the log level. Possible values are:
# "trace", "debug", "info", "warn", "error"
# in increasing level of importance. Case doesn't matter.
# If using the "TRACE" log level, it's better to log into a file
# 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 whether shadows that would have been drawn above the window should
# be clipped. Useful for dock windows that should have no shadow painted on top.
#
# redir-ignore:::
# Controls whether this type of windows should cause screen to become
# 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:
{
normal = { fade = false; }
tooltip = { fade = true; shadow = true; opacity = 0.9; focus = true; full-shadow = false; };
dock = { shadow = false; clip-shadow-above = true; }
dnd = { shadow = false; }
};

Binary file not shown.

38
config/qutebrowser/autoconfig.yml Normal file → Executable file
View File

@ -1,43 +1,43 @@
# If a config.py file exists, this file is ignored unless it's explicitly loaded
# via config.load_autoconfig(). For more information, see:
# https://github.com/qutebrowser/qutebrowser/blob/master/doc/help/configuring.asciidoc#loading-autoconfigyml
# https://github.com/qutebrowser/qutebrowser/blob/main/doc/help/configuring.asciidoc#loading-autoconfigyml
# DO NOT edit this file by hand, qutebrowser will overwrite it.
# Instead, create a config.py - see :help for details.
config_version: 2
settings:
bindings.commands:
global:
normal:
J: scroll-page 0 1
K: scroll-page 0 -1
gp: mode-enter passthrough
h: back
l: forward
colors.webpage.preferred_color_scheme:
global: dark
content.autoplay:
global: false
content.geolocation:
https://icl.churchofjesuschrist.org: true
https://myinstitute.churchofjesuschrist.org: true
https://www.acrevalue.com: true
https://www.findagrave.com: true
content.cookies.accept:
global: no-unknown-3rdparty
content.cookies.store:
global: false
content.media.audio_capture:
https://mictests.com: true
https://teams.microsoft.com: true
https://virtualspeech.com: true
content.media.audio_video_capture:
https://teams.microsoft.com: true
content.media.video_capture:
https://teams.microsoft.com: true
content.mouse_lock:
http://www.windows93.net: true
https://online-voice-recorder.com: true
content.notifications.enabled:
https://app.cinny.in: true
content.register_protocol_handler:
https://calendar.google.com?cid=%25s: true
https://mail.google.com?extsrc=mailto&url=%25s: true
fonts.debug_console:
global: default_size default_family
fonts.default_family:
global: Ubuntu
fonts.prompts:
global: default_size sans-serif
global: 12 Inconsolata
fonts.statusbar:
global: default_size Ubuntu Mono
global: 12 Nimbus Mono
fonts.web.family.fixed:
global: Ubuntu Mono
global: Inconsolata
fonts.web.family.serif:
global: Ubuntu
fonts.web.family.standard:

View File

@ -1,28 +1,28 @@
# Theme: https://github.com/alternateved/kaolin-inspired/blob/main/kaolin-dark/qutebrowser/default/base16-kaolin-dark.config.py
config.load_autoconfig()
#START SHCHEMES BLOCK : shchemes create_theme qutebrowser
# base16-qutebrowser (https://github.com/theova/base16-qutebrowser)
# Base16 qutebrowser template by theova
# Kaolin-dark scheme by alternateved (http://github.com/alternateved)
# Inspired by (https://github.com/ogdenwebb/emacs-kaolin-themes)
# Scheme name:
# Scheme author:
# Template author: theova
# Commentary: Tinted Theming: (https://github.com/tinted-theming)
base00 = "#18181B"
base01 = "#222225"
base02 = "#4B5254"
base03 = "#545C5E"
base04 = "#879193"
base05 = "#9ba5a7"
base06 = "#d0d0d4"
base07 = "#E4E4E8"
base08 = "#CD5C60"
base09 = "#DBAC66"
base0A = "#F2C866"
base0B = "#6FB593"
base0C = "#4D9391"
base0D = "#91B9C7"
base0E = "#845A84"
base0F = "#E36D5B"
base00 = "#1C1E26"
base01 = "#232530"
base02 = "#2E303E"
base03 = "#6F6F70"
base04 = "#9DA0A2"
base05 = "#CBCED0"
base06 = "#DCDFE4"
base07 = "#E3E6EE"
base08 = "#E95678"
base09 = "#FAB795"
base0A = "#FAC29A"
base0B = "#29D398"
base0C = "#59E1E3"
base0D = "#26BBD9"
base0E = "#EE64AC"
base0F = "#F09383"
# set qutebrowser colors
@ -302,4 +302,6 @@ c.colors.tabs.selected.even.bg = base02
# Background color for webpages if unset (or empty to use the theme's
# color).
# c.colors.webpage.bg = base00
# c.colors.webpage.bg = base00
#END SHCHEMES BLOCK

View File

@ -1,57 +0,0 @@
// ==UserScript==
// @name Cinny Theme
// @match *://app.cinny.in/*
{let style = document.createElement('style');style.innerHTML = `body,
.dark-theme,
.butter-theme,
.silver-theme {
--bg-surface: #0f0f0f;
--bg-surface-transparent: rgba(15, 15, 15, 0);
--bg-surface-low: #1a1a1a;
--bg-surface-low-transparent: rgba(26, 26, 26, 0);
--bg-surface-extra-low: #242424;
--bg-surface-extra-low-transparent: rgba(36, 36, 36, 0);
--bg-surface-hover: #242424;
--bg-surface-active: #333333;
--bg-surface-border: #333333;
--bg-primary: hsl(180, 42%, 70%);
--bg-primary-hover: hsl(180, 42%, 70%);
--bg-primary-active: hsl(180, 42%, 70%);
--bg-primary-border: hsl(180, 42%, 70%);
--bg-tooltip: #000;
--bg-badge: hsl(180, 30%, 90%);
--bg-ping: hsl(180, 30%, 90%);
--bg-ping-hover: hsl(180, 30%, 90%);
--bg-divider: #1a1a1a;
--tc-surface-high: hsl(180, 30%, 90%);
--tc-surface-normal: hsl(180, 16%, 83%);
--tc-surface-normal-low: hsl(180, 10%, 77%);
--tc-surface-low: hsl(180, 10%, 77%);
--tc-primary-high: hsl(180, 30%, 90%);
--tc-primary-normal: hsl(180, 16%, 83%);
--tc-primary-low: hsl(180, 10%, 77%);
--tc-code: #e565b1;
--tc-link: hsl(180, 42%, 70%);
--tc-badge: black;
--ic-surface-high: hsl(180, 30%, 90%);
--ic-surface-normal: hsl(180, 30%, 90%);
--ic-surface-low: hsl(180, 30%, 90%);
--ic-primary-normal: #ffffff;
--bg-overlay: rgba(0, 0, 0, 0.6);
--bg-overlay-low: rgba(0, 0, 0, 0.8);
--bs-popup: 0 0 16px rgba(0, 0, 0, 0.25);
--bs-surface-border: inset 0 0 0 1px var(--bg-surface-border);
--bs-surface-outline: 0 0 0 2px var(--bg-surface-border);
--bs-primary-border: inset 0 0 0 1px var(--bg-primary-border);
--bs-primary-outline: 0 0 0 2px var(--bg-primary-border);
--fs-h1: 35.6px;
--fs-h2: 23.6px;
--fs-s1: 17.6px;
--fs-b1: 14.6px;
--ls-b1: 0.14px;
--fs-b2: 13.2px;
--fs-b3: 11.2px;
--fw-normal: 350;
--font-primary: sans-serif;
--font-secondary: sans-serif;
}`; document.head.appendChild(style); }

View File

@ -1,5 +1,8 @@
[FileDialog]
history=@Invalid()
lastVisited=file:///home/dakedres/Downloads
qtVersion=5.15.8
history=file:///home/dakedres/music, file:///home/dakedres, file:///home/dakedres/pictures, file:///home/dakedres/pictures/wallpapers, file:///home/dakedres/splash
lastVisited=file:///home/dakedres/splash
qtVersion=6.6.2
shortcuts=file:, file:///home/dakedres
sidebarWidth=90
treeViewHeader=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x2l\0\0\0\x4\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x4\0\0\x1\x7f\0\0\0\x1\0\0\0\0\0\0\0?\0\0\0\x1\0\0\0\0\0\0\0@\0\0\0\x1\0\0\0\0\0\0\0n\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\xff\xff\xff\xff\0\0\0\0)
viewMode=Detail

View File

@ -1,15 +0,0 @@
[Sizes]
SplitterPos=200
WindowSize=@Size(989 756)
[View]
BigIconSize=48
Mode=Detailed
ScrollPerPixel=true
ShowHidden=true
ShowThumbnails=true
SmallIconSize=24
SortColumn=type
SortFolderFirst=true
SortOrder=ascending
ThumbnailIconSize=128

View File

@ -1 +0,0 @@
Uxn tutorial d2 https://compudanzas.net/uxn_tutorial_day_2.html

View File

@ -1,2 +0,0 @@
lessc $1 out.css
echo -e "// ==UserScript==\n// @name Cinny Theme\n// @match *://app.cinny.in/*\n{let style = document.createElement('style');style.innerHTML = \`$(cat out.css)\`; document.head.appendChild(style); }" > ../greasemonkey/cinny-theme.js

View File

@ -1,67 +0,0 @@
@hue: 180;
@f_high: hsl(@hue, 30%, 90%);
@f_med: hsl(@hue, 16%, 83%);
@f_low: hsl(@hue, 10%, 77%);
@b_high: #333333;
@b_med: #242424;
@b_low: #1a1a1a;
@background: #0f0f0f;
@b_inv: hsl(@hue, 42%, 70%);
body, .dark-theme, .butter-theme, .silver-theme {
--bg-surface: @background;
--bg-surface-transparent: fade(@background, 0);
--bg-surface-low: @b_low;
--bg-surface-low-transparent: fade(@b_low, 0);
--bg-surface-extra-low: @b_med;
--bg-surface-extra-low-transparent: fade(@b_med, 0);
--bg-surface-hover: @b_med;
--bg-surface-active: @b_high;
--bg-surface-border: @b_high;
--bg-primary: @b_inv;
--bg-primary-hover: @b_inv;
--bg-primary-active: @b_inv;
--bg-primary-border: @b_inv;
--bg-tooltip: #000;
--bg-badge: @f_high;
--bg-ping: @f_high;
--bg-ping-hover: @f_high;
--bg-divider: @b_low;
--tc-surface-high: @f_high;
--tc-surface-normal: @f_med;
--tc-surface-normal-low: @f_low;
--tc-surface-low: @f_low;
--tc-primary-high: @f_high;
--tc-primary-normal: @f_med;
--tc-primary-low: @f_low;
--tc-code: #e565b1;
--tc-link: @b_inv;
--tc-badge: black;
--ic-surface-high: @f_high;
--ic-surface-normal: @f_high;
--ic-surface-low: @f_high;
--ic-primary-normal: #ffffff;
--bg-overlay: rgba(0, 0, 0, 60%);
--bg-overlay-low: rgba(0, 0, 0, 80%);
--bs-popup: 0 0 16px rgba(0, 0, 0, 25%);
--bs-surface-border: inset 0 0 0 1px var(--bg-surface-border);
--bs-surface-outline: 0 0 0 2px var(--bg-surface-border);
--bs-primary-border: inset 0 0 0 1px var(--bg-primary-border);
--bs-primary-outline: 0 0 0 2px var(--bg-primary-border);
--fs-h1: 35.6px;
--fs-h2: 23.6px;
--fs-s1: 17.6px;
--fs-b1: 14.6px;
--ls-b1: .14px;
--fs-b2: 13.2px;
--fs-b3: 11.2px;
--fw-normal: 350;
--font-primary: sans-serif;
--font-secondary: sans-serif;
}

View File

@ -1,3 +0,0 @@
echo "$(node process.js $1)$(cat tea.less)" > temp.less
lessc temp.less out.css
echo "document.head.innerHTML += \`<style>$(cat out.css)</style>\`" | xclip -selection c

View File

@ -1,400 +0,0 @@
// @background: #eff;
// @f_high: #100;
// @f_med: #211;
// @f_low: #322;
// @b_high: #bcc;
// @b_med: #cdd;
// @b_low: #dee;
// @b_inv: #0aa;
// @f_high: hsl(180, 100%, 95%);
// @f_med: hsl(180, 90%, 90%);
// @f_low: hsl(180, 75%, 85%);
// @background: #111;
// @b_high: #2f2f2f;
// @b_med: #202020;
// @b_low: #1f1f1f;
// @b_high: #333;
// @b_med: @b_low;
// @b_low: #222;
@f_high: #220000;
@f_med: #441100;
@f_low: #662200;
// @b_high: hsl(0, 0%, 84%);
// @b_med: hsl(0,0%,88%);
// @b_low: hsl(0,0%,90%);
// @background: hsl(0,0%,94%);
@b_high: #d6d6d6;
@b_med: #e0e0e0;
@b_low: #e6e6e6;
@background: #f0f0f0;
@b_inv: #b40;
@primary: @f_high; // primary color used in main texts
@secondary: @f_med; // secondary color used in some texts and text based buttons
@tertiary: @f_med; // tertiary color used in other colored texts
@fg: @f_high;
@bg0: @background;
@bg1: @b_low;
@bg2: @b_med;
@bg3: @b_med;
@bg4: @b_high;
@red: hwb(357 45% 7%);
@orange: hwb(39 45% 13%);
@yellow: hwb(39 45% 13%);
@green: hwb(94 51% 21%);
@cyan: hwb(184 36% 24%);
@blue: #6cb6eb;
@purple: #d38aea;
@grey: #758094;
@red-bg: #55393d;
@green-bg: #394634;
@blue-bg: #354157;
@yellow-bg: #4e432f;
@button1: @b_inv;
@button2: @b_inv;
@button-red: @red;
@key: @red;
@operator: @purple;
@string: @green;
@value: @green;
@type: @yellow;
@function: @blue;
@special: @cyan;
:root {
--is-dark-theme: true;
--color-primary: @primary;
--color-primary-contrast: @bg0;
--color-primary-dark-1: @primary;
--color-primary-dark-2: mix(@fg, @primary, 16.7%);
--color-primary-dark-3: mix(@fg, @primary, 33.3%);
--color-primary-dark-4: mix(@fg, @primary, 50%);
--color-primary-dark-5: mix(@fg, @primary, 66.6%);
--color-primary-dark-6: mix(@fg, @primary, 83.3%);
--color-primary-dark-7: @fg;
--color-primary-light-1: @primary;
--color-primary-light-2: mix(@bg2, @primary, 16.7%);
--color-primary-light-3: mix(@bg2, @primary, 33.3%);
--color-primary-light-4: mix(@bg2, @primary, 50%);
--color-primary-light-5: mix(@bg2, @primary, 66.6%);
--color-primary-light-6: mix(@bg2, @primary, 83.3%);
--color-primary-light-7: @bg2;
--color-primary-alpha-10: fade(@primary, 10%);
--color-primary-alpha-20: fade(@primary, 20%);
--color-primary-alpha-30: fade(@primary, 30%);
--color-primary-alpha-40: fade(@primary, 40%);
--color-primary-alpha-50: fade(@primary, 50%);
--color-primary-alpha-60: fade(@primary, 60%);
--color-primary-alpha-70: fade(@primary, 70%);
--color-primary-alpha-80: fade(@primary, 80%);
--color-primary-alpha-90: fade(@primary, 90%);
--color-secondary: @bg4;
--color-secondary-dark-1: @bg4;
--color-secondary-dark-2: mix(@fg, @bg4, 8.3%);
--color-secondary-dark-3: mix(@fg, @bg4, 16.7%);
--color-secondary-dark-4: mix(@fg, @bg4, 25%);
--color-secondary-dark-5: mix(@fg, @bg4, 33.3%);
--color-secondary-dark-6: mix(@fg, @bg4, 41.7%);
--color-secondary-dark-7: mix(@fg, @bg4, 50%);
--color-secondary-dark-8: mix(@fg, @bg4, 58.3%);
--color-secondary-dark-9: mix(@fg, @bg4, 66.7%);
--color-secondary-dark-10: mix(@fg, @bg4, 75%);
--color-secondary-dark-11: mix(@fg, @bg4, 83.3%);
--color-secondary-dark-12: mix(@fg, @bg4, 91.7%);
--color-secondary-dark-13: @fg;
--color-secondary-light-1: @bg4;
--color-secondary-light-2: @bg3;
--color-secondary-light-3: @bg2;
--color-secondary-light-4: @bg1;
--color-secondary-alpha-10: fade(@bg4, 10%);
--color-secondary-alpha-20: fade(@bg4, 20%);
--color-secondary-alpha-30: fade(@bg4, 30%);
--color-secondary-alpha-40: fade(@bg4, 40%);
--color-secondary-alpha-50: fade(@bg4, 50%);
--color-secondary-alpha-60: fade(@bg4, 60%);
--color-secondary-alpha-70: fade(@bg4, 70%);
--color-secondary-alpha-80: fade(@bg4, 80%);
--color-secondary-alpha-90: fade(@bg4, 90%);
/* colors */
--color-red: @red;
--color-orange: @orange;
--color-yellow: @yellow;
--color-olive: @green;
--color-green: @green;
--color-teal: @cyan;
--color-blue: @blue;
--color-violet: @purple;
--color-purple: @purple;
--color-pink: @purple;
--color-brown: @orange;
--color-grey: @grey;
/* light variants */
--color-red-light: @red;
--color-orange-light: @orange;
--color-yellow-light: @yellow;
--color-olive-light: @green;
--color-green-light: @green;
--color-teal-light: @cyan;
--color-blue-light: @blue;
--color-violet-light: @purple;
--color-purple-light: @purple;
--color-pink-light: @purple;
--color-brown-light: @orange;
--color-grey-light: @grey;
/* other colors */
--color-black: @bg2;
--color-gold: @orange;
--color-white: @bg0;
--color-diff-removed-word-bg: mix(@red-bg, @red, 70%);
--color-diff-added-word-bg: mix(@green-bg, @green, 70%);
--color-diff-removed-row-bg: @red-bg;
--color-diff-moved-row-bg: @blue-bg;
--color-diff-added-row-bg: @green-bg;
--color-diff-removed-row-border: mix(@red-bg, @red, 50%);
--color-diff-moved-row-border: mix(@blue-bg, @blue, 50%);
--color-diff-added-row-border: mix(@green-bg, @green, 50%);
--color-diff-inactive: @bg2;
--color-error-border: mix(@red-bg, @red, 50%);
--color-error-bg: @red-bg;
--color-error-text: @red;
--color-success-border: mix(@green-bg, @green, 50%);
--color-success-bg: @green-bg;
--color-success-text: @green;
--color-warning-border: mix(@yellow-bg, @yellow, 50%);
--color-warning-bg: @yellow-bg;
--color-warning-text: @yellow;
--color-info-border: mix(@blue-bg, @blue, 50%);
--color-info-bg: @blue-bg;
--color-info-text: @blue;
/* target-based colors */
--color-body: @bg0;
--color-box-header: @bg3;
// --color-box-header: @bg3;
--color-box-body: @bg1;
--color-box-body-highlight: @bg2;
--color-text-dark: @secondary;
--color-text: @fg;
--color-text-hover: fade(@fg, 80%);
--color-text-light: @tertiary;
--color-text-light-1: @tertiary;
--color-text-light-2: @secondary;
--color-text-light-3: @secondary;
--color-footer: @bg1;
--color-timeline: @bg4;
--color-input-text: @fg;
--color-input-background: @bg0;
--color-input-toggle-background: @bg1;
--color-input-border: @bg4;
--color-input-border-hover: mix(@bg4, @grey, 50%);
--color-navbar: @bg1;
--color-navbar-transparent: @bg1;
--color-nav-bg: @bg1;
--color-nav-hover-bg: @bg3;
--color-light: @bg1;
--color-light-mimic-enabled: rgba(0, 0, 0, calc(40 / 255 * 222 / 255 / var(--opacity-disabled)));
--color-light-border: @bg4;
--color-hover: fade(@bg4, 50%);
--color-active: fade(@bg4, 50%);
--color-menu: @bg1;
--color-card: @bg1;
--color-markup-table-row: @bg3;
--color-markup-code-block: @bg0;
--color-button: @bg3;
--color-code-bg: @bg0;
--color-code-sidebar-bg: @bg1;
--color-shadow: #00000060;
--color-secondary-bg: @bg1;
--color-text-focus: #fff;
--color-expand-button: @bg2;
--color-placeholder-text: @tertiary;
--color-editor-line-highlight: @bg1;
--color-project-board-bg: @bg0;
--color-project-board-light-label: @primary;
--color-caret: var(--color-text); /* should ideally be --color-text-dark, see #15651 */
--color-reaction-bg: #ffffff12;
--color-reaction-active-bg: var(--color-primary-alpha-40);
--color-header-bar: @bg1;
--color-label-bg: @bg4;
--color-label-text: @tertiary;
--color-label-active-bg: @bg4;
--color-accent: var(--color-primary-light-1);
--color-small-accent: var(--color-primary-light-5);
--color-active-line: @bg1;
--color-header-wrapper: @bg2;
accent-color: var(--color-accent);
color-scheme: light;
}
.chroma .nx {
color: @fg;
}
.chroma .c, .chroma .c1, .chroma .ch, .chroma .cm, .chroma .sd {
color: @grey;
}
.chroma .k, .chroma .kc, .chroma .kd, .chroma .kn, .chroma .kp, .chroma .kr {
color: @key;
}
.chroma .o, .chroma .ow {
color: @operator;
}
.chroma .s, .chroma .s1, .chroma .s2, .chroma .sa, .chroma .sb, .chroma .sc, .chroma .sh, .chroma .si, .chroma .sr, .chroma .ss, .chroma .sx, .chroma .nt, .chroma .cpf {
color: @string;
}
.chroma .m, .chroma .mb, .chroma .mf, .chroma .mh, .chroma .mi, .chroma .mo, .chroma .nl {
color: @value;
}
.chroma .kt, .chroma .nc, .chroma .nn, .chroma .nv {
color: @type;
}
.chroma .nf, .chroma .nb, .chroma .na {
color: @function;
}
.chroma .bp, .chroma .cp, .chroma .ne, .chroma .nd, .chroma .se {
color: @special;
}
/* primary buttons */
.ui.primary.button, .ui.primary.buttons .button {
background: @button1;
background-color: @button1 !important;
color: @bg0;
}
.ui.primary.button:hover, .ui.primary.buttons .button:hover {
background: fade(@button1, 80%);
background-color: fade(@button1, 80%) !important;
color: @bg0;
}
.ui.grey.labels .label, .ui.ui.ui.grey.label, .ui.grey.button, .ui.grey.buttons .button {
color: @bg0;
background-color: @button1;
border-color: @button1;
}
.ui.grey.labels .label:hover, .ui.ui.ui.grey.label:hover, .ui.grey.button:hover, .ui.grey.buttons .button:hover {
color: @bg0;
background-color: @button1;
border-color: @button1;
}
/* secondary buttons */
.ui.green.buttons .button, .ui.green.button {
background: @button2;
background-color: @button2;
color: @bg0;
}
.ui.green.buttons .button:hover, .ui.green.button:hover {
background: fade(@button2, 80%);
background-color: fade(@button2, 80%);
color: @bg0;
}
/* text based buttons (purple) */
.ui.labeled.button.disabled>.button, .ui.basic.buttons .button, .ui.basic.button {
color: @secondary;
}
.ui.labeled.button.disabled>.button:hover, .ui.basic.buttons .button:hover, .ui.basic.button:hover {
color: @secondary;
}
/* repo title && header */
.repo-title {
color: @secondary;
}
/* star number && fork number */
.repo-buttons button[disabled] ~ .label,
.repo-buttons .ui.labeled.button.disabled > .label {
color: @primary;
}
.ui.basic.labels .label, .ui.basic.label {
color: @primary;
}
/* hover on commits, branch, tags in project home page */
.repository .ui.segment.sub-menu .list .item a:hover,
.ui.tabular.menu .item:hover {
color: var(--color-text-hover);
}
/* commit label */
.ui.primary.labels .label, .ui.ui.ui.primary.label {
color: @bg0;
}
/* issue label */
.ui.green.labels .label, .ui.ui.ui.green.label {
color: @bg0;
}
/* grey button (rss feed button in repository home page) */
i.grey.icon.icon.icon.icon {
color: @grey
}
/* scroll bar */
* {
scrollbar-color: @secondary transparent !important;
}
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
::-webkit-scrollbar-thumb {
box-shadow: inset 0 0 0 6px @secondary !important;
border: 2px solid transparent;
border-radius: 5px !important;
}
::-webkit-scrollbar-thumb:window-inactive {
box-shadow: inset 0 0 0 6px @secondary !important;
}
::-webkit-scrollbar-thumb:hover {
box-shadow: inset 0 0 0 6px @secondary !important;
}
::-webkit-scrollbar-corner {
background: transparent;
}
/* red buttons */
.ui.red.labels .label, .ui.ui.ui.red.label, .ui.red.button, .ui.red.buttons .button {
background: @button-red;
background-color: @button-red;
color: @bg0;
}
.ui.red.labels .label:hover, .ui.ui.ui.red.label:hover, .ui.red.button:hover, .ui.red.buttons .button:hover {
background: fade(@button-red, 80%);
background-color: fade(@button-red, 80%);
color: @bg0;
}
/* grey buttons */
.ui.labels a.label, a.ui.label {
background-color: @bg1;
}
.ui.labels a.label:hover, a.ui.label:hover {
background-color: @bg0;
}
/* orange buttons */
.ui.orange.labels .label, .ui.ui.ui.orange.label, .ui.orange.button, .ui.orange.buttons .button {
background: @orange;
background-color: @orange;
color: @bg0;
}
.ui.orange.labels .label:hover, .ui.ui.ui.orange.label:hover, .ui.orange.button:hover, .ui.orange.buttons .button:hover {
background: fade(@orange, 80%);
background-color: fade(@orange, 80%);
color: @bg0;
}

View File

@ -1,54 +0,0 @@
body,
.dark-theme,
.butter-theme,
.silver-theme {
--bg-surface: #0f0f0f;
--bg-surface-transparent: rgba(15, 15, 15, 0);
--bg-surface-low: #1a1a1a;
--bg-surface-low-transparent: rgba(26, 26, 26, 0);
--bg-surface-extra-low: #242424;
--bg-surface-extra-low-transparent: rgba(36, 36, 36, 0);
--bg-surface-hover: #242424;
--bg-surface-active: #333333;
--bg-surface-border: #333333;
--bg-primary: hsl(180, 42%, 70%);
--bg-primary-hover: hsl(180, 42%, 70%);
--bg-primary-active: hsl(180, 42%, 70%);
--bg-primary-border: hsl(180, 42%, 70%);
--bg-tooltip: #000;
--bg-badge: hsl(180, 30%, 90%);
--bg-ping: hsl(180, 30%, 90%);
--bg-ping-hover: hsl(180, 30%, 90%);
--bg-divider: #1a1a1a;
--tc-surface-high: hsl(180, 30%, 90%);
--tc-surface-normal: hsl(180, 16%, 83%);
--tc-surface-normal-low: hsl(180, 10%, 77%);
--tc-surface-low: hsl(180, 10%, 77%);
--tc-primary-high: hsl(180, 30%, 90%);
--tc-primary-normal: hsl(180, 16%, 83%);
--tc-primary-low: hsl(180, 10%, 77%);
--tc-code: #e565b1;
--tc-link: hsl(180, 42%, 70%);
--tc-badge: black;
--ic-surface-high: hsl(180, 30%, 90%);
--ic-surface-normal: hsl(180, 30%, 90%);
--ic-surface-low: hsl(180, 30%, 90%);
--ic-primary-normal: #ffffff;
--bg-overlay: rgba(0, 0, 0, 0.6);
--bg-overlay-low: rgba(0, 0, 0, 0.8);
--bs-popup: 0 0 16px rgba(0, 0, 0, 0.25);
--bs-surface-border: inset 0 0 0 1px var(--bg-surface-border);
--bs-surface-outline: 0 0 0 2px var(--bg-surface-border);
--bs-primary-border: inset 0 0 0 1px var(--bg-primary-border);
--bs-primary-outline: 0 0 0 2px var(--bg-primary-border);
--fs-h1: 35.6px;
--fs-h2: 23.6px;
--fs-s1: 17.6px;
--fs-b1: 14.6px;
--ls-b1: 0.14px;
--fs-b2: 13.2px;
--fs-b3: 11.2px;
--fw-normal: 350;
--font-primary: sans-serif;
--font-secondary: sans-serif;
}

View File

@ -1,14 +0,0 @@
const Path = require('path')
const fs = require('fs')
let target = process.argv[2]
let path = Path.isAbsolute(target) ? target : Path.join(process.cwd(), target)
let out = fs.readFileSync(path).toString('utf-8').replaceAll(
/ <\w+ .*? id='([a-z_]+)' fill='#([A-Za-z0-9]+)'><\/\w+>/g,
'@$1: #$2;'
)
.split('\n').filter(line => line.startsWith('@')).join('\n')
console.log(out)

View File

@ -1,389 +0,0 @@
// <circle .*? id='([a-z_]+)' fill='#([A-Za-z0-9]+)'></circle>
// to
// @$1: #$2;
// @background: #0A0F14;
// @f_high: #FFFFFF;
// @f_med: #98D1CE;
// @f_low: #EDB54B;
// @f_inv: #C33027;
// @b_high: #093748;
// @b_med: #081F2D;
// @b_low: #10151B;
// @b_inv: #8FAF9F;
// @background: #E0B1CB;
// @f_high: #231942;
// @f_med: #48416d;
// @f_low: #917296;
// @f_inv: #E0B1CB;
// @b_high: #5E548E;
// @b_med: #FFFFFF;
// @b_low: #BE95C4;
// @b_inv: #9F86C0;
@primary: @f_high; // primary color used in main texts
@secondary: @f_med; // secondary color used in some texts and text based buttons
@tertiary: @f_med; // tertiary color used in other colored texts
@fg: @f_high;
@bg0: @background;
@bg1: @b_low;
@bg2: @b_med;
@bg3: @b_high;
@bg4: @b_high;
@red: #ec7279;
@orange: #deb974;
@yellow: #deb974;
@green: #a0c980;
@cyan: #5dbbc1;
@blue: #6cb6eb;
@purple: #d38aea;
@grey: #758094;
@red-bg: #55393d;
@green-bg: #394634;
@blue-bg: #354157;
@yellow-bg: #4e432f;
@button1: @b_inv;
@button2: @b_inv;
@button-red: @red;
@key: @red;
@operator: @purple;
@string: @green;
@value: @green;
@type: @yellow;
@function: @blue;
@special: @cyan;
:root {
--is-dark-theme: true;
--color-primary: @primary;
--color-primary-contrast: @bg0;
--color-primary-dark-1: @primary;
--color-primary-dark-2: mix(@fg, @primary, 16.7%);
--color-primary-dark-3: mix(@fg, @primary, 33.3%);
--color-primary-dark-4: mix(@fg, @primary, 50%);
--color-primary-dark-5: mix(@fg, @primary, 66.6%);
--color-primary-dark-6: mix(@fg, @primary, 83.3%);
--color-primary-dark-7: @fg;
--color-primary-light-1: @primary;
--color-primary-light-2: mix(@bg2, @primary, 16.7%);
--color-primary-light-3: mix(@bg2, @primary, 33.3%);
--color-primary-light-4: mix(@bg2, @primary, 50%);
--color-primary-light-5: mix(@bg2, @primary, 66.6%);
--color-primary-light-6: mix(@bg2, @primary, 83.3%);
--color-primary-light-7: @bg2;
--color-primary-alpha-10: fade(@primary, 10%);
--color-primary-alpha-20: fade(@primary, 20%);
--color-primary-alpha-30: fade(@primary, 30%);
--color-primary-alpha-40: fade(@primary, 40%);
--color-primary-alpha-50: fade(@primary, 50%);
--color-primary-alpha-60: fade(@primary, 60%);
--color-primary-alpha-70: fade(@primary, 70%);
--color-primary-alpha-80: fade(@primary, 80%);
--color-primary-alpha-90: fade(@primary, 90%);
--color-secondary: @bg4;
--color-secondary-dark-1: @bg4;
--color-secondary-dark-2: mix(@fg, @bg4, 8.3%);
--color-secondary-dark-3: mix(@fg, @bg4, 16.7%);
--color-secondary-dark-4: mix(@fg, @bg4, 25%);
--color-secondary-dark-5: mix(@fg, @bg4, 33.3%);
--color-secondary-dark-6: mix(@fg, @bg4, 41.7%);
--color-secondary-dark-7: mix(@fg, @bg4, 50%);
--color-secondary-dark-8: mix(@fg, @bg4, 58.3%);
--color-secondary-dark-9: mix(@fg, @bg4, 66.7%);
--color-secondary-dark-10: mix(@fg, @bg4, 75%);
--color-secondary-dark-11: mix(@fg, @bg4, 83.3%);
--color-secondary-dark-12: mix(@fg, @bg4, 91.7%);
--color-secondary-dark-13: @fg;
--color-secondary-light-1: @bg4;
--color-secondary-light-2: @bg3;
--color-secondary-light-3: @bg2;
--color-secondary-light-4: @bg1;
--color-secondary-alpha-10: fade(@bg4, 10%);
--color-secondary-alpha-20: fade(@bg4, 20%);
--color-secondary-alpha-30: fade(@bg4, 30%);
--color-secondary-alpha-40: fade(@bg4, 40%);
--color-secondary-alpha-50: fade(@bg4, 50%);
--color-secondary-alpha-60: fade(@bg4, 60%);
--color-secondary-alpha-70: fade(@bg4, 70%);
--color-secondary-alpha-80: fade(@bg4, 80%);
--color-secondary-alpha-90: fade(@bg4, 90%);
/* colors */
--color-red: @red;
--color-orange: @orange;
--color-yellow: @yellow;
--color-olive: @green;
--color-green: @green;
--color-teal: @cyan;
--color-blue: @blue;
--color-violet: @purple;
--color-purple: @purple;
--color-pink: @purple;
--color-brown: @orange;
--color-grey: @grey;
/* light variants */
--color-red-light: @red;
--color-orange-light: @orange;
--color-yellow-light: @yellow;
--color-olive-light: @green;
--color-green-light: @green;
--color-teal-light: @cyan;
--color-blue-light: @blue;
--color-violet-light: @purple;
--color-purple-light: @purple;
--color-pink-light: @purple;
--color-brown-light: @orange;
--color-grey-light: @grey;
/* other colors */
--color-black: @bg2;
--color-gold: @orange;
--color-white: @bg0;
--color-diff-removed-word-bg: mix(@red-bg, @red, 70%);
--color-diff-added-word-bg: mix(@green-bg, @green, 70%);
--color-diff-removed-row-bg: @red-bg;
--color-diff-moved-row-bg: @blue-bg;
--color-diff-added-row-bg: @green-bg;
--color-diff-removed-row-border: mix(@red-bg, @red, 50%);
--color-diff-moved-row-border: mix(@blue-bg, @blue, 50%);
--color-diff-added-row-border: mix(@green-bg, @green, 50%);
--color-diff-inactive: @bg2;
--color-error-border: mix(@red-bg, @red, 50%);
--color-error-bg: @red-bg;
--color-error-text: @red;
--color-success-border: mix(@green-bg, @green, 50%);
--color-success-bg: @green-bg;
--color-success-text: @green;
--color-warning-border: mix(@yellow-bg, @yellow, 50%);
--color-warning-bg: @yellow-bg;
--color-warning-text: @yellow;
--color-info-border: mix(@blue-bg, @blue, 50%);
--color-info-bg: @blue-bg;
--color-info-text: @blue;
/* target-based colors */
--color-body: @bg0;
--color-box-header: @bg3;
// --color-box-header: @bg3;
--color-box-body: @bg1;
--color-box-body-highlight: @bg2;
--color-text-dark: @secondary;
--color-text: @fg;
--color-text-hover: fade(@fg, 80%);
--color-text-light: @tertiary;
--color-text-light-1: @tertiary;
--color-text-light-2: @secondary;
--color-text-light-3: @secondary;
--color-footer: @bg1;
--color-timeline: @bg4;
--color-input-text: @fg;
--color-input-background: @bg0;
--color-input-toggle-background: @bg1;
--color-input-border: @bg4;
--color-input-border-hover: mix(@bg4, @grey, 50%);
--color-navbar: @bg1;
--color-navbar-transparent: @bg1;
--color-nav-bg: @bg1;
--color-nav-hover-bg: @bg3;
--color-light: @bg1;
--color-light-mimic-enabled: rgba(0, 0, 0, calc(40 / 255 * 222 / 255 / var(--opacity-disabled)));
--color-light-border: @bg4;
--color-hover: fade(@bg4, 50%);
--color-active: fade(@bg4, 50%);
--color-menu: @bg1;
--color-card: @bg1;
--color-markup-table-row: @bg3;
--color-markup-code-block: @bg0;
--color-button: @bg3;
--color-code-bg: @bg0;
--color-code-sidebar-bg: @bg1;
--color-shadow: #00000060;
--color-secondary-bg: @bg1;
--color-text-focus: #fff;
--color-expand-button: @bg2;
--color-placeholder-text: @tertiary;
--color-editor-line-highlight: @bg1;
--color-project-board-bg: @bg0;
--color-project-board-light-label: @primary;
--color-caret: var(--color-text); /* should ideally be --color-text-dark, see #15651 */
--color-reaction-bg: #ffffff12;
--color-reaction-active-bg: var(--color-primary-alpha-40);
--color-header-bar: @bg1;
--color-label-bg: @bg4;
--color-label-text: @tertiary;
--color-label-active-bg: @bg4;
--color-accent: var(--color-primary-light-1);
--color-small-accent: var(--color-primary-light-5);
--color-active-line: @bg1;
--color-header-wrapper: @bg2;
accent-color: var(--color-accent);
color-scheme: dark;
}
.chroma .nx {
color: @fg;
}
.chroma .c, .chroma .c1, .chroma .ch, .chroma .cm, .chroma .sd {
color: @grey;
}
.chroma .k, .chroma .kc, .chroma .kd, .chroma .kn, .chroma .kp, .chroma .kr {
color: @key;
}
.chroma .o, .chroma .ow {
color: @operator;
}
.chroma .s, .chroma .s1, .chroma .s2, .chroma .sa, .chroma .sb, .chroma .sc, .chroma .sh, .chroma .si, .chroma .sr, .chroma .ss, .chroma .sx, .chroma .nt, .chroma .cpf {
color: @string;
}
.chroma .m, .chroma .mb, .chroma .mf, .chroma .mh, .chroma .mi, .chroma .mo, .chroma .nl {
color: @value;
}
.chroma .kt, .chroma .nc, .chroma .nn, .chroma .nv {
color: @type;
}
.chroma .nf, .chroma .nb, .chroma .na {
color: @function;
}
.chroma .bp, .chroma .cp, .chroma .ne, .chroma .nd, .chroma .se {
color: @special;
}
/* primary buttons */
.ui.primary.button, .ui.primary.buttons .button {
background: @button1;
background-color: @button1 !important;
color: @bg0;
}
.ui.primary.button:hover, .ui.primary.buttons .button:hover {
background: fade(@button1, 80%);
background-color: fade(@button1, 80%) !important;
color: @bg0;
}
.ui.grey.labels .label, .ui.ui.ui.grey.label, .ui.grey.button, .ui.grey.buttons .button {
color: @bg0;
background-color: @button1;
border-color: @button1;
}
.ui.grey.labels .label:hover, .ui.ui.ui.grey.label:hover, .ui.grey.button:hover, .ui.grey.buttons .button:hover {
color: @bg0;
background-color: @button1;
border-color: @button1;
}
/* secondary buttons */
.ui.green.buttons .button, .ui.green.button {
background: @button2;
background-color: @button2;
color: @bg0;
}
.ui.green.buttons .button:hover, .ui.green.button:hover {
background: fade(@button2, 80%);
background-color: fade(@button2, 80%);
color: @bg0;
}
/* text based buttons (purple) */
.ui.labeled.button.disabled>.button, .ui.basic.buttons .button, .ui.basic.button {
color: @secondary;
}
.ui.labeled.button.disabled>.button:hover, .ui.basic.buttons .button:hover, .ui.basic.button:hover {
color: @secondary;
}
/* repo title && header */
.repo-title {
color: @secondary;
}
/* star number && fork number */
.repo-buttons button[disabled] ~ .label,
.repo-buttons .ui.labeled.button.disabled > .label {
color: @primary;
}
.ui.basic.labels .label, .ui.basic.label {
color: @primary;
}
/* hover on commits, branch, tags in project home page */
.repository .ui.segment.sub-menu .list .item a:hover,
.ui.tabular.menu .item:hover {
color: var(--color-text-hover);
}
/* commit label */
.ui.primary.labels .label, .ui.ui.ui.primary.label {
color: @bg0;
}
/* issue label */
.ui.green.labels .label, .ui.ui.ui.green.label {
color: @bg0;
}
/* grey button (rss feed button in repository home page) */
i.grey.icon.icon.icon.icon {
color: @grey
}
/* scroll bar */
* {
scrollbar-color: @secondary transparent !important;
}
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
::-webkit-scrollbar-thumb {
box-shadow: inset 0 0 0 6px @secondary !important;
border: 2px solid transparent;
border-radius: 5px !important;
}
::-webkit-scrollbar-thumb:window-inactive {
box-shadow: inset 0 0 0 6px @secondary !important;
}
::-webkit-scrollbar-thumb:hover {
box-shadow: inset 0 0 0 6px @secondary !important;
}
::-webkit-scrollbar-corner {
background: transparent;
}
/* red buttons */
.ui.red.labels .label, .ui.ui.ui.red.label, .ui.red.button, .ui.red.buttons .button {
background: @button-red;
background-color: @button-red;
color: @bg0;
}
.ui.red.labels .label:hover, .ui.ui.ui.red.label:hover, .ui.red.button:hover, .ui.red.buttons .button:hover {
background: fade(@button-red, 80%);
background-color: fade(@button-red, 80%);
color: @bg0;
}
/* grey buttons */
.ui.labels a.label, a.ui.label {
background-color: @bg1;
}
.ui.labels a.label:hover, a.ui.label:hover {
background-color: @bg0;
}
/* orange buttons */
.ui.orange.labels .label, .ui.ui.ui.orange.label, .ui.orange.button, .ui.orange.buttons .button {
background: @orange;
background-color: @orange;
color: @bg0;
}
.ui.orange.labels .label:hover, .ui.ui.ui.orange.label:hover, .ui.orange.button:hover, .ui.orange.buttons .button:hover {
background: fade(@orange, 80%);
background-color: fade(@orange, 80%);
color: @bg0;
}

View File

@ -1,397 +0,0 @@
@background: #d09090;
@f_high: #000000;
@f_med: #fffafa;
@f_low: #6ea2a1;
@f_inv: #ff1493;
@b_high: #7fffd4;
@b_med: #6ADEDC;
@b_low: #b08686;
@b_inv: #7fffd4;// <circle .*? id='([a-z_]+)' fill='#([A-Za-z0-9]+)'></circle>
// to
// @$1: #$2;
// @background: #0A0F14;
// @f_high: #FFFFFF;
// @f_med: #98D1CE;
// @f_low: #EDB54B;
// @f_inv: #C33027;
// @b_high: #093748;
// @b_med: #081F2D;
// @b_low: #10151B;
// @b_inv: #8FAF9F;
// @background: #E0B1CB;
// @f_high: #231942;
// @f_med: #48416d;
// @f_low: #917296;
// @f_inv: #E0B1CB;
// @b_high: #5E548E;
// @b_med: #FFFFFF;
// @b_low: #BE95C4;
// @b_inv: #9F86C0;
@primary: @f_high; // primary color used in main texts
@secondary: @f_med; // secondary color used in some texts and text based buttons
@tertiary: @f_med; // tertiary color used in other colored texts
@fg: @f_high;
@bg0: @background;
@bg1: @b_low;
@bg2: @b_med;
@bg3: @b_high;
@bg4: @b_high;
@red: #ec7279;
@orange: #deb974;
@yellow: #deb974;
@green: #a0c980;
@cyan: #5dbbc1;
@blue: #6cb6eb;
@purple: #d38aea;
@grey: #758094;
@red-bg: #55393d;
@green-bg: #394634;
@blue-bg: #354157;
@yellow-bg: #4e432f;
@button1: @b_inv;
@button2: @b_inv;
@button-red: @red;
@key: @red;
@operator: @purple;
@string: @green;
@value: @green;
@type: @yellow;
@function: @blue;
@special: @cyan;
:root {
--is-dark-theme: true;
--color-primary: @primary;
--color-primary-contrast: @bg0;
--color-primary-dark-1: @primary;
--color-primary-dark-2: mix(@fg, @primary, 16.7%);
--color-primary-dark-3: mix(@fg, @primary, 33.3%);
--color-primary-dark-4: mix(@fg, @primary, 50%);
--color-primary-dark-5: mix(@fg, @primary, 66.6%);
--color-primary-dark-6: mix(@fg, @primary, 83.3%);
--color-primary-dark-7: @fg;
--color-primary-light-1: @primary;
--color-primary-light-2: mix(@bg2, @primary, 16.7%);
--color-primary-light-3: mix(@bg2, @primary, 33.3%);
--color-primary-light-4: mix(@bg2, @primary, 50%);
--color-primary-light-5: mix(@bg2, @primary, 66.6%);
--color-primary-light-6: mix(@bg2, @primary, 83.3%);
--color-primary-light-7: @bg2;
--color-primary-alpha-10: fade(@primary, 10%);
--color-primary-alpha-20: fade(@primary, 20%);
--color-primary-alpha-30: fade(@primary, 30%);
--color-primary-alpha-40: fade(@primary, 40%);
--color-primary-alpha-50: fade(@primary, 50%);
--color-primary-alpha-60: fade(@primary, 60%);
--color-primary-alpha-70: fade(@primary, 70%);
--color-primary-alpha-80: fade(@primary, 80%);
--color-primary-alpha-90: fade(@primary, 90%);
--color-secondary: @bg4;
--color-secondary-dark-1: @bg4;
--color-secondary-dark-2: mix(@fg, @bg4, 8.3%);
--color-secondary-dark-3: mix(@fg, @bg4, 16.7%);
--color-secondary-dark-4: mix(@fg, @bg4, 25%);
--color-secondary-dark-5: mix(@fg, @bg4, 33.3%);
--color-secondary-dark-6: mix(@fg, @bg4, 41.7%);
--color-secondary-dark-7: mix(@fg, @bg4, 50%);
--color-secondary-dark-8: mix(@fg, @bg4, 58.3%);
--color-secondary-dark-9: mix(@fg, @bg4, 66.7%);
--color-secondary-dark-10: mix(@fg, @bg4, 75%);
--color-secondary-dark-11: mix(@fg, @bg4, 83.3%);
--color-secondary-dark-12: mix(@fg, @bg4, 91.7%);
--color-secondary-dark-13: @fg;
--color-secondary-light-1: @bg4;
--color-secondary-light-2: @bg3;
--color-secondary-light-3: @bg2;
--color-secondary-light-4: @bg1;
--color-secondary-alpha-10: fade(@bg4, 10%);
--color-secondary-alpha-20: fade(@bg4, 20%);
--color-secondary-alpha-30: fade(@bg4, 30%);
--color-secondary-alpha-40: fade(@bg4, 40%);
--color-secondary-alpha-50: fade(@bg4, 50%);
--color-secondary-alpha-60: fade(@bg4, 60%);
--color-secondary-alpha-70: fade(@bg4, 70%);
--color-secondary-alpha-80: fade(@bg4, 80%);
--color-secondary-alpha-90: fade(@bg4, 90%);
/* colors */
--color-red: @red;
--color-orange: @orange;
--color-yellow: @yellow;
--color-olive: @green;
--color-green: @green;
--color-teal: @cyan;
--color-blue: @blue;
--color-violet: @purple;
--color-purple: @purple;
--color-pink: @purple;
--color-brown: @orange;
--color-grey: @grey;
/* light variants */
--color-red-light: @red;
--color-orange-light: @orange;
--color-yellow-light: @yellow;
--color-olive-light: @green;
--color-green-light: @green;
--color-teal-light: @cyan;
--color-blue-light: @blue;
--color-violet-light: @purple;
--color-purple-light: @purple;
--color-pink-light: @purple;
--color-brown-light: @orange;
--color-grey-light: @grey;
/* other colors */
--color-black: @bg2;
--color-gold: @orange;
--color-white: @bg0;
--color-diff-removed-word-bg: mix(@red-bg, @red, 70%);
--color-diff-added-word-bg: mix(@green-bg, @green, 70%);
--color-diff-removed-row-bg: @red-bg;
--color-diff-moved-row-bg: @blue-bg;
--color-diff-added-row-bg: @green-bg;
--color-diff-removed-row-border: mix(@red-bg, @red, 50%);
--color-diff-moved-row-border: mix(@blue-bg, @blue, 50%);
--color-diff-added-row-border: mix(@green-bg, @green, 50%);
--color-diff-inactive: @bg2;
--color-error-border: mix(@red-bg, @red, 50%);
--color-error-bg: @red-bg;
--color-error-text: @red;
--color-success-border: mix(@green-bg, @green, 50%);
--color-success-bg: @green-bg;
--color-success-text: @green;
--color-warning-border: mix(@yellow-bg, @yellow, 50%);
--color-warning-bg: @yellow-bg;
--color-warning-text: @yellow;
--color-info-border: mix(@blue-bg, @blue, 50%);
--color-info-bg: @blue-bg;
--color-info-text: @blue;
/* target-based colors */
--color-body: @bg0;
--color-box-header: @bg3;
// --color-box-header: @bg3;
--color-box-body: @bg1;
--color-box-body-highlight: @bg2;
--color-text-dark: @secondary;
--color-text: @fg;
--color-text-hover: fade(@fg, 80%);
--color-text-light: @tertiary;
--color-text-light-1: @tertiary;
--color-text-light-2: @secondary;
--color-text-light-3: @secondary;
--color-footer: @bg1;
--color-timeline: @bg4;
--color-input-text: @fg;
--color-input-background: @bg0;
--color-input-toggle-background: @bg1;
--color-input-border: @bg4;
--color-input-border-hover: mix(@bg4, @grey, 50%);
--color-navbar: @bg1;
--color-navbar-transparent: @bg1;
--color-nav-bg: @bg1;
--color-nav-hover-bg: @bg3;
--color-light: @bg1;
--color-light-mimic-enabled: rgba(0, 0, 0, calc(40 / 255 * 222 / 255 / var(--opacity-disabled)));
--color-light-border: @bg4;
--color-hover: fade(@bg4, 50%);
--color-active: fade(@bg4, 50%);
--color-menu: @bg1;
--color-card: @bg1;
--color-markup-table-row: @bg3;
--color-markup-code-block: @bg0;
--color-button: @bg3;
--color-code-bg: @bg0;
--color-code-sidebar-bg: @bg1;
--color-shadow: #00000060;
--color-secondary-bg: @bg1;
--color-text-focus: #fff;
--color-expand-button: @bg2;
--color-placeholder-text: @tertiary;
--color-editor-line-highlight: @bg1;
--color-project-board-bg: @bg0;
--color-project-board-light-label: @primary;
--color-caret: var(--color-text); /* should ideally be --color-text-dark, see #15651 */
--color-reaction-bg: #ffffff12;
--color-reaction-active-bg: var(--color-primary-alpha-40);
--color-header-bar: @bg1;
--color-label-bg: @bg4;
--color-label-text: @tertiary;
--color-label-active-bg: @bg4;
--color-accent: var(--color-primary-light-1);
--color-small-accent: var(--color-primary-light-5);
--color-active-line: @bg1;
--color-header-wrapper: @bg2;
accent-color: var(--color-accent);
color-scheme: dark;
}
.chroma .nx {
color: @fg;
}
.chroma .c, .chroma .c1, .chroma .ch, .chroma .cm, .chroma .sd {
color: @grey;
}
.chroma .k, .chroma .kc, .chroma .kd, .chroma .kn, .chroma .kp, .chroma .kr {
color: @key;
}
.chroma .o, .chroma .ow {
color: @operator;
}
.chroma .s, .chroma .s1, .chroma .s2, .chroma .sa, .chroma .sb, .chroma .sc, .chroma .sh, .chroma .si, .chroma .sr, .chroma .ss, .chroma .sx, .chroma .nt, .chroma .cpf {
color: @string;
}
.chroma .m, .chroma .mb, .chroma .mf, .chroma .mh, .chroma .mi, .chroma .mo, .chroma .nl {
color: @value;
}
.chroma .kt, .chroma .nc, .chroma .nn, .chroma .nv {
color: @type;
}
.chroma .nf, .chroma .nb, .chroma .na {
color: @function;
}
.chroma .bp, .chroma .cp, .chroma .ne, .chroma .nd, .chroma .se {
color: @special;
}
/* primary buttons */
.ui.primary.button, .ui.primary.buttons .button {
background: @button1;
background-color: @button1 !important;
color: @bg0;
}
.ui.primary.button:hover, .ui.primary.buttons .button:hover {
background: fade(@button1, 80%);
background-color: fade(@button1, 80%) !important;
color: @bg0;
}
.ui.grey.labels .label, .ui.ui.ui.grey.label, .ui.grey.button, .ui.grey.buttons .button {
color: @bg0;
background-color: @button1;
border-color: @button1;
}
.ui.grey.labels .label:hover, .ui.ui.ui.grey.label:hover, .ui.grey.button:hover, .ui.grey.buttons .button:hover {
color: @bg0;
background-color: @button1;
border-color: @button1;
}
/* secondary buttons */
.ui.green.buttons .button, .ui.green.button {
background: @button2;
background-color: @button2;
color: @bg0;
}
.ui.green.buttons .button:hover, .ui.green.button:hover {
background: fade(@button2, 80%);
background-color: fade(@button2, 80%);
color: @bg0;
}
/* text based buttons (purple) */
.ui.labeled.button.disabled>.button, .ui.basic.buttons .button, .ui.basic.button {
color: @secondary;
}
.ui.labeled.button.disabled>.button:hover, .ui.basic.buttons .button:hover, .ui.basic.button:hover {
color: @secondary;
}
/* repo title && header */
.repo-title {
color: @secondary;
}
/* star number && fork number */
.repo-buttons button[disabled] ~ .label,
.repo-buttons .ui.labeled.button.disabled > .label {
color: @primary;
}
.ui.basic.labels .label, .ui.basic.label {
color: @primary;
}
/* hover on commits, branch, tags in project home page */
.repository .ui.segment.sub-menu .list .item a:hover,
.ui.tabular.menu .item:hover {
color: var(--color-text-hover);
}
/* commit label */
.ui.primary.labels .label, .ui.ui.ui.primary.label {
color: @bg0;
}
/* issue label */
.ui.green.labels .label, .ui.ui.ui.green.label {
color: @bg0;
}
/* grey button (rss feed button in repository home page) */
i.grey.icon.icon.icon.icon {
color: @grey
}
/* scroll bar */
* {
scrollbar-color: @secondary transparent !important;
}
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
::-webkit-scrollbar-thumb {
box-shadow: inset 0 0 0 6px @secondary !important;
border: 2px solid transparent;
border-radius: 5px !important;
}
::-webkit-scrollbar-thumb:window-inactive {
box-shadow: inset 0 0 0 6px @secondary !important;
}
::-webkit-scrollbar-thumb:hover {
box-shadow: inset 0 0 0 6px @secondary !important;
}
::-webkit-scrollbar-corner {
background: transparent;
}
/* red buttons */
.ui.red.labels .label, .ui.ui.ui.red.label, .ui.red.button, .ui.red.buttons .button {
background: @button-red;
background-color: @button-red;
color: @bg0;
}
.ui.red.labels .label:hover, .ui.ui.ui.red.label:hover, .ui.red.button:hover, .ui.red.buttons .button:hover {
background: fade(@button-red, 80%);
background-color: fade(@button-red, 80%);
color: @bg0;
}
/* grey buttons */
.ui.labels a.label, a.ui.label {
background-color: @bg1;
}
.ui.labels a.label:hover, a.ui.label:hover {
background-color: @bg0;
}
/* orange buttons */
.ui.orange.labels .label, .ui.ui.ui.orange.label, .ui.orange.button, .ui.orange.buttons .button {
background: @orange;
background-color: @orange;
color: @bg0;
}
.ui.orange.labels .label:hover, .ui.ui.ui.orange.label:hover, .ui.orange.button:hover, .ui.orange.buttons .button:hover {
background: fade(@orange, 80%);
background-color: fade(@orange, 80%);
color: @bg0;
}

View File

@ -1,6 +0,0 @@
configuration {
modes: [ combi ];
combi-modes: [ window, drun, run, dmenu ];
}
@theme "theme"

View File

@ -1,159 +0,0 @@
// Kaolin Dark theme for Rofi
// by Dakedres
// edited from a theme by Qball
* {
base00: #18181B;
base01: #222225;
base02: #4B5254;
base03: #545C5E;
base04: #879193;
base05: #9ba5a7;
base06: #d0d0d4;
base07: #E4E4E8;
base08: #CD5C60;
base09: #DBAC66;
base0A: #F2C866;
base0B: #6FB593;
base0C: #4D9391;
base0D: #91B9C7;
base0E: #845A84;
base0F: #E36D5B;
foreground: @base05;
normal-foreground: @foreground;
alternate-normal-foreground: @foreground;
selected-urgent-foreground: rgba ( 245, 245, 245, 100 % );
urgent-foreground: rgba ( 215, 95, 0, 100 % );
alternate-urgent-background: rgba ( 208, 208, 208, 100 % );
active-foreground: rgba ( 0, 95, 135, 100 % );
selected-active-foreground: rgba ( 245, 245, 245, 100 % );
background: @base00;
normal-background: @base00;
alternate-normal-background: @base01;
selected-normal-background: @base0C;
selected-normal-foreground: @base07;
border-color: @base02;
spacing: 2;
separator: @border-color;
urgent-background: rgba ( 245, 245, 245, 100 % );
selected-urgent-background: rgba ( 215, 95, 0, 100 % );
alternate-urgent-foreground: @urgent-foreground;
background-color: rgba ( 0, 0, 0, 0 % );
active-background: @base0C;
alternate-active-background: @active-background;
selected-active-background: @active-background;
}
window {
location: north;
anchor: north;
background-color: @background;
border: 1;
padding: 5;
y-offset: 20;
c: "Ubuntu Mono 11";
}
mainbox {
border: 0;
padding: 0;
}
message {
border: 2px 0px 0px ;
border-color: @separator;
padding: 1px ;
}
textbox {
text-color: @foreground;
}
listview {
fixed-height: 0;
border: 2px 0px 0px ;
border-color: @separator;
spacing: 2px ;
scrollbar: true;
padding: 2px 0px 0px ;
}
element {
border: 0;
padding: 1px ;
}
element-text {
background-color: inherit;
text-color: inherit;
}
element.normal.normal {
background-color: @normal-background;
text-color: @normal-foreground;
}
element.normal.urgent {
background-color: @urgent-background;
text-color: @urgent-foreground;
}
element.normal.active {
background-color: @active-background;
text-color: @active-foreground;
}
element.selected.normal {
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
}
element.selected.urgent {
background-color: @selected-urgent-background;
text-color: @selected-urgent-foreground;
}
element.selected.active {
background-color: @selected-active-background;
text-color: @selected-active-foreground;
}
element.alternate.normal {
background-color: @alternate-normal-background;
text-color: @alternate-normal-foreground;
}
element.alternate.urgent {
background-color: @alternate-urgent-background;
text-color: @alternate-urgent-foreground;
}
element.alternate.active {
background-color: @alternate-active-background;
text-color: @alternate-active-foreground;
}
scrollbar {
width: 4px ;
border: 0;
handle-width: 8px ;
padding: 0;
}
mode-switcher {
border: 2px 0px 0px ;
border-color: @separator;
}
button.selected {
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
}
inputbar {
spacing: 0;
text-color: @normal-foreground;
padding: 1px ;
}
case-indicator {
spacing: 0;
text-color: @normal-foreground;
}
entry {
spacing: 0;
text-color: @normal-foreground;
}
prompt {
spacing: 0;
text-color: @normal-foreground;
}
inputbar {
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
}
textbox-prompt-colon {
expand: false;
str: ":";
margin: 0px 0.3em 0em 0em ;
text-color: @normal-foreground;
}

View File

@ -4,11 +4,11 @@
# Open kitty
alt + Return
kitty
alacritty
# Open floating kitty
alt + shift + Return
bsp-float kitty
bsp-float alacritty
# launch program
alt + @space
@ -37,6 +37,37 @@ alt + v
alt + shift + v
greenclip clear
# Increase volume
XF86AudioRaiseVolume
amixer -D default sset Master 5%+
# Decrease volume
XF86AudioLowerVolume
amixer -D default sset Master 5%-
# Toggle audio mute
XF86AudioMute
amixer -D default set Master 1+ toggle
# Play/pause track
XF86AudioPlay
playerctl play-pause
# Previus track
XF86AudioNext
playerctl next
# Previous track
XF86AudioPrev
playerctl previous
# Stop track
XF86AudioStop
playerctl stop
super + {Up,Down}
xdotool key {Page_Up,Page_Down}
#
# bspwm hotkeys
#
@ -90,7 +121,7 @@ alt + ctrl + {m,x,y,z}
# focus the node in the given direction
alt + {h,j,k,l,Left,Down,Up,Right}
bspc node -{f} {west,south,north,east,west,south,north,east}
bspc node -{f} {west,south,north,east,west,south,north,east}
# focus the node for the given path jump
alt + {p,b,comma,period}
@ -142,15 +173,13 @@ alt + ctrl + shift + space
# move/resize
#
# Resize a window by moving one of its side outward/inward
alt + s ; {h,j,k,l,Left,Down,Up,Right}
STEP=20; SELECTION={1,2,3,4,1,2,3,4}; \
bspc node -z $(echo "left -$STEP 0,bottom 0 $STEP,top 0 -$STEP,right $STEP 0" | cut -d',' -f$SELECTION) || \
bspc node -z $(echo "right -$STEP 0,top 0 $STEP,bottom 0 -$STEP,left $STEP 0" | cut -d',' -f$SELECTION)
# Expand/contract a window by moving one of its side outward/inward
alt + s; {h,j,k,l,Left,Down,Up,Right}
bspc node -z {left -20 0,right 20 0,top 0 -20,bottom 0 20,left -20 0,right 20 0,top 0 -20,bottom 0 20}
# move a floating window
alt + {h,j,k,l}
bspc node -v {-30 0,0 20,0 -30,20 0}
# alt + {h,j,k,l}
# bspc node -v {-30 0,0 20,0 -30,20 0}
# move a not-floating window
alt + shift + {h,j,k,l,Left,Down,Up,Right}
@ -173,4 +202,4 @@ alt + t
# toggle autoattach in tabbed container
alt + shift + t
tabc autoattach $(bspc query -N -n)
tabc autoattach $(bspc query -N -n)

8
config/tint2/tint2rc Executable file → Normal file
View File

@ -1,4 +1,4 @@
#---- Generated by tint2conf b81d ----
#---- Generated by tint2conf b43d ----
# See https://gitlab.com/o9000/tint2/wikis/Configure for
# full documentation of the configuration options.
#-------------------------------------
@ -81,7 +81,7 @@ border_color_pressed = #000000 100
#-------------------------------------
# Panel
panel_items = PT:S:C:
panel_size = 100% 40
panel_size = 100% 35
panel_margin = 0 0
panel_padding = 2 0 2
panel_background_id = 1
@ -121,7 +121,6 @@ taskbar_always_show_all_desktop_tasks = 0
taskbar_name_padding = 1 0
taskbar_name_background_id = 0
taskbar_name_active_background_id = 2
taskbar_name_font = Ubuntu Ultra-Bold 10
taskbar_name_font_color = #e3e3e3 100
taskbar_name_active_font_color = #ffffff 100
taskbar_distribute_size = 1
@ -190,7 +189,7 @@ clock_background_id = 0
clock_tooltip =
clock_tooltip_timezone =
clock_lclick_command =
clock_rclick_command = orage
clock_rclick_command =
clock_mclick_command =
clock_uwheel_command =
clock_dwheel_command =
@ -252,7 +251,6 @@ button_rclick_command =
button_mclick_command =
button_uwheel_command =
button_dwheel_command =
button_font = Ubuntu 10
button_font_color = #ffffff 100
button_padding = 0 7
button_background_id = 0

11
scripts/chama Executable file
View File

@ -0,0 +1,11 @@
#!/bin/sh
BROWSER=qutebrowser
feh --bg-scale /home/dakedres/.wallpaper.png
setxkbmap -option caps:swapescape
pipewire &
tint2 &
mate-power-manager &
nm-applet &
dbus-run-session bspwm

3
scripts/git-untracked Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
git ls-files --others --exclude-standard

40
scripts/power Executable file
View File

@ -0,0 +1,40 @@
#!/bin/sh
lang_pc_shutdown="Shutdown"
lang_pc_reboot="Reboot"
lang_pc_logout="Log out"
lang_pc_lock="Lock"
lang_notification_name="Power manager"
lang_notificaton_shutdown="A power off request has been sent. The computer should shut down in a moment."
# Icons
lang_pc_shutdown="🚪 $lang_pc_shutdown"
lang_pc_reboot="🔃 $lang_pc_reboot"
lang_pc_logout="👥 $lang_pc_logout"
lang_pc_lock="🔒 $lang_pc_lock"
selected=$(
printf "%s\n%s\n%s\n%s\n" \
"$lang_pc_shutdown" "$lang_pc_reboot" "$lang_pc_logout" |
rofi -dmenu -p "powermenu" -lines 4
)
case $selected in
"$lang_pc_shutdown")
notify-send "$lang_notification_name" "$lang_notificaton_shutdown"
shutdown -h now
;;
"$lang_pc_reboot")
notify-send "$lang_notification_name" "$lang_notificaton_shutdown"
reboot
;;
"$lang_pc_logout")
bspc quit
;;
"$lang_pc_lock")
light-locker-command --lock
;;
esac

15
scripts/qutebrowser Executable file
View File

@ -0,0 +1,15 @@
#!/bin/sh
# initial idea: Florian Bruhin (The-Compiler)
# author: Thore Bödecker (foxxx0)
_url="$1"
_qb_version='1.0.4'
_proto_version=1
_ipc_socket="${XDG_RUNTIME_DIR}/qutebrowser/ipc-$(echo -n "$USER" | md5sum | cut -d' ' -f1)"
_qute_bin="/home/dakedres/repos/qutebrowser/.venv/bin/qutebrowser"
printf '{"args": ["%s"], "target_arg": null, "version": "%s", "protocol_version": %d, "cwd": "%s"}\n' \
"${_url}" \
"${_qb_version}" \
"${_proto_version}" \
"${PWD}" | socat -lf /dev/null - UNIX-CONNECT:"${_ipc_socket}" || "$_qute_bin" "$@" &

View File

@ -1,6 +1,6 @@
#!/bin/sh
db=$HOME/.local/share/qutebrowser/history.sqlite
url=$(sqlite3 "$db" "select title,url from History" | tac | awk '!a[$0]++' | rofi -dmenu | awk -F '|' '{print $NF}')
url=$(sqlite3 "$db" "select title,url from History" | tac | rofi -dmenu | awk -F '|' '{print $NF}')
[ -z "$url" ] && exit
qutebrowser --target window "$url"
qutebrowser "$url"

26
scripts/set-desktop-theme Executable file
View File

@ -0,0 +1,26 @@
#!/usr/bin/env bash
# Favorites:
# - horizon-terminal-dark
# - heetch
# - blueforest
# - tarot
export SCHEME=$1
shchemes install_tinted_scheme
shchemes inject "$HOME/.config/qutebrowser/config.py"
pkill -HUP qutebrowser
BSPWM_THEME="$HOME/.config/bspwm/colors"
shchemes create_theme bspwm > "$BSPWM_THEME"
"$BSPWM_THEME"
shchemes inject "$HOME/.config/alacritty/alacritty.toml"
shchemes inject "$HOME/.config/rofi/config.rasi" "//"
WALLPAPER_OUT="$HOME/.wallpaper.png"
shchemes create_theme imagemagick \
| convert ~/pictures/wallpapers/tradin.jpg -dither FloydSteinberg -colorspace srgb -remap txt:- "$WALLPAPER_OUT"
feh --bg-scale "$WALLPAPER_OUT"

View File

@ -6,4 +6,4 @@ if [ "$(tabc printclass $id)" == "tabbed" ]; then
tabc detach $id;
else \
tabc attach $id $(bspc query -N -n $1);
fi
fi

View File

@ -1,2 +1,2 @@
echo "$1"
chromium --new-window --app="$1"
ungoogled-chromium --new-window --app="$1"

Binary file not shown.

After

Width:  |  Height:  |  Size: 328 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 306 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 334 KiB

BIN
wallpapers/tradin.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 398 KiB

BIN
wallpapers/walkin.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 795 KiB