15 Commits
dev ... main

Author SHA1 Message Date
ddd6287a42 update: windowrules for code and wolfram 2025-02-25 15:59:57 -05:00
18615d2f7d new: low dec conf for laptop 2025-02-25 15:58:58 -05:00
e57fcf271b Merge branch 'dev' 2024-11-13 14:19:00 -05:00
wyj
b7e4196d08 Merge pull request 'dev' (#4) from dev into main
Reviewed-on: https://gitea.phywyj.dynv6.net/wyj/Hyprland-dotfiles/pulls/4
2024-05-27 03:38:28 -04:00
wyj
51d8386c6b Merge pull request 'dev' (#3) from dev into main
Reviewed-on: https://gitea.phywyj.dynv6.net/wyj/Hyprland-dotfiles/pulls/3
2024-05-27 00:37:15 -04:00
wyj
4bff4896ac Merge pull request 'Updates' (#2) from dev into main
Reviewed-on: https://gitea.phywyj.dynv6.net/wyj/Hyprland-dotfiles/pulls/2
2024-05-18 16:33:41 -04:00
wyj
8c701dfd6a Merge pull request 'Updates in waybar' (#1) from dev into main
Reviewed-on: https://gitea.phywyj.dynv6.net/wyj/Hyprland-dotfiles/pulls/1
2024-04-04 22:18:37 -04:00
674a16acbd Merge branch 'dev' 2024-04-03 22:21:41 -04:00
5fe3fed2ea fix: sed need -E 2024-04-01 15:40:33 -04:00
2b1986edad fix hidpi.sh: echo -e 2024-03-28 03:21:44 -04:00
e6a80c8ad2 update hidpi.sh: add finish output 2024-03-28 02:45:02 -04:00
e2d65b4c3c fix hidpi.sh 2024-03-28 02:42:15 -04:00
0f69f88603 fix hidpi.sh: -i instead of -E 2024-03-28 02:40:05 -04:00
c63aa2430c update hidpi.sh: run always 2024-03-28 02:31:27 -04:00
259073e10f fix bug: missing fi 2024-03-28 02:25:56 -04:00
19 changed files with 39 additions and 2466 deletions

3
.gitmodules vendored
View File

@@ -1,3 +0,0 @@
[submodule "yazi/flavors/tokyo-night.yazi"]
path = yazi/flavors/tokyo-night.yazi
url = https://github.com/BennyOe/tokyo-night.yazi.git

View File

@@ -47,8 +47,6 @@ packagesPacman=(
"jq"
"rofi-wayland"
"fastfetch"
"pipewire-pulse"
"wireplumber"
);
packagesYay=(

View File

@@ -4,7 +4,6 @@ packagesPacman=(
"hyprlock"
"hypridle"
# "xdg-desktop-portal-hyprland"
"hyprpolkitagent"
"waybar"
"grim"
"slurp"

View File

@@ -6,7 +6,7 @@
exec-once = ~/dotfiles/hypr/scripts/xdg.sh
# Start Polkit
exec-once = systemctl --user start hyprpolkitagent
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
# Load Dunst Notification Manager
exec-once = dunst

View File

@@ -12,6 +12,7 @@ decoration {
new_optimizations = on
ignore_opacity = true
xray = false
blurls = waybar
}
active_opacity = 1.0
inactive_opacity = 0.8

View File

@@ -0,0 +1,31 @@
# -----------------------------------------------------
# General window decoration
# name: "Low"
# -----------------------------------------------------
decoration {
rounding = 10
blur {
enabled = true
size = 10
passes = 1
new_optimizations = on
ignore_opacity = true
xray = true
blurls = waybar
}
active_opacity = 1.0
inactive_opacity = 0.8
fullscreen_opacity = 1.0
shadow {
enabled = false
range = 20
render_power = 3
color = 0x66000000
}
#drop_shadow = true
#shadow_range = 30
#shadow_render_power = 3
#col.shadow = 0x66000000
}

View File

@@ -13,11 +13,10 @@ 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 = opacity 0.75, ^(Code)$
windowrule = opacity 0.75, ^(code-oss)$
windowrule = float,title:^(Mathematica)$ # Mathematica<=14.1
windowrule = float,title:^(WolframNB)$ # Mathematica>=14.2
windowrule = opacity 0.75, ^(code)$
windowrule = opacity 0.75, ^(code-url-handler)$
windowrule = float,^(QQ)$
windowrule = float,^(wechat)$

View File

@@ -1,18 +1,9 @@
# 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_family Fira Code Nerd Font
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

View File

@@ -1,148 +0,0 @@
#
# 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

View File

@@ -25,7 +25,7 @@ sleep 0.2
# -----------------------------------------------------
# Default theme: /THEMEFOLDER;/VARIATION
# -----------------------------------------------------
themestyle="/meow-blur;/meow-blur/colored"
themestyle="/ml4w;/ml4w/light"
# -----------------------------------------------------
# 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="/meow-blur;/meow-blur/colored"
themestyle="/ml4w;/ml4w/light"
fi
# -----------------------------------------------------

View File

@@ -1,21 +0,0 @@
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.

View File

@@ -1,21 +0,0 @@
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.

View File

@@ -1,33 +0,0 @@
<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.

View File

@@ -1,162 +0,0 @@
# 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.

Before

Width:  |  Height:  |  Size: 660 KiB

File diff suppressed because it is too large Load Diff

View File

@@ -1,11 +0,0 @@
[flavor]
#use = "tokyo-night"
use = "catppuccin-mocha"
[manager]
# Hovered
preview_hovered = { underline = false }
# Border
border_symbol = "┆"
border_style = { fg = "#7f849c" , dim = true }

View File

@@ -1,25 +0,0 @@
[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" ] },
]