feat: Add new wallpaper script to disable auto changes
This commit is contained in:
2
.config/.gitignore
vendored
2
.config/.gitignore
vendored
@@ -26,3 +26,5 @@
|
||||
!WallRizz/**
|
||||
!btop
|
||||
!btop/**
|
||||
!kitty
|
||||
!kitty/**
|
||||
|
||||
@@ -9,4 +9,21 @@ export function setWallpaper(wallpaperPath) {
|
||||
OS.exec(["hyprctl", "-q", "hyprpaper unload all"]);
|
||||
OS.exec(["hyprctl", "-q", `hyprpaper preload ${wallpaperPath}`]);
|
||||
OS.exec(["hyprctl", "-q", `hyprpaper wallpaper ,${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`]);
|
||||
}
|
||||
|
||||
@@ -1,534 +0,0 @@
|
||||
/*
|
||||
For: Visual studio code
|
||||
Author: https://github.com/5hubham5ingh
|
||||
Prerequisite: Installed and enabled WallRizz-theme in vscode from vscode marketplace.
|
||||
Version: 1.0.0
|
||||
*/
|
||||
|
||||
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 generateThemeConfig(theme, isDark) {
|
||||
const vscodeTheme = {
|
||||
"name": "WallWiz Theme",
|
||||
"semanticHighlighting": true,
|
||||
"colors": {
|
||||
// General
|
||||
"editor.background": isDark
|
||||
? Color(theme.background).darken().toHexString()
|
||||
: Color(theme.background).lighten().toHexString(),
|
||||
"editor.foreground": theme.foreground,
|
||||
"textLink.foreground": "#569cd6",
|
||||
"textLink.activeForeground": "#569cd6",
|
||||
"editor.selectionForeground": theme.foreground,
|
||||
"editorCursor.foreground": theme.cursor,
|
||||
|
||||
// Title Bar
|
||||
"titleBar.activeBackground": theme.background,
|
||||
"titleBar.activeForeground": theme.foreground,
|
||||
"titleBar.inactiveBackground": Color(theme.background).lighten()
|
||||
.toHexString(),
|
||||
"titleBar.inactiveForeground": Color(theme.foreground).lighten()
|
||||
.toHexString(),
|
||||
|
||||
// Side Bar
|
||||
"sideBar.background": theme.black,
|
||||
"sideBar.foreground": theme.foreground,
|
||||
|
||||
// Status bar
|
||||
"statusBar.background": theme.background,
|
||||
"statusBar.foreground": theme.foreground,
|
||||
"statusBar.debuggingBackground": Color(theme.background).brighten()
|
||||
.saturate()
|
||||
.toHexString(),
|
||||
"statusBar.debuggingForeground": Color(theme.foreground).brighten()
|
||||
.saturate()
|
||||
.toHexString(),
|
||||
"statusBar.border": "#000",
|
||||
|
||||
// Activity bar
|
||||
"activityBar.background": theme.background,
|
||||
"activityBar.foreground": theme.foreground,
|
||||
"activityBar.activeBorder": Color(theme.background).brighten()
|
||||
.toHexString(),
|
||||
"activityBar.inactiveForeground": Color(theme.foreground).lighten()
|
||||
.toHexString(),
|
||||
"activityBar.activeFocusBorder": theme.white,
|
||||
"activityBar.border": theme.black,
|
||||
|
||||
// Remove borders
|
||||
"tab.border": "#00000000",
|
||||
"sideBar.border": "#00000000",
|
||||
"panel.border": "#00000000",
|
||||
"titleBar.border": "#00000000",
|
||||
"focusBorder": "#00000000",
|
||||
"window.activeBorder": "#00000000",
|
||||
"contrastBorder": "#00000000",
|
||||
|
||||
// Set borders to white (unless covered by another section)
|
||||
"button.border": theme.white,
|
||||
"input.border": theme.white,
|
||||
"dropdown.border": theme.white,
|
||||
"editor.lineHighlightBorder": theme.white,
|
||||
"editor.selectionBackground": theme.white,
|
||||
"editor.findMatchHighlightBorder": theme.white, // another way to show would be nice
|
||||
|
||||
// Panel
|
||||
"panelTitle.inactiveForeground": theme.white,
|
||||
"panelTitle.activeForeground": theme.white,
|
||||
|
||||
// Badges
|
||||
"activityBarBadge.background": theme.white,
|
||||
"activityBarBadge.foreground": theme.black,
|
||||
"badge.background": theme.white,
|
||||
"badge.foreground": theme.black,
|
||||
|
||||
// List
|
||||
"list.activeSelectionIconForeground": theme.background,
|
||||
"list.focusHighlightForeground": theme.foreground,
|
||||
"list.activeSelectionBackground": theme.white,
|
||||
"list.activeSelectionForeground": theme.background,
|
||||
"list.dropBackground": theme.white,
|
||||
"list.focusBackground": theme.white,
|
||||
"list.focusForeground": theme.black,
|
||||
"list.highlightForeground": theme.background,
|
||||
"list.hoverBackground": theme.white,
|
||||
"list.hoverForeground": theme.black,
|
||||
"list.inactiveSelectionBackground": theme.background,
|
||||
"list.inactiveSelectionForeground": theme.foreground,
|
||||
"list.inactiveSelectionIconForeground": theme.black,
|
||||
"list.matchHighlightBackground": theme.cursor,
|
||||
"list.matchHighlightForeground": theme.black,
|
||||
"list.selectionBackground": theme.white,
|
||||
"list.selectionForeground": theme.black,
|
||||
"list.selectionIconForeground": theme.black,
|
||||
"list.warningForeground": theme.cursor,
|
||||
|
||||
// Inlay type inferences
|
||||
"editorInlayHint.background": "#000",
|
||||
"editorInlayHint.foreground": Color(theme.color1).lighten().toHexString(),
|
||||
|
||||
// Editor tabs
|
||||
"tab.inactiveBackground": theme.black,
|
||||
"tab.inactiveForeground": theme.foreground,
|
||||
"tab.activeBackground": theme.background,
|
||||
"tab.activeForeground": theme.foreground,
|
||||
"tab.activeBorder": "#000",
|
||||
"editorGroupHeader.tabsBackground": theme.black,
|
||||
"sideBySideEditor.horizontalBorder": theme.black,
|
||||
"sideBySideEditor.verticalBorder": theme.black,
|
||||
|
||||
// Errors
|
||||
"editorWarning.background": "#ffb51669",
|
||||
"editorError.background": "#ff000069",
|
||||
|
||||
// Line nums
|
||||
"editorLineNumber.activeForeground": theme.background,
|
||||
"editorLineNumber.foreground": theme.foreground,
|
||||
|
||||
// Peek view
|
||||
"peekView.border": theme.background,
|
||||
"peekViewEditor.background": theme.black,
|
||||
"peekViewResult.background": theme.background,
|
||||
"peekViewTitle.background": theme.background,
|
||||
"peekViewEditor.matchHighlightBackground": theme.white,
|
||||
"peekViewTitleDescription.foreground": theme.foreground,
|
||||
|
||||
// Menu bar
|
||||
"menubar.selectionForeground": "#000",
|
||||
"menubar.selectionBackground": "#fff",
|
||||
"menu.border": "#000",
|
||||
|
||||
// Notifications center
|
||||
"notificationCenter.border": "#fff",
|
||||
"notificationCenterHeader.background": "#000",
|
||||
"notificationCenterHeader.foreground": "#fff",
|
||||
|
||||
// Notifications
|
||||
"notifications.background": theme.background,
|
||||
"notifications.foreground": theme.foreground,
|
||||
|
||||
// Quick picker
|
||||
"quickInput.background": "#000",
|
||||
"quickInput.foreground": "#fff",
|
||||
"quickInputList.focusBackground": "#fff",
|
||||
"quickInputList.focusForeground": "#000",
|
||||
"quickInputList.focusIconForeground": "#000",
|
||||
"pickerGroup.border": "#fff",
|
||||
|
||||
// Symbol icons (outline, breadcrumbs, suggest)
|
||||
"symbolIcon.classForeground": "#4EC9B0",
|
||||
"symbolIcon.structForeground": "#4EC9B0",
|
||||
"symbolIcon.enumeratorForeground": "#4EC9B0",
|
||||
"symbolIcon.enumeratorMemberForeground": "#9CDCFE",
|
||||
"symbolIcon.constantForeground": "#9CDCFE",
|
||||
"symbolIcon.moduleForeground": "#fff",
|
||||
"symbolIcon.functionForeground": "#FFEC8B",
|
||||
"symbolIcon.methodForeground": "#FFEC8B",
|
||||
"symbolIcon.objectForeground": "#F1644B", // impl block
|
||||
"symbolIcon.typeParameterForeground": "#4EC9B0",
|
||||
|
||||
// Scrollbar
|
||||
"scrollbarSlider.background": "#ffffff69",
|
||||
"scrollbarSlider.hoverBackground": "#fff",
|
||||
"scrollbarSlider.activeBackground": "#fff",
|
||||
|
||||
// Settings
|
||||
"keybindingTable.rowsBackground": "#000",
|
||||
"keybindingLabel.bottomBorder": "#000",
|
||||
|
||||
// Keybinding label colors
|
||||
"keybindingLabel.foreground": "#000",
|
||||
"keybindingLabel.background": "#fff",
|
||||
"keybindingLabel.border": "#fff",
|
||||
|
||||
// Terminal
|
||||
"terminal.findMatchBackground": "#fff",
|
||||
"terminal.findMatchHighlightBorder": "#ffffff69",
|
||||
"terminal.selectionForeground": "#000",
|
||||
"terminal.selectionBackground": "#fff",
|
||||
"terminal.foreground": "#fff",
|
||||
"terminal.background": "#000",
|
||||
|
||||
// Widgets
|
||||
"editorWidget.border": "#fff",
|
||||
"editorWidget.background": "#000",
|
||||
"editorHoverWidget.background": "#000",
|
||||
"editorHoverWidget.foreground": "#fff",
|
||||
"editorHoverWidget.border": "#fff",
|
||||
|
||||
// Jupyter
|
||||
"notebook.cellBorderColor": "#ffffff69",
|
||||
"notebook.focusedEditorBorder": "#fff",
|
||||
"notebook.outputContainerBorderColor": "#ffffff69",
|
||||
},
|
||||
"tokenColors": [
|
||||
{
|
||||
"scope": [
|
||||
"",
|
||||
"meta.selector",
|
||||
"keyword",
|
||||
"keyword.other",
|
||||
"keyword.control.directive",
|
||||
"punctuation.section.directive",
|
||||
],
|
||||
"settings": {
|
||||
"foreground": theme.color1,
|
||||
"fontStyle": "bold",
|
||||
},
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"keyword.operator.quantifier.regexp",
|
||||
"punctuation.definition.tag",
|
||||
"keyword.control",
|
||||
"punctuation.separator",
|
||||
"punctuation.terminator",
|
||||
"punctuation.accessor",
|
||||
"punctuation.bracket",
|
||||
"punctuation.section",
|
||||
],
|
||||
"settings": {
|
||||
"foreground": theme.color2,
|
||||
},
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"support.other.escape.special.regexp",
|
||||
"constant.character.escape.regexp",
|
||||
"constant.language",
|
||||
"meta.preprocessor",
|
||||
"constant.other.placeholder",
|
||||
"constant.character",
|
||||
"keyword.other.special-method",
|
||||
],
|
||||
"settings": {
|
||||
"foreground": theme.color3,
|
||||
},
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"meta.character.set.regexp",
|
||||
"meta.preprocessor.string",
|
||||
"string.regexp",
|
||||
"constant.character.escape",
|
||||
"constant.other.character-class.regexp",
|
||||
],
|
||||
"settings": {
|
||||
"foreground": theme.color4,
|
||||
},
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"meta.function.decorator.python",
|
||||
"entity.name.function.decorator.python",
|
||||
"source.css entity.other.attribute-name",
|
||||
"source.css.less entity.other.attribute-name.id",
|
||||
"source.scss entity.other.attribute-name",
|
||||
"meta.preprocessor.numeric",
|
||||
"keyword.operator",
|
||||
"keyword.control.conditional",
|
||||
"keyword.operator.logical",
|
||||
"keyword.operator.comparison",
|
||||
],
|
||||
"settings": {
|
||||
"foreground": theme.color5,
|
||||
"fontStyle": "italic",
|
||||
},
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"meta.attribute",
|
||||
"meta.item-access",
|
||||
"meta.structure.dictionary.key.python",
|
||||
"invalid",
|
||||
"variable",
|
||||
"meta.definition.variable.name",
|
||||
"support.variable",
|
||||
"entity.name.variable",
|
||||
"variable.parameter",
|
||||
"variable.other",
|
||||
"variable.language",
|
||||
],
|
||||
"settings": {
|
||||
"foreground": theme.color6,
|
||||
},
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"meta.function-call",
|
||||
"storage",
|
||||
"markup.heading",
|
||||
"keyword.other.unit",
|
||||
"meta.object-literal.key",
|
||||
"meta.object-literal.key entity.name.function",
|
||||
"entity.name.function.call",
|
||||
"support.function",
|
||||
],
|
||||
"settings": {
|
||||
"foreground": theme.background,
|
||||
},
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"meta.diff.header",
|
||||
"markup.inserted",
|
||||
"storage.type",
|
||||
"support.constant.property-value",
|
||||
"support.constant.font-name",
|
||||
"support.constant.media-type",
|
||||
"support.constant.media",
|
||||
"constant.other.color.rgb-value",
|
||||
"constant.other.rgb-value",
|
||||
"support.constant.color",
|
||||
"storage.type.primitive",
|
||||
],
|
||||
"settings": {
|
||||
"foreground": theme.white,
|
||||
},
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"markup.deleted",
|
||||
"storage.modifier",
|
||||
"constant.sha.git-rebase",
|
||||
"keyword.control.flow",
|
||||
"keyword.control.import",
|
||||
],
|
||||
"settings": {
|
||||
"foreground": theme.color9,
|
||||
},
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"markup.changed",
|
||||
"string",
|
||||
"storage.modifier.import.java",
|
||||
"variable.language.wildcard.java",
|
||||
"storage.modifier.package.java",
|
||||
"string.quoted",
|
||||
"string.interpolated",
|
||||
"string.template",
|
||||
],
|
||||
"settings": {
|
||||
"foreground": theme.color10,
|
||||
},
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"constant.numeric",
|
||||
"constant.other.color.rgb-value",
|
||||
"constant.other.rgb-value",
|
||||
"support.constant.color",
|
||||
"string.tag",
|
||||
"variable.language.this",
|
||||
"constant.language.boolean",
|
||||
"constant.language.null",
|
||||
],
|
||||
"settings": {
|
||||
"foreground": theme.color11,
|
||||
},
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"entity.name.tag",
|
||||
"string.value",
|
||||
"entity.name.function",
|
||||
"support.function",
|
||||
"support.constant.handlebars",
|
||||
"meta.function.identifier",
|
||||
],
|
||||
"settings": {
|
||||
"foreground": theme.foreground,
|
||||
},
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"entity.name.tag.css",
|
||||
"punctuation.definition.template-expression.begin.js",
|
||||
"punctuation.definition.template-expression.begin.ts",
|
||||
"punctuation.definition.template-expression.end.ts",
|
||||
"punctuation.definition.template-expression.end.js",
|
||||
"meta.return-type",
|
||||
"support.class",
|
||||
"support.type",
|
||||
"entity.name.type",
|
||||
"entity.name.class",
|
||||
"source.cs storage.type",
|
||||
"storage.type.class",
|
||||
"storage.type.function",
|
||||
],
|
||||
"settings": {
|
||||
"foreground": theme.color13,
|
||||
},
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"entity.other.attribute-name",
|
||||
"support.type.vendored.property-name",
|
||||
"support.type.property-name",
|
||||
"variable.css",
|
||||
"variable.scss",
|
||||
"variable.other.less",
|
||||
"meta.type.cast.expr",
|
||||
"meta.type.new.expr",
|
||||
"support.constant.math",
|
||||
"support.constant.dom",
|
||||
"support.constant.json",
|
||||
"entity.other.inherited-class",
|
||||
"support.type.property-name.json",
|
||||
],
|
||||
"settings": {
|
||||
"foreground": theme.color14,
|
||||
},
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"mutable",
|
||||
"storage.modifier.mut",
|
||||
"emphasis",
|
||||
"strong",
|
||||
"markup.underline",
|
||||
"markup.bold",
|
||||
"markup.italic",
|
||||
],
|
||||
"settings": {
|
||||
"fontStyle": "underline bold italic",
|
||||
},
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
"comment",
|
||||
"string.quoted.docstring",
|
||||
"comment.line",
|
||||
"comment.block",
|
||||
],
|
||||
"settings": {
|
||||
"foreground": "#292826",
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
return JSON.stringify(vscodeTheme);
|
||||
}
|
||||
|
||||
function getDarkThemeConf(colors) {
|
||||
const theme = generateTheme(colors, true);
|
||||
return generateThemeConfig(theme, true);
|
||||
}
|
||||
|
||||
function getLightThemeConf(colors) {
|
||||
const theme = generateTheme(colors, false);
|
||||
return generateThemeConfig(theme, false);
|
||||
}
|
||||
|
||||
function setTheme(
|
||||
themeConfPath,
|
||||
) {
|
||||
const config = STD.loadFile(themeConfPath);
|
||||
const themeDir =
|
||||
"/.vscode/extensions/ssdev.wallrizz-theme-0.0.6/themes/wallrizz-theme.json";
|
||||
const vscodeThemeFile = STD.open(
|
||||
HOME_DIR.concat(themeDir),
|
||||
"w",
|
||||
);
|
||||
if (!vscodeThemeFile) return;
|
||||
vscodeThemeFile.puts(config);
|
||||
vscodeThemeFile.close();
|
||||
}
|
||||
|
||||
export { getDarkThemeConf, getLightThemeConf, setTheme };
|
||||
1
.config/backgrounds/.gitignore
vendored
Normal file
1
.config/backgrounds/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
lockpaper*
|
||||
Binary file not shown.
@@ -119,3 +119,9 @@
|
||||
|
||||
2025/04/19 (17:54:49) | ===> btop++ v.1.4.0
|
||||
2025/04/19 (17:54:49) | WARNING: Intel GPU: Failed to initialize PMU
|
||||
|
||||
2025/04/19 (18:45:05) | ===> btop++ v.1.4.0
|
||||
2025/04/19 (18:45:05) | WARNING: Intel GPU: Failed to initialize PMU
|
||||
|
||||
2025/04/19 (22:20:46) | ===> btop++ v.1.4.0
|
||||
2025/04/19 (22:20:46) | WARNING: Intel GPU: Failed to initialize PMU
|
||||
|
||||
@@ -1,86 +1,86 @@
|
||||
# Main background
|
||||
theme[main_bg]="#000001"
|
||||
theme[main_bg]="#0b0b0b"
|
||||
|
||||
# Main text color
|
||||
theme[main_fg]="#f0edf9"
|
||||
theme[main_fg]="#f5f5f5"
|
||||
|
||||
# Title color for boxes
|
||||
theme[title]="#f0edf9"
|
||||
theme[title]="#f5f5f5"
|
||||
|
||||
# Highlight color for keyboard shortcuts
|
||||
theme[hi_fg]="#16161d"
|
||||
theme[hi_fg]="#282020"
|
||||
|
||||
# Background color of selected items
|
||||
theme[selected_bg]="#1851a6"
|
||||
theme[selected_bg]="#6b6b6b"
|
||||
|
||||
# Foreground color of selected items
|
||||
theme[selected_fg]="#21264c"
|
||||
theme[selected_fg]="#42282d"
|
||||
|
||||
# Color of inactive/disabled text
|
||||
theme[inactive_fg]="#000001"
|
||||
theme[inactive_fg]="#0b0b0b"
|
||||
|
||||
# Color of text appearing on top of graphs
|
||||
theme[graph_text]="#f0edf9"
|
||||
theme[graph_text]="#f5f5f5"
|
||||
|
||||
# Misc colors for processes box
|
||||
theme[proc_misc]="#16161d"
|
||||
theme[proc_misc]="#282020"
|
||||
|
||||
# CPU box outline color
|
||||
theme[cpu_box]="#1851a6"
|
||||
theme[cpu_box]="#6b6b6b"
|
||||
|
||||
# Memory/disks box outline color
|
||||
theme[mem_box]="#1851a6"
|
||||
theme[mem_box]="#6b6b6b"
|
||||
|
||||
# Network up/down box outline color
|
||||
theme[net_box]="#1851a6"
|
||||
theme[net_box]="#6b6b6b"
|
||||
|
||||
# Processes box outline color
|
||||
theme[proc_box]="#1851a6"
|
||||
theme[proc_box]="#6b6b6b"
|
||||
|
||||
# Box divider lines and small box borders
|
||||
theme[div_line]="#1851a6"
|
||||
theme[div_line]="#6b6b6b"
|
||||
|
||||
# Temperature graph colors
|
||||
theme[temp_start]="#16161d"
|
||||
theme[temp_mid]="#21264c"
|
||||
theme[temp_end]="#16161d"
|
||||
theme[temp_start]="#282020"
|
||||
theme[temp_mid]="#42282d"
|
||||
theme[temp_end]="#282020"
|
||||
|
||||
# CPU graph colors
|
||||
theme[cpu_start]="#16161d"
|
||||
theme[cpu_mid]="#21264c"
|
||||
theme[cpu_end]="#16161d"
|
||||
theme[cpu_start]="#282020"
|
||||
theme[cpu_mid]="#42282d"
|
||||
theme[cpu_end]="#282020"
|
||||
|
||||
# Mem/Disk free meter
|
||||
theme[free_start]="#16161d"
|
||||
theme[free_mid]="#21264c"
|
||||
theme[free_end]="#16161d"
|
||||
theme[free_start]="#282020"
|
||||
theme[free_mid]="#42282d"
|
||||
theme[free_end]="#282020"
|
||||
|
||||
# Mem/Disk cached meter
|
||||
theme[cached_start]="#492442"
|
||||
theme[cached_mid]="#16161d"
|
||||
theme[cached_end]="#21264c"
|
||||
theme[cached_start]="#4f4141"
|
||||
theme[cached_mid]="#282020"
|
||||
theme[cached_end]="#42282d"
|
||||
|
||||
# Mem/Disk available meter
|
||||
theme[available_start]="#16161d"
|
||||
theme[available_mid]="#21264c"
|
||||
theme[available_end]="#16161d"
|
||||
theme[available_start]="#282020"
|
||||
theme[available_mid]="#42282d"
|
||||
theme[available_end]="#282020"
|
||||
|
||||
# Mem/Disk used meter
|
||||
theme[used_start]="#16161d"
|
||||
theme[used_mid]="#21264c"
|
||||
theme[used_end]="#16161d"
|
||||
theme[used_start]="#282020"
|
||||
theme[used_mid]="#42282d"
|
||||
theme[used_end]="#282020"
|
||||
|
||||
# Download graph colors
|
||||
theme[download_start]="#16161d"
|
||||
theme[download_mid]="#492442"
|
||||
theme[download_end]="#21264c"
|
||||
theme[download_start]="#282020"
|
||||
theme[download_mid]="#4f4141"
|
||||
theme[download_end]="#42282d"
|
||||
|
||||
# Upload graph colors
|
||||
theme[upload_start]="#21264c"
|
||||
theme[upload_mid]="#492442"
|
||||
theme[upload_end]="#16161d"
|
||||
theme[upload_start]="#42282d"
|
||||
theme[upload_mid]="#4f4141"
|
||||
theme[upload_end]="#282020"
|
||||
|
||||
# Process box color gradient for threads, mem and cpu usage
|
||||
theme[process_start]="#16161d"
|
||||
theme[process_mid]="#16161d"
|
||||
theme[process_end]="#21264c"
|
||||
theme[process_start]="#282020"
|
||||
theme[process_mid]="#282020"
|
||||
theme[process_end]="#42282d"
|
||||
@@ -289,4 +289,4 @@ bind = $mainMod, PERIOD, exec, bemoji
|
||||
bind = $mainMod, T, exec, alacritty --config-file ~/dotfiles/.alacritty-nozellij.toml
|
||||
|
||||
# Save output to ~/tmp/errors.log
|
||||
bind = $mainMod, W, exec, pgrep -x WallRizz && pkill -x WallRizz || kitty -o allow_remote_control=yes --class float-80 WallRizz -z list -n -d ~/.config/backgrounds
|
||||
bind = $mainMod, W, exec, ~/.config/hypr/scripts/wallpaper.sh
|
||||
@@ -2,15 +2,23 @@ $font=Fira Code
|
||||
|
||||
# GENERAL
|
||||
general {
|
||||
disable_loading_bar = true
|
||||
hide_cursor = true
|
||||
}
|
||||
|
||||
animation {
|
||||
enabled = true
|
||||
bezier = linear, 1, 1, 0, 0
|
||||
animation = fade, 1, 1.8, linear
|
||||
}
|
||||
|
||||
# BACKGROUND
|
||||
background {
|
||||
path = $HOME/.config/backgrounds/0_Shinjuro_Rengoku_0.png
|
||||
#path = $HOME/.config/backgrounds/0_Jellyfish.png
|
||||
path = $HOME/.config/lockpaper
|
||||
|
||||
reload_time = 15
|
||||
reload_cmd = echo $HOME/.config/lockpaper
|
||||
blur_passes = 0
|
||||
crossfade_time = 1
|
||||
}
|
||||
# TIME
|
||||
label {
|
||||
@@ -97,13 +105,13 @@ input-field {
|
||||
}
|
||||
|
||||
# FINGERPRINT
|
||||
{
|
||||
# monitor = "";
|
||||
text = $FPRINTPROMPT
|
||||
color = rgb(255, 255, 255)
|
||||
font_size = 14;
|
||||
font_family = $font;
|
||||
position = 0, -107;
|
||||
halign = center;
|
||||
valign = center;
|
||||
}
|
||||
# {
|
||||
# # monitor = "";
|
||||
# text = $FPRINTPROMPT
|
||||
# color = rgb(255, 255, 255)
|
||||
# font_size = 14;
|
||||
# font_family = $font;
|
||||
# position = 0, -107;
|
||||
# halign = center;
|
||||
# valign = center;
|
||||
# }
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
preload = ~/.config/backgrounds/0_Shinjuro_Rengoku_0.png
|
||||
wallpaper = , ~/.config/backgrounds/0_Shinjuro_Rengoku_0.png
|
||||
ipc = on
|
||||
ipc = on
|
||||
|
||||
splash = false
|
||||
@@ -16,3 +16,6 @@ kdeconnect-indicator
|
||||
|
||||
# Fix dolphin file assosiations
|
||||
XDG_MENU_PREFIX=arch- kbuildsycoca6
|
||||
|
||||
|
||||
WallRizz -r -n -d ~/.config/backgrounds
|
||||
4
.config/hypr/scripts/wallpaper.sh
Executable file
4
.config/hypr/scripts/wallpaper.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
systemctl --user stop wallpaper.timer # Disable wallpaper changes
|
||||
pgrep -x WallRizz && pkill -x WallRizz || kitty -o allow_remote_control=yes --class float-80 WallRizz -z list -n -d ~/.config/backgrounds
|
||||
@@ -1,7 +1,9 @@
|
||||
exec-once = hyprpm reload -n
|
||||
exec-once = hyprpaper
|
||||
exec-once = hyprpanel
|
||||
exec-once = hyprpaper
|
||||
exec-once = hypridle
|
||||
|
||||
exec-once = /usr/bin/kdeconnectd
|
||||
exec-once = systemctl --user start hyprpolkitagent
|
||||
exec-once = ~/.config/hypr/scripts/exec-once.sh > ~/.logs/exec-once.log 2>&1
|
||||
|
||||
|
||||
26
.config/kitty/kitty.conf
Normal file
26
.config/kitty/kitty.conf
Normal file
@@ -0,0 +1,26 @@
|
||||
font_family Fira Code SemiBold
|
||||
font_size 12.0
|
||||
bold_font auto
|
||||
italic_font auto
|
||||
bold_italic_font auto
|
||||
|
||||
background_opacity 0.7
|
||||
confirm_os_window_close 0
|
||||
|
||||
# change to x11 or wayland or leave auto
|
||||
linux_display_server auto
|
||||
|
||||
scrollback_lines 2000
|
||||
wheel_scroll_min_lines 1
|
||||
|
||||
enable_audio_bell no
|
||||
|
||||
window_padding_width 4
|
||||
|
||||
selection_foreground none
|
||||
selection_background none
|
||||
|
||||
foreground #dddddd
|
||||
background #000000
|
||||
cursor #dddddd
|
||||
allow_remote_control yes
|
||||
Reference in New Issue
Block a user