Compare commits
15
Commits
cd5cb4dd8e
..
dev
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5834ec1cdc | ||
|
|
0bb1ffcaf5 | ||
|
|
a816200bef | ||
|
|
3a0197c7ba | ||
|
|
59524e3679 | ||
|
|
2bedd28e12 | ||
|
|
07dc9cf4e0 | ||
|
|
11092da765 | ||
|
|
bd0c7eb2dd | ||
|
|
64a7399ea9 | ||
|
|
5b060cfe7f | ||
|
|
2eb9068b67 | ||
|
|
7e1b96eb2a | ||
|
|
2b53e15823 | ||
|
|
c8e824d8a4 |
@@ -0,0 +1,3 @@
|
||||
[submodule "yazi/flavors/tokyo-night.yazi"]
|
||||
path = yazi/flavors/tokyo-night.yazi
|
||||
url = https://github.com/BennyOe/tokyo-night.yazi.git
|
||||
@@ -47,6 +47,8 @@ packagesPacman=(
|
||||
"jq"
|
||||
"rofi-wayland"
|
||||
"fastfetch"
|
||||
"pipewire-pulse"
|
||||
"wireplumber"
|
||||
);
|
||||
|
||||
packagesYay=(
|
||||
|
||||
@@ -4,6 +4,7 @@ packagesPacman=(
|
||||
"hyprlock"
|
||||
"hypridle"
|
||||
# "xdg-desktop-portal-hyprland"
|
||||
"hyprpolkitagent"
|
||||
"waybar"
|
||||
"grim"
|
||||
"slurp"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
exec-once = ~/dotfiles/hypr/scripts/xdg.sh
|
||||
|
||||
# Start Polkit
|
||||
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
exec-once = systemctl --user start hyprpolkitagent
|
||||
|
||||
# Load Dunst Notification Manager
|
||||
exec-once = dunst
|
||||
|
||||
@@ -12,14 +12,19 @@ decoration {
|
||||
new_optimizations = on
|
||||
ignore_opacity = true
|
||||
xray = false
|
||||
blurls = waybar
|
||||
}
|
||||
active_opacity = 1.0
|
||||
inactive_opacity = 0.8
|
||||
fullscreen_opacity = 1.0
|
||||
|
||||
drop_shadow = true
|
||||
shadow_range = 30
|
||||
shadow_render_power = 3
|
||||
col.shadow = 0x66000000
|
||||
shadow {
|
||||
enabled = true
|
||||
range = 30
|
||||
render_power = 3
|
||||
color = 0x66000000
|
||||
}
|
||||
#drop_shadow = true
|
||||
#shadow_range = 30
|
||||
#shadow_render_power = 3
|
||||
#col.shadow = 0x66000000
|
||||
}
|
||||
|
||||
@@ -13,8 +13,9 @@ windowrule = float,^(showmethekey-gtk)$
|
||||
windowrule = pin,^(showmethekey-gtk)$
|
||||
layerrule = blur, gtk-layer-shell
|
||||
layerrule = blur, logout_dialog
|
||||
layerrule = blur, waybar
|
||||
|
||||
windowrule = float,title=^(Mathematica)$
|
||||
windowrule = float,title:^(Mathematica)$
|
||||
windowrule = opacity 0.75, ^(Code)$
|
||||
windowrule = opacity 0.75, ^(code-oss)$
|
||||
windowrule = opacity 0.75, ^(code-url-handler)$
|
||||
|
||||
+10
-1
@@ -1,9 +1,18 @@
|
||||
font_family Fira Code Nerd Font
|
||||
# Maple
|
||||
#font_family Maple Mono NF CN
|
||||
# end Maple
|
||||
# Fica Code
|
||||
font_family FiraCode Nerd Font
|
||||
font_features FiraCodeNF-Reg +cv01 +cv02 +cv06 +cv31 +zero +cv30
|
||||
font_features FiraCodeNF-SemBd +cv01 +cv02 +cv06 +cv31 +zero
|
||||
# end Fira Code
|
||||
font_size 16.0
|
||||
bold_font auto
|
||||
italic_font auto
|
||||
bold_italic_font auto
|
||||
|
||||
cursor_trail 10
|
||||
|
||||
background_opacity 0.7
|
||||
|
||||
confirm_os_window_close 0
|
||||
|
||||
+148
@@ -0,0 +1,148 @@
|
||||
#
|
||||
# Example mpv configuration file
|
||||
#
|
||||
# Warning:
|
||||
#
|
||||
# The commented example options usually do _not_ set the default values. Call
|
||||
# mpv with --list-options to see the default values for most options. There is
|
||||
# no builtin or example mpv.conf with all the defaults.
|
||||
#
|
||||
#
|
||||
# Configuration files are read system-wide from /etc/mpv or /usr/local/etc/mpv,
|
||||
# and per-user from ~/.config/mpv, where per-user settings override
|
||||
# system-wide settings, all of which are overridden by the command line.
|
||||
#
|
||||
# Configuration file settings and the command line options use the same
|
||||
# underlying mechanisms. Most options can be put into the configuration file
|
||||
# by dropping the preceding '--'. See the man page for a complete list of
|
||||
# options.
|
||||
#
|
||||
# Lines starting with '#' are comments and are ignored.
|
||||
#
|
||||
# See the CONFIGURATION FILES section in the man page
|
||||
# for a detailed description of the syntax.
|
||||
#
|
||||
# Profiles should be placed at the bottom of the configuration file to ensure
|
||||
# that settings wanted as defaults are not restricted to specific profiles.
|
||||
|
||||
##################
|
||||
# video settings #
|
||||
##################
|
||||
|
||||
# Start in fullscreen mode by default.
|
||||
#fs=yes
|
||||
|
||||
# force starting with centered window
|
||||
#geometry=50%:50%
|
||||
|
||||
# don't allow a new window to have a size larger than 90% of the screen size
|
||||
#autofit-larger=90%x90%
|
||||
|
||||
# Do not close the window on exit.
|
||||
#keep-open=yes
|
||||
|
||||
# Do not wait with showing the video window until it has loaded. (This will
|
||||
# resize the window once video is loaded. Also always shows a window with
|
||||
# audio.)
|
||||
#force-window=immediate
|
||||
|
||||
# Disable the On Screen Controller (OSC).
|
||||
#osc=no
|
||||
|
||||
# Keep the player window on top of all other windows.
|
||||
#ontop=yes
|
||||
|
||||
# Specify fast video rendering preset (for --vo=<gpu|gpu-next> only)
|
||||
# Recommended for mobile devices or older hardware with limited processing power
|
||||
#profile=fast
|
||||
|
||||
# Specify high quality video rendering preset (for --vo=<gpu|gpu-next> only)
|
||||
# Offers superior image fidelity and visual quality for an enhanced viewing
|
||||
# experience on capable hardware
|
||||
#profile=high-quality
|
||||
|
||||
# Force video to lock on the display's refresh rate, and change video and audio
|
||||
# speed to some degree to ensure synchronous playback - can cause problems
|
||||
# with some drivers and desktop environments.
|
||||
#video-sync=display-resample
|
||||
|
||||
# Enable hardware decoding if available. Often, this does not work with all
|
||||
# video outputs, but should work well with default settings on most systems.
|
||||
# If performance or energy usage is an issue, forcing the vdpau or vaapi VOs
|
||||
# may or may not help.
|
||||
#hwdec=auto
|
||||
|
||||
##################
|
||||
# audio settings #
|
||||
##################
|
||||
|
||||
# Specify default audio device. You can list devices with: --audio-device=help
|
||||
# The option takes the device string (the stuff between the '...').
|
||||
#audio-device=alsa/default
|
||||
|
||||
# Do not filter audio to keep pitch when changing playback speed.
|
||||
#audio-pitch-correction=no
|
||||
|
||||
# Output 5.1 audio natively, and upmix/downmix audio with a different format.
|
||||
#audio-channels=5.1
|
||||
# Disable any automatic remix, _if_ the audio output accepts the audio format.
|
||||
# of the currently played file. See caveats mentioned in the manpage.
|
||||
# (The default is "auto-safe", see manpage.)
|
||||
#audio-channels=auto
|
||||
|
||||
##################
|
||||
# other settings #
|
||||
##################
|
||||
|
||||
autocreate-playlist=same
|
||||
pause
|
||||
directory-mode=ignore
|
||||
|
||||
# Pretend to be a web browser. Might fix playback with some streaming sites,
|
||||
# but also will break with shoutcast streams.
|
||||
#user-agent="Mozilla/5.0"
|
||||
|
||||
# cache settings
|
||||
#
|
||||
# Use a large seekable RAM cache even for local input.
|
||||
#cache=yes
|
||||
#
|
||||
# Use extra large RAM cache (needs cache=yes to make it useful).
|
||||
#demuxer-max-bytes=500M
|
||||
#demuxer-max-back-bytes=100M
|
||||
#
|
||||
# Disable the behavior that the player will pause if the cache goes below a
|
||||
# certain fill size.
|
||||
#cache-pause=no
|
||||
#
|
||||
# Store cache payload on the hard disk instead of in RAM. (This may negatively
|
||||
# impact performance unless used for slow input such as network.)
|
||||
#cache-dir=~/.cache/
|
||||
#cache-on-disk=yes
|
||||
|
||||
# Display English subtitles if available.
|
||||
#slang=en
|
||||
slang=zh,en
|
||||
|
||||
# Play Finnish audio if available, fall back to English otherwise.
|
||||
#alang=fi,en
|
||||
|
||||
# Change subtitle encoding. For Arabic subtitles use 'cp1256'.
|
||||
# If the file seems to be valid UTF-8, prefer UTF-8.
|
||||
# (You can add '+' in front of the codepage to force it.)
|
||||
#sub-codepage=cp1256
|
||||
|
||||
# You can also include other configuration files.
|
||||
#include=/path/to/the/file/you/want/to/include
|
||||
|
||||
############
|
||||
# Profiles #
|
||||
############
|
||||
|
||||
# The options declared as part of profiles override global default settings,
|
||||
# but only take effect when the profile is active.
|
||||
|
||||
# The following profile can be enabled on the command line with: --profile=eye-cancer
|
||||
|
||||
#[eye-cancer]
|
||||
#sharpen=5
|
||||
+2
-2
@@ -25,7 +25,7 @@ sleep 0.2
|
||||
# -----------------------------------------------------
|
||||
# Default theme: /THEMEFOLDER;/VARIATION
|
||||
# -----------------------------------------------------
|
||||
themestyle="/ml4w;/ml4w/light"
|
||||
themestyle="/meow-blur;/meow-blur/colored"
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Get current theme information from .cache/.themestyle.sh
|
||||
@@ -41,7 +41,7 @@ IFS=';' read -ra arrThemes <<< "$themestyle"
|
||||
echo "Theme: ${arrThemes[0]}"
|
||||
|
||||
if [ ! -f ~/dotfiles/waybar/themes${arrThemes[1]}/style.css ]; then
|
||||
themestyle="/ml4w;/ml4w/light"
|
||||
themestyle="/meow-blur;/meow-blur/colored"
|
||||
fi
|
||||
|
||||
# -----------------------------------------------------
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
//
|
||||
{
|
||||
// Workspaces
|
||||
"hyprland/workspaces" : {
|
||||
"hyprland/workspaces": {
|
||||
"on-click": "activate",
|
||||
"active-only": false,
|
||||
"all-outputs": true,
|
||||
@@ -26,7 +26,6 @@
|
||||
// END WORKSPACES
|
||||
}
|
||||
},
|
||||
|
||||
// Taskbar
|
||||
"wlr/taskbar": {
|
||||
"format": "{icon}",
|
||||
@@ -48,7 +47,6 @@
|
||||
"Foot Server": "Terminal"
|
||||
}
|
||||
},
|
||||
|
||||
// Hyprland Window
|
||||
"hyprland/window": {
|
||||
"rewrite": {
|
||||
@@ -62,12 +60,10 @@
|
||||
},
|
||||
"separate-outputs": true
|
||||
},
|
||||
|
||||
// Empty
|
||||
"custom/empty": {
|
||||
"format": ""
|
||||
},
|
||||
|
||||
// Cliphist
|
||||
"custom/cliphist": {
|
||||
"format": "",
|
||||
@@ -76,7 +72,6 @@
|
||||
"on-click-middle": "sleep 0.1 && ~/dotfiles/scripts/cliphist.sh w",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Updates Count
|
||||
"custom/updates": {
|
||||
"format": " {}",
|
||||
@@ -84,11 +79,10 @@
|
||||
"escape": true,
|
||||
"return-type": "json",
|
||||
"exec": "~/dotfiles/scripts/updates.sh",
|
||||
"restart-interval": 60,
|
||||
"restart-interval": 300,
|
||||
"on-click": "alacritty --class dotfiles-floating -e ~/dotfiles/scripts/installupdates.sh",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Wallpaper
|
||||
"custom/wallpaper": {
|
||||
"format": "",
|
||||
@@ -96,63 +90,54 @@
|
||||
"on-click-right": "~/dotfiles/hypr/scripts/wallpaper.sh",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Waybar Themes
|
||||
"custom/waybarthemes": {
|
||||
"format": "",
|
||||
"on-click": "~/dotfiles/waybar/themeswitcher.sh",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Keybindings
|
||||
"custom/keybindings": {
|
||||
"format": "",
|
||||
"on-click": "~/dotfiles/hypr/scripts/keybindings.sh",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Filemanager Launcher
|
||||
"custom/filemanager": {
|
||||
"format": "",
|
||||
"on-click": "~/dotfiles/.settings/filemanager.sh",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Outlook Launcher
|
||||
"custom/outlook": {
|
||||
"format": "",
|
||||
"on-click": "chromium --app=https://outlook.office.com/mail/",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Browser Launcher
|
||||
"custom/browser": {
|
||||
"format": "",
|
||||
"on-click": "~/dotfiles/.settings/browser.sh",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// ChatGPT Launcher
|
||||
"custom/chatgpt": {
|
||||
"format": " ",
|
||||
"on-click": "chromium --app=https://chat.openai.com",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Calculator
|
||||
"custom/calculator": {
|
||||
"format": "",
|
||||
"on-click": "qalculate-gtk",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Windows VM
|
||||
"custom/windowsvm": {
|
||||
"format": "",
|
||||
"on-click": "~/dotfiles/scripts/launchvm.sh",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Rofi Application Launcher
|
||||
"custom/appmenu": {
|
||||
// START APPS LABEL
|
||||
@@ -162,7 +147,6 @@
|
||||
"on-click-right": "~/dotfiles/hypr/scripts/keybindings.sh",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Rofi Application Launcher
|
||||
"custom/appmenuicon": {
|
||||
"format": "",
|
||||
@@ -170,14 +154,12 @@
|
||||
"on-click-right": "~/dotfiles/hypr/scripts/keybindings.sh",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Power Menu
|
||||
"custom/exit": {
|
||||
"format": "",
|
||||
"on-click": "wlogout",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// Keyboard State
|
||||
"keyboard-state": {
|
||||
"numlock": true,
|
||||
@@ -188,7 +170,6 @@
|
||||
"unlocked": ""
|
||||
}
|
||||
},
|
||||
|
||||
"group/tray": {
|
||||
"orientation": "inherit",
|
||||
"drawer": {
|
||||
@@ -200,21 +181,19 @@
|
||||
"tray"
|
||||
]
|
||||
},
|
||||
|
||||
// System tray
|
||||
"tray": {
|
||||
"icon-size": 16,
|
||||
"spacing": 8,
|
||||
"verse-direction": true
|
||||
},
|
||||
|
||||
// Clock
|
||||
"clock": {
|
||||
"calendar": {
|
||||
"mode" : "year",
|
||||
"mode-mon-col" : 3,
|
||||
"weeks-pos" : "right",
|
||||
"on-scroll" : 1,
|
||||
"mode": "year",
|
||||
"mode-mon-col": 3,
|
||||
"weeks-pos": "right",
|
||||
"on-scroll": 1,
|
||||
"format": {
|
||||
"months": "<span color='#ffead3'><b>{}</b></span>",
|
||||
"days": "<span color='#ecc6d9'><b>{}</b></span>",
|
||||
@@ -231,19 +210,16 @@
|
||||
"format-alt": "{:%Y-%m-%d}"
|
||||
// END CLOCK FORMAT
|
||||
},
|
||||
|
||||
// spacer
|
||||
"custom/spacer": {
|
||||
"format": " ",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// div
|
||||
"custom/div": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
// CPU
|
||||
"cpu": {
|
||||
"format": " {usage}%",
|
||||
@@ -254,14 +230,12 @@
|
||||
"critical": 90
|
||||
}
|
||||
},
|
||||
|
||||
// "cpu#bar": {
|
||||
// "format": "{icon}",
|
||||
// "format-icons":[
|
||||
// "▏ ","▎ ","▍ ","▌ ","▋ ","▊ ","▉ ","█ ","█▏","█▎","█▍","█▌","█▋","█▊","█▉","██"
|
||||
// ]
|
||||
// },
|
||||
|
||||
// Memory
|
||||
"memory": {
|
||||
"format": " {used:0.1f}G",
|
||||
@@ -273,7 +247,6 @@
|
||||
"critical": 80
|
||||
}
|
||||
},
|
||||
|
||||
// Harddisc space used
|
||||
"disk": {
|
||||
"interval": 30,
|
||||
@@ -281,11 +254,9 @@
|
||||
"path": "/",
|
||||
"on-click": "alacritty -e htop"
|
||||
},
|
||||
|
||||
"hyprland/language": {
|
||||
"format": "/ K {short}"
|
||||
},
|
||||
|
||||
// Group Hardware
|
||||
"group/hardware": {
|
||||
"orientation": "inherit",
|
||||
@@ -297,7 +268,6 @@
|
||||
"memory"
|
||||
]
|
||||
},
|
||||
|
||||
"group/hardware2": {
|
||||
"orientation": "inherit",
|
||||
"modules": [
|
||||
@@ -309,7 +279,6 @@
|
||||
// "battery#charging"
|
||||
]
|
||||
},
|
||||
|
||||
// Group system settings
|
||||
"group/systems": {
|
||||
"orientation": "inherit",
|
||||
@@ -318,7 +287,6 @@
|
||||
"clock"
|
||||
]
|
||||
},
|
||||
|
||||
"group/power": {
|
||||
"orientation": "inherit",
|
||||
"drawer": {
|
||||
@@ -331,7 +299,6 @@
|
||||
"idle_inhibitor"
|
||||
]
|
||||
},
|
||||
|
||||
// Group Settings
|
||||
"group/settings": {
|
||||
"orientation": "horizontal",
|
||||
@@ -344,7 +311,6 @@
|
||||
"custom/wallpaper"
|
||||
]
|
||||
},
|
||||
|
||||
// Group Quicklinks
|
||||
"group/quicklinks": {
|
||||
"orientation": "horizontal",
|
||||
@@ -353,7 +319,6 @@
|
||||
"custom/filemanager",
|
||||
]
|
||||
},
|
||||
|
||||
// Network
|
||||
"network": {
|
||||
"format": "{ifname}",
|
||||
@@ -366,14 +331,19 @@
|
||||
"tooltip-format-disconnected": "Disconnected",
|
||||
"max-length": 50,
|
||||
"on-click": "~/dotfiles/.settings/networkmanager.sh",
|
||||
"format-icons": ["","","","",""]
|
||||
"format-icons": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
]
|
||||
},
|
||||
"network#speed": {
|
||||
"format": " {bandwidthTotalBits}",
|
||||
"tooltip-format": " {bandwidthUpBits}\n {bandwidthDownBits}",
|
||||
"interval": 5
|
||||
},
|
||||
|
||||
// Battery
|
||||
"battery": {
|
||||
"states": {
|
||||
@@ -391,7 +361,19 @@
|
||||
// "Charging": ["","","","","","","","","","",""],
|
||||
// "default": ["","","","","","","","","","",""]
|
||||
//}
|
||||
"format-icons": ["","","","","","","","","","",""]
|
||||
"format-icons": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
]
|
||||
},
|
||||
"battery#charging": {
|
||||
"states": {
|
||||
@@ -406,9 +388,20 @@
|
||||
// "Charging": ["","","","","","","","","","",""],
|
||||
// "default": ["","","","","","","","","","",""]
|
||||
//}
|
||||
"format-icons": ["","","","","","","","","","",""]
|
||||
"format-icons": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
]
|
||||
},
|
||||
|
||||
// Pulseaudio
|
||||
"pulseaudio": {
|
||||
// "scroll-step": 1, // %, can be a float
|
||||
@@ -425,11 +418,14 @@
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": ["", "", ""]
|
||||
"default": [
|
||||
"",
|
||||
"",
|
||||
""
|
||||
]
|
||||
},
|
||||
"on-click": "pavucontrol"
|
||||
},
|
||||
|
||||
// Bluetooth
|
||||
"bluetooth": {
|
||||
"format": " {status}",
|
||||
@@ -439,25 +435,22 @@
|
||||
"on-click": "blueman-manager",
|
||||
"format-no-controller": ""
|
||||
},
|
||||
|
||||
// Other
|
||||
"user": {
|
||||
"format": "{user}",
|
||||
"interval": 60,
|
||||
"icon": false,
|
||||
},
|
||||
|
||||
// Idle Inhibator
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"tooltip": true,
|
||||
"format-icons":{
|
||||
"format-icons": {
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
},
|
||||
"on-click-right": "hyprlock"
|
||||
},
|
||||
|
||||
"custom/events": {
|
||||
"format": "{}",
|
||||
"tooltip": true,
|
||||
@@ -469,7 +462,6 @@
|
||||
"return-type": "json",
|
||||
"on-click-right": "vdirsyncer sync"
|
||||
},
|
||||
|
||||
"group/time": {
|
||||
"orientation": "inherit",
|
||||
"drawer": {
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2023 yazi-rs
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2022 Himanshu
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
@@ -0,0 +1,33 @@
|
||||
<div align="center">
|
||||
<img src="https://github.com/sxyazi/yazi/blob/main/assets/logo.png?raw=true" alt="Yazi logo" width="20%">
|
||||
</div>
|
||||
|
||||
<h3 align="center">
|
||||
Catppuccin Mocha Flavor for <a href="https://github.com/sxyazi/yazi">Yazi</a>
|
||||
</h3>
|
||||
|
||||
## 👀 Preview
|
||||
|
||||
<img src="preview.png" width="600" />
|
||||
|
||||
## 🎨 Installation
|
||||
|
||||
Download and copy this folder as:
|
||||
|
||||
- `~/.config/yazi/flavors/catppuccin-mocha.yazi` on Linux/macOS
|
||||
- `%AppData%\yazi\config\flavors\catppuccin-mocha.yazi` on Windows
|
||||
|
||||
## ⚙️ Usage
|
||||
|
||||
Add these lines to your `theme.toml` configuration file to use it:
|
||||
|
||||
```toml
|
||||
[flavor]
|
||||
use = "catppuccin-mocha"
|
||||
```
|
||||
|
||||
## 📜 License
|
||||
|
||||
The flavor is MIT-licensed, and the included tmTheme is also MIT-licensed.
|
||||
|
||||
Check the [LICENSE](LICENSE) and [LICENSE-tmtheme](LICENSE-tmtheme) file for more details.
|
||||
@@ -0,0 +1,162 @@
|
||||
# vim:fileencoding=utf-8:foldmethod=marker
|
||||
|
||||
# : Manager {{{
|
||||
|
||||
[manager]
|
||||
cwd = { fg = "#94e2d5" }
|
||||
|
||||
# Hovered
|
||||
hovered = { reversed = true }
|
||||
preview_hovered = { underline = true }
|
||||
|
||||
# Find
|
||||
find_keyword = { fg = "#f9e2af", bold = true, italic = true, underline = true }
|
||||
find_position = { fg = "#f5c2e7", bg = "reset", bold = true, italic = true }
|
||||
|
||||
# Marker
|
||||
marker_copied = { fg = "#a6e3a1", bg = "#a6e3a1" }
|
||||
marker_cut = { fg = "#f38ba8", bg = "#f38ba8" }
|
||||
marker_marked = { fg = "#94e2d5", bg = "#94e2d5" }
|
||||
marker_selected = { fg = "#f9e2af", bg = "#f9e2af" }
|
||||
|
||||
# Tab
|
||||
tab_active = { reversed = true }
|
||||
tab_inactive = {}
|
||||
tab_width = 1
|
||||
|
||||
# Count
|
||||
count_copied = { fg = "#1e1e2e", bg = "#a6e3a1" }
|
||||
count_cut = { fg = "#1e1e2e", bg = "#f38ba8" }
|
||||
count_selected = { fg = "#1e1e2e", bg = "#f9e2af" }
|
||||
|
||||
# Border
|
||||
border_symbol = "│"
|
||||
border_style = { fg = "#7f849c" }
|
||||
|
||||
# : }}}
|
||||
|
||||
|
||||
# : Status {{{
|
||||
|
||||
[status]
|
||||
separator_open = ""
|
||||
separator_close = ""
|
||||
separator_style = { fg = "#45475a", bg = "#45475a" }
|
||||
|
||||
# Mode
|
||||
mode_normal = { fg = "#1e1e2e", bg = "#89b4fa", bold = true }
|
||||
mode_select = { fg = "#1e1e2e", bg = "#a6e3a1", bold = true }
|
||||
mode_unset = { fg = "#1e1e2e", bg = "#f2cdcd", bold = true }
|
||||
|
||||
# Progress
|
||||
progress_label = { fg = "#ffffff", bold = true }
|
||||
progress_normal = { fg = "#89b4fa", bg = "#45475a" }
|
||||
progress_error = { fg = "#f38ba8", bg = "#45475a" }
|
||||
|
||||
# Permissions
|
||||
permissions_t = { fg = "#89b4fa" }
|
||||
permissions_r = { fg = "#f9e2af" }
|
||||
permissions_w = { fg = "#f38ba8" }
|
||||
permissions_x = { fg = "#a6e3a1" }
|
||||
permissions_s = { fg = "#7f849c" }
|
||||
|
||||
# : }}}
|
||||
|
||||
|
||||
# : Select {{{
|
||||
|
||||
[select]
|
||||
border = { fg = "#89b4fa" }
|
||||
active = { fg = "#f5c2e7", bold = true }
|
||||
inactive = {}
|
||||
|
||||
# : }}}
|
||||
|
||||
|
||||
# : Input {{{
|
||||
|
||||
[input]
|
||||
border = { fg = "#89b4fa" }
|
||||
title = {}
|
||||
value = {}
|
||||
selected = { reversed = true }
|
||||
|
||||
# : }}}
|
||||
|
||||
|
||||
# : Completion {{{
|
||||
|
||||
[completion]
|
||||
border = { fg = "#89b4fa" }
|
||||
|
||||
# : }}}
|
||||
|
||||
|
||||
# : Tasks {{{
|
||||
|
||||
[tasks]
|
||||
border = { fg = "#89b4fa" }
|
||||
title = {}
|
||||
hovered = { fg = "#f5c2e7", underline = true }
|
||||
|
||||
# : }}}
|
||||
|
||||
|
||||
# : Which {{{
|
||||
|
||||
[which]
|
||||
mask = { bg = "#313244" }
|
||||
cand = { fg = "#94e2d5" }
|
||||
rest = { fg = "#9399b2" }
|
||||
desc = { fg = "#f5c2e7" }
|
||||
separator = " "
|
||||
separator_style = { fg = "#585b70" }
|
||||
|
||||
# : }}}
|
||||
|
||||
|
||||
# : Help {{{
|
||||
|
||||
[help]
|
||||
on = { fg = "#94e2d5" }
|
||||
run = { fg = "#f5c2e7" }
|
||||
hovered = { reversed = true, bold = true }
|
||||
footer = { fg = "#45475a", bg = "#cdd6f4" }
|
||||
|
||||
# : }}}
|
||||
|
||||
|
||||
# : Notify {{{
|
||||
|
||||
[notify]
|
||||
title_info = { fg = "#a6e3a1" }
|
||||
title_warn = { fg = "#f9e2af" }
|
||||
title_error = { fg = "#f38ba8" }
|
||||
|
||||
# : }}}
|
||||
|
||||
|
||||
# : File-specific styles {{{
|
||||
|
||||
[filetype]
|
||||
|
||||
rules = [
|
||||
# Images
|
||||
{ mime = "image/*", fg = "#94e2d5" },
|
||||
|
||||
# Media
|
||||
{ mime = "{audio,video}/*", fg = "#f9e2af" },
|
||||
|
||||
# Archives
|
||||
{ mime = "application/*zip", fg = "#f5c2e7" },
|
||||
{ mime = "application/x-{tar,bzip*,7z-compressed,xz,rar}", fg = "#f5c2e7" },
|
||||
|
||||
# Documents
|
||||
{ mime = "application/{pdf,doc,rtf,vnd.*}", fg = "#a6e3a1" },
|
||||
|
||||
# Fallback
|
||||
{ name = "*", fg = "#cdd6f4" },
|
||||
{ name = "*/", fg = "#89b4fa" }
|
||||
]
|
||||
|
||||
# : }}}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 660 KiB |
File diff suppressed because it is too large
Load Diff
Submodule
+1
Submodule yazi/flavors/tokyo-night.yazi added at 024fb09682
@@ -0,0 +1,11 @@
|
||||
[flavor]
|
||||
#use = "tokyo-night"
|
||||
use = "catppuccin-mocha"
|
||||
|
||||
[manager]
|
||||
# Hovered
|
||||
preview_hovered = { underline = false }
|
||||
|
||||
# Border
|
||||
border_symbol = "┆"
|
||||
border_style = { fg = "#7f849c" , dim = true }
|
||||
@@ -0,0 +1,25 @@
|
||||
[manager]
|
||||
ratio = [ 1, 3, 3 ]
|
||||
sort_by = "natural"
|
||||
|
||||
[preview]
|
||||
max_width = 1900
|
||||
max_height = 900
|
||||
|
||||
[open]
|
||||
rules = [
|
||||
{ name = "*/", use = [ "edit", "open", "reveal" ] },
|
||||
|
||||
{ mime = "text/*", use = [ "edit", "reveal" ] },
|
||||
{ mime = "image/*", use = [ "open", "reveal" ] },
|
||||
{ mime = "{audio,video}/*", use = [ "play", "reveal" ] },
|
||||
{ mime = "inode/x-empty", use = [ "edit", "reveal" ] },
|
||||
|
||||
{ mime = "application/{,g}zip", use = [ "extract", "reveal" ] },
|
||||
{ mime = "application/x-{tar,bzip*,7z-compressed,xz,rar}", use = [ "extract", "reveal" ] },
|
||||
|
||||
{ mime = "application/{json,x-ndjson}", use = [ "edit", "reveal" ] },
|
||||
{ mime = "*/javascript", use = [ "edit", "reveal" ] },
|
||||
|
||||
{ name = "*", use = [ "open", "reveal" ] },
|
||||
]
|
||||
Reference in New Issue
Block a user