From 17145cd0dde05c58035c0fffa4bd119d55e8c71a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Czy=C5=BC?= Date: Thu, 21 Sep 2023 11:55:34 +0200 Subject: [PATCH] theming dots --- .gitmodules | 4 +- .vscode/settings.json | 5 +- alacritty/.config/alacritty/alacritty.yml | 2 +- alacritty/.config/alacritty/alacritty.yml.in | 252 ------- common/.Xresources | 34 - desktop/.dusk | 1 - desktop/.dwm | 2 +- desktop/.xinitrc | 8 +- .../themes/pywal-discord-default.css | 633 +++++++++++++++++ .../themes/pywal-discord-default.theme.css | 669 ++++++++++++++++++ firefox/.config/firefox/userChrome.css | 24 + kitty/.config/kitty/kitty.conf | 14 + .../.config/nitrogen/myprimarycolours.txt | 4 + nitrogen/.config/nitrogen/nitrogen.cfg | 2 +- rofi/.config/rofi/config.rasi | 199 +++++- rofi/.config/rofi/config.rasi.in | 18 - .../.config/rofi/launchers/type-1/launcher.sh | 15 + .../rofi/launchers/type-1/shared/colors.rasi | 8 + .../rofi/launchers/type-1/shared/fonts.rasi | 10 + .../rofi/launchers/type-1/style-1.rasi | 307 ++++++++ .../rofi/powermenu/type-1/powermenu.sh | 95 +++ .../rofi/powermenu/type-1/shared/colors.rasi | 10 + .../rofi/powermenu/type-1/shared/fonts.rasi | 10 + .../rofi/powermenu/type-1/style-1.rasi | 166 +++++ rofi/.config/rofi/scripts/emoji | 6 + rofi/.config/rofi/scripts/launcher | 1 + rofi/.config/rofi/scripts/powermenu | 1 + rofi/.config/rofi/scripts/wallpaper | 33 + rofi/.config/rofi/scripts/websearch | 58 ++ rofi/.config/rofi/theme-patcher.sh | 19 - .../wal/templates/colors-bashtop.theme | 89 +++ wal/.config/wal/templates/colors-cava.cava | 11 + .../wal/templates/colors-hyprland.conf | 3 + wal/.config/wal/templates/colors-rofi.rasi | 8 + .../wal/templates/colors-spicetify.ini | 16 + wal/.config/wal/templates/colors.Xresources | 103 +++ wal/.config/wal/templates/kitty.conf | 40 ++ 37 files changed, 2530 insertions(+), 350 deletions(-) delete mode 100644 alacritty/.config/alacritty/alacritty.yml.in delete mode 100644 common/.Xresources delete mode 160000 desktop/.dusk create mode 100644 discord/.config/BetterDiscord/themes/pywal-discord-default.css create mode 100644 discord/.config/BetterDiscord/themes/pywal-discord-default.theme.css create mode 100644 firefox/.config/firefox/userChrome.css create mode 100644 kitty/.config/kitty/kitty.conf create mode 100644 nitrogen/.config/nitrogen/myprimarycolours.txt delete mode 100644 rofi/.config/rofi/config.rasi.in create mode 100755 rofi/.config/rofi/launchers/type-1/launcher.sh create mode 100644 rofi/.config/rofi/launchers/type-1/shared/colors.rasi create mode 100644 rofi/.config/rofi/launchers/type-1/shared/fonts.rasi create mode 100644 rofi/.config/rofi/launchers/type-1/style-1.rasi create mode 100755 rofi/.config/rofi/powermenu/type-1/powermenu.sh create mode 100644 rofi/.config/rofi/powermenu/type-1/shared/colors.rasi create mode 100644 rofi/.config/rofi/powermenu/type-1/shared/fonts.rasi create mode 100644 rofi/.config/rofi/powermenu/type-1/style-1.rasi create mode 100755 rofi/.config/rofi/scripts/emoji create mode 120000 rofi/.config/rofi/scripts/launcher create mode 120000 rofi/.config/rofi/scripts/powermenu create mode 100755 rofi/.config/rofi/scripts/wallpaper create mode 100755 rofi/.config/rofi/scripts/websearch delete mode 100755 rofi/.config/rofi/theme-patcher.sh create mode 100644 wal/.config/wal/templates/colors-bashtop.theme create mode 100644 wal/.config/wal/templates/colors-cava.cava create mode 100644 wal/.config/wal/templates/colors-hyprland.conf create mode 100644 wal/.config/wal/templates/colors-rofi.rasi create mode 100644 wal/.config/wal/templates/colors-spicetify.ini create mode 100644 wal/.config/wal/templates/colors.Xresources create mode 100644 wal/.config/wal/templates/kitty.conf diff --git a/.gitmodules b/.gitmodules index 2876438..2d46610 100644 --- a/.gitmodules +++ b/.gitmodules @@ -9,6 +9,4 @@ [submodule "desktop/.st"] path = desktop/.st url = https://github.com/eRgo35/st -[submodule "desktop/.dusk"] - path = desktop/.dusk - url = https://github.com/eRgo35/dusk + diff --git a/.vscode/settings.json b/.vscode/settings.json index 038b3ec..4a9477f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,6 @@ { - "C_Cpp.dimInactiveRegions": true + "C_Cpp.dimInactiveRegions": true, + "files.associations": { + "cstdlib": "cpp" + } } \ No newline at end of file diff --git a/alacritty/.config/alacritty/alacritty.yml b/alacritty/.config/alacritty/alacritty.yml index d412686..3632530 100644 --- a/alacritty/.config/alacritty/alacritty.yml +++ b/alacritty/.config/alacritty/alacritty.yml @@ -105,7 +105,7 @@ bell: # command: # program: aplay - # args: ["/home/vectorkappa/Music/beeps/wav/erro.wav"] + # args: ["/home/mike/Music/beeps/wav/erro.wav"] hints: # URL launcher # diff --git a/alacritty/.config/alacritty/alacritty.yml.in b/alacritty/.config/alacritty/alacritty.yml.in deleted file mode 100644 index 1e32234..0000000 --- a/alacritty/.config/alacritty/alacritty.yml.in +++ /dev/null @@ -1,252 +0,0 @@ -# import: -# - ~/.config/alacritty/dynamic-theme.yml - -# Colors -colors: - # Default colors - primary: - background: %clbg% - foreground: %clfg% - - # Colors the cursor will use if `custom_cursor_colors` is true - cursor: - text: '0x000000' - cursor: '0xffffff' - - # Normal colors - normal: - black: %cl0% - red: %cl1% - green: %cl2% - yellow: %cl3% - blue: %cl4% - magenta: %cl5% - cyan: %cl6% - white: %cl7% - - # Bright colors - bright: - black: %cl8% - red: %cl9% - green: %cl10% - yellow: %cl11% - blue: %cl12% - magenta: %cl13% - cyan: %cl14% - white: %cl15% - -scrolling: - history: 100000 - -env: - TERM: alacritty - WINIT_X11_SCALE_FACTOR: '1.0' -window: - decorations: none - dynamic_title: true - opacity: 0.85 -font: - # Normal (roman) font face - normal: - # Font family - # - # Default: - # - (macOS) Menlo - # - (Linux/BSD) monospace - # - (Windows) Consolas - family: Noto Color Emoji - family: SauceCodePro Nerd Font Mono - - # 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: 12.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 -# 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: 250 - - # Visual bell animation color. - color: '#4C566A' - - # command: - # program: aplay - # args: ["/home/vectorkappa/Music/beeps/wav/erro.wav"] -hints: - # URL launcher - # - # This program is executed when clicking on a text which is recognized as a - # URL. The URL is always added to the command as the last parameter. - # - # When set to `launcher: None`, URL launching will be disabled completely. - # - # Default: - # - (macOS) open - # - (Linux/BSD) xdg-open - # - (Windows) explorer - enabled: - - regex: "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)[^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+" - command: xdg-open - post_processing: true - mouse: - enabled: true - mods: None - binding: - key: U - mods: Control|Shift - # launcher: - # program: xdg-open - #args: [] -#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, mods: Shift, mode: ~Alt, action: ScrollPageUp, } - #- { key: PageDown, mods: Shift, mode: ~Alt, 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: Vi|~Search, action: ScrollToBottom } - #- { key: Space, mods: Shift|Control, mode: ~Search, action: ToggleViMode } - #- { key: Escape, mode: Vi|~Search, action: ClearSelection } - #- { key: I, mode: Vi|~Search, action: ScrollToBottom } - #- { key: I, mode: Vi|~Search, action: ToggleViMode } - #- { 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: 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 } diff --git a/common/.Xresources b/common/.Xresources deleted file mode 100644 index b407795..0000000 --- a/common/.Xresources +++ /dev/null @@ -1,34 +0,0 @@ -*background: #24273A -*foreground: #CAD3F5 - -! black -*color0: #494D64 -*color8: #5B6078 - -! red -*color1: #ED8796 -*color9: #ED8796 - -! green -*color2: #A6DA95 -*color10: #A6DA95 - -! yellow -*color3: #EED49F -*color11: #EED49F - -! blue -*color4: #8AADF4 -*color12: #8AADF4 - -! magenta -*color5: #F5BDE6 -*color13: #F5BDE6 - -! cyan -*color6: #8BD5CA -*color14: #8BD5CA - -! white -*color7: #B8C0E0 -*color15: #A5ADCB \ No newline at end of file diff --git a/desktop/.dusk b/desktop/.dusk deleted file mode 160000 index 67cb5d5..0000000 --- a/desktop/.dusk +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 67cb5d5935a5b50f07efa00001e89d9addef3b03 diff --git a/desktop/.dwm b/desktop/.dwm index faedc5a..41f3a08 160000 --- a/desktop/.dwm +++ b/desktop/.dwm @@ -1 +1 @@ -Subproject commit faedc5a5ea2b7babb372ccd730eb61c841e4c524 +Subproject commit 41f3a08d9eac8a88a7897cd9adbbcbedbc03bfc5 diff --git a/desktop/.xinitrc b/desktop/.xinitrc index 217e319..1235331 100755 --- a/desktop/.xinitrc +++ b/desktop/.xinitrc @@ -30,7 +30,7 @@ fi # some merges xsetroot -cursor_name left_ptr & export GTK2_RC_FILES="$HOME/.gtkrc-2.0" & -xrdb merge .Xresources & +# xrdb merge .Xresources & # compositor picom -b --vsync & @@ -64,8 +64,10 @@ source /etc/X11/xinit/xinitrc.d/50-systemd-user.sh ## Map super key to trigger rofi when used alone # xcape -e 'Super_L=Super_L|Shift_L|space' & -# wallpapers -nitrogen --restore & +# wallpaper engine and theming +# nitrogen --restore & +wal --backend colorz -i $HOME/.dots/nitrogen/.config/nitrogen/pexels-engin-akyurt-1435752.jpg & +xrdb merge ~/.cache/wal/colors.Xresources & ## Set screen locker xss-lock -v -- betterlockscreen -l --time-format '%I:%M %p' & diff --git a/discord/.config/BetterDiscord/themes/pywal-discord-default.css b/discord/.config/BetterDiscord/themes/pywal-discord-default.css new file mode 100644 index 0000000..af88455 --- /dev/null +++ b/discord/.config/BetterDiscord/themes/pywal-discord-default.css @@ -0,0 +1,633 @@ +/** colors will come from .cache/wal/colors.css as variables defined in :root + * see: cat $HOME/.cache/wal/colors.css +*/ + +/* firends page */ +.peopleList-2VBrVI, .inner-2pOSmK { + background: var(--darkbg); +} + +.peopleColumn-1wMU14{ + background: var(--color0); +} + +element { + font-size: 100%; +} + +/* end element */ +:root { + /* Yeah, I know lightbg is actually darker than darkbg but whatever + * change & pull it if you wish */ + --lightbg: linear-gradient(rgba(255, 255, 255, 0.06), + rgba(255, 255, 255, 0.06)), + var(--background); + --darkbg: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)), + var(--background); + --bdfdb-blurple: var(--color1); +} + +html.newBrand { + --brand-experiment-100: var(--text); + --brand-experiment-130: var(--text); + --brand-experiment-160: var(--text); + --brand-experiment-200: var(--text); + --brand-experiment-230: var(--text); + --brand-experiment-260: var(--text); + --brand-experiment: var(--color1); + --brand-experiment-300: var(--color1); + --brand-experiment-330: var(--color1); + --brand-experiment-360: var(--color1); + --brand-experiment-400: var(--color1); + --brand-experiment-430: var(--color1); + --brand-experiment-460: var(--color1); + --brand-experiment: var(--color1); + --brand-experiment-500: var(--color1); + --brand-experiment-530: var(--color1); + --brand-experiment-560: var(--color1); + --brand-experiment-600: var(--color1); + --brand-experiment-630: var(--color1); + --brand-experiment-660: var(--color8); + --brand-experiment-700: var(--color8); + --brand-experiment-730: var(--color8); + --brand-experiment-760: var(--color8); + --brand-experiment-800: var(--background); + --brand-experiment-830: var(--background); + --brand-experiment-860: var(--background); + --brand-experiment-900: var(--background); +} + +.theme-dark { + --brand-experiment: var(--color1); + --text-positive var(--color2); + --header-primary: var(--foreground); + --header-secondary: var(--color7); + --text-normal: var(--color7); + --text-muted: var(--color7); + --text-link: var(--color12); + --channels-default: var(--foreground); + --interactive-normal: var(--foreground); + --interactive-hover: var(--foreground); + --interactive-active: var(--foreground); + --interactive-muted: var(--color7); + --background-primary: var(--background); + --background-secondary: var(--lightbg); + --background-secondary-alt: var(--darkbg); + --background-tertiary: var(--background); + --background-accent: var(--background); + --background-floating: var(--background); + --background-mobile-primary: var(--background); + --background-mobile-secondary: var(--color8); + --background-modifier-hover: rgba(79, 84, 92, 0.16); + --background-modifier-active: rgba(79, 84, 92, 0.24); + --background-modifier-selected: rgba(79, 84, 92, 0.32); + --background-modifier-accent: hsla(0, 0%, 100%, 0.06); + --background-mentioned: rgba(250, 166, 26, 0.05); + --background-mentioned-hover: rgba(250, 166, 26, 0.08); + --background-message-hover: rgba(4, 4, 5, 0.07); + --elevation-stroke: 0 0 0 1px rgba(4, 4, 5, 0.15); + --elevation-low: 0 1px 0 rgba(4, 4, 5, 0.2), 0 1.5px 0 rgba(6, 6, 7, 0.05), + 0 2px 0 rgba(4, 4, 5, 0.05); + --elevation-medium: 0 4px 4px rgba(0, 0, 0, 0.16); + --elevation-high: 0 8px 16px rgba(0, 0, 0, 0.24); + --logo-primary: #fff; + --guild-header-text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4); + --channeltextarea-background: var(--color8); + --activity-card-background: var(--background); + --textbox-markdown-syntax: var(--foreground); + --deprecated-card-bg: rgba(32, 34, 37, 0.6); + --deprecated-card-editable-bg: rgba(32, 34, 37, 0.3); + --deprecated-store-bg: #36393f; + --deprecated-quickswitcher-input-background: var(--color8); + --deprecated-quickswitcher-input-placeholder: var(--color7); + --deprecated-text-input-bg: rgba(0, 0, 0, 0.1); + --deprecated-text-input-border: rgba(0, 0, 0, 0.3); + --deprecated-text-input-border-hover: #040405; + --deprecated-text-input-border-disabled: #202225; + --deprecated-text-input-prefix: #dcddde; + --scrollbar-thin-thumb: var(--color1); + --scrollbar-auto-thumb: var(--color1); + --scrollbar-auto-track: rgba(255, 255, 255, 0.06); + --scrollbar-thin-track: rgba(255, 255, 255, 0.06); + --text-positive: var(--color2); + --text-warning: var(--color4); + --text-danger: var(--color1); + --info-positive-background: rgba(59, 165, 92, 0.1); + --info-positive-foreground: var(--color2); + --info-warning-background: rgba(250, 166, 26, 0.1); + --info-warning-foreground: var(--color4); + --info-danger-background: rgba(237, 66, 69, 0.1); + --info-danger-foreground: var(--color1); + --status-positive-background: var(--color2); + --status-positive-text: var(--text); + --status-warning-background: var(--color4); + --status-danger-background: var(--color1); +} + +/* end .theme-dark */ + +.theme-light { + --brand-experiment: var(--color1); + --text-positive var(--color2); + --header-primary: var(--color8); + --header-secondary: var(--background); + --text-normal: var(--background); + --text-muted: var(--color8); + --text-link: var(--color12); + --channels-default: var(--background); + --interactive-hover: var(--color8); + --interactive-active: var(--color8); + --interactive-muted: var(--color8); + --background-primary: var(--color7); + --background-secondary: var(--foreground); + --background-secondary-alt: var(--foreground); + --background-tertiary: var(--color7); + --background-accent: var(--color7); + --background-floating: var(--color7); + --background-mobile-primary: var(--color7); + --background-mobile-secondary: var(--foreground); + --background-modifier-hover: rgba(79, 84, 92, 0.16); + --background-modifier-active: rgba(79, 84, 92, 0.24); + --background-modifier-selected: rgba(79, 84, 92, 0.32); + --background-modifier-accent: hsla(0, 0%, 100%, 0.06); + --background-mentioned: rgba(250, 166, 26, 0.05); + --background-mentioned-hover: rgba(250, 166, 26, 0.08); + --background-message-hover: rgba(4, 4, 5, 0.07); + --elevation-stroke: 0 0 0 1px rgba(4, 4, 5, 0.15); + --elevation-low: 0 1px 0 rgba(4, 4, 5, 0.2), 0 1.5px 0 rgba(6, 6, 7, 0.05), + 0 2px 0 rgba(4, 4, 5, 0.05); + --elevation-medium: 0 4px 4px rgba(0, 0, 0, 0.16); + --elevation-high: 0 8px 16px rgba(0, 0, 0, 0.24); + --logo-primary: #fff; + --guild-header-text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4); + --channeltextarea-background: var(--foreground); + --activity-card-background: var(--background); + --textbox-markdown-syntax: var(--color8); + --deprecated-card-bg: rgba(32, 34, 37, 0.6); + --deprecated-card-editable-bg: rgba(32, 34, 37, 0.3); + --deprecated-store-bg: #36393f; + --deprecated-quickswitcher-input-background: var(--foreground); + --deprecated-quickswitcher-input-placeholder: var(--color8); + --deprecated-text-input-bg: rgba(0, 0, 0, 0.1); + --deprecated-text-input-border: rgba(0, 0, 0, 0.3); + --deprecated-text-input-border-hover: #040405; + --deprecated-text-input-border-disabled: #202225; + --deprecated-text-input-prefix: #dcddde; + --scrollbar-thin-thumb: var(--color1); + --scrollbar-auto-thumb: var(--color1); + --scrollbar-auto-track: rgba(0, 0, 0, 0.1); + --scrollbar-thin-track: rgba(0, 0, 0, 0.1); + --text-positive: var(--color2); + --text-warning: var(--color4); + --text-danger: var(--color1); + --info-positive-background: rgba(59, 165, 92, 0.1); + --info-positive-foreground: var(--color2); + --info-warning-background: rgba(250, 166, 26, 0.1); + --info-warning-foreground: var(--color4); + --info-danger-background: rgba(237, 66, 69, 0.1); + --info-danger-foreground: var(--color1); + --status-positive-background: var(--color2); + --status-positive-text: var(--text); + --status-warning-background: var(--color4); + --status-danger-background: var(--color1); +} + +/* end .theme-light */ + +/* Emoji picker body background */ +.emojiPickerInExpressionPicker-3IzIcv .emojiPicker-3PwZFl { + background-color: var(--background); +} + +/* Emoji picker header background */ +.contentWrapper-SvZHNd { + background-color: var(--background); +} + +/* Friends tab background */ +.theme-dark .container-1D34oG { + background-color: var(--background); +} + +/* User popout body */ +.theme-dark .body-3iLsc4, +.theme-dark .footer-1fjuF6 { + background-color: var(--background); + opacity: 1 !important; +} + +/* User popout header */ +.theme-dark .headerNormal-T_seeN { + background-color: var(--background); +} + +/* Bottom part of user popout */ +.body-3ND3kc { + opacity: 1.0 !important; + background-color: var(--color0) !important; +} + +/* User popout header when playing a game */ +.headerPlaying-j0WQBV, +.headerFill-adLl4x, +.activityProfile-2bJRaP, +.activity-1ythUs, +.header-QKLPzZ { + background: var(--color1); +} + +/* Start rebranding gross yuck */ +.lookFilled-1Gx00P.colorBrand-3pXr91 { + color: var(--text); + background-color: var(--color1); +} + +.lookFilled-1Gx00P.colorGreen-29iAKY { + color: var(--text); + background-color: var(--color2); +} + +.lookFilled-1Gx00P.colorRed-1TFJan { + color: var(--text); + background-color: var(--color3); +} + +.lookFilled-1Gx00P.colorBrand-3pXr91:disabled { + background-color: var(--color1); +} + +.botTagRegular-2HEhHi { + background: var(--color1); + color: var(--text); +} + +.theme-dark .wrapper-3WhCwL { + background: var(--darkbg); + color: var(--text); +} + +.reaction-1hd86g.reactionMe-wv5HKu { + background-color: var(--background); + border-color: var(--color4); +} + +.newMessagesBar-265mhP { + top: 0; + border-radius: 0 0 8px 8px; + background-color: var(--color2); + -webkit-box-shadow: var(--elevation-low); + box-shadow: var(--elevation-low); +} + +.rtcConnectionStatusConnected-VRZDjy, +.rtcConnectionQualityFine-2J6i8z, +.pingForeground-2uAOZ3 { + color: var(--color2); +} + +.lookFilled-1Gx00P.colorYellow-2JqYwt { + color: var(--text); + background-color: var(--color4); +} + +/* End rebranding gross yuck */ + + +/* Tab underneath users in the Active Now tab on the friends page */ +.theme-dark .inset-3sAvek { + background-color: rgba(255, 255, 255, 0.06); +} + +/* Edit buttons in the settings page */ +.lookFilled-1Gx00P.colorGrey-2DXtkV { + color: #fff; + background-color: var(--color1); +} + + +.scroller-2FKFPG.sidebarRegionScroller-3MXcoP { + /* Settings */ + background: var(--darkbg); +} + +/* end of settings */ + +html body { + + .appMount-3lHmkl, + body, + html { + height: 100%; + width: 100%; + } + + /* end .appMount-3lHmkl, body, html */ + + a, + abbr, + acronym, + address, + applet, + big, + blockquote, + body, + caption, + cite, + code, + dd, + del, + dfn, + div, + dl, + dt, + em, + fieldset, + form, + h1, + h2, + h3, + h4, + h5, + h6, + html, + iframe, + img, + ins, + kbd, + label, + legend, + li, + object, + ol, + p, + pre, + q, + s, + samp, + small, + span, + strike, + strong, + table, + tbody, + td, + tfoot, + th, + thead, + tr, + tt, + ul, + var { + margin: 0; + padding: 0; + border: 0; + font-weight: inherit; + font-style: inherit; + font-family: inherit; + font-size: 100%; + vertical-align: baseline; + } + + /* end a, abbr, acronym, address, applet, big, blockquote, body, caption, cite, code, dd, del, dfn, div, dl, dt, em, fieldset, form, h1, h2, h3, h4, h5, h6, html, iframe, img, ins, kbd, label, legend, li, object, ol, p, pre, q, s, samp, small, span, strike, strong, table, tbody, td, tfoot, th, thead, tr, tt, ul, var */ + + element {} + + /* end element */ + + ::placeholder, + body, + button, + input, + select, + textarea { + font-family: Fira Sans, Whitney, Helvetica Neue, Helvetica, Arial, + sans-serif; + text-rendering: optimizeLegibility; + } + + /* end ::placeholder, body, button, input, select, textarea */ + + ::placeholder, + body, + button, + input, + select, + textarea { + font-family: Fira Sans, Whitney, Helvetica Neue, Helvetica, Arial, + sans-serif; + text-rendering: optimizeLegibility; + } + + /* end ::placeholder, body, button, input, select, textarea */ + + ::-webkit-input-placeholder, + body, + button, + input, + select, + textarea { + font-family: Fira Sans, Whitney, Helvetica Neue, Helvetica, Arial, + sans-serif; + text-rendering: optimizeLegibility; + } + + /* end ::-webkit-input-placeholder, body, button, input, select, textarea */ +} + +/* end body */ + +html body div#app-mount.appMount-3lHmkl { + element {} + + /* end element */ + + .appMount-3lHmkl, + body { + background-color: var(--background-tertiary); + text-rendering: optimizeLegibility; + } + + /* end .appMount-3lHmkl, body */ + + .appMount-3lHmkl, + body, + html { + height: 100%; + width: 100%; + } + + /* end .appMount-3lHmkl, body, html */ + + body { + line-height: 1; + margin: 0; + padding: 0; + font-family: Fira Sans, Whitney, Helvetica Neue, Helvetica, Arial, + sans-serif; + overflow: hidden; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + background: transparent; + background-color: transparent; + } + + /* end body */ + + a, + abbr, + acronym, + address, + applet, + big, + blockquote, + body, + caption, + cite, + code, + dd, + del, + dfn, + div, + dl, + dt, + em, + fieldset, + form, + h1, + h2, + h3, + h4, + h5, + h6, + html, + iframe, + img, + ins, + kbd, + label, + legend, + li, + object, + ol, + p, + pre, + q, + s, + samp, + small, + span, + strike, + strong, + table, + tbody, + td, + tfoot, + th, + thead, + tr, + tt, + ul, + var { + margin: 0; + padding: 0; + border: 0; + font-weight: inherit; + font-style: inherit; + font-family: inherit; + font-size: 100%; + vertical-align: baseline; + } + + /* end a, abbr, acronym, address, applet, big, blockquote, body, caption, cite, code, dd, del, dfn, div, dl, dt, em, fieldset, form, h1, h2, h3, h4, h5, h6, html, iframe, img, ins, kbd, label, legend, li, object, ol, p, pre, q, s, samp, small, span, strike, strong, table, tbody, td, tfoot, th, thead, tr, tt, ul, var */ + + a, + button, + div, + input, + select, + span, + strong, + textarea { + outline: 0; + } + + /* end a, button, div, input, select, span, strong, textarea */ + + a, + abbr, + acronym, + address, + applet, + big, + blockquote, + body, + caption, + cite, + code, + dd, + del, + dfn, + div, + dl, + dt, + em, + fieldset, + form, + h1, + h2, + h3, + h4, + h5, + h6, + html, + iframe, + img, + ins, + kbd, + label, + legend, + li, + object, + ol, + p, + pre, + q, + s, + samp, + small, + span, + strike, + strong, + table, + tbody, + td, + tfoot, + th, + thead, + tr, + tt, + ul, + var { + margin: 0; + padding: 0; + border: 0; + font-weight: inherit; + font-style: inherit; + font-family: inherit; + font-size: 100%; + vertical-align: baseline; + } + + /* end a, abbr, acronym, address, applet, big, blockquote, body, caption, cite, code, dd, del, dfn, div, dl, dt, em, fieldset, form, h1, h2, h3, h4, h5, h6, html, iframe, img, ins, kbd, label, legend, li, object, ol, p, pre, q, s, samp, small, span, strike, strong, table, tbody, td, tfoot, th, thead, tr, tt, ul, var */ +} + +/* end body div#app-mount.appMount-3lHmkl */ + +.avatarSpeaking-2pCGrZ { + /* fix speaking indicator */ + -webkit-box-shadow: inset 0 0 0 2px var(--foreground), + inset 0 0 0 3px var(--background-secondary); + box-shadow: inset 0 0 0 2px var(--foreground), inset 0 0 0 3px; +} \ No newline at end of file diff --git a/discord/.config/BetterDiscord/themes/pywal-discord-default.theme.css b/discord/.config/BetterDiscord/themes/pywal-discord-default.theme.css new file mode 100644 index 0000000..8d22076 --- /dev/null +++ b/discord/.config/BetterDiscord/themes/pywal-discord-default.theme.css @@ -0,0 +1,669 @@ +/** + * @name Pywal-Discord-default + * @author contributors to https://github.com/FilipLitwora/pywal-discord + * @version 0.0.2 + * @description change discord theme accordingly to pywal + * @source https://github.com/FilipLitwora/pywal-discord + * @website https://github.com/FilipLitwora/pywal-discord +*/ +/* CSS variables + Generated by 'wal' */ +:root { + --wallpaper: url("/home/mike/.config/nitrogen/pexels-skyler-ewing-5228890.jpg"); + + /* Special */ + --background: #080102; + --foreground: #c1bfbf; + --cursor: #c1bfbf; + + /* Colors */ + --color0: #080102; + --color1: #3e335c; + --color2: #732324; + --color3: #6f273b; + --color4: #442e64; + --color5: #3b4374; + --color6: #6d439f; + --color7: #838080; + --color8: #454041; + --color9: #53447B; + --color10: #9A2F31; + --color11: #94344F; + --color12: #5B3E86; + --color13: #4F5A9B; + --color14: #925AD4; + --color15: #c1bfbf; +} +/** colors will come from .cache/wal/colors.css as variables defined in :root + * see: cat $HOME/.cache/wal/colors.css +*/ + +/* firends page */ +.peopleList-2VBrVI, .inner-2pOSmK { + background: var(--darkbg); +} + +.peopleColumn-1wMU14{ + background: var(--color0); +} + +element { + font-size: 100%; +} + +/* end element */ +:root { + /* Yeah, I know lightbg is actually darker than darkbg but whatever + * change & pull it if you wish */ + --lightbg: linear-gradient(rgba(255, 255, 255, 0.06), + rgba(255, 255, 255, 0.06)), + var(--background); + --darkbg: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)), + var(--background); + --bdfdb-blurple: var(--color1); +} + +html.newBrand { + --brand-experiment-100: var(--text); + --brand-experiment-130: var(--text); + --brand-experiment-160: var(--text); + --brand-experiment-200: var(--text); + --brand-experiment-230: var(--text); + --brand-experiment-260: var(--text); + --brand-experiment: var(--color1); + --brand-experiment-300: var(--color1); + --brand-experiment-330: var(--color1); + --brand-experiment-360: var(--color1); + --brand-experiment-400: var(--color1); + --brand-experiment-430: var(--color1); + --brand-experiment-460: var(--color1); + --brand-experiment: var(--color1); + --brand-experiment-500: var(--color1); + --brand-experiment-530: var(--color1); + --brand-experiment-560: var(--color1); + --brand-experiment-600: var(--color1); + --brand-experiment-630: var(--color1); + --brand-experiment-660: var(--color8); + --brand-experiment-700: var(--color8); + --brand-experiment-730: var(--color8); + --brand-experiment-760: var(--color8); + --brand-experiment-800: var(--background); + --brand-experiment-830: var(--background); + --brand-experiment-860: var(--background); + --brand-experiment-900: var(--background); +} + +.theme-dark { + --brand-experiment: var(--color1); + --text-positive var(--color2); + --header-primary: var(--foreground); + --header-secondary: var(--color7); + --text-normal: var(--color7); + --text-muted: var(--color7); + --text-link: var(--color12); + --channels-default: var(--foreground); + --interactive-normal: var(--foreground); + --interactive-hover: var(--foreground); + --interactive-active: var(--foreground); + --interactive-muted: var(--color7); + --background-primary: var(--background); + --background-secondary: var(--lightbg); + --background-secondary-alt: var(--darkbg); + --background-tertiary: var(--background); + --background-accent: var(--background); + --background-floating: var(--background); + --background-mobile-primary: var(--background); + --background-mobile-secondary: var(--color8); + --background-modifier-hover: rgba(79, 84, 92, 0.16); + --background-modifier-active: rgba(79, 84, 92, 0.24); + --background-modifier-selected: rgba(79, 84, 92, 0.32); + --background-modifier-accent: hsla(0, 0%, 100%, 0.06); + --background-mentioned: rgba(250, 166, 26, 0.05); + --background-mentioned-hover: rgba(250, 166, 26, 0.08); + --background-message-hover: rgba(4, 4, 5, 0.07); + --elevation-stroke: 0 0 0 1px rgba(4, 4, 5, 0.15); + --elevation-low: 0 1px 0 rgba(4, 4, 5, 0.2), 0 1.5px 0 rgba(6, 6, 7, 0.05), + 0 2px 0 rgba(4, 4, 5, 0.05); + --elevation-medium: 0 4px 4px rgba(0, 0, 0, 0.16); + --elevation-high: 0 8px 16px rgba(0, 0, 0, 0.24); + --logo-primary: #fff; + --guild-header-text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4); + --channeltextarea-background: var(--color8); + --activity-card-background: var(--background); + --textbox-markdown-syntax: var(--foreground); + --deprecated-card-bg: rgba(32, 34, 37, 0.6); + --deprecated-card-editable-bg: rgba(32, 34, 37, 0.3); + --deprecated-store-bg: #36393f; + --deprecated-quickswitcher-input-background: var(--color8); + --deprecated-quickswitcher-input-placeholder: var(--color7); + --deprecated-text-input-bg: rgba(0, 0, 0, 0.1); + --deprecated-text-input-border: rgba(0, 0, 0, 0.3); + --deprecated-text-input-border-hover: #040405; + --deprecated-text-input-border-disabled: #202225; + --deprecated-text-input-prefix: #dcddde; + --scrollbar-thin-thumb: var(--color1); + --scrollbar-auto-thumb: var(--color1); + --scrollbar-auto-track: rgba(255, 255, 255, 0.06); + --scrollbar-thin-track: rgba(255, 255, 255, 0.06); + --text-positive: var(--color2); + --text-warning: var(--color4); + --text-danger: var(--color1); + --info-positive-background: rgba(59, 165, 92, 0.1); + --info-positive-foreground: var(--color2); + --info-warning-background: rgba(250, 166, 26, 0.1); + --info-warning-foreground: var(--color4); + --info-danger-background: rgba(237, 66, 69, 0.1); + --info-danger-foreground: var(--color1); + --status-positive-background: var(--color2); + --status-positive-text: var(--text); + --status-warning-background: var(--color4); + --status-danger-background: var(--color1); +} + +/* end .theme-dark */ + +.theme-light { + --brand-experiment: var(--color1); + --text-positive var(--color2); + --header-primary: var(--color8); + --header-secondary: var(--background); + --text-normal: var(--background); + --text-muted: var(--color8); + --text-link: var(--color12); + --channels-default: var(--background); + --interactive-hover: var(--color8); + --interactive-active: var(--color8); + --interactive-muted: var(--color8); + --background-primary: var(--color7); + --background-secondary: var(--foreground); + --background-secondary-alt: var(--foreground); + --background-tertiary: var(--color7); + --background-accent: var(--color7); + --background-floating: var(--color7); + --background-mobile-primary: var(--color7); + --background-mobile-secondary: var(--foreground); + --background-modifier-hover: rgba(79, 84, 92, 0.16); + --background-modifier-active: rgba(79, 84, 92, 0.24); + --background-modifier-selected: rgba(79, 84, 92, 0.32); + --background-modifier-accent: hsla(0, 0%, 100%, 0.06); + --background-mentioned: rgba(250, 166, 26, 0.05); + --background-mentioned-hover: rgba(250, 166, 26, 0.08); + --background-message-hover: rgba(4, 4, 5, 0.07); + --elevation-stroke: 0 0 0 1px rgba(4, 4, 5, 0.15); + --elevation-low: 0 1px 0 rgba(4, 4, 5, 0.2), 0 1.5px 0 rgba(6, 6, 7, 0.05), + 0 2px 0 rgba(4, 4, 5, 0.05); + --elevation-medium: 0 4px 4px rgba(0, 0, 0, 0.16); + --elevation-high: 0 8px 16px rgba(0, 0, 0, 0.24); + --logo-primary: #fff; + --guild-header-text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4); + --channeltextarea-background: var(--foreground); + --activity-card-background: var(--background); + --textbox-markdown-syntax: var(--color8); + --deprecated-card-bg: rgba(32, 34, 37, 0.6); + --deprecated-card-editable-bg: rgba(32, 34, 37, 0.3); + --deprecated-store-bg: #36393f; + --deprecated-quickswitcher-input-background: var(--foreground); + --deprecated-quickswitcher-input-placeholder: var(--color8); + --deprecated-text-input-bg: rgba(0, 0, 0, 0.1); + --deprecated-text-input-border: rgba(0, 0, 0, 0.3); + --deprecated-text-input-border-hover: #040405; + --deprecated-text-input-border-disabled: #202225; + --deprecated-text-input-prefix: #dcddde; + --scrollbar-thin-thumb: var(--color1); + --scrollbar-auto-thumb: var(--color1); + --scrollbar-auto-track: rgba(0, 0, 0, 0.1); + --scrollbar-thin-track: rgba(0, 0, 0, 0.1); + --text-positive: var(--color2); + --text-warning: var(--color4); + --text-danger: var(--color1); + --info-positive-background: rgba(59, 165, 92, 0.1); + --info-positive-foreground: var(--color2); + --info-warning-background: rgba(250, 166, 26, 0.1); + --info-warning-foreground: var(--color4); + --info-danger-background: rgba(237, 66, 69, 0.1); + --info-danger-foreground: var(--color1); + --status-positive-background: var(--color2); + --status-positive-text: var(--text); + --status-warning-background: var(--color4); + --status-danger-background: var(--color1); +} + +/* end .theme-light */ + +/* Emoji picker body background */ +.emojiPickerInExpressionPicker-3IzIcv .emojiPicker-3PwZFl { + background-color: var(--background); +} + +/* Emoji picker header background */ +.contentWrapper-SvZHNd { + background-color: var(--background); +} + +/* Friends tab background */ +.theme-dark .container-1D34oG { + background-color: var(--background); +} + +/* User popout body */ +.theme-dark .body-3iLsc4, +.theme-dark .footer-1fjuF6 { + background-color: var(--background); + opacity: 1 !important; +} + +/* User popout header */ +.theme-dark .headerNormal-T_seeN { + background-color: var(--background); +} + +/* Bottom part of user popout */ +.body-3ND3kc { + opacity: 1.0 !important; + background-color: var(--color0) !important; +} + +/* User popout header when playing a game */ +.headerPlaying-j0WQBV, +.headerFill-adLl4x, +.activityProfile-2bJRaP, +.activity-1ythUs, +.header-QKLPzZ { + background: var(--color1); +} + +/* Start rebranding gross yuck */ +.lookFilled-1Gx00P.colorBrand-3pXr91 { + color: var(--text); + background-color: var(--color1); +} + +.lookFilled-1Gx00P.colorGreen-29iAKY { + color: var(--text); + background-color: var(--color2); +} + +.lookFilled-1Gx00P.colorRed-1TFJan { + color: var(--text); + background-color: var(--color3); +} + +.lookFilled-1Gx00P.colorBrand-3pXr91:disabled { + background-color: var(--color1); +} + +.botTagRegular-2HEhHi { + background: var(--color1); + color: var(--text); +} + +.theme-dark .wrapper-3WhCwL { + background: var(--darkbg); + color: var(--text); +} + +.reaction-1hd86g.reactionMe-wv5HKu { + background-color: var(--background); + border-color: var(--color4); +} + +.newMessagesBar-265mhP { + top: 0; + border-radius: 0 0 8px 8px; + background-color: var(--color2); + -webkit-box-shadow: var(--elevation-low); + box-shadow: var(--elevation-low); +} + +.rtcConnectionStatusConnected-VRZDjy, +.rtcConnectionQualityFine-2J6i8z, +.pingForeground-2uAOZ3 { + color: var(--color2); +} + +.lookFilled-1Gx00P.colorYellow-2JqYwt { + color: var(--text); + background-color: var(--color4); +} + +/* End rebranding gross yuck */ + + +/* Tab underneath users in the Active Now tab on the friends page */ +.theme-dark .inset-3sAvek { + background-color: rgba(255, 255, 255, 0.06); +} + +/* Edit buttons in the settings page */ +.lookFilled-1Gx00P.colorGrey-2DXtkV { + color: #fff; + background-color: var(--color1); +} + + +.scroller-2FKFPG.sidebarRegionScroller-3MXcoP { + /* Settings */ + background: var(--darkbg); +} + +/* end of settings */ + +html body { + + .appMount-3lHmkl, + body, + html { + height: 100%; + width: 100%; + } + + /* end .appMount-3lHmkl, body, html */ + + a, + abbr, + acronym, + address, + applet, + big, + blockquote, + body, + caption, + cite, + code, + dd, + del, + dfn, + div, + dl, + dt, + em, + fieldset, + form, + h1, + h2, + h3, + h4, + h5, + h6, + html, + iframe, + img, + ins, + kbd, + label, + legend, + li, + object, + ol, + p, + pre, + q, + s, + samp, + small, + span, + strike, + strong, + table, + tbody, + td, + tfoot, + th, + thead, + tr, + tt, + ul, + var { + margin: 0; + padding: 0; + border: 0; + font-weight: inherit; + font-style: inherit; + font-family: inherit; + font-size: 100%; + vertical-align: baseline; + } + + /* end a, abbr, acronym, address, applet, big, blockquote, body, caption, cite, code, dd, del, dfn, div, dl, dt, em, fieldset, form, h1, h2, h3, h4, h5, h6, html, iframe, img, ins, kbd, label, legend, li, object, ol, p, pre, q, s, samp, small, span, strike, strong, table, tbody, td, tfoot, th, thead, tr, tt, ul, var */ + + element {} + + /* end element */ + + ::placeholder, + body, + button, + input, + select, + textarea { + font-family: Fira Sans, Whitney, Helvetica Neue, Helvetica, Arial, + sans-serif; + text-rendering: optimizeLegibility; + } + + /* end ::placeholder, body, button, input, select, textarea */ + + ::placeholder, + body, + button, + input, + select, + textarea { + font-family: Fira Sans, Whitney, Helvetica Neue, Helvetica, Arial, + sans-serif; + text-rendering: optimizeLegibility; + } + + /* end ::placeholder, body, button, input, select, textarea */ + + ::-webkit-input-placeholder, + body, + button, + input, + select, + textarea { + font-family: Fira Sans, Whitney, Helvetica Neue, Helvetica, Arial, + sans-serif; + text-rendering: optimizeLegibility; + } + + /* end ::-webkit-input-placeholder, body, button, input, select, textarea */ +} + +/* end body */ + +html body div#app-mount.appMount-3lHmkl { + element {} + + /* end element */ + + .appMount-3lHmkl, + body { + background-color: var(--background-tertiary); + text-rendering: optimizeLegibility; + } + + /* end .appMount-3lHmkl, body */ + + .appMount-3lHmkl, + body, + html { + height: 100%; + width: 100%; + } + + /* end .appMount-3lHmkl, body, html */ + + body { + line-height: 1; + margin: 0; + padding: 0; + font-family: Fira Sans, Whitney, Helvetica Neue, Helvetica, Arial, + sans-serif; + overflow: hidden; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + background: transparent; + background-color: transparent; + } + + /* end body */ + + a, + abbr, + acronym, + address, + applet, + big, + blockquote, + body, + caption, + cite, + code, + dd, + del, + dfn, + div, + dl, + dt, + em, + fieldset, + form, + h1, + h2, + h3, + h4, + h5, + h6, + html, + iframe, + img, + ins, + kbd, + label, + legend, + li, + object, + ol, + p, + pre, + q, + s, + samp, + small, + span, + strike, + strong, + table, + tbody, + td, + tfoot, + th, + thead, + tr, + tt, + ul, + var { + margin: 0; + padding: 0; + border: 0; + font-weight: inherit; + font-style: inherit; + font-family: inherit; + font-size: 100%; + vertical-align: baseline; + } + + /* end a, abbr, acronym, address, applet, big, blockquote, body, caption, cite, code, dd, del, dfn, div, dl, dt, em, fieldset, form, h1, h2, h3, h4, h5, h6, html, iframe, img, ins, kbd, label, legend, li, object, ol, p, pre, q, s, samp, small, span, strike, strong, table, tbody, td, tfoot, th, thead, tr, tt, ul, var */ + + a, + button, + div, + input, + select, + span, + strong, + textarea { + outline: 0; + } + + /* end a, button, div, input, select, span, strong, textarea */ + + a, + abbr, + acronym, + address, + applet, + big, + blockquote, + body, + caption, + cite, + code, + dd, + del, + dfn, + div, + dl, + dt, + em, + fieldset, + form, + h1, + h2, + h3, + h4, + h5, + h6, + html, + iframe, + img, + ins, + kbd, + label, + legend, + li, + object, + ol, + p, + pre, + q, + s, + samp, + small, + span, + strike, + strong, + table, + tbody, + td, + tfoot, + th, + thead, + tr, + tt, + ul, + var { + margin: 0; + padding: 0; + border: 0; + font-weight: inherit; + font-style: inherit; + font-family: inherit; + font-size: 100%; + vertical-align: baseline; + } + + /* end a, abbr, acronym, address, applet, big, blockquote, body, caption, cite, code, dd, del, dfn, div, dl, dt, em, fieldset, form, h1, h2, h3, h4, h5, h6, html, iframe, img, ins, kbd, label, legend, li, object, ol, p, pre, q, s, samp, small, span, strike, strong, table, tbody, td, tfoot, th, thead, tr, tt, ul, var */ +} + +/* end body div#app-mount.appMount-3lHmkl */ + +.avatarSpeaking-2pCGrZ { + /* fix speaking indicator */ + -webkit-box-shadow: inset 0 0 0 2px var(--foreground), + inset 0 0 0 3px var(--background-secondary); + box-shadow: inset 0 0 0 2px var(--foreground), inset 0 0 0 3px; +} diff --git a/firefox/.config/firefox/userChrome.css b/firefox/.config/firefox/userChrome.css new file mode 100644 index 0000000..9e1937e --- /dev/null +++ b/firefox/.config/firefox/userChrome.css @@ -0,0 +1,24 @@ +/* change these variables to get different colors */ +@import url('file:///home/mike/.cache/wal/colors.css'); + +* { + font-family: 'CartographCF Nerd Font'; +} + +#tabbrowser-tabs { + --tab-active-color: var(--color2); + --tab-inactive-color: var(--color0); + --tab-fallback-color-active: var(--color15); + --tab-fallback-color-inactive: var(--color15); +} + +/* Tab: selected colors */ +#tabbrowser-tabs .tabbrowser-tab[selected] .tab-background { + background: var(--tab-active-color) !important; + color: var(--identity-icon-color, --tab-fallback-color-active) !important; +} + +/* Tab: hide favicons */ +.tab-icon-stack:not([pinned]) { + display: none !important; +} diff --git a/kitty/.config/kitty/kitty.conf b/kitty/.config/kitty/kitty.conf new file mode 100644 index 0000000..a7c3221 --- /dev/null +++ b/kitty/.config/kitty/kitty.conf @@ -0,0 +1,14 @@ +include ${HOME}/.cache/wal/kitty.conf + +font_family CartographCF Nerd Font +bold_font auto +italic_font auto +bold_italic_font auto + +window_padding_width 16 + +shell zsh + +confirm_os_window_close 0 + +detect_urls yes \ No newline at end of file diff --git a/nitrogen/.config/nitrogen/myprimarycolours.txt b/nitrogen/.config/nitrogen/myprimarycolours.txt new file mode 100644 index 0000000..6ce6d36 --- /dev/null +++ b/nitrogen/.config/nitrogen/myprimarycolours.txt @@ -0,0 +1,4 @@ +'/home/mike/.dots/nitrogen/.config/nitrogen/pexels-skyler-ewing-5228890.jpg\'#A5BFC3#C0C8C6#A7B5B4#9D7055#322C2B +'/home/mike/.dots/nitrogen/.config/nitrogen/cat-waves.png\'#1E1E2E#242436#43455E#707DA0#B6BEF2 +'/home/mike/.dots/nitrogen/.config/nitrogen/pexels-engin-akyurt-1435752.jpg\'#017898#0486A2#2FB7D6#028CAC#9FDCE9 +'/home/mike/.dots/nitrogen/.config/nitrogen/z3in53x1r1d81.png\'#615D71#CCA2B4#302D41#1A1927 diff --git a/nitrogen/.config/nitrogen/nitrogen.cfg b/nitrogen/.config/nitrogen/nitrogen.cfg index 1c8dec4..282f693 100644 --- a/nitrogen/.config/nitrogen/nitrogen.cfg +++ b/nitrogen/.config/nitrogen/nitrogen.cfg @@ -1,5 +1,5 @@ [geometry] -posx=1950 +posx=4510 posy=52 sizex=2500 sizey=1378 diff --git a/rofi/.config/rofi/config.rasi b/rofi/.config/rofi/config.rasi index 57166cd..1b56feb 100644 --- a/rofi/.config/rofi/config.rasi +++ b/rofi/.config/rofi/config.rasi @@ -1,18 +1,185 @@ -configuration{ - modi: "run,drun,window"; - icon-theme: "Oranchelo"; - show-icons: true; - terminal: "alacritty"; - drun-display-format: "{icon} {name}"; - location: 0; - disable-history: false; - hide-scrollbar: true; - display-drun: "  Apps "; - display-run: "  Run "; - display-window: " 﩯 Window"; - display-Network: " 󰤨 Network"; - display-calc: " Calc"; - sidebar-mode: true; +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Configuration For Rofi Version: 1.7.3 + **/ + +@import "~/.cache/wal/colors-rofi-dark" + +configuration { + /*---------- General setting ----------*/ + modi: "drun,run,filebrowser,window"; + case-sensitive: false; + cycle: true; + filter: ""; + scroll-method: 0; + normalize-match: true; + show-icons: true; + icon-theme: "Papirus"; +/* cache-dir: ;*/ + steal-focus: false; +/* dpi: -1;*/ + + /*---------- Matching setting ----------*/ + matching: "normal"; + tokenize: true; + + /*---------- SSH settings ----------*/ + ssh-client: "ssh"; + ssh-command: "{terminal} -e {ssh-client} {host} [-p {port}]"; + parse-hosts: true; + parse-known-hosts: true; + + /*---------- Drun settings ----------*/ + drun-categories: ""; + drun-match-fields: "name,generic,exec,categories,keywords"; + drun-display-format: "{name} [({generic})]"; + drun-show-actions: false; + drun-url-launcher: "xdg-open"; + drun-use-desktop-cache: false; + drun-reload-desktop-cache: false; + drun { + /** Parse user desktop files. */ + parse-user: true; + /** Parse system desktop files. */ + parse-system: true; + } + + /*---------- Run settings ----------*/ + run-command: "{cmd}"; + run-list-command: ""; + run-shell-command: "{terminal} -e {cmd}"; + + /*---------- Fallback Icon ----------*/ + run,drun { + fallback-icon: "application-x-addon"; + } + + /*---------- Window switcher settings ----------*/ + window-match-fields: "title,class,role,name,desktop"; + window-command: "wmctrl -i -R {window}"; + window-format: "{w} - {c} - {t:0}"; + window-thumbnail: false; + + /*---------- Combi settings ----------*/ +/* combi-modi: "window,run";*/ +/* combi-hide-mode-prefix: false;*/ +/* combi-display-format: "{mode} {text}";*/ + + /*---------- History and Sorting ----------*/ + disable-history: false; + sorting-method: "normal"; + max-history-size: 25; + + /*---------- Display setting ----------*/ + display-window: "Windows"; + display-windowcd: "Window CD"; + display-run: "Run"; + display-ssh: "SSH"; + display-drun: "Apps"; + display-combi: "Combi"; + display-keys: "Keys"; + display-filebrowser: "Files"; + + /*---------- Misc setting ----------*/ + terminal: "rofi-sensible-terminal"; + font: "Mono 12"; + sort: false; + threads: 0; + click-to-exit: true; +/* ignored-prefixes: "";*/ +/* pid: "/run/user/1000/rofi.pid";*/ + + /*---------- File browser settings ----------*/ + filebrowser { +/* directory: "/home";*/ + directories-first: true; + sorting-method: "name"; + } + + /*---------- Other settings ----------*/ + timeout { + action: "kb-cancel"; + delay: 0; + } + + /*---------- Keybindings ----------*/ +/* + kb-primary-paste: "Control+V,Shift+Insert"; + kb-secondary-paste: "Control+v,Insert"; + kb-clear-line: "Control+w"; + kb-move-front: "Control+a"; + kb-move-end: "Control+e"; + kb-move-word-back: "Alt+b,Control+Left"; + kb-move-word-forward: "Alt+f,Control+Right"; + kb-move-char-back: "Left,Control+b"; + kb-move-char-forward: "Right,Control+f"; + kb-remove-word-back: "Control+Alt+h,Control+BackSpace"; + kb-remove-word-forward: "Control+Alt+d"; + kb-remove-char-forward: "Delete,Control+d"; + kb-remove-char-back: "BackSpace,Shift+BackSpace,Control+h"; + kb-remove-to-eol: "Control+k"; + kb-remove-to-sol: "Control+u"; + kb-accept-entry: "Control+j,Control+m,Return,KP_Enter"; + kb-accept-custom: "Control+Return"; + kb-accept-custom-alt: "Control+Shift+Return"; + kb-accept-alt: "Shift+Return"; + kb-delete-entry: "Shift+Delete"; + kb-mode-next: "Shift+Right,Control+Tab"; + kb-mode-previous: "Shift+Left,Control+ISO_Left_Tab"; + kb-mode-complete: "Control+l"; + kb-row-left: "Control+Page_Up"; + kb-row-right: "Control+Page_Down"; + kb-row-down: "Down,Control+n"; + kb-page-prev: "Page_Up"; + kb-page-next: "Page_Down"; + kb-row-first: "Home,KP_Home"; + kb-row-last: "End,KP_End"; + kb-row-select: "Control+space"; + kb-screenshot: "Alt+S"; + kb-ellipsize: "Alt+period"; + kb-toggle-case-sensitivity: "grave,dead_grave"; + kb-toggle-sort: "Alt+grave"; + kb-cancel: "Escape,Control+g,Control+bracketleft"; + kb-custom-1: "Alt+1"; + kb-custom-2: "Alt+2"; + kb-custom-3: "Alt+3"; + kb-custom-4: "Alt+4"; + kb-custom-5: "Alt+5"; + kb-custom-6: "Alt+6"; + kb-custom-7: "Alt+7"; + kb-custom-8: "Alt+8"; + kb-custom-9: "Alt+9"; + kb-custom-10: "Alt+0"; + kb-custom-11: "Alt+exclam"; + kb-custom-12: "Alt+at"; + kb-custom-13: "Alt+numbersign"; + kb-custom-14: "Alt+dollar"; + kb-custom-15: "Alt+percent"; + kb-custom-16: "Alt+dead_circumflex"; + kb-custom-17: "Alt+ampersand"; + kb-custom-18: "Alt+asterisk"; + kb-custom-19: "Alt+parenleft"; + kb-select-1: "Super+1"; + kb-select-2: "Super+2"; + kb-select-3: "Super+3"; + kb-select-4: "Super+4"; + kb-select-5: "Super+5"; + kb-select-6: "Super+6"; + kb-select-7: "Super+7"; + kb-select-8: "Super+8"; + kb-select-9: "Super+9"; + kb-select-10: "Super+0"; + ml-row-left: "ScrollLeft"; + ml-row-right: "ScrollRight"; + ml-row-up: "ScrollUp"; + ml-row-down: "ScrollDown"; + me-select-entry: "MousePrimary"; + me-accept-entry: "MouseDPrimary"; + me-accept-custom: "Control+MouseDPrimary"; +*/ } -@theme "catppuccin-macchiato" +@theme "catppuccin-macchiato" \ No newline at end of file diff --git a/rofi/.config/rofi/config.rasi.in b/rofi/.config/rofi/config.rasi.in deleted file mode 100644 index e052ccb..0000000 --- a/rofi/.config/rofi/config.rasi.in +++ /dev/null @@ -1,18 +0,0 @@ -configuration{ - modi: "run,drun,window"; - icon-theme: "Oranchelo"; - show-icons: true; - terminal: "alacritty"; - drun-display-format: "{icon} {name}"; - location: 0; - disable-history: false; - hide-scrollbar: true; - display-drun: "  Apps "; - display-run: "  Run "; - display-window: " 﩯 Window"; - display-Network: " 󰤨 Network"; - display-calc: " Calc"; - sidebar-mode: true; -} - -@theme "catppuccin-%s%" diff --git a/rofi/.config/rofi/launchers/type-1/launcher.sh b/rofi/.config/rofi/launchers/type-1/launcher.sh new file mode 100755 index 0000000..a6b7b9b --- /dev/null +++ b/rofi/.config/rofi/launchers/type-1/launcher.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya (adi1090x) +## Github : @adi1090x +# +## Rofi : Launcher (Modi Drun, Run, File Browser, Window) +# + +dir="$HOME/.config/rofi/launchers/type-1" +theme='style-1' + +## Run +rofi \ + -show drun \ + -theme ${dir}/${theme}.rasi diff --git a/rofi/.config/rofi/launchers/type-1/shared/colors.rasi b/rofi/.config/rofi/launchers/type-1/shared/colors.rasi new file mode 100644 index 0000000..9edf4e8 --- /dev/null +++ b/rofi/.config/rofi/launchers/type-1/shared/colors.rasi @@ -0,0 +1,8 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + **/ + +@import "~/.cache/wal/colors-rofi.rasi" diff --git a/rofi/.config/rofi/launchers/type-1/shared/fonts.rasi b/rofi/.config/rofi/launchers/type-1/shared/fonts.rasi new file mode 100644 index 0000000..d2290c5 --- /dev/null +++ b/rofi/.config/rofi/launchers/type-1/shared/fonts.rasi @@ -0,0 +1,10 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + **/ + +* { + font: "CartographCF Nerd Font 10"; +} diff --git a/rofi/.config/rofi/launchers/type-1/style-1.rasi b/rofi/.config/rofi/launchers/type-1/style-1.rasi new file mode 100644 index 0000000..60639e4 --- /dev/null +++ b/rofi/.config/rofi/launchers/type-1/style-1.rasi @@ -0,0 +1,307 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run,filebrowser"; + show-icons: false; + display-drun: " Apps"; + display-run: " Run"; + display-filebrowser: " Files"; + display-window: " Windows"; + drun-display-format: "{name} [({generic})]"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +* { + border-colour: var(selected); + handle-colour: var(selected); + background-colour: var(background); + foreground-colour: var(foreground); + alternate-background: var(background-alt); + normal-background: var(background); + normal-foreground: var(foreground); + urgent-background: var(urgent); + urgent-foreground: var(background); + active-background: var(active); + active-foreground: var(background); + selected-normal-background: var(selected); + selected-normal-foreground: var(background); + selected-urgent-background: var(active); + selected-urgent-foreground: var(background); + selected-active-background: var(urgent); + selected-active-foreground: var(background); + alternate-normal-background: var(background); + alternate-normal-foreground: var(foreground); + alternate-urgent-background: var(urgent); + alternate-urgent-foreground: var(background); + alternate-active-background: var(active); + alternate-active-foreground: var(background); +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 800px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 20px; + border-color: @border-colour; + cursor: "default"; + /* Backgroud Colors */ + background-color: @background-colour; + /* Backgroud Image */ + //background-image: url("/path/to/image.png", none); + /* Simple Linear Gradient */ + //background-image: linear-gradient(red, orange, pink, purple); + /* Directional Linear Gradient */ + //background-image: linear-gradient(to bottom, pink, yellow, magenta); + /* Angle Linear Gradient */ + //background-image: linear-gradient(45, cyan, purple, indigo); +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 40px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + children: [ "inputbar", "message", "listview", "mode-switcher" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + children: [ "prompt", "textbox-prompt-colon", "entry" ]; +} + +prompt { + enabled: true; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; +} +num-filtered-rows { + enabled: true; + expand: false; + background-color: inherit; + text-color: inherit; +} +textbox-num-sep { + enabled: true; + expand: false; + str: "/"; + background-color: inherit; + text-color: inherit; +} +num-rows { + enabled: true; + expand: false; + background-color: inherit; + text-color: inherit; +} +case-indicator { + enabled: true; + background-color: inherit; + text-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 2; + lines: 10; + cycle: true; + dynamic: true; + scrollbar: true; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 5px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: "default"; +} +scrollbar { + handle-width: 10px ; + handle-color: @handle-colour; + border-radius: 10px; + background-color: @alternate-background; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 5px 10px; + border: 0px solid; + border-radius: 20px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: pointer; +} +element normal.normal { + background-color: var(normal-background); + text-color: var(normal-foreground); +} +element normal.urgent { + background-color: var(urgent-background); + text-color: var(urgent-foreground); +} +element normal.active { + background-color: var(active-background); + text-color: var(active-foreground); +} +element selected.normal { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} +element selected.urgent { + background-color: var(selected-urgent-background); + text-color: var(selected-urgent-foreground); +} +element selected.active { + background-color: var(selected-active-background); + text-color: var(selected-active-foreground); +} +element alternate.normal { + background-color: var(alternate-normal-background); + text-color: var(alternate-normal-foreground); +} +element alternate.urgent { + background-color: var(alternate-urgent-background); + text-color: var(alternate-urgent-foreground); +} +element alternate.active { + background-color: var(alternate-active-background); + text-color: var(alternate-active-foreground); +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 24px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +button { + padding: 5px 10px; + border: 0px solid; + border-radius: 20px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +textbox { + padding: 5px 10px; + border: 0px solid; + border-radius: 20px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; + placeholder-color: @foreground-colour; + blink: true; + markup: true; +} +error-message { + padding: 10px; + border: 2px solid; + border-radius: 20px; + border-color: @border-colour; + background-color: @background-colour; + text-color: @foreground-colour; +} \ No newline at end of file diff --git a/rofi/.config/rofi/powermenu/type-1/powermenu.sh b/rofi/.config/rofi/powermenu/type-1/powermenu.sh new file mode 100755 index 0000000..d60af98 --- /dev/null +++ b/rofi/.config/rofi/powermenu/type-1/powermenu.sh @@ -0,0 +1,95 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya (adi1090x) +## Github : @adi1090x +# +## Rofi : Power Menu + +# Current Theme +dir="$HOME/.config/rofi/powermenu/type-1" +theme='style-1' + +# CMDs +uptime="`uptime -p | sed -e 's/up //g'`" +host=`hostname` + +# Options +shutdown='󰐥 Shutdown' +reboot=' Reboot' +lock=' Lock' +suspend='󰏦 Suspend' +logout='󰿅 Logout' +yes=' Yes' +no=' No' + +# Rofi CMD +rofi_cmd() { + rofi -dmenu \ + -p "Uptime: $uptime" \ + -theme ${dir}/${theme}.rasi +} + +# Confirmation CMD +confirm_cmd() { + rofi -theme-str 'window {location: center; anchor: center; fullscreen: false; width: 250px;}' \ + -theme-str 'mainbox {children: [ "message", "listview" ];}' \ + -theme-str 'listview {columns: 2; lines: 1;}' \ + -theme-str 'element-text {horizontal-align: 0.5;}' \ + -theme-str 'textbox {horizontal-align: 0.5;}' \ + -dmenu \ + -p 'Confirmation' \ + -mesg 'Are you Sure?' \ + -theme ${dir}/${theme}.rasi +} + +# Ask for confirmation +confirm_exit() { + echo -e "$yes\n$no" | confirm_cmd +} + +# Pass variables to rofi dmenu +run_rofi() { + echo -e "$lock\n$suspend\n$logout\n$reboot\n$shutdown" | rofi_cmd +} + +# Execute Command +run_cmd() { + selected="$(confirm_exit)" + if [[ "$selected" == "$yes" ]]; then + if [[ $1 == '--shutdown' ]]; then + systemctl poweroff + elif [[ $1 == '--reboot' ]]; then + systemctl reboot + elif [[ $1 == '--lock' ]]; then + $HOME/.config/hypr/scripts/lock + elif [[ $1 == '--suspend' ]]; then + mpc -q pause + amixer set Master mute + systemctl suspend + elif [[ $1 == '--logout' ]]; then + hyprctl dispatch exit + fi + else + exit 0 + fi +} + +# Actions +chosen="$(run_rofi)" +case ${chosen} in + $shutdown) + run_cmd --shutdown + ;; + $reboot) + run_cmd --reboot + ;; + $lock) + $HOME/.config/hypr/scripts/lock + ;; + $suspend) + run_cmd --suspend + ;; + $logout) + run_cmd --logout + ;; +esac diff --git a/rofi/.config/rofi/powermenu/type-1/shared/colors.rasi b/rofi/.config/rofi/powermenu/type-1/shared/colors.rasi new file mode 100644 index 0000000..ab41845 --- /dev/null +++ b/rofi/.config/rofi/powermenu/type-1/shared/colors.rasi @@ -0,0 +1,10 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + **/ + +/* Import color-scheme from `colors` directory */ + +@import "~/.cache/wal/colors-rofi.rasi" diff --git a/rofi/.config/rofi/powermenu/type-1/shared/fonts.rasi b/rofi/.config/rofi/powermenu/type-1/shared/fonts.rasi new file mode 100644 index 0000000..95d2d4a --- /dev/null +++ b/rofi/.config/rofi/powermenu/type-1/shared/fonts.rasi @@ -0,0 +1,10 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + **/ + +* { + font: "CartographCF Nerd Font 10"; +} diff --git a/rofi/.config/rofi/powermenu/type-1/style-1.rasi b/rofi/.config/rofi/powermenu/type-1/style-1.rasi new file mode 100644 index 0000000..47406f3 --- /dev/null +++ b/rofi/.config/rofi/powermenu/type-1/style-1.rasi @@ -0,0 +1,166 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 400px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 12px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 20px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "message", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + children: [ "textbox-prompt-colon", "prompt"]; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 10px 14px; + border-radius: 10px; + background-color: @urgent; + text-color: @background; +} +prompt { + enabled: true; + margin: 0px; + padding: 10px; + border: 0px solid; + border-radius: 10px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 10px; + border: 0px solid; + border-radius: 10px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; + placeholder-color: @foreground; + blink: true; + markup: true; +} +error-message { + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 5; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 5px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 10px; + border: 0px solid; + border-radius: 10px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element-text { + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} + +@import "~/.cache/wal/colors-rofi.rasi" diff --git a/rofi/.config/rofi/scripts/emoji b/rofi/.config/rofi/scripts/emoji new file mode 100755 index 0000000..60005b7 --- /dev/null +++ b/rofi/.config/rofi/scripts/emoji @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +dir="$HOME/.config/rofi/launchers/type-1" +theme='style-1' + +rofi -modi emoji -show emoji -theme ${dir}/${theme}.rasi \ No newline at end of file diff --git a/rofi/.config/rofi/scripts/launcher b/rofi/.config/rofi/scripts/launcher new file mode 120000 index 0000000..9a28f03 --- /dev/null +++ b/rofi/.config/rofi/scripts/launcher @@ -0,0 +1 @@ +../launchers/type-1/launcher.sh \ No newline at end of file diff --git a/rofi/.config/rofi/scripts/powermenu b/rofi/.config/rofi/scripts/powermenu new file mode 120000 index 0000000..9d864f6 --- /dev/null +++ b/rofi/.config/rofi/scripts/powermenu @@ -0,0 +1 @@ +../powermenu/type-1/powermenu.sh \ No newline at end of file diff --git a/rofi/.config/rofi/scripts/wallpaper b/rofi/.config/rofi/scripts/wallpaper new file mode 100755 index 0000000..c3c9f37 --- /dev/null +++ b/rofi/.config/rofi/scripts/wallpaper @@ -0,0 +1,33 @@ +#!/bin/bash + +export PATH="${PATH}:${HOME}/.local/bin/" + +dir="$HOME/.config/rofi/launchers/type-1" +theme='style-1' + +wallpapers=$HOME/Wallpapers +image="$(ls $wallpapers | rofi -dmenu -i -p " Select wallpaper: " -theme ${dir}/${theme}.rasi)" +wallpaper=$wallpapers/$image + +if [[ -d $wallpapers/$image ]]; then + echo "$wallpapers/$image is a directory" + wallpaper_temp="$image" + sleep2 + wallpaper_location="$(ls $wallpapers/$image | wofi -n --show dmenu -k "/dev/null")" +elif [[ -f $wallpapers/$image ]]; then + echo "$wallpapers/$image is a file" +else + echo "$wallpapers/$image is not valid" + exit 1 +fi + +swww img $wallpaper --transition-type grow --transition-fps 60 --transition-duration 1.0 --transition-bezier 0.65,0,0.35,1 --transition-step 255 + +wal -i $wallpaper --cols16 +pywalfox update +pywal-discord -t default +wal-telegram --wal + +. $HOME/.config/mako/update-colors.sh +. $HOME/.config/spicetify/Themes/Pywal/update-colors.sh +. $HOME/.config/cava/scripts/update-colors.sh \ No newline at end of file diff --git a/rofi/.config/rofi/scripts/websearch b/rofi/.config/rofi/scripts/websearch new file mode 100755 index 0000000..79727e5 --- /dev/null +++ b/rofi/.config/rofi/scripts/websearch @@ -0,0 +1,58 @@ +#!/bin/bash + +dir="$HOME/.config/rofi/launchers/type-1" +theme='style-1' + +declare -A URLS + +URLS=( + ["google"]="https://www.google.com/search?q=" + ["bing"]="https://www.bing.com/search?q=" + ["yahoo"]="https://search.yahoo.com/search?p=" + ["duckduckgo"]="https://www.duckduckgo.com/?q=" + ["yandex"]="https://yandex.ru/yandsearch?text=" + ["github"]="https://github.com/search?q=" + ["goodreads"]="https://www.goodreads.com/search?q=" + ["stackoverflow"]="http://stackoverflow.com/search?q=" + ["symbolhound"]="http://symbolhound.com/?q=" + ["searchcode"]="https://searchcode.com/?q=" + ["openhub"]="https://www.openhub.net/p?ref=homepage&query=" + ["superuser"]="http://superuser.com/search?q=" + ["askubuntu"]="http://askubuntu.com/search?q=" + ["imdb"]="http://www.imdb.com/find?ref_=nv_sr_fn&q=" + ["rottentomatoes"]="https://www.rottentomatoes.com/search/?search=" + ["piratebay"]="https://thepiratebay.org/search/" + ["youtube"]="https://www.youtube.com/results?search_query=" + ["vimawesome"]="http://vimawesome.com/?q=" +) + +# List for rofi +gen_list() { + for i in "${!URLS[@]}" + do + echo "$i" + done +} + +main() { + # Pass the list to rofi + platform=$( (gen_list) | rofi -dmenu -matching fuzzy -no-custom -location 0 -p "Platform: " -theme ${dir}/${theme}.rasi) + + if [[ -n "$platform" ]]; then + query=$( (echo ) | rofi -dmenu -matching fuzzy -location 0 -p "Search: " -theme ${dir}/${theme}.rasi) + + if [[ -n "$query" ]]; then + url=${URLS[$platform]}$query + xdg-open "$url" + else + exit + fi + + else + exit + fi +} + +main + +exit 0 \ No newline at end of file diff --git a/rofi/.config/rofi/theme-patcher.sh b/rofi/.config/rofi/theme-patcher.sh deleted file mode 100755 index 203736a..0000000 --- a/rofi/.config/rofi/theme-patcher.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -# Target file -target_file="$HOME/.config/rofi/config.rasi" -theme_file="$HOME/.cache/dusk/pywal" - -cp $target_file.in $target_file.tmp - -theme="macchiato" - -if grep -q '#eff1f5' "$theme_file"; then - theme="latte" -fi - -sed -i "s/%s%/${theme}/g" $target_file.tmp - -# Finally, replace target file with our updated one -rm $target_file -mv $target_file.tmp $target_file \ No newline at end of file diff --git a/wal/.config/wal/templates/colors-bashtop.theme b/wal/.config/wal/templates/colors-bashtop.theme new file mode 100644 index 0000000..e758b05 --- /dev/null +++ b/wal/.config/wal/templates/colors-bashtop.theme @@ -0,0 +1,89 @@ +#Bashtop theme with nord palette (https://www.nordtheme.com) +#by Justin Zobel + +# Colors should be in 6 or 2 character hexadecimal or single spaced rgb decimal: "#RRGGBB", "#BW" or "0-255 0-255 0-255" +# example for white: "#ffffff", "#ff" or "255 255 255". + +# All graphs and meters can be gradients +# For single color graphs leave "mid" and "end" variable empty. +# Use "start" and "end" variables for two color gradient +# Use "start", "mid" and "end" for three color gradient + +# Main background, empty for terminal default, need to be empty if you want transparent background +theme[main_bg]="{background}" + +# Main text color +theme[main_fg]="{color14}" + +# Title color for boxes +theme[title]="{color15}" + +# Higlight color for keyboard shortcuts +theme[hi_fg]="{color13}" + +# Background color of selected item in processes box +theme[selected_bg]="{color8}" + +# Foreground color of selected item in processes box +theme[selected_fg]="{foreground}" + +# Color of inactive/disabled text +theme[inactive_fg]="{color7}" + +# Misc colors for processes box including mini cpu graphs, details memory graph and details status text +theme[proc_misc]="{color12}" + +# Cpu box outline color +theme[cpu_box]="{color13}" + +# Memory/disks box outline color +theme[mem_box]="{color13}" + +# Net up/down box outline color +theme[net_box]="{color13}" + +# Processes box outline color +theme[proc_box]="{color13}" + +# Box divider line and small boxes line color +theme[div_line]="{color13}" + +# Temperature graph colors +theme[temp_start]="{color14}" +theme[temp_mid]="{color14}" +theme[temp_end]="{color14}" + +# CPU graph colors +theme[cpu_start]="{color14}" +theme[cpu_mid]="{color14}" +theme[cpu_end]="{color14}" + +# Mem/Disk free meter +theme[free_start]="{color14}" +theme[free_mid]="{color14}" +theme[free_end]="{color14}" + +# Mem/Disk cached meter +theme[cached_start]="{color14}" +theme[cached_mid]="{color14}" +theme[cached_end]="{color14}" + +# Mem/Disk available meter +theme[available_start]="{color14}" +theme[available_mid]="{color14}" +theme[available_end]="{color14}" + +# Mem/Disk used meter +theme[used_start]="{color14}" +theme[used_mid]="{color14}" +theme[used_end]="{color14}" + +# Download graph colors +theme[download_start]="{color14}" +theme[download_mid]="{color14}" +theme[download_end]="{color14}" + +# Upload graph colors +theme[upload_start]="{color14}" +theme[upload_mid]="{color14}" +theme[upload_end]="{color14}" \ No newline at end of file diff --git a/wal/.config/wal/templates/colors-cava.cava b/wal/.config/wal/templates/colors-cava.cava new file mode 100644 index 0000000..60ceb78 --- /dev/null +++ b/wal/.config/wal/templates/colors-cava.cava @@ -0,0 +1,11 @@ +[color] + +; background = {background} +; foreground = {foreground} + +gradient = 1 +gradient_count = 4 +gradient_color_1 = '{color10}' +gradient_color_2 = '{color11}' +gradient_color_3 = '{color12}' +gradient_color_4 = '{color13}' \ No newline at end of file diff --git a/wal/.config/wal/templates/colors-hyprland.conf b/wal/.config/wal/templates/colors-hyprland.conf new file mode 100644 index 0000000..c5dec77 --- /dev/null +++ b/wal/.config/wal/templates/colors-hyprland.conf @@ -0,0 +1,3 @@ +$background = rgb({background.strip}) +$color11 = rgb({color11.strip}) +$color14 = rgb({color14.strip}) \ No newline at end of file diff --git a/wal/.config/wal/templates/colors-rofi.rasi b/wal/.config/wal/templates/colors-rofi.rasi new file mode 100644 index 0000000..b2981fb --- /dev/null +++ b/wal/.config/wal/templates/colors-rofi.rasi @@ -0,0 +1,8 @@ +* {{ + background: {background}; + background-alt: {background}; + foreground: {foreground}; + selected: {color9}; + active: {color11}; + urgent: {color13}; +}} diff --git a/wal/.config/wal/templates/colors-spicetify.ini b/wal/.config/wal/templates/colors-spicetify.ini new file mode 100644 index 0000000..4a567aa --- /dev/null +++ b/wal/.config/wal/templates/colors-spicetify.ini @@ -0,0 +1,16 @@ +[Dynamic] +text = {foreground.strip} +subtext = {foreground.strip} +main = {background.strip} +sidebar = {background.strip} +player = {background.strip} +card = {background.strip} +shadow = {background.strip} +selected-row = {color14.strip} +button = {color9.strip} +button-active = {color14.strip} +button-disabled = {color8.strip} +tab-active = {color9.strip} +notification = {color0.strip} +notification-error = {color9.strip} +misc = {color0.strip} \ No newline at end of file diff --git a/wal/.config/wal/templates/colors.Xresources b/wal/.config/wal/templates/colors.Xresources new file mode 100644 index 0000000..08c051c --- /dev/null +++ b/wal/.config/wal/templates/colors.Xresources @@ -0,0 +1,103 @@ +! X colors. +! Generated by 'wal' +*foreground: {foreground} +*background: {background} +*.foreground: {foreground} +*.background: {background} +emacs*foreground: {foreground} +emacs*background: {background} +URxvt*foreground: {foreground} +XTerm*foreground: {foreground} +UXTerm*foreground: {foreground} +URxvt*background: {background.alpha} +XTerm*background: {background} +UXTerm*background: {background} +URxvt*cursorColor: {cursor} +XTerm*cursorColor: {cursor} +UXTerm*cursorColor: {cursor} +URxvt*borderColor: {background.alpha} + +! Colors 0-15. +*.color0: {color0} +*color0: {color0} +*.color1: {color1} +*color1: {color1} +*.color2: {color2} +*color2: {color2} +*.color3: {color3} +*color3: {color3} +*.color4: {color4} +*color4: {color4} +*.color5: {color5} +*color5: {color5} +*.color6: {color6} +*color6: {color6} +*.color7: {color7} +*color7: {color7} +*.color8: {color8} +*color8: {color8} +*.color9: {color9} +*color9: {color9} +*.color10: {color10} +*color10: {color10} +*.color11: {color11} +*color11: {color11} +*.color12: {color12} +*color12: {color12} +*.color13: {color13} +*color13: {color13} +*.color14: {color14} +*color14: {color14} +*.color15: {color15} +*color15: {color15} + +! Black color that will not be affected by bold highlighting. +*.color66: {color0} +*color66: {color0} + +! Xclock colors. +XClock*foreground: {foreground} +XClock*background: {background} +XClock*majorColor: rgba:{color15.xrgba} +XClock*minorColor: rgba:{color15.xrgba} +XClock*hourColor: rgba:{color15.xrgba} +XClock*minuteColor: rgba:{color15.xrgba} +XClock*secondColor: rgba:{color15.xrgba} + +! Set depth to make transparency work. +URxvt*depth: 32 + +! dwm colors. + +dwm.normfgcolor: {foreground} +dwm.normbgcolor: {background} +dwm.normbordercolor: {color15} +dwm.normfloatcolor: {color7} +dwm.selfgcolor: {color0} +dwm.selbgcolor: {color1} +dwm.selbordercolor: {color9} +dwm.selfloatcolor: {color9} +dwm.titlenormfgcolor: {color7} +dwm.titlenormbgcolor: {color0} +dwm.titlenormbordercolor: {color8} +dwm.titlenormfloatcolor: {color0} +dwm.titleselfgcolor: {color2} +dwm.titleselbgcolor: {background} +dwm.titleselbordercolor: {color15} +dwm.titleselfloatcolor: {color15} +dwm.tagsnormfgcolor: {color7} +dwm.tagsnormbgcolor: {color0} +dwm.tagsnormbordercolor: {color15} +dwm.tagsnormfloatcolor: {color15} +dwm.tagsselfgcolor: {color2} +dwm.tagsselbgcolor: {color0} +dwm.tagsselbordercolor: {color4} +dwm.tagsselfloatcolor: {color5} +dwm.hidnormfgcolor: {color8} +dwm.hidnormbgcolor: {color0} +dwm.hidselfgcolor: {color8} +dwm.hidselbgcolor: {color0} +dwm.urgfgcolor: {color0} +dwm.urgbgcolor: {color1} +dwm.urgbordercolor: {color1} +dwm.urgfloatcolor: {color1} \ No newline at end of file diff --git a/wal/.config/wal/templates/kitty.conf b/wal/.config/wal/templates/kitty.conf new file mode 100644 index 0000000..d28cd81 --- /dev/null +++ b/wal/.config/wal/templates/kitty.conf @@ -0,0 +1,40 @@ +# ============================ +# ========== Colors ========== +# ============================ + +foreground {foreground} +background {background} +cursor {cursor} + +selection_foreground {background} +selection_background {foreground} + +active_border_color {color7} +inactive_border_color {color8} +bell_border_color {color8} + +color0 {color0} +color1 {color1} +color2 {color2} +color3 {color3} +color4 {color4} +color5 {color5} +color6 {color6} +color7 {color7} +color8 {color8} +color9 {color9} +color10 {color10} +color11 {color11} +color12 {color12} +color13 {color13} +color14 {color14} +color15 {color15} + +active_tab_foreground {color2} +active_tab_background {background} +active_tab_font_style normal + +inactive_tab_foreground {foreground} +inactive_tab_background {background} + +# vim:ft=conf \ No newline at end of file