Compare commits
3 Commits
d0ae269d34
...
d140cc5791
Author | SHA1 | Date |
---|---|---|
an | d140cc5791 | |
an | a7060bff9a | |
an | 1bd440514b |
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"changeLogs": {
|
||||
"BDFDB": "1.7.1",
|
||||
"ImageUtilities": "4.4.1",
|
||||
"ShowHiddenChannels": "3.0.0"
|
||||
"BDFDB": "1.7.13",
|
||||
"ImageUtilities": "4.4.5",
|
||||
"ShowHiddenChannels": "3.0.2"
|
||||
},
|
||||
"choices": {
|
||||
"toastPosition": "right"
|
||||
|
@ -11,5 +11,9 @@
|
|||
"showSupportBadges": false,
|
||||
"showToasts": false,
|
||||
"useChromium": false
|
||||
},
|
||||
"hashes": {
|
||||
"0BDFDB.data.json": "eba8f6a411217ea657304a19ae4dffa2f2e5248d",
|
||||
"0BDFDB.raw.css": "80b6d40ad2af425192bcab890200d7814ea6d9a1"
|
||||
}
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"currentVersionInfo": {
|
||||
"version": "1.1.0",
|
||||
"version": "1.3.0",
|
||||
"hasShownChangelog": true
|
||||
}
|
||||
}
|
|
@ -1,30 +0,0 @@
|
|||
/**
|
||||
* @name DiscordNight
|
||||
* @version 0.9.2
|
||||
* @description Dark and compact theme for BetterDiscord
|
||||
* @source https://github.com/KillYoy/DiscordNight/
|
||||
* @donate https://www.paypal.me/KillYoy
|
||||
* @author KillYoy#0295
|
||||
* @authorId 98468214824001536
|
||||
*/
|
||||
|
||||
@import url("https://KillYoy.github.io/DiscordNight/DiscordNight.css");
|
||||
|
||||
:root {
|
||||
--Text-Channels-Capital-Letter: none;
|
||||
--Channel-List-Width: 164px;
|
||||
--Embed-Remove-Button: none;
|
||||
--Home-Close-DM-Button: none;
|
||||
}
|
||||
.chat-3bRxxu .message-2qnXI6:hover {
|
||||
outline: 1px solid #5a5a5a;
|
||||
}
|
||||
.sidebar-2K8pFh .containerDefault-3tr_sE {
|
||||
padding-top: 4px;
|
||||
}
|
||||
.botTagRegular-2HEhHi, .botTagInvert-18-95s {
|
||||
background: none;
|
||||
}
|
||||
code {
|
||||
font-family: monospace !important;
|
||||
}
|
|
@ -0,0 +1,156 @@
|
|||
/**
|
||||
* @name Pixelcord
|
||||
* @author Hyblocker
|
||||
* @version 3.2.7
|
||||
* @description Material Design Theme with numerous enhancements for Discord
|
||||
* @source https://github.com/hyblocker/pixelcord
|
||||
* @updateUrl https://raw.githubusercontent.com/hyblocker/pixelcord/main/Pixelcord.theme.css
|
||||
*/
|
||||
/*
|
||||
SETTINGS
|
||||
*/
|
||||
/* Enhancements | Modal Blur - Blurs the black tinted background behind modals like image previews if enabled */
|
||||
/* @import url(https://hyblocker.github.io/pixelcord/modules/enhancements/background_blur.css); */
|
||||
/* Functions | Collapsing channels list - Channels list collapses and uncollapses on hover, giving you more room to read */
|
||||
/* @import url(https://hyblocker.github.io/pixelcord/modules/functions/hover_channels.css); */
|
||||
/* Functions | Collapsing members list - Members list collapses and uncollapses on hover, giving you more room to read */
|
||||
/* @import url(https://hyblocker.github.io/pixelcord/modules/functions/hover_members.css); */
|
||||
/* Functions | macOS Buttons - Replaces window buttons with macOS style buttons (Windows) */
|
||||
/* @import url(https://hyblocker.github.io/pixelcord/modules/functions/macos_buttons.css); */
|
||||
/*
|
||||
EXTERNAL MODULES
|
||||
*/
|
||||
/* Add-Ons | Discolored - Colorize Discord's boring SVGs! */
|
||||
@import url(https://nyri4.github.io/Discolored/main.css);
|
||||
/* Add-Ons | Google Emojis */
|
||||
/* @import url(https://mwittrien.github.io/BetterDiscordAddons/Themes/EmojiReplace/base/Google.css); */
|
||||
/* Add-Ons | BadgesEverywhere - Colored Badges */
|
||||
@import url(https://mr-miner1.github.io/Better-Badges/src/badges.css);
|
||||
/* Add-Ons | BadgesEverywhere - White Badges */
|
||||
/* @import url(https://mr-miner1.github.io/Better-Badges/src/whitebadges.css); */
|
||||
/*
|
||||
DO NOT REMOVE
|
||||
*/
|
||||
@import url(https://hyblocker.github.io/pixelcord/dist.css);
|
||||
/*
|
||||
VARIABLES
|
||||
*/
|
||||
[data-popout-root].newBrand,
|
||||
html.newBrand,
|
||||
:root {
|
||||
--snackbar-bg: #333;
|
||||
--snackbar-shadow: 0 3px 5px -1px rgb(0 0 0 / 20%), 0 6px 10px 0 rgb(0 0 0 / 14%), 0 1px 18px 0 rgb(0 0 0 / 12%);
|
||||
--snackbar-radius: 4px;
|
||||
--snackbar-height: 32px;
|
||||
--snackbar-padding: 14px 16px;
|
||||
--switch-knob-color: #ECECEC;
|
||||
--switch-slider-color: rgba(135, 135, 135,0.65);
|
||||
--button-radius: 4px;
|
||||
--background-blur-intensity: 10px;
|
||||
--chatbox-top-padding: 16px;
|
||||
--header-weight: 600;
|
||||
--subtitle-weight: 500;
|
||||
--section-weight: 900;
|
||||
--font-header: "Google Sans", "Migu 1M", sans-serif;
|
||||
--font-code: "Roboto Mono", monospace;
|
||||
--font-primary: var(--font-header);
|
||||
--font-secondary: var(--font-header);
|
||||
--font-display: var(--font-header);
|
||||
--card-padding: 12px;
|
||||
--channels-width: 300px;
|
||||
--pip-width: 320px;
|
||||
--pip-radius: 12px;
|
||||
--tooltip-bg: #2a2a2a;
|
||||
--tooltip-text: #ffffff;
|
||||
--checkbox-size: 15px;
|
||||
--settings-list-width: 316px;
|
||||
--settings-padding: 8px;
|
||||
--settings-header-height: 84px;
|
||||
--members-width: 240px;
|
||||
--mouseX: 0px;
|
||||
--mouseY: 0px;
|
||||
}
|
||||
|
||||
.theme-light {
|
||||
--accent: var(--primary-700);
|
||||
--accent-selected-highlight: rgba(28, 116, 233, 12%);
|
||||
--accent-highlight: var(--primary-500);
|
||||
--accent-text: white;
|
||||
--text-semidark: rgb(149, 149, 149);
|
||||
--baseline: #f8f9fa;
|
||||
--chip: #D7D7D7;
|
||||
--chip-active: #D7D7D7;
|
||||
--chip-text: #363536;
|
||||
--navdrawer-color: white;
|
||||
--navdrawer-hover: rgba(0, 0, 0, 0.05);
|
||||
--navdrawer-active: rgba(0, 0, 0, 0.1);
|
||||
--navdrawer-separator: rgba(0, 0, 0, 0.1);
|
||||
--combobox-outline: rgba(0, 0, 0, 0.1);
|
||||
--title-color: #606060;
|
||||
--list-color: #202124;
|
||||
--logo-color: #202124;
|
||||
--header-color: #202124;
|
||||
--interactive-muted: #8f929c;
|
||||
--channels-default: #46494c;
|
||||
--ripple-default: rgba(0, 0, 0, 0.36);
|
||||
--danger: rgb(255, 70, 70);
|
||||
--danger-highlight: rgb(255, 118, 118);
|
||||
--online: #43b581;
|
||||
--online-highlight: #66c296;
|
||||
--idle: #faa61a;
|
||||
--dnd: var(--danger);
|
||||
--stream: #643da7;
|
||||
--offline: #636b75;
|
||||
}
|
||||
|
||||
.callContainer-36WRfH,
|
||||
.theme-dark {
|
||||
--accent: var(--primary-400);
|
||||
--accent-selected-highlight: rgba(52, 164, 255, 12%);
|
||||
--accent-highlight: var(--primary-200);
|
||||
--accent-text: white;
|
||||
--baseline: #272a2b;
|
||||
--chip: #595A5E;
|
||||
--chip-active: #595A5E;
|
||||
--chip-text: white;
|
||||
--navdrawer-color: #222222;
|
||||
--navdrawer-hover: rgba(255, 255, 255, 0.05);
|
||||
--navdrawer-active: rgba(255, 255, 255, 0.1);
|
||||
--navdrawer-separator: rgba(255, 255, 255, 0.1);
|
||||
--combobox-outline: rgba(255, 255, 255, 0.1);
|
||||
--title-color: #aaa;
|
||||
--list-color: #fff;
|
||||
--logo-color: #fff;
|
||||
--header-color: #fff;
|
||||
--interactive-muted: #6b6b6b;
|
||||
--channels-default: #9b9fa5;
|
||||
--ripple-default: rgba(255, 255, 255, 0.36);
|
||||
--danger: rgb(207, 102, 121);
|
||||
--danger-highlight: rgb(255, 118, 118);
|
||||
--online: #66c296;
|
||||
--online-highlight: #43b581;
|
||||
--idle: #fbec52;
|
||||
--dnd: var(--danger);
|
||||
--stream: #9176c1;
|
||||
--offline: #868d96;
|
||||
}
|
||||
|
||||
:root {
|
||||
--chip-height: 16px;
|
||||
}
|
||||
|
||||
* {
|
||||
text-transform: none !important;
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: monospace !important;
|
||||
}
|
||||
|
||||
.chat-3bRxxu .message-2qnXI6:hover {
|
||||
outline: 1px solid #5a5a5a;
|
||||
}
|
||||
|
||||
.botTagRegular-2HEhHi, .botTagInvert-18-95s {
|
||||
background: none;
|
||||
}
|
|
@ -0,0 +1,68 @@
|
|||
(define (agw-vec-list vl) (vector->list (cadr vl)))
|
||||
|
||||
(define (agw-p67-font)
|
||||
(for-each
|
||||
(lambda (im)
|
||||
(let ((dr (car (gimp-image-get-active-drawable im)))
|
||||
(fname (car (gimp-image-get-filename im))))
|
||||
(unless (eq? (gimp-image-base-type im) RGB)
|
||||
(gimp-image-convert-rgb im))
|
||||
(gimp-drawable-desaturate dr DESATURATE-LUMINANCE)
|
||||
(gimp-image-convert-indexed
|
||||
im
|
||||
CONVERT-DITHER-NONE
|
||||
CONVERT-PALETTE-CUSTOM
|
||||
0 ; num-cols (ign.)
|
||||
FALSE ; alpha-dither
|
||||
FALSE ; remove-unused
|
||||
"p67 palette")
|
||||
(gimp-file-save RUN-NONINTERACTIVE im dr fname fname)))
|
||||
(agw-vec-list (gimp-image-list))))
|
||||
|
||||
(define (agw-destructure im)
|
||||
(for-each
|
||||
(lambda (dr)
|
||||
(when (gimp-item-is-drawable dr)
|
||||
(plug-in-colortoalpha RUN-NONINTERACTIVE im dr (car (gimp-context-get-foreground)))))
|
||||
(agw-vec-list (gimp-image-get-layers im))))
|
||||
|
||||
(define (agw-export-font start dir pfx sfx im)
|
||||
(letrec ((num (string->number start 16))
|
||||
(pre (string-append dir "/" pfx))
|
||||
(fnc (lambda (ls n)
|
||||
(let* ((dr (car ls))
|
||||
(nx (cdr ls))
|
||||
(dr? (gimp-item-is-drawable dr))
|
||||
(fnm (string-append pre (number->string n 16) sfx)))
|
||||
(when dr?
|
||||
(gimp-file-save RUN-NONINTERACTIVE im dr fnm fnm))
|
||||
(unless (null? nx)
|
||||
(fnc nx (if dr? (succ n) n)))))))
|
||||
(fnc (agw-vec-list (gimp-image-get-layers im)) num)))
|
||||
|
||||
(define author "Alison Gray Watson")
|
||||
(define license "Public domain")
|
||||
(define path "<Image>/:>")
|
||||
|
||||
(script-fu-register
|
||||
"agw-p67-font"
|
||||
"P67 Font" "Converts open images to a project67 font"
|
||||
author license "2021" "")
|
||||
(script-fu-register
|
||||
"agw-destructure"
|
||||
"Destructure" "Deletes foreground color from all layers"
|
||||
author license "2021" ""
|
||||
SF-IMAGE "Image" 0)
|
||||
(script-fu-register
|
||||
"agw-export-font"
|
||||
"Export Layers" "Exports all layers with hex names"
|
||||
author license "2021" ""
|
||||
SF-STRING "Start Number (Hex)" "21"
|
||||
SF-DIRNAME "Output Directory" "/tmp"
|
||||
SF-STRING "Prefix (Optional)" ""
|
||||
SF-STRING "Suffix (Required)" ".png"
|
||||
SF-IMAGE "Image" 0)
|
||||
|
||||
(script-fu-menu-register "agw-p67-font" path)
|
||||
(script-fu-menu-register "agw-destructure" path)
|
||||
(script-fu-menu-register "agw-export-font" path)
|
|
@ -9,15 +9,6 @@
|
|||
(defvar-local agw-no-fixes nil
|
||||
"Fixes files before save if nil in this buffer.")
|
||||
|
||||
(defvar-local agw-no-tabs nil
|
||||
"Disables tabs in this buffer.")
|
||||
|
||||
(defvar-local agw-no-tabs-width 2
|
||||
"The width of non-hardware tabs with `agw-no-tabs'.")
|
||||
|
||||
(defvar-local agw-work nil
|
||||
"Changes functionality for a work environment.")
|
||||
|
||||
(define-minor-mode agw-key-map-mode
|
||||
"Minor mode for key bindings."
|
||||
:global t
|
||||
|
@ -29,17 +20,22 @@
|
|||
|
||||
(defun agw-fp-mode ()
|
||||
"Sets up lisp and other functional language major modes."
|
||||
(setq-local agw-no-tabs t))
|
||||
(setq-local indent-tabs-mode nil))
|
||||
|
||||
(defun agw-org-mode ()
|
||||
"Sets up `org-mode'."
|
||||
(setq-local agw-no-tabs t)
|
||||
(setq-local indent-tabs-mode nil)
|
||||
(define-key evil-normal-state-map (kbd "TAB") 'org-cycle))
|
||||
|
||||
(defun agw-cc-mode ()
|
||||
"Sets up `c-mode' and `c++-mode'."
|
||||
(c-toggle-electric-state -1))
|
||||
|
||||
(defun agw-maybe-smart-tabs-mode ()
|
||||
"Enables `smart-tabs-mode' sometimes."
|
||||
(when indent-tabs-mode
|
||||
(smart-tabs-mode-enable)))
|
||||
|
||||
(defun agw-before-save ()
|
||||
"Hook to be run before saving a file."
|
||||
(unless agw-no-fixes
|
||||
|
@ -64,28 +60,6 @@
|
|||
((eq selection 'screen-line) "ʌ")
|
||||
((eq selection 'block) "Λ"))))
|
||||
|
||||
(defun agw-prog-mode ()
|
||||
"Sets up `prog-mode' and `text-mode'."
|
||||
(setq-local tab-always-indent t)
|
||||
(when agw-work
|
||||
(setq-local agw-no-tabs t
|
||||
agw-no-tabs-width 4))
|
||||
(if agw-no-tabs
|
||||
(progn
|
||||
(setq-local indent-tabs-mode nil
|
||||
standard-indent agw-no-tabs-width
|
||||
tab-width agw-no-tabs-width)
|
||||
(smart-tabs-mode 0))
|
||||
(progn
|
||||
(setq-local indent-tabs-mode t
|
||||
standard-indent 3
|
||||
tab-width 3)
|
||||
(smart-tabs-mode 1))))
|
||||
|
||||
(defun agw-after-local-vars ()
|
||||
(if (or (derived-mode-p 'prog-mode) (derived-mode-p 'text-mode))
|
||||
(agw-prog-mode)))
|
||||
|
||||
;; Lithium dialogues mode
|
||||
(setq agw-lithdlg-highlights
|
||||
(let* (( keywords '("dialogue" "terminal" "program" "page" "failure"
|
||||
|
|
|
@ -29,9 +29,6 @@
|
|||
(add-hook 'text-mode-hook #'agw-flyspell-prog-mode)
|
||||
(add-hook 'text-mode-hook #'subword-mode)
|
||||
|
||||
;; `hack-local-variables'
|
||||
(add-hook 'hack-local-variables-hook #'agw-after-local-vars)
|
||||
|
||||
;; macros
|
||||
(setq initial-buffer-choice
|
||||
(lambda ()
|
||||
|
@ -118,11 +115,13 @@
|
|||
(defvaralias 'cmake-tab-width 'tab-width))
|
||||
|
||||
(use-package powershell
|
||||
:hook (powershell-mode . agw-maybe-smart-tabs-mode)
|
||||
:ensure t
|
||||
:init
|
||||
(defvaralias 'powershell-indent 'tab-width))
|
||||
|
||||
(use-package js
|
||||
:hook (js-mode . agw-maybe-smart-tabs-mode)
|
||||
:init
|
||||
(defvaralias 'js-indent-level 'tab-width))
|
||||
|
||||
|
@ -131,6 +130,7 @@
|
|||
(defvaralias 'css-indent-offset 'tab-width))
|
||||
|
||||
(use-package lua-mode
|
||||
:hook (lua-mode . agw-maybe-smart-tabs-mode)
|
||||
:ensure t
|
||||
:init
|
||||
(setq lua-indent-nested-block-content-align nil))
|
||||
|
@ -146,14 +146,10 @@
|
|||
:init
|
||||
(defvaralias 'nim-indent-offset 'tab-width))
|
||||
|
||||
(use-package mmm-mode
|
||||
(use-package poly-markdown
|
||||
:ensure t)
|
||||
(use-package poly-org
|
||||
:ensure t)
|
||||
|
||||
(use-package mmm-auto
|
||||
:init
|
||||
(setq mmm-submode-decoration-level 0)
|
||||
:config
|
||||
(mmm-add-mode-ext-class 'ruby-mode nil 'here-doc))
|
||||
|
||||
(use-package python
|
||||
:init
|
||||
|
@ -161,7 +157,9 @@
|
|||
|
||||
(use-package cc-mode
|
||||
:hook (( c-mode . agw-cc-mode)
|
||||
(c++-mode . agw-cc-mode))
|
||||
( c-mode . agw-maybe-smart-tabs-mode)
|
||||
(c++-mode . agw-cc-mode)
|
||||
(c++-mode . agw-maybe-smart-tabs-mode))
|
||||
:mode (("\\.zsc\\'" . c-mode)
|
||||
("\\.zc\\'" . c-mode)
|
||||
("\\.build\\'" . c++-mode))
|
||||
|
@ -172,11 +170,13 @@
|
|||
(defvaralias 'c-basic-offset 'tab-width))
|
||||
|
||||
(use-package fish-mode
|
||||
:hook (fish-mode . agw-maybe-smart-tabs-mode)
|
||||
:ensure t
|
||||
:init
|
||||
(defvaralias 'fish-indent-offset 'tab-width))
|
||||
|
||||
(use-package glsl-mode
|
||||
:hook (glsl-mode . agw-maybe-smart-tabs-mode)
|
||||
:ensure t)
|
||||
|
||||
(use-package haskell-mode
|
||||
|
@ -198,6 +198,7 @@
|
|||
(setq ruby-insert-encoding-magic-comment nil))
|
||||
|
||||
(use-package rust-mode
|
||||
:hook (rust-mode . agw-maybe-smart-tabs-mode)
|
||||
:ensure t
|
||||
:init
|
||||
(defvaralias 'rust-indent-offset 'tab-width))
|
||||
|
@ -277,14 +278,7 @@
|
|||
((c-indent-line . c-basic-offset)
|
||||
(c-indent-region . c-basic-offset)))
|
||||
(smart-tabs-add-language-support lua lua-mode-hook
|
||||
((lua-indent-line . lua-indent-level)))
|
||||
(smart-tabs-insinuate
|
||||
'c
|
||||
'fish
|
||||
'glsl
|
||||
'javascript
|
||||
'lua
|
||||
'rust))
|
||||
((lua-indent-line . lua-indent-level))))
|
||||
|
||||
(use-package ialign
|
||||
:ensure t
|
||||
|
@ -444,27 +438,6 @@
|
|||
|
||||
(use-package subword)
|
||||
|
||||
(use-package dim
|
||||
:ensure t
|
||||
:after (editorconfig
|
||||
eldoc
|
||||
rainbow-mode
|
||||
simple
|
||||
subword
|
||||
undo-tree
|
||||
whitespace)
|
||||
:config
|
||||
(dim-minor-names
|
||||
'((abbrev-mode "Ab")
|
||||
(editorconfig-mode "Ec")
|
||||
(eldoc-mode "El")
|
||||
(isearch-mode "Is")
|
||||
(subword-mode "Sw")
|
||||
(undo-tree-mode "Ut")
|
||||
(whitespace-mode "Ws")
|
||||
(flyspell-mode "Fs")
|
||||
(rainbow-mode "Rb"))))
|
||||
|
||||
(use-package rainbow-mode
|
||||
:ensure t
|
||||
:hook ((prog-mode . rainbow-mode)
|
||||
|
|
Loading…
Reference in New Issue