initial commit x2

This commit is contained in:
sophron
2025-06-23 00:47:36 +05:00
commit f2f225110a
193 changed files with 4737 additions and 0 deletions

37
flake.nix Normal file
View File

@@ -0,0 +1,37 @@
{
description = "furry flake";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
disko = {
url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs";
};
zen-browser.url = "github:MarceColl/zen-browser-flake";
};
outputs = { self, nixpkgs, home-manager, disko, ... }@inputs:
let
system = "x86_64-linux";
host = "sophron";
nick = "fox";
in {
nixosConfigurations.${host} = inputs.nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
modules = [ ./system/default.nix disko.nixosModules.disko ];
};
homeConfigurations.${nick} = inputs.home-manager.lib.homeManagerConfiguration {
pkgs = inputs.nixpkgs.legacyPackages.${system};
extraSpecialArgs = { inherit inputs; };
modules = [ ./home-manager/default.nix ];
};
};
}

39
for_install/disko.nix Normal file
View File

@@ -0,0 +1,39 @@
{
disko.devices = {
disk = {
my-disk = {
device = "/dev/sda";
type = "disk";
content = {
type = "gpt";
partitions = {
ESP = {
type = "EF00";
size = "1G";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [ "umask=0077" ];
};
};
swap = {
size = "10G";
content = {
type = "swap";
};
};
root = {
size = "100%";
content = {
type = "filesystem";
format = "ext4"; # да, я люблю ext4, минусы?
mountpoint = "/";
};
};
};
};
};
};
};
}

53
for_install/etcConfig.nix Normal file
View File

@@ -0,0 +1,53 @@
{ config, lib, pkgs, ... }: {
imports = [
./hardware-configuration.nix
];
boot.loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
networking = {
hostName = "nix-fox";
networkmanager.enable = true;
};
time.timeZone = "Asia/Yekaterinburg";
i18n.defaultLocale = "ru_RU.UTF-8";
console = {
font = "cyr-sun16";
keyMap = "ru";
};
users.users.chronoblade = {
isNormalUser = true;
extraGroups = [ "wheel" ];
};
environment.systemPackages = with pkgs; [
neovim
fastfetch
btop
];
programs.nh = {
enable = true;
package = pkgs.nh;
};
services.openssh = {
enable = true;
ports = [ 95 ];
settings = {
PasswordAuthentication = true;
UseDns = true;
AllowUsers = [ "chronoblade" ];
PermitRootLogin = "yes";
};
};
system.stateVersion = "25.05";
}

View File

@@ -0,0 +1,32 @@
{ pkgs, ... }: {
programs.fastfetch = {
enable = true;
package = pkgs.fastfetch;
settings = {
logo.source = "nixos_small";
display.separator = " :: ";
modules = [
{
type = "os";
key = "dis";
}
{
type = "kernel";
key = "krn";
}
{
type = "uptime";
key = "upt";
}
{
type = "packages";
key = "pks";
}
{
type = "wm";
key = "wdm";
}
];
};
};
}

View File

@@ -0,0 +1,7 @@
{ config, ... }: {
programs.git = {
enable = true;
userName = "chronoblade";
userEmail = "sophr.temin@ro.ru";
};
}

View File

@@ -0,0 +1,15 @@
{ pkgs, ... }: {
programs.kitty = {
enable = true;
package = pkgs.kitty;
font = {
size = 10;
name = "JetBrainsMono NF";
};
settings = {
cursor_shape = "beam";
window_padding_width = 6;
};
themeFile = "gruvbox-dark";
};
}

View File

@@ -0,0 +1,24 @@
{ pkgs, ... }: {
programs.neovim = {
enable = true;
package = pkgs.neovim-unwrapped;
defaultEditor = true;
plugins = with pkgs.vimPlugins; [
vim-plug
gruvbox-nvim
yuck-vim
bufferline-nvim
nvim-web-devicons
nvim-lspconfig
];
extraConfig = ''
colorscheme gruvbox
set tabstop=2
set softtabstop=2
set shiftwidth=2
set laststatus=0
set number
set shortmess+=I
'';
};
}

66
home-manager/apps/zsh.nix Normal file
View File

@@ -0,0 +1,66 @@
{ pkgs, ... }: {
programs.zsh = {
enable = true;
package = pkgs.zsh;
plugins = [{
name = "zsh-autosuggestions";
src = pkgs.zsh-autosuggestions;
}
{
name = "zsh-highlighting";
src = pkgs.zsh-syntax-highlighting;
}];
shellAliases =
let
conf = "/home/chronoblade/nix/system/default.nix";
args = "-- --impure -I";
flake = "FLAKE='/home/chronoblade/nix'";
in {
"nhs" = "${flake} nh home switch ${args} ${conf}";
"nhsu" = "${flake} nh home switch --update ${args} ${conf}";
"nos" = "${flake} nh os switch ${args} ${conf}";
"nosu" = "${flake} nh os switch --update ${args} ${conf}";
"nca" = "${flake} nh clean all";
};
syntaxHighlighting = {
enable = true;
highlighters = [ "main" "brackets" "pattern" "regexp" "root" "line" ];
styles =
let
fg = "#282828";
red = "#cc241d";
green = "#98971a";
yellow = "#79921";
blue = "#458588";
orange = "#d65d0e";
aqua = "#689d6a";
purple = "#b16286";
gray = "#a89984";
in {
command = "fg=${blue},bold";
unknown-token = "fg=${red},bold";
reserved-word = "fg=${blue},bold";
alias = "fg=${aqua},bold";
builtin = "fg=${aqua},bold";
function = "fg=${fg},bold";
commandseparator = "fg=${green},bold";
path = "fg=${aqua},bold";
path_pathseparator = "fg=${aqua},bold";
globbing = "fg=${blue},bold";
command-sustitution = "fg=${green},bold";
single-hyphen-option = "fg=${green},bold";
double-hyphen-option = "fg=${aqua},bold";
back-quoted-argument = "fg=${yellow},bold";
single-quoted-argument = "fg=${yellow},bold";
double-quoted-argument = "fg=${yellow},bold";
redirection = "fg=${purple},bold";
comment = "fg=${gray},bold";
arg0 = "fg=${blue},bold";
default = "fg=${blue},bold";
};
};
initExtra = ''
export PROMPT="%m %2~ %B::%b "
'';
};
}

View File

@@ -0,0 +1,40 @@
{ config, pkgs, ... }: {
nixpkgs.config.allowUnfree = true;
home = {
username = "chronoblade";
homeDirectory = "/home/chronoblade";
stateVersion = "24.11";
packages = with pkgs; [
#Интернет
inputs.zen-browser.packages."${system}".default
transmission_4-gtk
filezilla
cassette
#Игры
prismlauncher
wineWowPackages.stable
#Рисовалка/медиа
krita
obs-studio
vlc
#ПРоги стола
nemo
eog
file-roller
#Заметки
obsidian
#Утилиты
pamixer
cava
playerctl
pavucontrol
grim
onefetch
];
};
}

18
home-manager/default.nix Normal file
View File

@@ -0,0 +1,18 @@
{ ... }: {
imports = [
./configuration.nix
./apps/fastfetch.nix
./apps/git.nix
./apps/kitty.nix
./apps/neovim.nix
./apps/zsh.nix
./desktop/eww/eww.nix
./desktop/rofi/rofi.nix
./desktop/gtk.nix
./desktop/hyprland.nix
./desktop/hyprpaper.nix
./desktop/xdg.nix
];
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

View File

@@ -0,0 +1,8 @@
{ pkgs, ... }: {
programs.eww = {
enable = true;
package = pkgs.eww;
enableZshIntegration = true;
configDir = "/home/$HOME/nix/home-manager/desktop/eww";
};
}

View File

@@ -0,0 +1,68 @@
$bg: #282828;
$fg: #ebdbb2;
$bg2: #373633;
$fg2: #32302f;
* {
font-family: JetBrains Mono NF;
font-size: 14;
font-weight: 700;
}
.bar {
border: 2px solid $fg2;
border-radius: 12px;
}
.ws-number-class {
font-weight: 900;
margin: 0px 5px 0px 10px;
background: $bg2;
padding: 3px 5px 3px 5px;
border-radius: 6px;
}
.ws-title-class {
margin: 0px 5px;
padding: 3px 5px 3px 5px;
border-radius: 6px;
}
.right1 {
margin: 0px 10px;
}
.date-class {
background: $fg;
color: $bg;
padding: 3px 5px;
border-radius: 6px;
}
.volume-class {
background: $bg2;
margin: 0px 8px 0px 0px;
border-top-right-radius: 6px;
border-bottom-right-radius: 6px;
}
.language-class {
background: $bg2;
padding: 0px 10px 0px 5px;
border-top-left-radius: 6px;
border-bottom-left-radius: 6px;
}
.uptime-class {
margin: 0px 10px;
}
.music {
background: $bg2;
padding: 3px 3px;
border-radius: 6px;
}

View File

@@ -0,0 +1,66 @@
(defpoll WS :interval "0.1s" "/home/fox/.config/eww/workspace-number.sh")
(defpoll WST :interval "0.1s" "/home/fox/.config/eww/workspace-title.sh")
(defpoll DATE :interval "40s" "date +'%H:%M'")
(defpoll VOL :interval "0.1s" "/home/fox/.config/eww/volume.sh")
(defpoll LGN :interval "0.1s" "/home/fox/.config/eww/language.sh")
(defpoll UPT :interval "3600s" "/home/fox/.config/eww/uptime.sh")
(defpoll MS :interval "0.1s" "/home/fox/.config/eww/music.sh")
(defwindow bar
:monitor 0
:geometry (geometry :x "0"
:y "7"
:width "850"
:height "45"
:anchor "bottom center")
:stacking "fg"
:exclusive true
:windowtype "dock"
:wm-ignore false
(box (left)
(center)
(right)))
(defwidget left []
(box :orientation "h"
:valign "center"
:space-evenly "false"
(box :halign "center"
:orientation "v"
(label :class "ws-number-class"
:text WS))
(box :halign "start"
:orientation "v"
(label :class "ws-title-class"
:text WST))))
(defwidget center []
(box :orientation "h"
:halign "center"
:valign "center"
:class "music"
MS))
(defwidget right []
(box :orientation "h"
:halign "end"
:valign "center"
:space-evenly "false"
:vexpand "false"
:hexpand "false"
:class "right1"
(box :orientation "h" :class "upt"
(label :class "uptime-class"
:text UPT))
(box (label :class "language-class"
:text LGN))
(box (label :class "volume-class"
:text VOL))
(box (label :class "date-class"
:text DATE))))

View File

@@ -0,0 +1,7 @@
#!/bin/bash
if hyprctl devices | grep -q "active keymap: Russian"; then
echo "ru"
else
echo "en"
fi

View File

@@ -0,0 +1,15 @@
#!/bin/bash
music=$(playerctl metadata --format "{{title}}" 2>/dev/null)
max_length=15
if [ -z "$music" ]; then
echo ":: No playing ::"
else
if [ ${#music} -gt $max_length ]; then
echo "${music:0:$max_length}..."
else
echo "$music"
fi
fi

View File

@@ -0,0 +1,3 @@
command=$(uptime | awk '{print $3}')
echo "$command"

View File

@@ -0,0 +1,4 @@
#!/bin/bash
vol=$(pamixer --get-volume)
echo "$vol "

View File

@@ -0,0 +1,5 @@
#!/bin/bash
current_ws=$(hyprctl activeworkspace | grep "workspace ID" | awk '{print $3}' | head -n1)
#echo "Workspace $current_ws"
echo "$current_ws"

View File

@@ -0,0 +1,25 @@
#!/bin/bash
current_tl=$(hyprctl activewindow | grep -A1 "title" | tail -n1 | awk '{$1=""; print substr($0, 2)}')
air=""
if [[ $current_tl != $air ]]; then
case $current_tl in
zen)
echo " Browser"
;;
kitty)
echo " Terminal"
;;
org.telegram.desktop)
echo " Telegram"
;;
obsidian)
echo " Obsidian"
;;
*)
echo "$current_tl"
;;
esac
else
echo "󰇄 Desktop"
fi

47
home-manager/desktop/eww/ws.sh Executable file
View File

@@ -0,0 +1,47 @@
#!/bin/bash
#c_ws=$( hyprctl activeworkspace | grep "workspace ID" | awk '{print $3}' | head -1)
#l_ws=""
#while true; do
# if [[ "$c_ws" != "$l_ws" ]]; then
# echo $c_ws
# l_ws=$c_ws
# fi
#done
#prev_value_ws=""
#while true; do
# current_value_ws=$(hyprctl activeworkspace | grep "workspace ID" | awk '{print $3}' | head -1)
# if [[ "$current_value_ws" != "$prev_value_ws" ]]; then
# echo "$current_value_ws"
# prev_value_ws="$current_value_ws"
# fi
#done
#prev_value_tl=""
#while true; do
# current_value_tl=$(hyprctl activewindow | grep title | awk 'NR == 2' | awk '{print $2}')
# if [[ "$current_value_tl" != "$prev_value_tl" ]]; then
# echo "$current_value_tl"
# prev_value_ws="$current_value_tl"
# fi
#done
prev_ws=""
prev_tl=""
output_file="/home/fox/.cache/waybar_output"
while true; do
current_ws=$(hyprctl activeworkspace | grep "workspace ID" | awk '{print $3}' | head -n1)
current_tl=$(hyprctl activewindow | grep -A1 "title" | tail -n1 | awk '{$1=""; print substr($0, 2)}')
if [[ "$current_ws" != "$prev_ws" || "$current_tl" != "$prev_tl" ]]; then
echo "$current_ws"
echo "$current_tl"
prev_ws="$current_ws"
prev_tl="$current_tl"
fi
sleep 0.1
done

View File

@@ -0,0 +1,45 @@
{ pkgs, ... }:
let
theme = "${pkgs.gruvbox-gtk-theme}/share/themes/Gruvbox-Dark";
theme-name = "Gruvbox-Dark";
icon = "Gruvbox-Plus-Dark";
cursor = "cursor";
in {
home.packages = [
pkgs.dconf
pkgs.glib
pkgs.gruvbox-kvantum pkgs.qt6ct #перенести потом в qt.nix
];
gtk = {
enable = true;
font = {
size = 10;
name = "JetBrains Mono Medium";
};
gtk3 = {
extraCss = "${theme}/gtk-3.0/gtk-dark.css";
extraConfig = {
gtk-button-images = 0;
gtk-menu-images = 0;
gtk-application-prefer-dark-theme = 1;
button-layout = "";
};
};
gtk4 = {
extraCss = "${theme}/gtk-4.0/gtk-dark.css";
extraConfig = { buttom-layout = ""; };
};
iconTheme = {
name = "${icon}";
package = pkgs.gruvbox-plus-icons;
};
cursorTheme = {
name = "${cursor}";
package = pkgs.capitaine-cursors-themed;
};
theme = {
name = "${theme-name}";
package = pkgs.gruvbox-gtk-theme;
};
};
}

View File

@@ -0,0 +1,155 @@
{ pkgs, ... }: {
wayland.windowManager.hyprland = {
enable = true;
package = pkgs.hyprland;
portalPackage = pkgs.xdg-desktop-portal-hyprland;
xwayland.enable = true;
settings = {
autogenerated = 0;
monitor = "HDMI-A-2, 1920x1080@100, 0x0, 1";
exec-once = [ "hyprpaper" "eww open bar" ];
env = [
"XCURSOR_SIZE,24"
"HYPRCURSOR_SIZE,24"
"QT_QPA_PLATFORMTHEME,qt6ct"
"XDG_CURRENT_DESKTOP='Hyprland'"
"XDG_SESSION_TYPE='wayland'"
"XDG_SESSION_DESKTOP='Hyprland'"
"QT_AUTO_SCREEN_SCALE_FACTOR='1'"
"QT_QPA_PLATFORM='wayland'"
"QT_QPA_PLATFORMTHEME='gtk3'"
];
general = {
gaps_in = 15;
gaps_out = 30;
border_size = 2;
col = {
active_border = "rgb(32302f)";
inactive_border = "rgb(1d2021)";
};
resize_on_border = true;
allow_tearing = true;
layout = "dwindle";
};
decoration = {
rounding = 10;
rounding_power = 2;
active_opacity = 1.0;
inactive_opacity = 1.0;
shadow = {
enabled = true;
range = 5;
render_power = 5;
color = "rgb(1d2021)";
};
blur = {
enabled = true;
size = 3;
passes = 1;
vibrancy = 0.1696;
};
};
animations {
enabled = "yes, please :)";
bezier = [
"easeOutQuint,0.23,1,0.32,1"
"easeInOutCubic,0.65,0.05,0.36,1"
"linear,0,0,1,1"
"almostLinear,0.5,0.5,0.75,1.0"
"quick,0.15,0,0.1,1"
];
animation = [
"global, 1, 10, default"
"border, 1, 5.39, easeOutQuint"
"windows, 1, 4.79, easeOutQuint"
"windowsIn, 1, 4.1, easeOutQuint, popin 87%"
"windowsOut, 1, 1.49, linear, popin 87%"
"fadeIn, 1, 1.73, almostLinear"
"fadeOut, 1, 1.46, almostLinear"
"fade, 1, 3.03, quick"
"layers, 1, 3.81, easeOutQuint"
"layersIn, 1, 4, easeOutQuint, fade"
"layersOut, 1, 1.5, linear, fade"
"fadeLayersIn, 1, 1.79, almostLinear"
"fadeLayersOut, 1, 1.39, almostLinear"
"workspaces, 1, 1.94, almostLinear, fade"
"workspacesIn, 1, 1.21, almostLinear, fade"
"workspacesOut, 1, 1.94, almostLinear, fade"
];
};
dwindle = {
pseudotile = true;
preserve_split = true;
};
misc = {
force_default_wallpaper = 0;
disable_hyprland_logo = true;
};
input = {
kb_layout = "us,ru";
kb_options = "grp:alt_shift_toggle";
follow_mouse = 1;
sensitivity = 1.3;
};
gestures.workspace_swipe = false;
"$mod" = "SUPER";
bindm = [
"$mod, mouse:272, movewindow"
"$mod, mouse:273, redizewindow"
];
bind = [
"alt, l, exec, eww open lock-dialog"
"alt, g, exec, eww close bar"
"alt, m, exec, eww open bar"
"$mod shift, q, exit"
"$mod ctrl, r, exec, eww open reboot-dialog"
"$mod ctrl, q, exec, eww open off-dialog"
"alt, l, exec, eww open lock-dialog-zopa"
"$mod, c, killactive,"
"$mod, s, togglefloating,"
"$mod, t, pseudo,"
"$mod, g, togglesplit"
"alt, space, exec, rofi -show drun -config ~/.config/rofi/rofi.rasi"
"$mod, 1, workspace, 1"
"$mod, 2, workspace, 2"
"$mod, 3, workspace, 3"
"$mod, 4, workspace, 4"
"$mod, 5, workspace, 5"
"$mod, 6, workspace, 6"
"$mod SHIFT, 1, movetoworkspace, 1"
"$mod SHIFT, 2, movetoworkspace, 2"
"$mod SHIFT, 3, movetoworkspace, 3"
"$mod SHIFT, 4, movetoworkspace, 4"
"$mod SHIFT, 5, movetoworkspace, 5"
"$mod SHIFT, 6, movetoworkspace, 6"
"$mod, mouse_down, workspace, e+1"
"$mod, mouse_up, workspace, e-1"
];
};
};
}

View File

@@ -0,0 +1,16 @@
{ pkgs, ... }: {
services.hyprpaper = {
enable = true;
package = pkgs.hyprpaper;
settings = let
wallp = "$HOME/nix/home-manager/desktop/wallp.jpg";
in {
preload = [
"${wallp}"
];
wallpaper = [
"HDMI-A-2, ${wallp}"
];
};
};
}

View File

@@ -0,0 +1,8 @@
{ pkgs, config, ... }: {
programs.rofi = {
enable = true;
package = pkgs.rofi-wayland-unwrapped;
#package = pkgs.rofi;
# Я НЕНАВИЖУ ТОГО КТО ДЛЯ РОФИ ПИСАЛ ЭТОТ ПРИНИМАЮЩИЙ КОНФИГ
};
}

View File

@@ -0,0 +1,94 @@
* {
bg: #282828;
fg: #ebdbb2;
}
configuration {
modes: "drun";
font: "JetBrainsMono Regular 10";
location: 0;
xoffset: 0;
yoffset: 0;
}
window {
background-color: @bg;
width: 400;
border: 2px solid;
border-radius: 12px;
border-color: #32302f;
}
mainbox {
background-color: @bg;
padding: 6px;
margin: 8px;
border-radius: 12px;
}
inputbar {
background-color: @fg;
border: 2px solid;
border-color: @fg;
padding: 6px;
border-radius: 5px;
}
prompt {
enabled: false;
}
textbox-prompt-colon {
expand: false;
str: " ";
background-color: @fg;
text-color: @bg;
}
entry {
background-color: @fg;
text-color: @bg;
cursor: text;
placeholder: "Search...";
placeholder-color: @bg;
}
listview {
columns: 1;
lines: 16;
dynamic: true;
scrollbar: false;
fixed-height: true;
fixed-columns: true;
background-color: @bg;
text-color: @fg;
margin: 5px 0px 0px 0px;
}
element {
background-color: @bg;
text-color: @fg;
padding: 8px 3px;
}
element normal.normal,
element alternate.normal,
message,
error-message {
background-color: @bg;
text-color: @fg;
}
element selected.normal {
background-color: @fg;
text-color: @bg;
border-radius: 5px;
padding: 8px 4px;
}
error-message,
textbox {
padding: 3px;
background-color: @bg;
text-color: @fg;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

View File

@@ -0,0 +1,40 @@
{ config, pkgs, ... }: {
xdg = {
enable = true;
portal = {
enable = true;
extraPortals = [ pkgs.xdg-desktop-portal-hyprland ];
config = {
common.default = "gtk";
};
};
cacheHome = builtins.toPath "${config.home.homeDirectory}/.cache";
configHome = builtins.toPath "${config.home.homeDirectory}/.config";
dataHome = builtins.toPath "${config.home.homeDirectory}/.local/share";
stateHome = builtins.toPath "${config.home.homeDirectory}/.local/state";
systemDirs = {
config = [ "/etc/xdg" ];
data = [ "/usr/share" "/usr/local/share" ];
};
userDirs = {
enable = true;
createDirectories = true;
desktop = builtins.toPath "${config.home.homeDirectory}/Desktop";
documents = builtins.toPath "${config.home.homeDirectory}/Documents";
download = builtins.toPath "${config.home.homeDirectory}/Downloads";
pictures = builtins.toPath "${config.home.homeDirectory}/Pictures";
videos = null;
music = null;
publicShare = null;
templates = null;
extraConfig = {
XDG_GIT_DIR = "${config.home.homeDirectory}/Repositories";
};
};
};
}

8
old_rach/QtProject.conf Normal file
View File

@@ -0,0 +1,8 @@
[FileDialog]
history=file:///home/fox/Изображения, file:///home/fox/Загрузки
lastVisited=file:///home/fox/Изображения
qtVersion=6.9.1
shortcuts=file:, file:///home/fox
sidebarWidth=100
treeViewHeader=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x1\xb5\0\0\0\x4\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x4\0\0\0\xe1\0\0\0\x1\0\0\0\0\0\0\0\x39\0\0\0\x1\0\0\0\0\0\0\0\x39\0\0\0\x1\0\0\0\0\0\0\0\x62\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\xff\xff\xff\xff\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x1)
viewMode=Detail

15
old_rach/Thunar/uca.xml Normal file
View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<actions>
<action>
<icon>utilities-terminal</icon>
<name>Open Terminal Here</name>
<submenu></submenu>
<unique-id>1749669074370126-1</unique-id>
<command>exo-open --working-directory %f --launch TerminalEmulator</command>
<description>Example for a custom action</description>
<range></range>
<patterns>*</patterns>
<startup-notify/>
<directories/>
</action>
</actions>

2
old_rach/ags/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
node_modules/
@girs/

9
old_rach/ags/app.ts Normal file
View File

@@ -0,0 +1,9 @@
import { App } from "astal/gtk3"
import style from "./style.scss"
import Bar from "./widget/Bar"
App.start({
css: style,
instanceName: js,
main: () => App.get_monitors().map(Bar),
})

21
old_rach/ags/env.d.ts vendored Normal file
View File

@@ -0,0 +1,21 @@
declare const SRC: string
declare module "inline:*" {
const content: string
export default content
}
declare module "*.scss" {
const content: string
export default content
}
declare module "*.blp" {
const content: string
export default content
}
declare module "*.css" {
const content: string
export default content
}

View File

@@ -0,0 +1,6 @@
{
"name": "astal-shell",
"dependencies": {
"astal": "/usr/share/astal/gjs"
}
}

20
old_rach/ags/style.scss Normal file
View File

@@ -0,0 +1,20 @@
// https://gitlab.gnome.org/GNOME/gtk/-/blob/gtk-3-24/gtk/theme/Adwaita/_colors-public.scss
$fg-color: #{"@theme_fg_color"};
$bg-color: #{"@theme_bg_color"};
window.Bar {
background: transparent;
color: $fg-color;
font-weight: bold;
>centerbox {
background: $bg-color;
border-radius: 10px;
margin: 8px;
}
button {
border-radius: 8px;
margin: 2px;
}
}

View File

@@ -0,0 +1,14 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"experimentalDecorators": true,
"strict": true,
"target": "ES2022",
"module": "ES2022",
"moduleResolution": "Bundler",
// "checkJs": true,
// "allowJs": true,
"jsx": "react-jsx",
"jsxImportSource": "astal/gtk3",
}
}

View File

@@ -0,0 +1,31 @@
import { App, Astal, Gtk, Gdk } from "astal/gtk3"
import { Variable } from "astal"
const time = Variable("").poll(1000, "date")
export default function Bar(gdkmonitor: Gdk.Monitor) {
const { TOP, LEFT, RIGHT } = Astal.WindowAnchor
return <window
className="Bar"
gdkmonitor={gdkmonitor}
exclusivity={Astal.Exclusivity.EXCLUSIVE}
anchor={TOP | LEFT | RIGHT}
application={App}>
<centerbox>
<button
onClicked="echo hello"
halign={Gtk.Align.CENTER}
>
Welcome to AGS!
</button>
<box />
<button
onClicked={() => print("hello")}
halign={Gtk.Align.CENTER}
>
<label label={time()} />
</button>
</centerbox>
</window>
}

10
old_rach/atbswp.cfg Normal file
View File

@@ -0,0 +1,10 @@
[DEFAULT]
fast play speed = False
infinite playback = False
repeat count = 1
recording hotkey = 348
playback hotkey = 349
always on top = True
language = en
recording timer = 0

View File

@@ -0,0 +1 @@
{Intel/Mesa Intel(R) HD Graphics 620 (KBL GT2F)/4.6 (Core Profile) Mesa 25.1.3-arch1.3}=SUPPORTED

254
old_rach/btop/btop.conf Normal file
View File

@@ -0,0 +1,254 @@
#? Config file for btop v. 1.4.3
#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes.
#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes"
color_theme = "Default"
#* If the theme set background should be shown, set to False if you want terminal background transparency.
theme_background = True
#* Sets if 24-bit truecolor should be used, will convert 24-bit colors to 256 color (6x6x6 color cube) if false.
truecolor = True
#* Set to true to force tty mode regardless if a real tty has been detected or not.
#* Will force 16-color mode and TTY theme, set all graph symbols to "tty" and swap out other non tty friendly symbols.
force_tty = False
#* Define presets for the layout of the boxes. Preset 0 is always all boxes shown with default settings. Max 9 presets.
#* Format: "box_name:P:G,box_name:P:G" P=(0 or 1) for alternate positions, G=graph symbol to use for box.
#* Use whitespace " " as separator between different presets.
#* Example: "cpu:0:default,mem:0:tty,proc:1:default cpu:0:braille,proc:0:tty"
presets = "cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:default cpu:0:block,net:0:tty"
#* Set to True to enable "h,j,k,l,g,G" keys for directional control in lists.
#* Conflicting keys for h:"help" and k:"kill" is accessible while holding shift.
vim_keys = False
#* Rounded corners on boxes, is ignored if TTY mode is ON.
rounded_corners = True
#* Default symbols to use for graph creation, "braille", "block" or "tty".
#* "braille" offers the highest resolution but might not be included in all fonts.
#* "block" has half the resolution of braille but uses more common characters.
#* "tty" uses only 3 different symbols but will work with most fonts and should work in a real TTY.
#* Note that "tty" only has half the horizontal resolution of the other two, so will show a shorter historical view.
graph_symbol = "braille"
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
graph_symbol_cpu = "default"
# Graph symbol to use for graphs in gpu box, "default", "braille", "block" or "tty".
graph_symbol_gpu = "default"
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
graph_symbol_mem = "default"
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
graph_symbol_net = "default"
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
graph_symbol_proc = "default"
#* Manually set which boxes to show. Available values are "cpu mem net proc" and "gpu0" through "gpu5", separate values with whitespace.
shown_boxes = "cpu mem net proc"
#* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs.
update_ms = 2000
#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct",
#* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly.
proc_sorting = "cpu lazy"
#* Reverse sorting order, True or False.
proc_reversed = False
#* Show processes as a tree.
proc_tree = False
#* Use the cpu graph colors in the process list.
proc_colors = True
#* Use a darkening gradient in the process list.
proc_gradient = True
#* If process cpu usage should be of the core it's running on or usage of the total available cpu power.
proc_per_core = False
#* Show process memory as bytes instead of percent.
proc_mem_bytes = True
#* Show cpu graph for each process.
proc_cpu_graphs = True
#* Use /proc/[pid]/smaps for memory information in the process info box (very slow but more accurate)
proc_info_smaps = False
#* Show proc box on left side of screen instead of right.
proc_left = False
#* (Linux) Filter processes tied to the Linux kernel(similar behavior to htop).
proc_filter_kernel = False
#* In tree-view, always accumulate child process resources in the parent process.
proc_aggregate = False
#* Sets the CPU stat shown in upper half of the CPU graph, "total" is always available.
#* Select from a list of detected attributes from the options menu.
cpu_graph_upper = "Auto"
#* Sets the CPU stat shown in lower half of the CPU graph, "total" is always available.
#* Select from a list of detected attributes from the options menu.
cpu_graph_lower = "Auto"
#* If gpu info should be shown in the cpu box. Available values = "Auto", "On" and "Off".
show_gpu_info = "Auto"
#* Toggles if the lower CPU graph should be inverted.
cpu_invert_lower = True
#* Set to True to completely disable the lower CPU graph.
cpu_single_graph = False
#* Show cpu box at bottom of screen instead of top.
cpu_bottom = False
#* Shows the system uptime in the CPU box.
show_uptime = True
#* Show cpu temperature.
check_temp = True
#* Which sensor to use for cpu temperature, use options menu to select from list of available sensors.
cpu_sensor = "Auto"
#* Show temperatures for cpu cores also if check_temp is True and sensors has been found.
show_coretemp = True
#* Set a custom mapping between core and coretemp, can be needed on certain cpus to get correct temperature for correct core.
#* Use lm-sensors or similar to see which cores are reporting temperatures on your machine.
#* Format "x:y" x=core with wrong temp, y=core with correct temp, use space as separator between multiple entries.
#* Example: "4:0 5:1 6:3"
cpu_core_map = ""
#* Which temperature scale to use, available values: "celsius", "fahrenheit", "kelvin" and "rankine".
temp_scale = "celsius"
#* Use base 10 for bits/bytes sizes, KB = 1000 instead of KiB = 1024.
base_10_sizes = False
#* Show CPU frequency.
show_cpu_freq = True
#* Draw a clock at top of screen, formatting according to strftime, empty string to disable.
#* Special formatting: /host = hostname | /user = username | /uptime = system uptime
clock_format = "%X"
#* Update main ui in background when menus are showing, set this to false if the menus is flickering too much for comfort.
background_update = True
#* Custom cpu model name, empty string to disable.
custom_cpu_name = ""
#* Optional filter for shown disks, should be full path of a mountpoint, separate multiple values with whitespace " ".
#* Begin line with "exclude=" to change to exclude filter, otherwise defaults to "most include" filter. Example: disks_filter="exclude=/boot /home/user".
disks_filter = ""
#* Show graphs instead of meters for memory values.
mem_graphs = True
#* Show mem box below net box instead of above.
mem_below_net = False
#* Count ZFS ARC in cached and available memory.
zfs_arc_cached = True
#* If swap memory should be shown in memory box.
show_swap = True
#* Show swap as a disk, ignores show_swap value above, inserts itself after first disk.
swap_disk = True
#* If mem box should be split to also show disks info.
show_disks = True
#* Filter out non physical disks. Set this to False to include network disks, RAM disks and similar.
only_physical = True
#* Read disks list from /etc/fstab. This also disables only_physical.
use_fstab = True
#* Setting this to True will hide all datasets, and only show ZFS pools. (IO stats will be calculated per-pool)
zfs_hide_datasets = False
#* Set to true to show available disk space for privileged users.
disk_free_priv = False
#* Toggles if io activity % (disk busy time) should be shown in regular disk usage view.
show_io_stat = True
#* Toggles io mode for disks, showing big graphs for disk read/write speeds.
io_mode = False
#* Set to True to show combined read/write io graphs in io mode.
io_graph_combined = False
#* Set the top speed for the io graphs in MiB/s (100 by default), use format "mountpoint:speed" separate disks with whitespace " ".
#* Example: "/mnt/media:100 /:20 /boot:1".
io_graph_speeds = ""
#* Set fixed values for network graphs in Mebibits. Is only used if net_auto is also set to False.
net_download = 100
net_upload = 100
#* Use network graphs auto rescaling mode, ignores any values set above and rescales down to 10 Kibibytes at the lowest.
net_auto = True
#* Sync the auto scaling for download and upload to whichever currently has the highest scale.
net_sync = True
#* Starts with the Network Interface specified here.
net_iface = ""
#* "True" shows bitrates in base 10 (Kbps, Mbps). "False" shows bitrates in binary sizes (Kibps, Mibps, etc.). "Auto" uses base_10_sizes.
base_10_bitrate = "Auto"
#* Show battery stats in top right if battery is present.
show_battery = True
#* Which battery to use if multiple are present. "Auto" for auto detection.
selected_battery = "Auto"
#* Show power stats of battery next to charge indicator.
show_battery_watts = True
#* Set loglevel for "~/.config/btop/btop.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG".
#* The level set includes all lower levels, i.e. "DEBUG" will show all logging info.
log_level = "WARNING"
#* Measure PCIe throughput on NVIDIA cards, may impact performance on certain cards.
nvml_measure_pcie_speeds = True
#* Measure PCIe throughput on AMD cards, may impact performance on certain cards.
rsmi_measure_pcie_speeds = True
#* Horizontally mirror the GPU graph.
gpu_mirror_graph = True
#* Custom gpu0 model name, empty string to disable.
custom_gpu_name0 = ""
#* Custom gpu1 model name, empty string to disable.
custom_gpu_name1 = ""
#* Custom gpu2 model name, empty string to disable.
custom_gpu_name2 = ""
#* Custom gpu3 model name, empty string to disable.
custom_gpu_name3 = ""
#* Custom gpu4 model name, empty string to disable.
custom_gpu_name4 = ""
#* Custom gpu5 model name, empty string to disable.
custom_gpu_name5 = ""

280
old_rach/cava/config Normal file
View File

@@ -0,0 +1,280 @@
## Configuration file for CAVA.
# Remove the ; to change parameters.
[general]
# Smoothing mode. Can be 'normal', 'scientific' or 'waves'. DEPRECATED as of 0.6.0
; mode = normal
# Accepts only non-negative values.
; framerate = 60
# 'autosens' will attempt to decrease sensitivity if the bars peak. 1 = on, 0 = off
# new as of 0.6.0 autosens of low values (dynamic range)
# 'overshoot' allows bars to overshoot (in % of terminal height) without initiating autosens. DEPRECATED as of 0.6.0
; autosens = 1
; overshoot = 20
# Manual sensitivity in %. If autosens is enabled, this will only be the initial value.
# 200 means double height. Accepts only non-negative values.
; sensitivity = 100
# The number of bars (0-512). 0 sets it to auto (fill up console).
# Bars' width and space between bars in number of characters.
; bars = 0
; bar_width = 2
; bar_spacing = 1
# bar_height is only used for output in "noritake" format
; bar_height = 32
# For SDL width and space between bars is in pixels, defaults are:
; bar_width = 20
; bar_spacing = 5
# sdl_glsl have these default values, they are only used to calculate max number of bars.
; bar_width = 1
; bar_spacing = 0
# Lower and higher cutoff frequencies for lowest and highest bars
# the bandwidth of the visualizer.
# Note: there is a minimum total bandwidth of 43Mhz x number of bars.
# Cava will automatically increase the higher cutoff if a too low band is specified.
; lower_cutoff_freq = 50
; higher_cutoff_freq = 10000
# Seconds with no input before cava goes to sleep mode. Cava will not perform FFT or drawing and
# only check for input once per second. Cava will wake up once input is detected. 0 = disable.
; sleep_timer = 0
[input]
# Audio capturing method. Possible methods are: 'fifo', 'portaudio', 'pipewire', 'alsa', 'pulse', 'sndio', 'oss', 'jack' or 'shmem'
# Defaults to 'oss', 'pipewire', 'sndio', 'jack', 'pulse', 'alsa', 'portaudio' or 'fifo', in that order, dependent on what support cava was built with.
# On Mac it defaults to 'portaudio' or 'fifo'
# On windows this is automatic and no input settings are needed.
#
# All input methods uses the same config variable 'source'
# to define where it should get the audio.
#
# For pulseaudio and pipewire 'source' will be the source. Default: 'auto', which uses the monitor source of the default sink
# (all pulseaudio sinks(outputs) have 'monitor' sources(inputs) associated with them).
#
# For pipewire 'source' will be the object name or object.serial of the device to capture from.
# Both input and output devices are supported.
#
# For alsa 'source' will be the capture device.
# For fifo 'source' will be the path to fifo-file.
# For shmem 'source' will be /squeezelite-AA:BB:CC:DD:EE:FF where 'AA:BB:CC:DD:EE:FF' will be squeezelite's MAC address
#
# For sndio 'source' will be a raw recording audio descriptor or a monitoring sub-device, e.g. 'rsnd/2' or 'snd/1'. Default: 'default'.
# README.md contains further information on how to setup CAVA for sndio.
#
# For oss 'source' will be the path to a audio device, e.g. '/dev/dsp2'. Default: '/dev/dsp', i.e. the default audio device.
# README.md contains further information on how to setup CAVA for OSS on FreeBSD.
#
# For jack 'source' will be the name of the JACK server to connect to, e.g. 'foobar'. Default: 'default'.
# README.md contains further information on how to setup CAVA for JACK.
#
method = pulse
source = 0
; method = pipewire
; source = auto
; method = alsa
; source = hw:Loopback,1
; method = fifo
; source = /tmp/mpd.fifo
; method = shmem
; source = /squeezelite-AA:BB:CC:DD:EE:FF
; method = portaudio
; source = auto
; method = sndio
; source = default
; method = oss
; source = /dev/dsp
; method = jack
; source = default
# The options 'sample_rate', 'sample_bits', 'channels' and 'autoconnect' can be configured for some input methods:
# sample_rate: fifo, pipewire, sndio, oss
# sample_bits: fifo, pipewire, sndio, oss
# channels: sndio, oss, jack
# autoconnect: jack
# Other methods ignore these settings.
#
# For 'sndio' and 'oss' they are only preferred values, i.e. if the values are not supported
# by the chosen audio device, the device will use other supported values instead.
# Example: 48000, 32 and 2, but the device only supports 44100, 16 and 1, then it
# will use 44100, 16 and 1.
#
; sample_rate = 44100
; sample_bits = 16
; channels = 2
; autoconnect = 2
[output]
# Output method. Can be 'ncurses', 'noncurses', 'raw', 'noritake', 'sdl'
# or 'sdl_glsl'.
# 'noncurses' (default) uses a buffer and cursor movements to only print
# changes from frame to frame in the terminal. Uses less resources and is less
# prone to tearing (vsync issues) than 'ncurses'.
#
# 'raw' is an 8 or 16 bit (configurable via the 'bit_format' option) data
# stream of the bar heights that can be used to send to other applications.
# 'raw' defaults to 200 bars, which can be adjusted in the 'bars' option above.
#
# 'noritake' outputs a bitmap in the format expected by a Noritake VFD display
# in graphic mode. It only support the 3000 series graphical VFDs for now.
#
# 'sdl' uses the Simple DirectMedia Layer to render in a graphical context.
# 'sdl_glsl' uses SDL to create an OpenGL context. Write your own shaders or
# use one of the predefined ones.
; method = noncurses
# Orientation of the visualization. Can be 'bottom', 'top', 'left', 'right' or
# 'horizontal'. Default is 'bottom'. 'left and 'right' are only supported on sdl
# and ncruses output. 'horizontal' (bars go up and down from center) is only supported
# on noncurses output.
# Note: many fonts have weird or missing glyphs for characters used in orientations
# other than 'bottom', which can make output not look right.
; orientation = bottom
# Visual channels. Can be 'stereo' or 'mono'.
# 'stereo' mirrors both channels with low frequencies in center.
# 'mono' outputs left to right lowest to highest frequencies.
# 'mono_option' set mono to either take input from 'left', 'right' or 'average'.
# set 'reverse' to 1 to display frequencies the other way around.
; channels = stereo
; mono_option = average
; reverse = 0
# Raw output target. A fifo will be created if target does not exist.
; raw_target = /dev/stdout
# Raw data format. Can be 'binary' or 'ascii'.
; data_format = binary
# Binary bit format, can be '8bit' (0-255) or '16bit' (0-65530).
; bit_format = 16bit
# Ascii max value. In 'ascii' mode range will run from 0 to value specified here
; ascii_max_range = 1000
# Ascii delimiters. In ascii format each bar and frame is separated by a delimiters.
# Use decimal value in ascii table (i.e. 59 = ';' and 10 = '\n' (line feed)).
; bar_delimiter = 59
; frame_delimiter = 10
# sdl window size and position. -1,-1 is centered.
; sdl_width = 1000
; sdl_height = 500
; sdl_x = -1
; sdl_y= -1
; sdl_full_screen = 0
# set label on bars on the x-axis. Can be 'frequency' or 'none'. Default: 'none'
# 'frequency' displays the lower cut off frequency of the bar above.
# Only supported on ncurses and noncurses output.
; xaxis = none
# enable synchronized sync. 1 = on, 0 = off
# removes flickering in alacritty terminal emulator.
# defaults to off since the behaviour in other terminal emulators is unknown
; synchronized_sync = 0
# Shaders for sdl_glsl, located in $HOME/.config/cava/shaders
; vertex_shader = pass_through.vert
; fragment_shader = bar_spectrum.frag
; for glsl output mode, keep rendering even if no audio
; continuous_rendering = 0
# disable console blank (screen saver) in tty
# (Not supported on FreeBSD)
; disable_blanking = 0
# show a flat bar at the bottom of the screen when idle, 1 = on, 0 = off
; show_idle_bar_heads = 1
# show waveform instead of frequency spectrum, 1 = on, 0 = off
; waveform = 0
[color]
# Colors can be one of seven predefined: black, blue, cyan, green, magenta, red, white, yellow.
# Or defined by hex code '#xxxxxx' (hex code must be within ''). User defined colors requires
# a terminal that can change color definitions such as Gnome-terminal or rxvt.
# default is to keep current terminal color
; background = default
; foreground = default
# SDL and sdl_glsl only support hex code colors, these are the default:
; background = '#111111'
; foreground = '#33ffff'
# Gradient mode, only hex defined colors are supported,
# background must also be defined in hex or remain commented out. 1 = on, 0 = off.
# You can define as many as 8 different colors. They range from bottom to top of screen
; gradient = 0
; gradient_color_1 = '#59cc33'
; gradient_color_2 = '#80cc33'
; gradient_color_3 = '#a6cc33'
; gradient_color_4 = '#cccc33'
; gradient_color_5 = '#cca633'
; gradient_color_6 = '#cc8033'
; gradient_color_7 = '#cc5933'
; gradient_color_8 = '#cc3333'
[smoothing]
# Percentage value for integral smoothing. Takes values from 0 - 100.
# Higher values means smoother, but less precise. 0 to disable.
# DEPRECATED as of 0.8.0, use noise_reduction instead
; integral = 77
# Disables or enables the so-called "Monstercat smoothing" with or without "waves". Set to 0 to disable.
; monstercat = 0
; waves = 0
# Set gravity percentage for "drop off". Higher values means bars will drop faster.
# Accepts only non-negative values. 50 means half gravity, 200 means double. Set to 0 to disable "drop off".
# DEPRECATED as of 0.8.0, use noise_reduction instead
; gravity = 100
# In bar height, bars that would have been lower that this will not be drawn.
# DEPRECATED as of 0.8.0
; ignore = 0
# Noise reduction, int 0 - 100. default 77
# the raw visualization is very noisy, this factor adjusts the integral and gravity filters to keep the signal smooth
# 100 will be very slow and smooth, 0 will be fast but noisy.
; noise_reduction = 77
[eq]
# This one is tricky. You can have as much keys as you want.
# Remember to uncomment more than one key! More keys = more precision.
# Look at readme.md on github for further explanations and examples.
; 1 = 1 # bass
; 2 = 1
; 3 = 1 # midtone
; 4 = 1
; 5 = 1 # treble

View File

@@ -0,0 +1,79 @@
#version 330
in vec2 fragCoord;
out vec4 fragColor;
// bar values. defaults to left channels first (low to high), then right (high to low).
uniform float bars[512];
uniform int bars_count; // number of bars (left + right) (configurable)
uniform int bar_width; // bar width (configurable), not used here
uniform int bar_spacing; // space bewteen bars (configurable)
uniform vec3 u_resolution; // window resolution
//colors, configurable in cava config file (r,g,b) (0.0 - 1.0)
uniform vec3 bg_color; // background color
uniform vec3 fg_color; // foreground color
uniform int gradient_count;
uniform vec3 gradient_colors[8]; // gradient colors
vec3 normalize_C(float y,vec3 col_1, vec3 col_2, float y_min, float y_max)
{
//create color based on fraction of this color and next color
float yr = (y - y_min) / (y_max - y_min);
return col_1 * (1.0 - yr) + col_2 * yr;
}
void main()
{
// find which bar to use based on where we are on the x axis
float x = u_resolution.x * fragCoord.x;
int bar = int(bars_count * fragCoord.x);
//calculate a bar size
float bar_size = u_resolution.x / bars_count;
//the y coordinate and bar values are the same
float y = bars[bar];
// make sure there is a thin line at bottom
if (y * u_resolution.y < 1.0)
{
y = 1.0 / u_resolution.y;
}
//draw the bar up to current height
if (y > fragCoord.y)
{
//make some space between bars basen on settings
if (x > (bar + 1) * (bar_size) - bar_spacing)
{
fragColor = vec4(bg_color,1.0);
}
else
{
if (gradient_count == 0)
{
fragColor = vec4(fg_color,1.0);
}
else
{
//find which color in the configured gradient we are at
int color = int((gradient_count - 1) * fragCoord.y);
//find where on y this and next color is supposed to be
float y_min = color / (gradient_count - 1.0);
float y_max = (color + 1.0) / (gradient_count - 1.0);
//make color
fragColor = vec4(normalize_C(fragCoord.y, gradient_colors[color], gradient_colors[color + 1], y_min, y_max), 1.0);
}
}
}
else
{
fragColor = vec4(bg_color,1.0);
}
}

View File

@@ -0,0 +1,34 @@
#version 330
in vec2 fragCoord;
out vec4 fragColor;
// bar values. defaults to left channels first (low to high), then right (high to low).
uniform float bars[512];
uniform int bars_count; // number of bars (left + right) (configurable)
uniform vec3 u_resolution; // window resolution, not used here
//colors, configurable in cava config file
uniform vec3 bg_color; // background color(r,g,b) (0.0 - 1.0), not used here
uniform vec3 fg_color; // foreground color, not used here
void main()
{
// find which bar to use based on where we are on the x axis
int bar = int(bars_count * fragCoord.x);
float bar_y = 1.0 - abs((fragCoord.y - 0.5)) * 2.0;
float y = (bars[bar]) * bar_y;
float bar_x = (fragCoord.x - float(bar) / float(bars_count)) * bars_count;
float bar_r = 1.0 - abs((bar_x - 0.5)) * 2;
bar_r = bar_r * bar_r * 2;
// set color
fragColor.r = fg_color.x * y * bar_r;
fragColor.g = fg_color.y * y * bar_r;
fragColor.b = fg_color.z * y * bar_r;
}

View File

@@ -0,0 +1,14 @@
#version 330
// Input vertex data, different for all executions of this shader.
layout(location = 0) in vec3 vertexPosition_modelspace;
// Output data ; will be interpolated for each fragment.
out vec2 fragCoord;
void main()
{
gl_Position = vec4(vertexPosition_modelspace,1);
fragCoord = (vertexPosition_modelspace.xy+vec2(1,1))/2.0;
}

View File

@@ -0,0 +1,53 @@
#version 330
in vec2 fragCoord;
out vec4 fragColor;
// bar values. defaults to left channels first (low to high), then right (high
// to low).
uniform float bars[512];
uniform int bars_count; // number of bars (left + right) (configurable)
uniform int bar_width; // bar width (configurable), not used here
uniform int bar_spacing; // space bewteen bars (configurable)
uniform vec3 u_resolution; // window resolution
// colors, configurable in cava config file (r,g,b) (0.0 - 1.0)
uniform vec3 bg_color; // background color
uniform vec3 fg_color; // foreground color
uniform int gradient_count;
uniform vec3 gradient_colors[8]; // gradient colors
uniform sampler2D inputTexture; // Texture from the first render pass
vec3 normalize_C(float y, vec3 col_1, vec3 col_2, float y_min, float y_max) {
// create color based on fraction of this color and next color
float yr = (y - y_min) / (y_max - y_min);
return col_1 * (1.0 - yr) + col_2 * yr;
}
void main() {
// find which bar to use based on where we are on the y axis
int bar = int(bars_count * fragCoord.y);
float y = bars[bar];
float band_size = 1.0 / float(bars_count);
float current_band_min = bar * band_size;
float current_band_max = (bar + 1) * band_size;
int hist_length = 512;
float win_size = 1.0 / hist_length;
if (fragCoord.x > 1.0 - win_size) {
if (fragCoord.y > current_band_min && fragCoord.y < current_band_max) {
fragColor = vec4(fg_color * y, 1.0);
}
} else {
vec2 offsetCoord = fragCoord;
offsetCoord.x += float(win_size);
fragColor = texture(inputTexture, offsetCoord);
}
}

View File

@@ -0,0 +1,112 @@
#version 330
// Emulate the "line style" spectrum analyzer from Winamp 2.
// Try this config for a demonstration:
/*
[general]
bar_width = 2
bar_spacing = 0
higher_cutoff_freq = 22000
[output]
method = sdl_glsl
channels = mono
fragment_shader = winamp_line_style_spectrum.frag
[color]
background = '#000000'
gradient = 1
gradient_color_1 = '#319C08'
gradient_color_2 = '#29CE10'
gradient_color_3 = '#BDDE29'
gradient_color_4 = '#DEA518'
gradient_color_5 = '#D66600'
gradient_color_6 = '#CE2910'
[smoothing]
noise_reduction = 10
*/
in vec2 fragCoord;
out vec4 fragColor;
// bar values. defaults to left channels first (low to high), then right (high to low).
uniform float bars[512];
uniform int bars_count; // number of bars (left + right) (configurable)
uniform int bar_width; // bar width (configurable), not used here
uniform int bar_spacing; // space bewteen bars (configurable)
uniform vec3 u_resolution; // window resolution
//colors, configurable in cava config file (r,g,b) (0.0 - 1.0)
uniform vec3 bg_color; // background color
uniform vec3 fg_color; // foreground color
uniform int gradient_count;
uniform vec3 gradient_colors[8]; // gradient colors
vec3 normalize_C(float y,vec3 col_1, vec3 col_2, float y_min, float y_max)
{
//create color based on fraction of this color and next color
float yr = (y - y_min) / (y_max - y_min);
return col_1 * (1.0 - yr) + col_2 * yr;
}
void main()
{
// find which bar to use based on where we are on the x axis
float x = u_resolution.x * fragCoord.x;
int bar = int(bars_count * fragCoord.x);
//calculate a bar size
float bar_size = u_resolution.x / bars_count;
//the y coordinate is stretched by 4X to resemble Winamp
float y = min(bars[bar] * 4.0, 1.0);
// make sure there is a thin line at bottom
if (y * u_resolution.y < 1.0)
{
y = 1.0 / u_resolution.y;
}
vec4 bar_color;
if (gradient_count == 0)
{
bar_color = vec4(fg_color,1.0);
}
else
{
//find color in the configured gradient for the top of the bar
int color = int((gradient_count - 1) * y);
//find where on y this and next color is supposed to be
float y_min = float(color) / (gradient_count - 1.0);
float y_max = float(color + 1) / (gradient_count - 1.0);
//make a solid color for the entire bar
bar_color = vec4(normalize_C(y, gradient_colors[color], gradient_colors[color + 1], y_min, y_max), 1.0);
}
//draw the bar up to current height
if (y > fragCoord.y)
{
//make some space between bars based on settings
if (x > (bar + 1) * (bar_size) - bar_spacing)
{
fragColor = vec4(bg_color,1.0);
}
else
{
fragColor = bar_color;
}
}
else
{
fragColor = vec4(bg_color,1.0);
}
}

BIN
old_rach/dconf/user Normal file

Binary file not shown.

68
old_rach/eww/eww.scss Normal file
View File

@@ -0,0 +1,68 @@
$bg: #282828;
$fg: #ebdbb2;
$bg2: #373633;
$fg2: #32302f;
* {
font-family: JetBrains Mono NF;
font-size: 14;
font-weight: 700;
}
.bar {
border: 2px solid $fg2;
border-radius: 12px;
}
.ws-number-class {
font-weight: 900;
margin: 0px 5px 0px 10px;
background: $bg2;
padding: 3px 5px 3px 5px;
border-radius: 6px;
}
.ws-title-class {
margin: 0px 5px;
padding: 3px 5px 3px 5px;
border-radius: 6px;
}
.right1 {
margin: 0px 10px;
}
.date-class {
background: $fg;
color: $bg;
padding: 3px 5px;
border-radius: 6px;
}
.volume-class {
background: $bg2;
margin: 0px 8px 0px 0px;
border-top-right-radius: 6px;
border-bottom-right-radius: 6px;
}
.language-class {
background: $bg2;
padding: 0px 10px 0px 5px;
border-top-left-radius: 6px;
border-bottom-left-radius: 6px;
}
.uptime-class {
margin: 0px 10px;
}
.music {
background: $bg2;
padding: 3px 3px;
border-radius: 6px;
}

66
old_rach/eww/eww.yuck Normal file
View File

@@ -0,0 +1,66 @@
(defpoll WS :interval "0.1s" "/home/fox/.config/eww/workspace-number.sh")
(defpoll WST :interval "0.1s" "/home/fox/.config/eww/workspace-title.sh")
(defpoll DATE :interval "40s" "date +'%H:%M'")
(defpoll VOL :interval "0.1s" "/home/fox/.config/eww/volume.sh")
(defpoll LGN :interval "0.1s" "/home/fox/.config/eww/language.sh")
(defpoll UPT :interval "3600s" "/home/fox/.config/eww/uptime.sh")
(defpoll MS :interval "0.1s" "/home/fox/.config/eww/music.sh")
(defwindow bar
:monitor 0
:geometry (geometry :x "0"
:y "7"
:width "850"
:height "45"
:anchor "bottom center")
:stacking "fg"
:exclusive true
:windowtype "dock"
:wm-ignore false
(box (left)
(center)
(right)))
(defwidget left []
(box :orientation "h"
:valign "center"
:space-evenly "false"
(box :halign "center"
:orientation "v"
(label :class "ws-number-class"
:text WS))
(box :halign "start"
:orientation "v"
(label :class "ws-title-class"
:text WST))))
(defwidget center []
(box :orientation "h"
:halign "center"
:valign "center"
:class "music"
MS))
(defwidget right []
(box :orientation "h"
:halign "end"
:valign "center"
:space-evenly "false"
:vexpand "false"
:hexpand "false"
:class "right1"
(box :orientation "h" :class "upt"
(label :class "uptime-class"
:text UPT))
(box (label :class "language-class"
:text LGN))
(box (label :class "volume-class"
:text VOL))
(box (label :class "date-class"
:text DATE))))

7
old_rach/eww/language.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
if hyprctl devices | grep -q "active keymap: Russian"; then
echo "ru"
else
echo "en"
fi

15
old_rach/eww/music.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
music=$(playerctl metadata --format "{{title}}" 2>/dev/null)
max_length=15
if [ -z "$music" ]; then
echo ":: No playing ::"
else
if [ ${#music} -gt $max_length ]; then
echo "${music:0:$max_length}..."
else
echo "$music"
fi
fi

3
old_rach/eww/uptime.sh Executable file
View File

@@ -0,0 +1,3 @@
command=$(uptime | awk '{print $3}')
echo "$command"

4
old_rach/eww/volume.sh Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/bash
vol=$(pamixer --get-volume)
echo "$vol "

View File

@@ -0,0 +1,5 @@
#!/bin/bash
current_ws=$(hyprctl activeworkspace | grep "workspace ID" | awk '{print $3}' | head -n1)
#echo "Workspace $current_ws"
echo "$current_ws"

25
old_rach/eww/workspace-title.sh Executable file
View File

@@ -0,0 +1,25 @@
#!/bin/bash
current_tl=$(hyprctl activewindow | grep -A1 "title" | tail -n1 | awk '{$1=""; print substr($0, 2)}')
air=""
if [[ $current_tl != $air ]]; then
case $current_tl in
zen)
echo " Browser"
;;
kitty)
echo " Terminal"
;;
org.telegram.desktop)
echo " Telegram"
;;
obsidian)
echo " Obsidian"
;;
*)
echo "$current_tl"
;;
esac
else
echo "󰇄 Desktop"
fi

47
old_rach/eww/ws.sh Executable file
View File

@@ -0,0 +1,47 @@
#!/bin/bash
#c_ws=$( hyprctl activeworkspace | grep "workspace ID" | awk '{print $3}' | head -1)
#l_ws=""
#while true; do
# if [[ "$c_ws" != "$l_ws" ]]; then
# echo $c_ws
# l_ws=$c_ws
# fi
#done
#prev_value_ws=""
#while true; do
# current_value_ws=$(hyprctl activeworkspace | grep "workspace ID" | awk '{print $3}' | head -1)
# if [[ "$current_value_ws" != "$prev_value_ws" ]]; then
# echo "$current_value_ws"
# prev_value_ws="$current_value_ws"
# fi
#done
#prev_value_tl=""
#while true; do
# current_value_tl=$(hyprctl activewindow | grep title | awk 'NR == 2' | awk '{print $2}')
# if [[ "$current_value_tl" != "$prev_value_tl" ]]; then
# echo "$current_value_tl"
# prev_value_ws="$current_value_tl"
# fi
#done
prev_ws=""
prev_tl=""
output_file="/home/fox/.cache/waybar_output"
while true; do
current_ws=$(hyprctl activeworkspace | grep "workspace ID" | awk '{print $3}' | head -n1)
current_tl=$(hyprctl activewindow | grep -A1 "title" | tail -n1 | awk '{$1=""; print substr($0, 2)}')
if [[ "$current_ws" != "$prev_ws" || "$current_tl" != "$prev_tl" ]]; then
echo "$current_ws"
echo "$current_tl"
prev_ws="$current_ws"
prev_tl="$current_tl"
fi
sleep 0.1
done

View File

@@ -0,0 +1,32 @@
{
"logo": {
"source": "arch_small"
},
"display": {
"separator": " :: "
},
"modules": [
{
"type": "os",
"key": "dis"
},
{
"type": "kernel",
"key": "krn"
},
{
"type": "uptime",
"key": "upt"
},
{
"type": "packages",
"key": "pks"
},
{
"type": "wm",
"key": "wdm"
}
]
}

View File

@@ -0,0 +1,124 @@
{
"Week": "2025-06-16",
"LastWeek": "",
"X": 0.6475652226649526,
"Programs": [
{
"Program": "cmd/asm",
"Version": "go1.24.4",
"GoVersion": "go1.24.4",
"GOOS": "linux",
"GOARCH": "amd64",
"Counters": {
"asm/flag:D": 172,
"asm/flag:I": 172,
"asm/flag:gensymabis": 65,
"asm/flag:o": 172,
"asm/flag:p": 172,
"asm/flag:shared": 91,
"asm/flag:trimpath": 172,
"asm/invocations": 172
},
"Stacks": {}
},
{
"Program": "cmd/cgo",
"Version": "go1.24.4",
"GoVersion": "go1.24.4",
"GOOS": "linux",
"GOARCH": "amd64",
"Counters": {
"cgo/flag:dynimport": 8,
"cgo/flag:dynlinker": 3,
"cgo/flag:dynout": 8,
"cgo/flag:dynpackage": 8,
"cgo/flag:import_runtime_cgo": 3,
"cgo/flag:import_syscall": 3,
"cgo/flag:importpath": 8,
"cgo/flag:ldflags": 8,
"cgo/flag:objdir": 8,
"cgo/invocations": 16
},
"Stacks": {}
},
{
"Program": "cmd/compile",
"Version": "go1.24.4",
"GoVersion": "go1.24.4",
"GOOS": "linux",
"GOARCH": "amd64",
"Counters": {
"compile/flag:asmhdr": 65,
"compile/flag:buildid": 430,
"compile/flag:c": 430,
"compile/flag:complete": 350,
"compile/flag:goversion": 430,
"compile/flag:importcfg": 430,
"compile/flag:installsuffix": 292,
"compile/flag:lang": 430,
"compile/flag:nolocalimports": 430,
"compile/flag:o": 430,
"compile/flag:p": 430,
"compile/flag:pack": 430,
"compile/flag:shared": 292,
"compile/flag:std": 323,
"compile/flag:symabis": 65,
"compile/flag:trimpath": 430,
"compile/invocations": 442
},
"Stacks": {}
},
{
"Program": "cmd/go",
"Version": "go1.24.4",
"GoVersion": "go1.24.4",
"GOOS": "linux",
"GOARCH": "amd64",
"Counters": {
"go/build/flag/buildmode:pie": 2,
"go/build/flag:buildmode": 2,
"go/build/flag:ldflags": 2,
"go/build/flag:mod": 2,
"go/build/flag:modcacherw": 2,
"go/build/flag:o": 3,
"go/build/flag:trimpath": 2,
"go/build/flag:v": 2,
"go/buildcache/hit": 166,
"go/buildcache/miss": 433,
"go/buildcache/stdlib-recompiled": 3,
"go/goroot:usr-lib-go": 4,
"go/invocations": 4,
"go/mode:module": 4,
"go/platform/host/linux/major-version:6": 4,
"go/platform/host/linux/version:6-15": 4,
"go/platform/target/goamd64:v1": 4,
"go/platform/target/goarch:amd64": 4,
"go/platform/target/goos:linux": 4,
"go/subcommand:build": 3,
"go/subcommand:mod-tidy": 1
},
"Stacks": {}
},
{
"Program": "cmd/link",
"Version": "go1.24.4",
"GoVersion": "go1.24.4",
"GOOS": "linux",
"GOARCH": "amd64",
"Counters": {
"link/flag:X": 3,
"link/flag:buildid": 3,
"link/flag:buildmode": 3,
"link/flag:compressdwarf": 1,
"link/flag:extld": 3,
"link/flag:importcfg": 3,
"link/flag:installsuffix": 2,
"link/flag:linkmode": 2,
"link/flag:o": 3,
"link/invocations": 6
},
"Stacks": {}
}
],
"Config": "v0.0.0-0"
}

View File

View File

@@ -0,0 +1 @@
1

View File

@@ -0,0 +1,5 @@
file:///home/fox/%D0%94%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D1%8B
file:///home/fox/%D0%9C%D1%83%D0%B7%D1%8B%D0%BA%D0%B0
file:///home/fox/%D0%98%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D1%8F
file:///home/fox/%D0%92%D0%B8%D0%B4%D0%B5%D0%BE
file:///home/fox/%D0%97%D0%B0%D0%B3%D1%80%D1%83%D0%B7%D0%BA%D0%B8

View File

@@ -0,0 +1,17 @@
[Settings]
gtk-theme-name=theme
gtk-icon-theme-name=Gruvbox-Plus-Dark
gtk-font-name=JetBrains Mono Medium 10
gtk-cursor-theme-name=cursor
gtk-cursor-theme-size=25
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=0
gtk-menu-images=0
gtk-enable-event-sounds=0
gtk-enable-input-feedback-sounds=0
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintslight
gtk-xft-rgba=rgb
gtk-application-prefer-dark-theme=0

1
old_rach/gtk-4.0/assets Symbolic link
View File

@@ -0,0 +1 @@
/home/fox/.themes/theme/gtk-4.0/assets

View File

@@ -0,0 +1 @@
/home/fox/.themes/theme/gtk-4.0/gtk-dark.css

1
old_rach/gtk-4.0/gtk.css Symbolic link
View File

@@ -0,0 +1 @@
/home/fox/.themes/theme/gtk-4.0/gtk.css

64
old_rach/htop/htoprc Normal file
View File

@@ -0,0 +1,64 @@
# Beware! This file is rewritten by htop when settings are changed in the interface.
# The parser is also very primitive, and not human-friendly.
htop_version=3.4.1-3.4.1
config_reader_min_version=3
fields=0 48 17 18 38 39 40 2 46 47 49 1
hide_kernel_threads=1
hide_userland_threads=0
hide_running_in_container=0
shadow_other_users=0
show_thread_names=0
show_program_path=1
highlight_base_name=0
highlight_deleted_exe=1
shadow_distribution_path_prefix=0
highlight_megabytes=1
highlight_threads=1
highlight_changes=0
highlight_changes_delay_secs=5
find_comm_in_cmdline=1
strip_exe_from_cmdline=1
show_merged_command=0
header_margin=1
screen_tabs=1
detailed_cpu_time=0
cpu_count_from_one=0
show_cpu_usage=1
show_cpu_frequency=0
show_cpu_temperature=0
degree_fahrenheit=0
show_cached_memory=1
update_process_names=0
account_guest_in_cpu_meter=0
color_scheme=0
enable_mouse=1
delay=15
hide_function_bar=0
header_layout=two_50_50
column_meters_0=AllCPUs Memory Swap
column_meter_modes_0=1 1 1
column_meters_1=Tasks LoadAverage Uptime
column_meter_modes_1=2 2 2
tree_view=0
sort_key=46
tree_sort_key=0
sort_direction=-1
tree_sort_direction=1
tree_view_always_by_pid=0
all_branches_collapsed=0
screen:Main=PID USER PRIORITY NICE M_VIRT M_RESIDENT M_SHARE STATE PERCENT_CPU PERCENT_MEM TIME Command
.sort_key=PERCENT_CPU
.tree_sort_key=PID
.tree_view_always_by_pid=0
.tree_view=0
.sort_direction=-1
.tree_sort_direction=1
.all_branches_collapsed=0
screen:I/O=PID USER IO_PRIORITY IO_RATE IO_READ_RATE IO_WRITE_RATE PERCENT_SWAP_DELAY PERCENT_IO_DELAY Command
.sort_key=IO_RATE
.tree_sort_key=PID
.tree_view_always_by_pid=0
.tree_view=0
.sort_direction=-1
.tree_sort_direction=1
.all_branches_collapsed=0

BIN
old_rach/hypr/avatar.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

147
old_rach/hypr/hyprland.conf Normal file
View File

@@ -0,0 +1,147 @@
autogenerated = 0
monitor = HDMI-A-2,1920x1080@100,0x100,1
# exec-once = $terminal
exec-once = hyprctl setcursor cursor 25
exec-once = hyprpaper
exec-once = eww open bar
env = XCURSOR_SIZE,24
env = HYPRCURSOR_SIZE,24
env = QT_QPA_PLATFORMTHEME,qt6ct
env = XDG_CURRENT_DESKTOP='Hyprland'
env = XDG_SESSION_TYPE='wayland'
env = XDG_SESSION_DESKTOP='Hyprland'
env = QT_AUTO_SCREEN_SCALE_FACTOR='1'
env = QT_QPA_PLATFORM='wayland'
env = QT_QPA_PLATFORMTHEME='gtk3'
general {
gaps_in = 15
gaps_out = 30
border_size = 2
col.active_border = rgb(32302f)
col.inactive_border = rgb(1d2021)
resize_on_border = true
allow_tearing = true
layout = dwindle
}
decoration {
rounding = 10
rounding_power = 2
active_opacity = 1.0
inactive_opacity = 1.0
shadow {
enabled = true
range = 5
render_power = 5
color = rgba(1d2021ee)
}
blur {
enabled = true
size = 3
passes = 1
vibrancy = 0.1696
}
}
animations {
enabled = yes, please :)
bezier = easeOutQuint,0.23,1,0.32,1
bezier = easeInOutCubic,0.65,0.05,0.36,1
bezier = linear,0,0,1,1
bezier = almostLinear,0.5,0.5,0.75,1.0
bezier = quick,0.15,0,0.1,1
animation = global, 1, 10, default
animation = border, 1, 5.39, easeOutQuint
animation = windows, 1, 4.79, easeOutQuint
animation = windowsIn, 1, 4.1, easeOutQuint, popin 87%
animation = windowsOut, 1, 1.49, linear, popin 87%
animation = fadeIn, 1, 1.73, almostLinear
animation = fadeOut, 1, 1.46, almostLinear
animation = fade, 1, 3.03, quick
animation = layers, 1, 3.81, easeOutQuint
animation = layersIn, 1, 4, easeOutQuint, fade
animation = layersOut, 1, 1.5, linear, fade
animation = fadeLayersIn, 1, 1.79, almostLinear
animation = fadeLayersOut, 1, 1.39, almostLinear
animation = workspaces, 1, 1.94, almostLinear, fade
animation = workspacesIn, 1, 1.21, almostLinear, fade
animation = workspacesOut, 1, 1.94, almostLinear, fade
}
dwindle {
pseudotile = true
preserve_split = true
}
misc {
force_default_wallpaper = 0
disable_hyprland_logo = true
}
input {
kb_layout = us,ru
kb_options = grp:alt_shift_toggle
follow_mouse = 1
sensitivity = 1.3
}
gestures {
workspace_swipe = false
}
$mod = SUPER
bind = alt, l, exec, eww open lock-dialog
bind = alt, g, exec, eww close bar
bind = alt, m, exec, eww open bar
bind = $mod shift, q, exit
bind = $mod ctrl, r, exec, eww open reboot-dialog
bind = $mod ctrl, q, exec, eww open off-dialog
bind = alt, l, exec, eww open lock-dialog-zopa
bind = $mod, c, killactive,
bind = $mod, s, togglefloating,
bind = $mod, t, pseudo,
bind = $mod, g, togglesplit
bind = alt, space, exec, rofi -show drun -config ~/.config/rofi/rofi.rasi
bind = $mod, 1, workspace, 1
bind = $mod, 2, workspace, 2
bind = $mod, 3, workspace, 3
bind = $mod, 4, workspace, 4
bind = $mod, 5, workspace, 5
bind = $mod, 6, workspace, 6
bind = $mod SHIFT, 1, movetoworkspace, 1
bind = $mod SHIFT, 2, movetoworkspace, 2
bind = $mod SHIFT, 3, movetoworkspace, 3
bind = $mod SHIFT, 4, movetoworkspace, 4
bind = $mod SHIFT, 5, movetoworkspace, 5
bind = $mod SHIFT, 6, movetoworkspace, 6
bind = $mod, mouse_down, workspace, e+1
bind = $mod, mouse_up, workspace, e-1
# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mod, mouse:272, movewindow
bindm = $mod, mouse:273, resizewindow

View File

@@ -0,0 +1,35 @@
general {
grace = 0
hide_cursor = false
}
background {
path = /home/fox/.config/hypr/wallp.jpg
blur_passes = 2
}
input-field {
size = 200, 40
fade_on_empty = false
rounding = 8
position = 0, -370
dots_center = false
outline_thickness = 2
outer_color = rgb(373633)
inner_color = rgb(282828)
font_color = rgb(ebdbb2)
}
image {
path = /home/fox/.config/hypr/avatar.jpg
size = 110
border_size = 2
position = 0, -250
border_color = rgb(373633)
}
label {
text = 
color = rgb(373633)
font_family = JetBrains Mono NF
}

View File

@@ -0,0 +1,2 @@
preload = ~/.config/hypr/wallp.jpg
wallpaper = HDMI-A-2, ~/.config/hypr/wallp.jpg

BIN
old_rach/hypr/wallp.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

61
old_rach/kitty/kitty.conf Normal file
View File

@@ -0,0 +1,61 @@
cursor_shape beam
window_padding_width 6
enable_audio_bell no
font_family JetBrainsMono NF
bold_font auto
italic_font auto
bold_italic_font auto
cursor #928374
cursor_text_color background
url_color #83a598
visual_bell_color #8ec07c
bell_border_color #8ec07c
active_border_color #d3869b
inactive_border_color #665c54
foreground #ebdbb2
background #282828
selection_foreground #928374
selection_background #ebdbb2
active_tab_foreground #fbf1c7
active_tab_background #665c54
inactive_tab_foreground #a89984
inactive_tab_background #3c3836
# black (bg3/bg4)
color0 #665c54
color8 #7c6f64
# red
color1 #cc241d
color9 #fb4934
#: green
color2 #98971a
color10 #b8bb26
# yellow
color3 #d79921
color11 #fabd2f
# blue
color4 #458588
color12 #83a598
# purple
color5 #b16286
color13 #d3869b
# aqua
color6 #689d6a
color14 #8ec07c
# white (fg4/fg3)
color7 #a89984
color15 #bdae93

2
old_rach/kritadisplayrc Normal file
View File

@@ -0,0 +1,2 @@
[General]
canvasState=OPENGL_SUCCESS

465
old_rach/kritarc Normal file

File diff suppressed because one or more lines are too long

23
old_rach/mimeapps.list Normal file
View File

@@ -0,0 +1,23 @@
[Default Applications]
x-scheme-handler/http=zen.desktop
x-scheme-handler/https=zen.desktop
x-scheme-handler/chrome=zen.desktop
text/html=zen.desktop
application/x-extension-htm=zen.desktop
application/x-extension-html=zen.desktop
application/x-extension-shtml=zen.desktop
application/xhtml+xml=zen.desktop
application/x-extension-xhtml=zen.desktop
application/x-extension-xht=zen.desktop
[Added Associations]
x-scheme-handler/http=zen.desktop;xfce4-web-browser.desktop;
x-scheme-handler/https=zen.desktop;xfce4-web-browser.desktop;
x-scheme-handler/chrome=zen.desktop;
text/html=zen.desktop;
application/x-extension-htm=zen.desktop;
application/x-extension-html=zen.desktop;
application/x-extension-shtml=zen.desktop;
application/xhtml+xml=zen.desktop;
application/x-extension-xhtml=zen.desktop;
application/x-extension-xht=zen.desktop;

14
old_rach/nvim/init.vim Normal file
View File

@@ -0,0 +1,14 @@
call plug#begin()
Plug 'ellisonleao/gruvbox.nvim'
Plug 'elkowar/yuck.vim'
call plug#end()
colorscheme gruvbox
set tabstop=2
set softtabstop=2
set shiftwidth=2
set laststatus=0
set number
set shortmess+=I

7
old_rach/nwg-look/config Normal file
View File

@@ -0,0 +1,7 @@
{
"export-settings-ini": true,
"export-gtkrc-20": true,
"export-index-theme": true,
"export-xsettingsd": true,
"export-gtk4-symlinks": true
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More