Compare commits
35 Commits
23077aa3a5
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
88cca79368
|
|||
|
5857d4a0ed
|
|||
|
7f9b095859
|
|||
|
6d3b2e7445
|
|||
|
5c84263502
|
|||
|
469aa14b5d
|
|||
|
cc3ceda272
|
|||
|
9287396d75
|
|||
|
3db24e33d4
|
|||
|
f1d33ebd85
|
|||
|
33f640a9d3
|
|||
|
7185cde498
|
|||
|
881212698b
|
|||
|
c23af7303a
|
|||
|
89dfbfa617
|
|||
|
c6b2087533
|
|||
|
98f74130a3
|
|||
|
83f3e3158a
|
|||
|
0f09eab8a0
|
|||
|
efda9b1590
|
|||
|
c53a8ff237
|
|||
|
7532f2dbd2
|
|||
|
cb33c4c755
|
|||
|
3d07720567
|
|||
|
7fc2d78f96
|
|||
|
228120b0a6
|
|||
|
bee7c8fef8
|
|||
|
1d84fd110f
|
|||
|
332a410130
|
|||
|
88a65b4e51
|
|||
|
ee622ed902
|
|||
|
53ca01cd68
|
|||
|
950fc54fb4
|
|||
|
d121c11f43
|
|||
|
9bbdc56019
|
27
.alacritty-nozellij.toml
Normal file
@@ -0,0 +1,27 @@
|
||||
[env]
|
||||
TERM = "xterm-256color"
|
||||
ZELLIJ = "0"
|
||||
shell = "zsh"
|
||||
|
||||
[window]
|
||||
decorations = "none"
|
||||
startup_mode = "Windowed"
|
||||
opacity = 0.8
|
||||
blur = true
|
||||
|
||||
# padding = { x = 10, y = 10 }
|
||||
|
||||
[font]
|
||||
normal = { family = "Fira Code", style = "Regular" }
|
||||
size = 8
|
||||
|
||||
|
||||
[selection]
|
||||
save_to_clipboard = true
|
||||
|
||||
[mouse]
|
||||
bindings = [{ mouse = "Right", action = "Paste" }]
|
||||
|
||||
[general]
|
||||
import = ["~/.config/alacritty/themes/themes/hyper.toml"]
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
|
||||
#[shell]
|
||||
#program = "/home/nathan/.cargo/bin/zellij"
|
||||
|
||||
[env]
|
||||
TERM = "xterm-256color"
|
||||
|
||||
|
||||
16
.config/.gitignore
vendored
@@ -8,6 +8,10 @@
|
||||
!polybar/**
|
||||
!alacritty
|
||||
!alacritty/**
|
||||
!clipse
|
||||
!clipse/**
|
||||
clipse/clipboard_history.json
|
||||
clipse/tmp_files/
|
||||
!hypr
|
||||
!hypr/**
|
||||
!rofi
|
||||
@@ -20,3 +24,15 @@
|
||||
!tofi/**
|
||||
!micro
|
||||
!micro/**
|
||||
!hyprpanel
|
||||
!hyprpanel/**
|
||||
!WallRizz
|
||||
!WallRizz/**
|
||||
!btop
|
||||
!btop/**
|
||||
btop/themes/WallRizz.theme
|
||||
btop/btop.log
|
||||
!kitty
|
||||
!kitty/**
|
||||
|
||||
*.log
|
||||
|
||||
34
.config/WallRizz/hyprpaper@5hubham5ingh.js
Normal file
@@ -0,0 +1,34 @@
|
||||
/*
|
||||
For: hyprpaper, https://github.com/hyprwm/hyprpaper
|
||||
Author: https://github.com/5hubham5ingh
|
||||
Prerequisite: hyprpaper daemon should be running
|
||||
Changes: Set to change wallpaper on all screens
|
||||
*/
|
||||
|
||||
export function setWallpaper(wallpaperPath) {
|
||||
// OS.exec(["hyprctl", "-q", "hyprpaper unload all"]);
|
||||
// OS.exec(["hyprctl", "-q", `hyprpaper wallpaper ,${wallpaperPath}`]);
|
||||
|
||||
// For swww
|
||||
OS.exec(["swww", "img", wallpaperPath, "--transition-type=any", "--transition-duration=1"]);
|
||||
|
||||
// For hyprpaper
|
||||
// OS.exec(["hyprctl", "-q", `hyprpaper reload , ${wallpaperPath}`]);
|
||||
|
||||
// SYMLINK
|
||||
// Extract directory and extension
|
||||
const lastSlashIndex = wallpaperPath.lastIndexOf('/');
|
||||
const directory = wallpaperPath.substring(0, lastSlashIndex + 1);
|
||||
|
||||
const lastDotIndex = wallpaperPath.lastIndexOf('.');
|
||||
const extension = lastDotIndex > lastSlashIndex ? wallpaperPath.substring(lastDotIndex) : '';
|
||||
|
||||
// Create lockpaper path with same extension
|
||||
const lockpaperPath = `${directory}lockpaper${extension}`;
|
||||
|
||||
// DELETE ANY OLD IMAGES
|
||||
//OS.exec(["zsh", "-c", `rm ${directory}lockpaper*`]);
|
||||
// Create symlink from wallpaper to lockpaper
|
||||
//OS.exec(["zsh", "-c", `ln -s ${wallpaperPath} ${lockpaperPath}`]);
|
||||
OS.exec(["zsh", "-c", `ln -sf ${wallpaperPath} /home/nathan/.config/lockpaper`]);
|
||||
}
|
||||
181
.config/WallRizz/themeExtensionScripts/btop@5hubham5ingh.js
Normal file
@@ -0,0 +1,181 @@
|
||||
/*
|
||||
For: Btop, https://github.com/aristocratos/btop
|
||||
Author: https://github.com/5hubham5ingh
|
||||
Version: 0.0.1
|
||||
Prerequisite: Edit the ~/.config/btop/btop.conf file to add this line-
|
||||
color_theme = "WallRizz.theme"
|
||||
|
||||
Note: The theme only takes effect after restarting btop.
|
||||
*/
|
||||
|
||||
function generateTheme(colors, isDark) {
|
||||
const sortedColors = colors.sort((a, b) => {
|
||||
const la = Color(a).getLuminance();
|
||||
const lb = Color(b).getLuminance();
|
||||
return isDark ? la - lb : lb - la;
|
||||
});
|
||||
|
||||
const background = sortedColors[0];
|
||||
const foreground = sortedColors[colors.length - 1];
|
||||
|
||||
const midIndex = Math.floor(sortedColors.length / 2);
|
||||
const selection = sortedColors[midIndex];
|
||||
const cursor = isDark
|
||||
? sortedColors[Math.floor(midIndex / 2)]
|
||||
: sortedColors[Math.floor(midIndex * 1.5)];
|
||||
|
||||
const black = isDark
|
||||
? sortedColors[1]
|
||||
: sortedColors[sortedColors.length - 2];
|
||||
const white = isDark
|
||||
? sortedColors[sortedColors.length - 2]
|
||||
: sortedColors[1];
|
||||
|
||||
return Object.assign(
|
||||
{
|
||||
background,
|
||||
foreground,
|
||||
selection,
|
||||
cursor,
|
||||
black,
|
||||
white,
|
||||
},
|
||||
...sortedColors.filter(
|
||||
(color) =>
|
||||
color !== selection ||
|
||||
color !== cursor,
|
||||
)
|
||||
.map((color, i) => ({
|
||||
[`color${i + 1}`]: adjustColorForReadability(background, color),
|
||||
})),
|
||||
);
|
||||
}
|
||||
|
||||
function adjustColorForReadability(background, foreground) {
|
||||
const fg = Color(foreground);
|
||||
while (!Color.isReadable(background, foreground)) {
|
||||
fg.brighten(1).saturate(1);
|
||||
const hex = fg.toHex();
|
||||
if (hex === "000000" || hex === "ffffff") {
|
||||
return Color(foreground).brighten().saturate().toHexString();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return fg.toHexString();
|
||||
}
|
||||
|
||||
function generateBtopConfig(theme) {
|
||||
const config = `
|
||||
# Main background
|
||||
theme[main_bg]="${theme.background}"
|
||||
|
||||
# Main text color
|
||||
theme[main_fg]="${theme.foreground}"
|
||||
|
||||
# Title color for boxes
|
||||
theme[title]="${theme.foreground}"
|
||||
|
||||
# Highlight color for keyboard shortcuts
|
||||
theme[hi_fg]="${theme.color1}"
|
||||
|
||||
# Background color of selected items
|
||||
theme[selected_bg]="${theme.selection}"
|
||||
|
||||
# Foreground color of selected items
|
||||
theme[selected_fg]="${theme.color3}"
|
||||
|
||||
# Color of inactive/disabled text
|
||||
theme[inactive_fg]="${theme.black}"
|
||||
|
||||
# Color of text appearing on top of graphs
|
||||
theme[graph_text]="${theme.foreground}"
|
||||
|
||||
# Misc colors for processes box
|
||||
theme[proc_misc]="${theme.color2}"
|
||||
|
||||
# CPU box outline color
|
||||
theme[cpu_box]="${theme.selection}"
|
||||
|
||||
# Memory/disks box outline color
|
||||
theme[mem_box]="${theme.selection}"
|
||||
|
||||
# Network up/down box outline color
|
||||
theme[net_box]="${theme.selection}"
|
||||
|
||||
# Processes box outline color
|
||||
theme[proc_box]="${theme.selection}"
|
||||
|
||||
# Box divider lines and small box borders
|
||||
theme[div_line]="${theme.selection}"
|
||||
|
||||
# Temperature graph colors
|
||||
theme[temp_start]="${theme.color2}"
|
||||
theme[temp_mid]="${theme.color3}"
|
||||
theme[temp_end]="${theme.color1}"
|
||||
|
||||
# CPU graph colors
|
||||
theme[cpu_start]="${theme.color2}"
|
||||
theme[cpu_mid]="${theme.color3}"
|
||||
theme[cpu_end]="${theme.color1}"
|
||||
|
||||
# Mem/Disk free meter
|
||||
theme[free_start]="${theme.color1}"
|
||||
theme[free_mid]="${theme.color3}"
|
||||
theme[free_end]="${theme.color2}"
|
||||
|
||||
# Mem/Disk cached meter
|
||||
theme[cached_start]="${theme.color6}"
|
||||
theme[cached_mid]="${theme.color2}"
|
||||
theme[cached_end]="${theme.color3}"
|
||||
|
||||
# Mem/Disk available meter
|
||||
theme[available_start]="${theme.color1}"
|
||||
theme[available_mid]="${theme.color3}"
|
||||
theme[available_end]="${theme.color2}"
|
||||
|
||||
# Mem/Disk used meter
|
||||
theme[used_start]="${theme.color2}"
|
||||
theme[used_mid]="${theme.color3}"
|
||||
theme[used_end]="${theme.color1}"
|
||||
|
||||
# Download graph colors
|
||||
theme[download_start]="${theme.color2}"
|
||||
theme[download_mid]="${theme.color6}"
|
||||
theme[download_end]="${theme.color4}"
|
||||
|
||||
# Upload graph colors
|
||||
theme[upload_start]="${theme.color3}"
|
||||
theme[upload_mid]="${theme.color5}"
|
||||
theme[upload_end]="${theme.color1}"
|
||||
|
||||
# Process box color gradient for threads, mem and cpu usage
|
||||
theme[process_start]="${theme.color2}"
|
||||
theme[process_mid]="${theme.color1}"
|
||||
theme[process_end]="${theme.color4}"
|
||||
`.trim();
|
||||
|
||||
return config;
|
||||
}
|
||||
|
||||
function getDarkThemeConf(colors) {
|
||||
const theme = generateTheme(colors, true);
|
||||
return generateBtopConfig(theme, true);
|
||||
}
|
||||
|
||||
function getLightThemeConf(colors) {
|
||||
const theme = generateTheme(colors, false);
|
||||
return generateBtopConfig(theme, false);
|
||||
}
|
||||
|
||||
function setTheme(themeConfPath) {
|
||||
const btopThemeConf = STD.open(
|
||||
HOME_DIR.concat("/.config/btop/themes/WallRizz.theme"),
|
||||
"w+",
|
||||
);
|
||||
const conf = STD.loadFile(themeConfPath);
|
||||
btopThemeConf.puts(conf);
|
||||
btopThemeConf.close();
|
||||
}
|
||||
|
||||
export { getDarkThemeConf, getLightThemeConf, setTheme };
|
||||
4
.config/backgrounds/.gitattributes
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
*.jpg filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
||||
*.webp filter=lfs diff=lfs merge=lfs -text
|
||||
1
.config/backgrounds/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
lockpaper*
|
||||
BIN
.config/backgrounds/0_Akaza.png
LFS
Normal file
BIN
.config/backgrounds/0_Cello.jpg
LFS
Normal file
BIN
.config/backgrounds/0_Cross.png
LFS
Normal file
BIN
.config/backgrounds/0_Earth.jpg
LFS
Normal file
BIN
.config/backgrounds/0_Frieren.jpg
LFS
Normal file
BIN
.config/backgrounds/0_Jellyfish.png
LFS
Normal file
BIN
.config/backgrounds/0_Mountains.png
LFS
Normal file
BIN
.config/backgrounds/0_Room.png
LFS
Normal file
BIN
.config/backgrounds/0_Shinjuro_Rengoku_0.png
LFS
Normal file
BIN
.config/backgrounds/0_Shinobu_Kocho_0.png
LFS
Normal file
BIN
.config/backgrounds/0_Shinobu_Kocho_1.jpg
LFS
Normal file
BIN
.config/backgrounds/0_Street.png
LFS
Normal file
BIN
.config/backgrounds/0_Sunset.jpg
LFS
Normal file
BIN
.config/backgrounds/0_Tanjiro_Kamado.png
LFS
Normal file
BIN
.config/backgrounds/0_Tengen_Uzui.jpg
LFS
Normal file
BIN
.config/backgrounds/0_Yor.jpg
LFS
Normal file
BIN
.config/backgrounds/Anime_girl_closeup_cat_green.jpg
LFS
Normal file
BIN
.config/backgrounds/Anime_girl_face_eyes_blue_butterfly.png
LFS
Normal file
BIN
.config/backgrounds/Bix57su7.png
LFS
Normal file
BIN
.config/backgrounds/Blue_Mountains_01.jpg
LFS
Normal file
BIN
.config/backgrounds/Blue_Mountains_02.jpg
LFS
Normal file
BIN
.config/backgrounds/Blue_Mountains_03.jpg
LFS
Normal file
BIN
.config/backgrounds/CS_Wedding01.jpg
LFS
Normal file
BIN
.config/backgrounds/CS_Wedding02.jpg
LFS
Normal file
BIN
.config/backgrounds/Computerized_Art_3440x1440_7.jpg
LFS
Normal file
BIN
.config/backgrounds/Cradle_Mountain.jpg
LFS
Normal file
BIN
.config/backgrounds/Cradle_Mountain_2.jpg
LFS
Normal file
BIN
.config/backgrounds/Cradle_Mountain_3.jpg
LFS
Normal file
BIN
.config/backgrounds/DaLat.jpg
LFS
Normal file
BIN
.config/backgrounds/DaLat02.jpg
LFS
Normal file
BIN
.config/backgrounds/Fantasy-Japanese-Street.png
LFS
Normal file
BIN
.config/backgrounds/Gate_sunlight_trees_anime.jpg
LFS
Normal file
BIN
.config/backgrounds/HoiAn01.jpg
LFS
Normal file
BIN
.config/backgrounds/HoiAn02.jpg
LFS
Normal file
BIN
.config/backgrounds/Lighthouse_seashore_anime.webp
LFS
Normal file
BIN
.config/backgrounds/Nepal_5160x2160.png
LFS
Normal file
BIN
.config/backgrounds/Pebbly01.jpg
LFS
Normal file
BIN
.config/backgrounds/Sapa01.jpg
LFS
Normal file
BIN
.config/backgrounds/Sapa02.jpg
LFS
Normal file
BIN
.config/backgrounds/Selwyn_01.jpg
LFS
Normal file
BIN
.config/backgrounds/SiemReap.jpg
LFS
Normal file
BIN
.config/backgrounds/Square_Rock_01.jpeg
LFS
Normal file
BIN
.config/backgrounds/Square_Rock_02.jpeg
LFS
Normal file
BIN
.config/backgrounds/Square_Rock_03.jpeg
LFS
Normal file
BIN
.config/backgrounds/Square_Rock_04.jpeg
LFS
Normal file
BIN
.config/backgrounds/Square_Rock_05.jpg
LFS
Normal file
BIN
.config/backgrounds/Square_Rock_06.jpg
LFS
Normal file
BIN
.config/backgrounds/Square_Rock_07.jpg
LFS
Normal file
BIN
.config/backgrounds/Sunlight_room_anime.jpg
LFS
Normal file
BIN
.config/backgrounds/Sunset_sky_anime.webp
LFS
Normal file
BIN
.config/backgrounds/Vietnam01.jpg
LFS
Normal file
BIN
.config/backgrounds/Vietnam02.jpg
LFS
Normal file
BIN
.config/backgrounds/Watchtower_winter_snowfall_fantasy.webp
LFS
Normal file
BIN
.config/backgrounds/Winter_snow_sunset_anime.jpg
LFS
Normal file
BIN
.config/backgrounds/Yamba01.jpg
LFS
Normal file
BIN
.config/backgrounds/Yamba02.jpg
LFS
Normal file
BIN
.config/backgrounds/Z5hj_CoA.png
LFS
Normal file
BIN
.config/backgrounds/a_cartoon_of_a_house_on_a_cliff.png
LFS
Normal file
BIN
.config/backgrounds/abandoned.jpg
LFS
Normal file
|
Before Width: | Height: | Size: 3.8 MiB |
BIN
.config/backgrounds/anime-water.png
LFS
Normal file
BIN
.config/backgrounds/anime_cafe_tokyonight.png
LFS
Normal file
BIN
.config/backgrounds/anime_flower_orange_girl_face_closeup.jpg
LFS
Normal file
BIN
.config/backgrounds/anime_skyline.png
LFS
Normal file
BIN
.config/backgrounds/art-lake.png
LFS
Normal file
BIN
.config/backgrounds/astronaut-nord.png
LFS
Normal file
BIN
.config/backgrounds/astronaut.jpg
LFS
Normal file
BIN
.config/backgrounds/aurora_v02.png
LFS
Normal file
BIN
.config/backgrounds/australia.jpg
LFS
Normal file
|
Before Width: | Height: | Size: 2.4 MiB |
BIN
.config/backgrounds/beach_landscape.png
LFS
Normal file
BIN
.config/backgrounds/beautiful.jpg
LFS
Normal file
|
Before Width: | Height: | Size: 864 KiB |
BIN
.config/backgrounds/bici.jpg
LFS
Normal file
BIN
.config/backgrounds/cabin.png
LFS
Normal file
BIN
.config/backgrounds/california.jpg
LFS
Normal file
|
Before Width: | Height: | Size: 8.5 MiB |
BIN
.config/backgrounds/catpuccin_landscape.png
LFS
Normal file
BIN
.config/backgrounds/catpuccin_samurai.png
LFS
Normal file
|
Before Width: | Height: | Size: 1.8 MiB |
BIN
.config/backgrounds/chill.gif
Normal file
|
After Width: | Height: | Size: 193 KiB |
BIN
.config/backgrounds/city-skyline-sunset-car-anime.webp
LFS
Normal file
BIN
.config/backgrounds/cliff-edge.jpg
LFS
Normal file
BIN
.config/backgrounds/colors.jpg
LFS
Normal file
BIN
.config/backgrounds/colourfull_skyline_anime.png
LFS
Normal file
|
Before Width: | Height: | Size: 739 KiB |