init nix-os configuraion files
This commit is contained in:
95
README.md
Normal file
95
README.md
Normal file
@@ -0,0 +1,95 @@
|
||||
### 目录结构
|
||||
|
||||
```
|
||||
├── home # home manager 配置信息
|
||||
│ ├── core.nix # 核心的通用配置,由其他配置引入
|
||||
│ ├── desktop.nix # 桌面环境配置
|
||||
│ ├── server.nix # 服务器配置
|
||||
├── modules # 通用模块,不同机器可以根据的需要引入
|
||||
│ ├── home # home manager 通用模块
|
||||
│ │ └── -
|
||||
│ └── nixos # nixos 通用模块
|
||||
├── overlays # 安装包的修改配置
|
||||
│ └── -
|
||||
├── pkgs
|
||||
│ └── -
|
||||
├── profiles # 不同机器的配置文件
|
||||
│ ├── appolo # 主服务器配置
|
||||
│ ├── gaea # 主用机配置
|
||||
│ └── luna # 虚拟机配置
|
||||
├── secrets
|
||||
│ └── _public_keys_
|
||||
├── flake.lock
|
||||
├── flake.nix # nix flake 入口
|
||||
├── nixos-install.sh # nixos 全新安装脚本
|
||||
└── flake.lock
|
||||
```
|
||||
|
||||
### 如何安装?
|
||||
|
||||
0. 准备一个 64 位的 nixos [minimal iso image](https://channels.nixos.org/nixos-22.11/latest-nixos-minimal-x86_64-linux.iso) 烧录好,然后进入 live 系统。
|
||||
1. 分区
|
||||
|
||||
使用 fdisk 或 parted 工具进行分区。现在假设两个分区为:`/dev/sda1` `/dev/sda2`。
|
||||
|
||||
2. 格式化分区
|
||||
|
||||
```bash
|
||||
mkfs.fat -F 32 /dev/sda1 # boot / EFI 分区
|
||||
mkfs.ext4 /dev/sda2 # 系统分区
|
||||
```
|
||||
|
||||
3. 挂载
|
||||
|
||||
```bash
|
||||
mount /dev/sda2 /mnt/nix
|
||||
mkdir -p /mnt/boot
|
||||
mount /dev/sda1 /mnt/boot
|
||||
```
|
||||
|
||||
4. 生成一个基本的配置
|
||||
|
||||
```bash
|
||||
nixos-generate-config --root /mnt
|
||||
```
|
||||
|
||||
5. 克隆仓库到本地
|
||||
|
||||
```bash
|
||||
nix-shell -p git
|
||||
git clone https://github.com/synebula/.nix.git /mnt/.nix
|
||||
cd /mnt/.nix/
|
||||
nix develop --extra-experimental-features "nix-command flakes"
|
||||
```
|
||||
|
||||
6. 将 /mnt/etc/nixos 中的 `hardware-configuration.nix` 拷贝到 `/mnt/.nix/profiles/<profile>/hardware-configuration.nix`, 其中`<profile>`指需要的 profile。
|
||||
|
||||
```bash
|
||||
cp /mnt/etc/nixos/hardware-configuration.nix /mnt/.nix/profiles/<profile>/hardware-configuration.nix
|
||||
```
|
||||
7. 用户名修改: 编辑 `/mnt/.nix/flake.nix` 修改 **username** 变量。
|
||||
|
||||
8. 使用 `mkpasswd {PASSWORD} -m sha-512` 命令生成的密码哈希串替换掉 `/mnt/.nix/modules/nixos/user-group.nix` 中的 `users.users.<name>.hashedPassword` 值替换掉。
|
||||
|
||||
|
||||
9. 安装
|
||||
|
||||
```bash
|
||||
nixos-install --option substituters "https://mirrors.ustc.edu.cn/nix-channels/store https://cache.nixos.org" --no-root-passwd --flake .#<profile>
|
||||
|
||||
# 或者
|
||||
|
||||
./nixos-install <profile>
|
||||
```
|
||||
|
||||
10. 重启
|
||||
|
||||
```bash
|
||||
reboot
|
||||
```
|
||||
|
||||
### 日常更新系统脚本
|
||||
|
||||
``` bash
|
||||
./nixos-switch
|
||||
```
|
||||
214
flake.lock
generated
Normal file
214
flake.lock
generated
Normal file
@@ -0,0 +1,214 @@
|
||||
{
|
||||
"nodes": {
|
||||
"home-manager": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1693208669,
|
||||
"narHash": "sha256-hHFaaUsZ860wvppPeiu7nJn/nXZjJfnqAQEu9SPFE9I=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "5bac4a1c06cd77cf8fc35a658ccb035a6c50cd2c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"ref": "release-23.05",
|
||||
"repo": "home-manager",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"home-manager-unstable": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs-unstable"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1693859358,
|
||||
"narHash": "sha256-r3Pak/ao3p8weTzR+Ry3qQrfRsmSOwWW5sAe73mrYKs=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "886ea1d213efd1082f419d066e89ef37635dc970",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"hyprland": {
|
||||
"inputs": {
|
||||
"hyprland-protocols": "hyprland-protocols",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"systems": "systems",
|
||||
"wlroots": "wlroots",
|
||||
"xdph": "xdph"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1693468538,
|
||||
"narHash": "sha256-3kWvxxIlMwYqUg4txxBipH3CEQglLNGPjtQnpNeoHJY=",
|
||||
"owner": "hyprwm",
|
||||
"repo": "Hyprland",
|
||||
"rev": "fc0c1896e097b3c3b2170ae69d38724e43960fe1",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "hyprwm",
|
||||
"repo": "Hyprland",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"hyprland-protocols": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"hyprland",
|
||||
"nixpkgs"
|
||||
],
|
||||
"systems": [
|
||||
"hyprland",
|
||||
"systems"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1691753796,
|
||||
"narHash": "sha256-zOEwiWoXk3j3+EoF3ySUJmberFewWlagvewDRuWYAso=",
|
||||
"owner": "hyprwm",
|
||||
"repo": "hyprland-protocols",
|
||||
"rev": "0c2ce70625cb30aef199cb388f99e19a61a6ce03",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "hyprwm",
|
||||
"repo": "hyprland-protocols",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1693158576,
|
||||
"narHash": "sha256-aRTTXkYvhXosGx535iAFUaoFboUrZSYb1Ooih/auGp0=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "a999c1cc0c9eb2095729d5aa03e0d8f7ed256780",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs-unstable": {
|
||||
"locked": {
|
||||
"lastModified": 1693377291,
|
||||
"narHash": "sha256-vYGY9bnqEeIncNarDZYhm6KdLKgXMS+HA2mTRaWEc80=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "e7f38be3775bab9659575f192ece011c033655f0",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1693341273,
|
||||
"narHash": "sha256-wrsPjsIx2767909MPGhSIOmkpGELM9eufqLQOPxmZQg=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "2ab91c8d65c00fd22a441c69bbf1bc9b420d5ea1",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixos-23.05",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"home-manager": "home-manager",
|
||||
"home-manager-unstable": "home-manager-unstable",
|
||||
"hyprland": "hyprland",
|
||||
"nixpkgs": "nixpkgs_2",
|
||||
"nixpkgs-unstable": "nixpkgs-unstable"
|
||||
}
|
||||
},
|
||||
"systems": {
|
||||
"locked": {
|
||||
"lastModified": 1689347949,
|
||||
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
|
||||
"owner": "nix-systems",
|
||||
"repo": "default-linux",
|
||||
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-systems",
|
||||
"repo": "default-linux",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"wlroots": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"host": "gitlab.freedesktop.org",
|
||||
"lastModified": 1692976565,
|
||||
"narHash": "sha256-eBKkG7tMxg92NskEn8dHRFY245JwjirWRoOZzW6DnUw=",
|
||||
"owner": "wlroots",
|
||||
"repo": "wlroots",
|
||||
"rev": "717ded9bb0191ea31bf4368be32e7a15fe1b8294",
|
||||
"type": "gitlab"
|
||||
},
|
||||
"original": {
|
||||
"host": "gitlab.freedesktop.org",
|
||||
"owner": "wlroots",
|
||||
"repo": "wlroots",
|
||||
"rev": "717ded9bb0191ea31bf4368be32e7a15fe1b8294",
|
||||
"type": "gitlab"
|
||||
}
|
||||
},
|
||||
"xdph": {
|
||||
"inputs": {
|
||||
"hyprland-protocols": [
|
||||
"hyprland",
|
||||
"hyprland-protocols"
|
||||
],
|
||||
"nixpkgs": [
|
||||
"hyprland",
|
||||
"nixpkgs"
|
||||
],
|
||||
"systems": [
|
||||
"hyprland",
|
||||
"systems"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1691841170,
|
||||
"narHash": "sha256-RCTm1/MVWYPnReMgyp7tr2ogGYo/pvw38jZaFwemgPU=",
|
||||
"owner": "hyprwm",
|
||||
"repo": "xdg-desktop-portal-hyprland",
|
||||
"rev": "57a3a41ba6b358109e4fc25c6a4706b5f7d93c6b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "hyprwm",
|
||||
"repo": "xdg-desktop-portal-hyprland",
|
||||
"type": "github"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
||||
97
flake.nix
Normal file
97
flake.nix
Normal file
@@ -0,0 +1,97 @@
|
||||
# Configuration file init by: nix flake init -t github:misterio77/nix-starter-config#standard
|
||||
{
|
||||
outputs = { self, nixpkgs, nixpkgs-unstable, home-manager, home-manager-unstable, ... }@inputs:
|
||||
let
|
||||
inherit (self) outputs;
|
||||
inherit (nixpkgs) lib;
|
||||
username = "alex";
|
||||
useremail = "reizero@live.com";
|
||||
hostname = "luna";
|
||||
libs = import ./libs { inherit nixpkgs; };
|
||||
in
|
||||
rec {
|
||||
# Your custom packages
|
||||
# Acessible through 'nix build', 'nix shell', etc
|
||||
packages = libs.forAllSystems (system:
|
||||
let pkgs = nixpkgs.legacyPackages.${system};
|
||||
in import ./pkgs { inherit pkgs; }
|
||||
);
|
||||
|
||||
# Your custom packages and modifications, exported as overlays
|
||||
overlays = import ./overlays { inherit inputs; };
|
||||
|
||||
# NixOS configuration entrypoint
|
||||
# Available through 'nixos-rebuild --flake .#your-hostname'
|
||||
nixosConfigurations =
|
||||
with builtins; lib.genAttrs (attrNames (readDir ./profiles))
|
||||
(profile:
|
||||
lib.nixosSystem
|
||||
{
|
||||
specialArgs = {
|
||||
inherit self inputs outputs username useremail;
|
||||
hostname = profile;
|
||||
};
|
||||
modules = [
|
||||
./profiles/${profile}
|
||||
];
|
||||
}
|
||||
);
|
||||
|
||||
# Standalone home-manager configuration entrypoint
|
||||
# Available through 'home-manager --flake .#your-username@your-hostname'
|
||||
# Or run 'nix build .#homeConfigurations.<username>.activationPackage' in none-nixos distro first
|
||||
homeConfigurations = {
|
||||
# FIXME replace with your username@hostname
|
||||
"${username}" = home-manager-unstable.lib.homeManagerConfiguration {
|
||||
pkgs = nixpkgs-unstable.legacyPackages.x86_64-linux; # Home-manager requires 'pkgs' instance
|
||||
extraSpecialArgs = {
|
||||
inherit inputs outputs username useremail;
|
||||
hyprland = inputs.hyprland;
|
||||
};
|
||||
modules = [
|
||||
# > Our main home-manager configuration file <
|
||||
./home/desktop.nix
|
||||
|
||||
# Ony non-nixos use home-manager standalone, use this config fixing issues.
|
||||
{
|
||||
targets.genericLinux.enable = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
inputs = {
|
||||
# Nixpkgs
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
|
||||
# You can access packages and modules from different nixpkgs revs
|
||||
# at the same time. Here's an working example:
|
||||
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
# Also see the 'unstable-packages' overlay at 'overlays/default.nix'.
|
||||
|
||||
# The Nix User Repository
|
||||
# nur.url = github:nix-community/NUR;
|
||||
|
||||
# Home manager
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager/release-23.05";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
# Home manager
|
||||
home-manager-unstable = {
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs-unstable";
|
||||
};
|
||||
|
||||
hyprland.url = "github:hyprwm/Hyprland";
|
||||
|
||||
# TODO: Add any other flake you might need
|
||||
# hardware.url = "github:nixos/nixos-hardware";
|
||||
|
||||
# Shameless plug: looking for a way to nixify your themes and make
|
||||
# everything match nicely? Try nix-colors!
|
||||
# nix-colors.url = "github:misterio77/nix-colors";
|
||||
};
|
||||
|
||||
}
|
||||
110
home/core.nix
Normal file
110
home/core.nix
Normal file
@@ -0,0 +1,110 @@
|
||||
# This is your home-manager configuration file
|
||||
# Use this to configure your home environment (it replaces ~/.config/nixpkgs/home.nix)
|
||||
|
||||
{ inputs, outputs, lib, config, pkgs, username, useremail, ... }: {
|
||||
|
||||
home = {
|
||||
inherit username;
|
||||
homeDirectory = "/home/${username}";
|
||||
|
||||
# Add stuff for your user as you see fit:
|
||||
packages = with pkgs; [
|
||||
nixpkgs-fmt
|
||||
];
|
||||
};
|
||||
|
||||
# Enable home-manager and git
|
||||
programs = {
|
||||
# home-manager.enable = true;
|
||||
# git.enable = true;
|
||||
|
||||
git = {
|
||||
enable = true;
|
||||
|
||||
userName = username;
|
||||
userEmail = useremail;
|
||||
|
||||
includes = [
|
||||
{
|
||||
# use diffrent email & name for work
|
||||
path = "~/work/.gitconfig";
|
||||
condition = "gitdir:~/work/";
|
||||
}
|
||||
];
|
||||
|
||||
extraConfig = {
|
||||
init.defaultBranch = "master";
|
||||
push.autoSetupRemote = true;
|
||||
pull.rebase = true;
|
||||
|
||||
# replace https with ssh
|
||||
# url = {
|
||||
# "ssh://git@github.com/" = {
|
||||
# insteadOf = "https://github.com/";
|
||||
# };
|
||||
# "ssh://git@gitlab.com/" = {
|
||||
# insteadOf = "https://gitlab.com/";
|
||||
# };
|
||||
# "ssh://git@bitbucket.com/" = {
|
||||
# insteadOf = "https://bitbucket.com/";
|
||||
# };
|
||||
# };
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
bash = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
bashrcExtra = "";
|
||||
shellAliases = { };
|
||||
};
|
||||
|
||||
vim = {
|
||||
enable = true;
|
||||
plugins = with pkgs.vimPlugins; [ vim-airline ];
|
||||
settings = { ignorecase = true; };
|
||||
extraConfig = ''
|
||||
set mouse=a
|
||||
set expandtab
|
||||
set tabstop=2
|
||||
set softtabstop=2
|
||||
set shiftwidth=2
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
nixpkgs = {
|
||||
# You can add overlays here
|
||||
overlays = [
|
||||
# Add overlays your own flake exports (from overlays and pkgs dir):
|
||||
outputs.overlays.additions
|
||||
outputs.overlays.modifications
|
||||
outputs.overlays.unstable-packages
|
||||
|
||||
# You can also add overlays exported from other flakes:
|
||||
# neovim-nightly-overlay.overlays.default
|
||||
|
||||
# Or define it inline, for example:
|
||||
# (final: prev: {
|
||||
# hi = final.hello.overrideAttrs (oldAttrs: {
|
||||
# patches = [ ./change-hello-to-hi.patch ];
|
||||
# });
|
||||
# })
|
||||
];
|
||||
# Configure your nixpkgs instance
|
||||
config = {
|
||||
# Disable if you don't want unfree packages
|
||||
allowUnfree = true;
|
||||
# Workaround for https://github.com/nix-community/home-manager/issues/2942
|
||||
allowUnfreePredicate = (_: true);
|
||||
};
|
||||
};
|
||||
|
||||
# Nicely reload system units when changing configs
|
||||
systemd.user.startServices = "sd-switch";
|
||||
|
||||
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||||
home.stateVersion = "23.05";
|
||||
}
|
||||
88
home/desktop.nix
Normal file
88
home/desktop.nix
Normal file
@@ -0,0 +1,88 @@
|
||||
# This is your home-manager configuration file
|
||||
# Use this to configure your home environment (it replaces ~/.config/nixpkgs/home.nix)
|
||||
|
||||
{ inputs, outputs, lib, config, pkgs, username, useremail, hyprland, ... }:
|
||||
{
|
||||
# You can import other home-manager modules here
|
||||
imports = [
|
||||
# If you want to use modules your own flake exports (from modules/home-manager):
|
||||
# outputs.homeManagerModules.example
|
||||
|
||||
# Or modules exported from other flakes (such as nix-colors):
|
||||
# inputs.nix-colors.homeManagerModules.default
|
||||
|
||||
# You can also split up your configuration and import pieces of it here:
|
||||
# ./nvim.nix
|
||||
./core.nix
|
||||
../modules/home/hyprland
|
||||
../modules/home/vscode
|
||||
../modules/home/v2ray
|
||||
../modules/home/xdg.nix
|
||||
../modules/home/theme.nix
|
||||
];
|
||||
|
||||
home = {
|
||||
# Add stuff for your user as you see fit:
|
||||
packages = with pkgs; [
|
||||
bc # GNU software calculator
|
||||
vlc
|
||||
imv
|
||||
motrix
|
||||
microsoft-edge
|
||||
telegram-desktop
|
||||
# firefox
|
||||
# chromium
|
||||
|
||||
zip
|
||||
unzip
|
||||
lsof
|
||||
pciutils # lspci etc.
|
||||
steam-run
|
||||
frp
|
||||
obsidian
|
||||
wpsoffice-cn
|
||||
xorg.xhost
|
||||
|
||||
dbeaver
|
||||
postman
|
||||
# jdk
|
||||
nodejs
|
||||
yarn
|
||||
flutter
|
||||
oraclejdk
|
||||
jetbrains.idea-community
|
||||
# nur.repos.linyinfeng.wemeet
|
||||
];
|
||||
|
||||
sessionVariables = {
|
||||
JAVA_HOME = "${pkgs.oraclejdk}";
|
||||
XIM = "fcitx";
|
||||
XIM_PROGRAM = "fcitx";
|
||||
XMODIFIERS = "@im=fcitx";
|
||||
};
|
||||
};
|
||||
|
||||
programs = {
|
||||
bash = {
|
||||
initExtra = ''
|
||||
export XIM="fcitx"
|
||||
export XIM_PROGRAM="fcitx"
|
||||
export XMODIFIERS="@im=fcitx"
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
i18n.inputMethod = {
|
||||
enabled = "fcitx5";
|
||||
fcitx5.addons = with pkgs; [
|
||||
fcitx5-chinese-addons
|
||||
];
|
||||
};
|
||||
|
||||
# Enable home-manager and git
|
||||
programs = {
|
||||
home-manager.enable = true;
|
||||
# git.enable = true;
|
||||
};
|
||||
}
|
||||
26
home/server.nix
Normal file
26
home/server.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
# This is your home-manager configuration file
|
||||
# Use this to configure your home environment (it replaces ~/.config/nixpkgs/home.nix)
|
||||
|
||||
{ inputs, outputs, lib, config, pkgs, username, useremail, hyprland, ... }: {
|
||||
# You can import other home-manager modules here
|
||||
imports = [
|
||||
# If you want to use modules your own flake exports (from modules/home-manager):
|
||||
# outputs.homeManagerModules.example
|
||||
|
||||
# Or modules exported from other flakes (such as nix-colors):
|
||||
# inputs.nix-colors.homeManagerModules.default
|
||||
|
||||
# You can also split up your configuration and import pieces of it here:
|
||||
# ./nvim.nix
|
||||
./core.nix
|
||||
];
|
||||
|
||||
home = {
|
||||
# Add stuff for your user as you see fit:
|
||||
packages = with pkgs; [
|
||||
];
|
||||
};
|
||||
|
||||
# Enable home-manager and git
|
||||
programs = { };
|
||||
}
|
||||
13
libs/default.nix
Normal file
13
libs/default.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{ nixpkgs }:
|
||||
|
||||
with nixpkgs.lib; {
|
||||
# Add your library functions here
|
||||
#
|
||||
forAllSystems = genAttrs [
|
||||
"aarch64-linux"
|
||||
"i686-linux"
|
||||
"x86_64-linux"
|
||||
"aarch64-darwin"
|
||||
"x86_64-darwin"
|
||||
];
|
||||
}
|
||||
23
modules/home/hyprland/conf/hypr/animations.conf
Normal file
23
modules/home/hyprland/conf/hypr/animations.conf
Normal file
@@ -0,0 +1,23 @@
|
||||
|
||||
# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█
|
||||
# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█
|
||||
|
||||
|
||||
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
|
||||
|
||||
animations {
|
||||
enabled = yes
|
||||
bezier = wind, 0.05, 0.9, 0.1, 1.05
|
||||
bezier = winIn, 0.1, 1.1, 0.1, 1.1
|
||||
bezier = winOut, 0.3, -0.3, 0, 1
|
||||
bezier = liner, 1, 1, 1, 1
|
||||
animation = windows, 1, 6, wind, slide
|
||||
animation = windowsIn, 1, 6, winIn, slide
|
||||
animation = windowsOut, 1, 5, winOut, slide
|
||||
animation = windowsMove, 1, 5, wind, slide
|
||||
animation = border, 1, 1, liner
|
||||
animation = borderangle, 1, 30, liner, loop
|
||||
animation = fade, 1, 10, default
|
||||
animation = workspaces, 1, 5, wind
|
||||
}
|
||||
|
||||
144
modules/home/hyprland/conf/hypr/hyprland.conf
Normal file
144
modules/home/hyprland/conf/hypr/hyprland.conf
Normal file
@@ -0,0 +1,144 @@
|
||||
######################################################################################
|
||||
#AUTOGENERATED HYPR CONFIG.
|
||||
#PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT,
|
||||
#OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS.
|
||||
########################################################################################
|
||||
|
||||
# Please note not all available settings / options are set here.
|
||||
# For a full list, see the wiki
|
||||
# autogenerated = 1 # remove this line to remove the warning
|
||||
|
||||
|
||||
|
||||
# █▀▄▀█ █▀█ █▄░█ █ ▀█▀ █▀█ █▀█
|
||||
# █░▀░█ █▄█ █░▀█ █ ░█░ █▄█ █▀▄
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||
|
||||
# monitor = DP-1, 2560x1080@144, 0x0, 1
|
||||
monitor = ,preferred,auto,auto
|
||||
|
||||
|
||||
|
||||
# █░░ ▄▀█ █░█ █▄░█ █▀▀ █░█
|
||||
# █▄▄ █▀█ █▄█ █░▀█ █▄▄ █▀█
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
# Execute your favorite apps at launch
|
||||
|
||||
exec-once = ~/.config/hypr/scripts/resetxdgportal.sh # reset XDPH for screenshare
|
||||
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # for XDPH
|
||||
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # for XDPH
|
||||
exec-once = /usr/lib/polkit-kde-authentication-agent-1 # authentication dialogue for GUI apps
|
||||
exec-once = waybar && ~/.config/waybar/wbarconfgen.sh n # launch the system panel
|
||||
exec-once = blueman-applet # systray app for BT
|
||||
exec-once = nm-applet --indicator # systray app for Network/Wifi
|
||||
exec-once = dunst # start notification demon
|
||||
exec-once = wl-paste --type text --watch cliphist store # clipboard store text data
|
||||
exec-once = wl-paste --type image --watch cliphist store # clipboard store image data
|
||||
exec-once = ~/.config/swww/swwwallpaper.sh # start wallpaper daemon
|
||||
exec-once = fcitx5
|
||||
#exec-once = swayidle -w timeout 900 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' # turn off monitor after 15 mins
|
||||
|
||||
|
||||
|
||||
# █▀▀ █▄░█ █░█
|
||||
# ██▄ █░▀█ ▀▄▀
|
||||
|
||||
# Some default env vars.
|
||||
|
||||
# env = XDG_CURRENT_DESKTOP,Hyprland
|
||||
# env = XDG_SESSION_TYPE,wayland
|
||||
# env = XDG_SESSION_DESKTOP,Hyprland
|
||||
# env = GDK_BACKEND,wayland
|
||||
# env = QT_QPA_PLATFORM,wayland
|
||||
# #env = QT_STYLE_OVERRIDE,kvantum
|
||||
# env = QT_QPA_PLATFORMTHEME,qt5ct
|
||||
# env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
|
||||
# env = QT_AUTO_SCREEN_SCALE_FACTOR,1
|
||||
# env = XDG_PICTURES_DIR,$HOME/Pictures
|
||||
|
||||
|
||||
|
||||
# █ █▄░█ █▀█ █░█ ▀█▀
|
||||
# █ █░▀█ █▀▀ █▄█ ░█░
|
||||
|
||||
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
||||
|
||||
input {
|
||||
kb_layout = us
|
||||
kb_variant =
|
||||
kb_model =
|
||||
kb_options =
|
||||
kb_rules =
|
||||
follow_mouse = 1
|
||||
|
||||
touchpad {
|
||||
natural_scroll = no
|
||||
}
|
||||
|
||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||
force_no_accel = 1
|
||||
numlock_by_default = true
|
||||
}
|
||||
|
||||
# Example per-device config
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
|
||||
|
||||
device:epic mouse V1 {
|
||||
sensitivity = -0.5
|
||||
}
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
gestures {
|
||||
workspace_swipe = true
|
||||
workspace_swipe_fingers = 3
|
||||
}
|
||||
|
||||
|
||||
|
||||
# █░░ ▄▀█ █▄█ █▀█ █░█ ▀█▀ █▀
|
||||
# █▄▄ █▀█ ░█░ █▄█ █▄█ ░█░ ▄█
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||
|
||||
dwindle {
|
||||
pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||
preserve_split = yes # you probably want this
|
||||
}
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
||||
|
||||
master {
|
||||
new_is_master = true
|
||||
}
|
||||
|
||||
|
||||
|
||||
# █▀▄▀█ █ █▀ █▀▀
|
||||
# █░▀░█ █ ▄█ █▄▄
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
misc {
|
||||
vrr = 0
|
||||
}
|
||||
|
||||
|
||||
|
||||
# █▀ █▀█ █░█ █▀█ █▀▀ █▀▀
|
||||
# ▄█ █▄█ █▄█ █▀▄ █▄▄ ██▄
|
||||
|
||||
# Source a file (multi-file configs)
|
||||
# source = ~/.config/hypr/myColors.conf
|
||||
|
||||
source = ~/.config/hypr/animations.conf
|
||||
source = ~/.config/hypr/keybindings.conf
|
||||
source = ~/.config/hypr/windowrules.conf
|
||||
source = ~/.config/hypr/themes/theme.conf
|
||||
source = ~/.config/hypr/monitors.conf # initially empty, to be configured by user and remains static
|
||||
source = ~/.config/hypr/userprefs.conf # initially empty, to be configured by user and remains static
|
||||
|
||||
# Note: as userprefs.conf is sourced at the end, settings configured in this file will override the defaults
|
||||
|
||||
128
modules/home/hyprland/conf/hypr/keybindings.conf
Normal file
128
modules/home/hyprland/conf/hypr/keybindings.conf
Normal file
@@ -0,0 +1,128 @@
|
||||
# █▄▀ █▀▀ █▄█ █▄▄ █ █▄░█ █▀▄ █ █▄░█ █▀▀ █▀
|
||||
# █░█ ██▄ ░█░ █▄█ █ █░▀█ █▄▀ █ █░▀█ █▄█ ▄█
|
||||
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
|
||||
# main modifier
|
||||
$mainMod = SUPER # windows key
|
||||
|
||||
# window/session actions
|
||||
bind = $mainMod, Q, exec, ~/.config/hypr/scripts/dontkillsteam.sh # killactive, # kill the window on focus
|
||||
bind = $mainMod, delete, exit, # kill hyperland session
|
||||
bind = $mainMod, esc, exit, # kill hyperland session
|
||||
bind = $mainMod, F, togglefloating, # toggle the window on focus to float
|
||||
bind = ALT, return, fullscreen, # toggle the window on focus to fullscreen
|
||||
bind = $mainMod, G, exec, ~/.config/hypr/scripts/gamemode.sh # disable hypr effects for gamemode
|
||||
bind = $mainMod, L, exec, swaylock # lock screen
|
||||
bind = $mainMod, backspace, exec, ~/.config/hypr/scripts/logoutlaunch.sh 1 # logout menu
|
||||
bind = $mainMod, P, pseudo, # dwindle
|
||||
bind = $mainMod, S, togglesplit, # dwindle
|
||||
|
||||
# application shortcuts
|
||||
bind = $mainMod, grave, exec, kitty # ~ open terminal
|
||||
bind = $mainMod, E, exec, dolphin # open file manager
|
||||
bind = $mainMod, V, exec, code # open vscode
|
||||
|
||||
# rofi is toggled on/off if you repeat the key presses
|
||||
bind = $mainMod, SPACE, exec, pkill rofi || ~/.config/hypr/scripts/rofilaunch.sh d # launch desktop applications
|
||||
bind = $mainMod, tab, exec, pkill rofi || ~/.config/hypr/scripts/rofilaunch.sh w # switch between desktop applications
|
||||
bind = $mainMod, R, exec, pkill rofi || ~/.config/hypr/scripts/rofilaunch.sh f # browse system files
|
||||
|
||||
# audio control
|
||||
# bind = , F10, exec, ~/.config/hypr/scripts/volumecontrol.sh -o m # toggle audio mute
|
||||
# binde = , F11, exec, ~/.config/hypr/scripts/volumecontrol.sh -o d # decrease volume
|
||||
# binde = , F12, exec, ~/.config/hypr/scripts/volumecontrol.sh -o i # increase volume
|
||||
bind = , XF86AudioMute, exec, ~/.config/hypr/scripts/volumecontrol.sh -o m # toggle audio mute
|
||||
bind = , XF86AudioMicMute, exec, ~/.config/hypr/scripts/volumecontrol.sh -i m # toggle microphone mute
|
||||
binde = , XF86AudioLowerVolume, exec, ~/.config/hypr/scripts/volumecontrol.sh -o d # decrease volume
|
||||
binde = , XF86AudioRaiseVolume, exec, ~/.config/hypr/scripts/volumecontrol.sh -o i # increase volume
|
||||
bind = , XF86AudioPlay, exec, playerctl play-pause
|
||||
bind = , XF86AudioPause, exec, playerctl play-pause
|
||||
bind = , XF86AudioNext, exec, playerctl next
|
||||
bind = , XF86AudioPrev, exec, playerctl previous
|
||||
|
||||
# brightness control
|
||||
binde = , XF86MonBrightnessUp, exec, ~/.config/hypr/scripts/brightnesscontrol.sh i # increase brightness
|
||||
binde = , XF86MonBrightnessDown, exec, ~/.config/hypr/scripts/brightnesscontrol.sh d # decrease brightness
|
||||
|
||||
# screenshot/screencapture
|
||||
bind = $mainMod, P, exec, ~/.config/hypr/scripts/screenshot.sh s # screenshot snip
|
||||
bind = $mainMod ALT, P, exec, ~/.config/hypr/scripts/screenshot.sh p # print current screen
|
||||
bind = $CONTROL SHIFT, P, pass, ^(com\.obsproject\.Studio)$ # start/stop obs screen recording
|
||||
|
||||
# exec custom scripts
|
||||
bind = $mainMod ALT, right, exec, ~/.config/swww/swwwallpaper.sh -n # next wallpaper
|
||||
bind = $mainMod ALT, left, exec, ~/.config/swww/swwwallpaper.sh -p # previous wallpaper
|
||||
bind = $mainMod ALT, up, exec, ~/.config/waybar/wbarconfgen.sh n # next waybar mode
|
||||
bind = $mainMod ALT, down, exec, ~/.config/waybar/wbarconfgen.sh p # previous waybar mode
|
||||
bind = $mainMod SHIFT, T, exec, ~/.config/hypr/scripts/themeselect.sh # theme select menu
|
||||
bind = $mainMod SHIFT, A, exec, ~/.config/hypr/scripts/rofiselect.sh # rofi style select menu
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod, left, movefocus, l
|
||||
bind = $mainMod, right, movefocus, r
|
||||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
bind = ALT, Tab, movefocus, d
|
||||
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
bind = $mainMod, 2, workspace, 2
|
||||
bind = $mainMod, 3, workspace, 3
|
||||
bind = $mainMod, 4, workspace, 4
|
||||
bind = $mainMod, 5, workspace, 5
|
||||
bind = $mainMod, 6, workspace, 6
|
||||
bind = $mainMod, 7, workspace, 7
|
||||
bind = $mainMod, 8, workspace, 8
|
||||
bind = $mainMod, 9, workspace, 9
|
||||
bind = $mainMod, 0, workspace, 10
|
||||
|
||||
# Resize windows
|
||||
binde = $mainMod CONTROL, right, resizeactive, 10 0
|
||||
binde = $mainMod CONTROL, left, resizeactive, -10 0
|
||||
binde = $mainMod CONTROL, up, resizeactive, 0 -10
|
||||
binde = $mainMod CONTROL, down, resizeactive, 0 10
|
||||
|
||||
# Move Window with mainMod + SHIFT + arrow keys
|
||||
bind = $mainMod SHIFT, left, movewindow, l
|
||||
bind = $mainMod SHIFT, right, movewindow, r
|
||||
bind = $mainMod SHIFT, up, movewindow, u
|
||||
bind = $mainMod SHIFT, down, movewindow, d
|
||||
|
||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
||||
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
||||
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
||||
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
||||
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
||||
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||
|
||||
# Scroll through existing workspaces with mainMod + scroll
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
||||
|
||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
|
||||
# Special workspaces (scratchpad)
|
||||
bind = $mainMod ALT, S, movetoworkspacesilent, special
|
||||
bind = $mainMod CONTROL, S, togglespecialworkspace,
|
||||
|
||||
# Move window to workspace Super + Alt + [0-9]
|
||||
bind = $mainMod ALT, 1, movetoworkspacesilent, 1
|
||||
bind = $mainMod ALT, 2, movetoworkspacesilent, 2
|
||||
bind = $mainMod ALT, 3, movetoworkspacesilent, 3
|
||||
bind = $mainMod ALT, 4, movetoworkspacesilent, 4
|
||||
bind = $mainMod ALT, 5, movetoworkspacesilent, 5
|
||||
bind = $mainMod ALT, 6, movetoworkspacesilent, 6
|
||||
bind = $mainMod ALT, 7, movetoworkspacesilent, 7
|
||||
bind = $mainMod ALT, 8, movetoworkspacesilent, 8
|
||||
bind = $mainMod ALT, 9, movetoworkspacesilent, 9
|
||||
bind = $mainMod ALT, 0, movetoworkspacesilent, 10
|
||||
24
modules/home/hyprland/conf/hypr/monitors.conf
Normal file
24
modules/home/hyprland/conf/hypr/monitors.conf
Normal file
@@ -0,0 +1,24 @@
|
||||
|
||||
# █▀▄▀█ █▀█ █▄░█ █ ▀█▀ █▀█ █▀█ █▀
|
||||
# █░▀░█ █▄█ █░▀█ █ ░█░ █▄█ █▀▄ ▄█
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||
|
||||
# monitor = name, resolution, offset, scale, extra-args
|
||||
# monitor = ,preferred,auto,auto
|
||||
monitor = DP-3,1920x1080@60,0x0,1,transform,1
|
||||
monitor = HDMI-A-1,1920x1080@60,1080x0,1,
|
||||
monitor = HDMI-A-3,1920x1080@60,3000x0,1,
|
||||
|
||||
workspace = 5,monitor:DP-3
|
||||
workspace = 6,monitor:DP-3
|
||||
workspace = 7,monitor:DP-3
|
||||
|
||||
workspace = 1,monitor:HDMI-A-1
|
||||
workspace = 2,monitor:HDMI-A-1
|
||||
workspace = 3,monitor:HDMI-A-1
|
||||
workspace = 4,monitor:HDMI-A-1
|
||||
|
||||
workspace = 8,monitor:HDMI-A-3
|
||||
workspace = 9,monitor:HDMI-A-3
|
||||
workspace = 10,monitor:HDMI-A-3
|
||||
11
modules/home/hyprland/conf/hypr/nvidia.conf
Normal file
11
modules/home/hyprland/conf/hypr/nvidia.conf
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
# █▄░█ █░█ █ █▀▄ █ ▄▀█
|
||||
# █░▀█ ▀▄▀ █ █▄▀ █ █▀█
|
||||
|
||||
#env = GBM_BACKEND,nvidia-drm
|
||||
env = LIBVA_DRIVER_NAME,nvidia
|
||||
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
||||
env = __GL_VRR_ALLOWED,1
|
||||
env = WLR_NO_HARDWARE_CURSORS,1
|
||||
env = WLR_DRM_NO_ATOMIC,1
|
||||
|
||||
42
modules/home/hyprland/conf/hypr/scripts/brightnesscontrol.sh
Executable file
42
modules/home/hyprland/conf/hypr/scripts/brightnesscontrol.sh
Executable file
@@ -0,0 +1,42 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
ncolor="-h string:bgcolor:#343d46 -h string:fgcolor:#c0c5ce -h string:frcolor:#c0c5ce"
|
||||
|
||||
function send_notification {
|
||||
brightness=`brightnessctl info | grep -oP "(?<=\()\d+(?=%)" | cat`
|
||||
brightinfo=$(brightnessctl info | awk -F"'" '/Device/ {print $2}')
|
||||
|
||||
angle="$(((($brightness + 2) / 5) * 5))"
|
||||
ico="~/.config/dunst/icons/vol/vol-${angle}.svg"
|
||||
bar=$(seq -s "." $(($brightness / 15)) | sed 's/[0-9]//g')
|
||||
|
||||
if [ $brightness -ne 0 ]; then
|
||||
dunstify $ncolor "brightctl" -i $ico -a "$brightness$bar" "Device: $brightinfo" -r 91190 -t 800
|
||||
|
||||
else
|
||||
dunstify -i $ico "Brightness: ${brightness}%" -a "$brightinfo" -u low -r 91190 -t 800
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
function get_brightness {
|
||||
brightnessctl -m | grep -o '[0-9]\+%' | head -c-2
|
||||
}
|
||||
|
||||
case $1 in
|
||||
i)
|
||||
# increase the backlight by 5%
|
||||
brightnessctl set +5%
|
||||
send_notification
|
||||
;;
|
||||
d)
|
||||
if [[ $(get_brightness) -lt 5 ]]; then
|
||||
# avoid 0% brightness
|
||||
brightnessctl set 1%
|
||||
else
|
||||
# decrease the backlight by 5%
|
||||
brightnessctl set 5%-
|
||||
fi
|
||||
send_notification
|
||||
;;
|
||||
esac
|
||||
64
modules/home/hyprland/conf/hypr/scripts/cliphist.sh
Executable file
64
modules/home/hyprland/conf/hypr/scripts/cliphist.sh
Executable file
@@ -0,0 +1,64 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
theme_file="$HOME/.config/hypr/themes/theme.conf"
|
||||
roconf="~/.config/rofi/clipboard.rasi"
|
||||
|
||||
|
||||
# set position
|
||||
|
||||
case $2 in
|
||||
1) # top left
|
||||
pos="window {location: north west; anchor: north west; x-offset: 20px; y-offset: 20px;}"
|
||||
;;
|
||||
2) # top right
|
||||
pos="window {location: north east; anchor: north east; x-offset: -20px; y-offset: 20px;}"
|
||||
;;
|
||||
3) # bottom left
|
||||
pos="window {location: south east; anchor: south east; x-offset: -20px; y-offset: -20px;}"
|
||||
;;
|
||||
4) # bottom right
|
||||
pos="window {location: south west; anchor: south west; x-offset: 20px; y-offset: -20px;}"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
# read hypr theme border
|
||||
|
||||
hypr_border=`awk -F '=' '{if($1~" rounding ") print $2}' $theme_file | sed 's/ //g'`
|
||||
hypr_width=`awk -F '=' '{if($1~" border_size ") print $2}' $theme_file | sed 's/ //g'`
|
||||
wind_border=$(( hypr_border * 3/2 ))
|
||||
elem_border=`[ $hypr_border -eq 0 ] && echo "5" || echo $hypr_border`
|
||||
r_override="window {border: ${hypr_width}px; border-radius: ${wind_border}px;} entry {border-radius: ${elem_border}px;} element {border-radius: ${elem_border}px;}"
|
||||
|
||||
|
||||
# read hypr font size
|
||||
|
||||
#fnt_size=`awk '{if($6=="monospace-font-name") print $NF}' $theme_file | sed "s/'//g"`
|
||||
fnt_override=`gsettings get org.gnome.desktop.interface monospace-font-name | awk '{gsub(/'\''/,""); print $NF}'`
|
||||
fnt_override="configuration {font: \"JetBrainsMono Nerd Font ${fnt_override}\";}"
|
||||
|
||||
|
||||
# clipboard action
|
||||
|
||||
case $1 in
|
||||
c) cliphist list | rofi -dmenu -theme-str "entry { placeholder: \"Copy...\";} ${pos} ${r_override}" -theme-str "${fnt_override}" -config $roconf | cliphist decode | wl-copy
|
||||
;;
|
||||
d) cliphist list | rofi -dmenu -theme-str "entry { placeholder: \"Delete...\";} ${pos} ${r_override}" -theme-str "${fnt_override}" -config $roconf | cliphist delete
|
||||
;;
|
||||
w) if [ `echo -e "Yes\nNo" | rofi -dmenu -theme-str "entry { placeholder: \"Clear Clipboard History?\";} ${pos} ${r_override}" -theme-str "${fnt_override}" -config $roconf` == "Yes" ] ; then
|
||||
cliphist wipe
|
||||
fi
|
||||
;;
|
||||
*) echo -e "cliphist.sh [action] [position]\nwhere action,"
|
||||
echo "c : cliphist list and copy selected"
|
||||
echo "d : cliphist list and delete selected"
|
||||
echo "w : cliphist wipe database"
|
||||
echo "where position,"
|
||||
echo "1 : top left"
|
||||
echo "2 : top right"
|
||||
echo "3 : bottom right"
|
||||
echo "4 : bottom left"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
5
modules/home/hyprland/conf/hypr/scripts/dontkillsteam.sh
Executable file
5
modules/home/hyprland/conf/hypr/scripts/dontkillsteam.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
if [[ $(hyprctl activewindow -j | jq -r ".class") == "Steam" ]]; then
|
||||
xdotool windowunmap $(xdotool getactivewindow)
|
||||
else
|
||||
hyprctl dispatch killactive ""
|
||||
fi
|
||||
14
modules/home/hyprland/conf/hypr/scripts/gamemode.sh
Executable file
14
modules/home/hyprland/conf/hypr/scripts/gamemode.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env sh
|
||||
HYPRGAMEMODE=$(hyprctl getoption animations:enabled | sed -n '2p' | awk '{print $2}')
|
||||
if [ $HYPRGAMEMODE = 1 ] ; then
|
||||
hyprctl --batch "\
|
||||
keyword animations:enabled 0;\
|
||||
keyword decoration:drop_shadow 0;\
|
||||
keyword decoration:blur:enabled 0;\
|
||||
keyword general:gaps_in 0;\
|
||||
keyword general:gaps_out 0;\
|
||||
keyword general:border_size 1;\
|
||||
keyword decoration:rounding 0"
|
||||
exit
|
||||
fi
|
||||
hyprctl reload
|
||||
49
modules/home/hyprland/conf/hypr/scripts/logoutlaunch.sh
Executable file
49
modules/home/hyprland/conf/hypr/scripts/logoutlaunch.sh
Executable file
@@ -0,0 +1,49 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
# detect monitor y res
|
||||
res=`cat /sys/class/drm/*/modes | head -1 | cut -d 'x' -f 2`
|
||||
|
||||
# scale config layout and style
|
||||
case $1 in
|
||||
1) wlColms=6
|
||||
export mgn=$(( res * 10 / 100 ))
|
||||
export hvr=$(( res * 5 / 100 )) ;;
|
||||
2) wlColms=2
|
||||
export mgn=$(( res * 8 / 100 ))
|
||||
export mgn2=$(( res * 65 / 100 ))
|
||||
export hvr=$(( res * 3 / 100 ))
|
||||
export hvr2=$(( res * 60 / 100 )) ;;
|
||||
*) echo "Error: invalid parameter passed..."
|
||||
exit 1 ;;
|
||||
esac
|
||||
|
||||
# scale font size
|
||||
export fntSize=$(( res * 2 / 100 ))
|
||||
|
||||
# detect gtk system theme
|
||||
export gtkThm="Catppuccin-Latte" #`gsettings get org.gnome.desktop.interface gtk-theme | sed "s/'//g"`
|
||||
export csMode=`gsettings get org.gnome.desktop.interface color-scheme | sed "s/'//g" | awk -F '-' '{print $2}'`
|
||||
export BtnCol=`[ "$csMode" == "dark" ] && ( echo "black" ) || ( echo "white" )`
|
||||
export BtnBkg=`[ "$csMode" == "dark" ] && ( echo "color" ) || ( echo "bg" )`
|
||||
export WindBg=`[ "$csMode" == "dark" ] && ( echo "rgba(0,0,0,0.5)" ) || ( echo "rgba(255,255,255,0.6)" )`
|
||||
export wbarTheme="$HOME/.config/waybar/themes/${gtkThm}.css"
|
||||
|
||||
# eval hypr border radius
|
||||
hyprTheme="$HOME/.config/hypr/themes/${gtkThm}.conf"
|
||||
hypr_border=`awk -F '=' '{if($1~" rounding ") print $2}' $hyprTheme | sed 's/ //g'`
|
||||
export active_rad=$(( hypr_border * 5 ))
|
||||
export button_rad=$(( hypr_border * 8 ))
|
||||
|
||||
# set file variables
|
||||
wLayout="$HOME/.config/wlogout/layout_$1"
|
||||
wlTmplt="$HOME/.config/wlogout/style_$1.css"
|
||||
|
||||
# eval config files
|
||||
wlStyle=`envsubst < $wlTmplt`
|
||||
|
||||
# eval padding
|
||||
y_pad=$(( res * 20 / 100 ))
|
||||
|
||||
# launch wlogout
|
||||
wlogout -b $wlColms -c 0 -r 0 -T $y_pad -B $y_pad --layout $wLayout --css <(echo "$wlStyle") --protocol layer-shell
|
||||
|
||||
52
modules/home/hyprland/conf/hypr/scripts/modeswitch.sh
Executable file
52
modules/home/hyprland/conf/hypr/scripts/modeswitch.sh
Executable file
@@ -0,0 +1,52 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
## main script ##
|
||||
CFGDIR="$HOME/.config"
|
||||
X_MODE=$1
|
||||
|
||||
## check mode ##
|
||||
if [ "$X_MODE" == "dark" ] || [ "$X_MODE" == "light" ] ; then
|
||||
S_MODE="$X_MODE"
|
||||
|
||||
elif [ "$X_MODE" == "switch" ] ; then
|
||||
X_MODE=`readlink $CFGDIR/swww/wall.set | awk -F "." '{print $NF}'`
|
||||
|
||||
if [ "$X_MODE" == "dark" ] ; then
|
||||
S_MODE="light"
|
||||
flatpak --user override --env=GTK_THEME=Catppuccin-Latte
|
||||
|
||||
elif [ "$X_MODE" == "light" ] ; then
|
||||
S_MODE="dark"
|
||||
flatpak --user override --env=GTK_THEME=Catppuccin-Mocha
|
||||
|
||||
else
|
||||
echo "ERROR: unable to fetch wallpaper mode."
|
||||
fi
|
||||
|
||||
else
|
||||
echo "ERROR: unknown mode, use 'dark', 'light' or 'switch'."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
### hyprland ###
|
||||
ln -fs $CFGDIR/hypr/${S_MODE}.conf $CFGDIR/hypr/theme.conf
|
||||
hyprctl reload
|
||||
|
||||
### swwwallpaper ###
|
||||
x=`echo $S_MODE | cut -c 1`
|
||||
$CFGDIR/swww/swwwallpaper.sh -$x
|
||||
|
||||
### qt5ct ###
|
||||
ln -fs $CFGDIR/qt5ct/colors/${S_MODE}.conf $CFGDIR/qt5ct/colors/theme.conf
|
||||
|
||||
### rofi ###
|
||||
ln -fs $CFGDIR/rofi/${S_MODE}.rasi $CFGDIR/rofi/theme.rasi
|
||||
|
||||
### kitty ###
|
||||
ln -fs $CFGDIR/kitty/${S_MODE}.conf $CFGDIR/kitty/theme.conf
|
||||
killall -SIGUSR1 kitty
|
||||
|
||||
### waybar ###
|
||||
ln -fs $CFGDIR/waybar/${S_MODE}.css $CFGDIR/waybar/style.css
|
||||
sleep 1
|
||||
killall -SIGUSR2 waybar
|
||||
12
modules/home/hyprland/conf/hypr/scripts/resetxdgportal.sh
Executable file
12
modules/home/hyprland/conf/hypr/scripts/resetxdgportal.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
sleep 1
|
||||
killall xdg-desktop-portal-hyprland
|
||||
killall xdg-desktop-portal-gnome
|
||||
killall xdg-desktop-portal-kde
|
||||
killall xdg-desktop-portal-lxqt
|
||||
killall xdg-desktop-portal-wlr
|
||||
killall xdg-desktop-portal
|
||||
sleep 1
|
||||
/usr/lib/xdg-desktop-portal-hyprland &
|
||||
sleep 2
|
||||
/usr/lib/xdg-desktop-portal &
|
||||
48
modules/home/hyprland/conf/hypr/scripts/rofilaunch.sh
Executable file
48
modules/home/hyprland/conf/hypr/scripts/rofilaunch.sh
Executable file
@@ -0,0 +1,48 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
theme_file="$HOME/.config/hypr/themes/theme.conf"
|
||||
rofi_conf="~/.config/rofi/config.rasi"
|
||||
|
||||
|
||||
# rofi action
|
||||
|
||||
case $1 in
|
||||
d) r_mode="drun" ;;
|
||||
w) r_mode="window" ;;
|
||||
f) r_mode="filebrowser" ;;
|
||||
h) echo -e "rofilaunch.sh [action]\nwhere action,"
|
||||
echo "d : drun mode"
|
||||
echo "w : window mode"
|
||||
echo "f : filebrowser mode,"
|
||||
exit 0 ;;
|
||||
*) r_mode="drun" ;;
|
||||
esac
|
||||
|
||||
|
||||
# read hypr theme border
|
||||
|
||||
hypr_border=`awk -F '=' '{if($1~" rounding ") print $2}' $theme_file | sed 's/ //g'`
|
||||
hypr_width=`awk -F '=' '{if($1~" border_size ") print $2}' $theme_file | sed 's/ //g'`
|
||||
wind_border=$(( hypr_border * 3 ))
|
||||
elem_border=`[ $hypr_border -eq 0 ] && echo "10" || echo $(( hypr_border * 2 ))`
|
||||
r_override="window {border: ${hypr_width}px; border-radius: ${wind_border}px;} element {border-radius: ${elem_border}px;}"
|
||||
|
||||
|
||||
# read hypr font size
|
||||
|
||||
#fnt_size=`awk '{if($6=="font-name") print $NF}' $theme_file | sed "s/'//g"`
|
||||
fnt_override=`gsettings get org.gnome.desktop.interface font-name | awk '{gsub(/'\''/,""); print $NF}'`
|
||||
fnt_override="configuration {font: \"JetBrainsMono Nerd Font ${fnt_override}\";}"
|
||||
|
||||
|
||||
# read hypr theme icon
|
||||
|
||||
icon_override=`gsettings get org.gnome.desktop.interface icon-theme | sed "s/'//g"`
|
||||
icon_override="configuration {icon-theme: \"${icon_override}\";}"
|
||||
|
||||
|
||||
# launch rofi
|
||||
|
||||
rofi -show $r_mode -theme-str "${fnt_override}" -theme-str "${r_override}" -theme-str "${icon_override}" -config "${rofi_conf}"
|
||||
|
||||
|
||||
24
modules/home/hyprland/conf/hypr/scripts/rofiselect.sh
Executable file
24
modules/home/hyprland/conf/hypr/scripts/rofiselect.sh
Executable file
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
## set variables ##
|
||||
BaseDir=`dirname $(realpath $0)`
|
||||
ThemeSet="$HOME/.config/hypr/themes/theme.conf"
|
||||
RofiConf="$HOME/.config/rofi/themeselect.rasi"
|
||||
RofiStyle="$HOME/.config/rofi/styles"
|
||||
Rofilaunch="$HOME/.config/rofi/config.rasi"
|
||||
|
||||
## show and apply theme ##
|
||||
hypr_border=`awk -F '=' '{if($1~" rounding ") print $2}' $ThemeSet | sed 's/ //g'`
|
||||
elem_border=$(( hypr_border * 5 ))
|
||||
icon_border=$(( elem_border - 5 ))
|
||||
r_override="element {border-radius: ${elem_border}px;} element-icon {border-radius: ${icon_border}px;}"
|
||||
|
||||
RofiSel=$( ls $RofiStyle/style_*.rasi | awk -F '/' '{print $NF}' | cut -d '.' -f 1 | while read rstyle
|
||||
do
|
||||
echo -en "$rstyle\x00icon\x1f$RofiStyle/${rstyle}.png\n"
|
||||
done | rofi -dmenu -theme-str "${r_override}" -config $RofiConf)
|
||||
|
||||
if [ ! -z $RofiSel ] ; then
|
||||
cp $RofiStyle/$RofiSel.rasi $Rofilaunch
|
||||
fi
|
||||
|
||||
26
modules/home/hyprland/conf/hypr/scripts/screenshot.sh
Executable file
26
modules/home/hyprland/conf/hypr/scripts/screenshot.sh
Executable file
@@ -0,0 +1,26 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
if [ -z "$XDG_PICTURES_DIR" ] ; then
|
||||
XDG_PICTURES_DIR="$HOME/Pictures"
|
||||
fi
|
||||
|
||||
save_dir="${2:-$XDG_PICTURES_DIR}"
|
||||
save_file=$(date +'%y%m%d_%Hh%Mm%Ss_screenshot.png')
|
||||
ncolor="-h string:bgcolor:#343d46 -h string:fgcolor:#c0c5ce -h string:frcolor:#c0c5ce"
|
||||
|
||||
if [ ! -d "$save_dir" ] ; then
|
||||
mkdir -p $save_dir
|
||||
fi
|
||||
|
||||
case $1 in
|
||||
p) grim $save_dir/$save_file ;;
|
||||
s) grim -g "$(slurp)" - | swappy -f - ;;
|
||||
*) echo "...valid options are..."
|
||||
echo "p : print screen to $save_dir"
|
||||
echo "s : snip current screen to $save_dir"
|
||||
exit 1 ;;
|
||||
esac
|
||||
|
||||
if [ -f "$save_dir/$save_file" ] ; then
|
||||
dunstify $ncolor "theme" -a "saved in $save_dir" -i "$save_dir/$save_file" -r 91190 -t 2200
|
||||
fi
|
||||
27
modules/home/hyprland/conf/hypr/scripts/systemupdate.sh
Executable file
27
modules/home/hyprland/conf/hypr/scripts/systemupdate.sh
Executable file
@@ -0,0 +1,27 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Check release
|
||||
if [ ! -f /etc/arch-release ] ; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Check for updates
|
||||
aur=$(yay -Qua | wc -l)
|
||||
ofc=$(pacman -Qu | wc -l)
|
||||
|
||||
# Calculate total available updates
|
||||
upd=$(( ofc + aur ))
|
||||
echo "$upd"
|
||||
|
||||
# Show tooltip
|
||||
if [ $upd -eq 0 ] ; then
|
||||
echo " Packages are up to date"
|
||||
else
|
||||
echo " Official $ofc AUR $aur"
|
||||
fi
|
||||
|
||||
# Trigger upgrade
|
||||
if [ "$1" == "up" ] ; then
|
||||
kitty --title systemupdate sh -c 'yay -Syu'
|
||||
fi
|
||||
|
||||
49
modules/home/hyprland/conf/hypr/scripts/themeselect.sh
Executable file
49
modules/home/hyprland/conf/hypr/scripts/themeselect.sh
Executable file
@@ -0,0 +1,49 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
## set variables ##
|
||||
BaseDir=`dirname $(realpath $0)`
|
||||
ThemeCtl="$HOME/.config/swww/wall.ctl"
|
||||
ThumbDir="$HOME/.config/swww/Themes-Ctl"
|
||||
RofiConf="$HOME/.config/rofi/themeselect.rasi"
|
||||
ThemeSet="$HOME/.config/hypr/themes/theme.conf"
|
||||
|
||||
|
||||
## show and apply theme ##
|
||||
if [ -z "$1" ] ; then
|
||||
|
||||
hypr_border=`awk -F '=' '{if($1~" rounding ") print $2}' $ThemeSet | sed 's/ //g'`
|
||||
elem_border=$(( hypr_border * 5 ))
|
||||
icon_border=$(( elem_border - 5 ))
|
||||
r_override="element {border-radius: ${elem_border}px;} element-icon {border-radius: ${icon_border}px;}"
|
||||
|
||||
ThemeSel=$(cat $ThemeCtl | while read line
|
||||
do
|
||||
thm=`echo $line | cut -d '|' -f 2`
|
||||
wal=`echo $line | cut -d '|' -f 3`
|
||||
echo -en "$thm\x00icon\x1f$ThumbDir/${thm}.png\n"
|
||||
done | rofi -dmenu -theme-str "${r_override}" -config $RofiConf)
|
||||
|
||||
if [ ! -z $ThemeSel ] ; then
|
||||
${BaseDir}/themeswitch.sh -s $ThemeSel
|
||||
fi
|
||||
|
||||
## regenerate thumbnails ##
|
||||
elif [ "$1" == "T" ] ; then
|
||||
|
||||
echo "refreshing thumbnails..."
|
||||
cat $ThemeCtl | while read line
|
||||
do
|
||||
thm=`echo $line | cut -d '|' -f 2`
|
||||
wal=`echo $line | cut -d '|' -f 3`
|
||||
wal=`eval echo $wal`
|
||||
|
||||
echo "croping image from wallpaper $ThumbDir/${thm}.png..."
|
||||
convert $wal -thumbnail 500x500^ -gravity center -extent 500x500 $ThumbDir/${thm}.png
|
||||
#convert $wal -gravity Center -crop 1080x1080+0+0 $ThumbDir/${thm}.png
|
||||
#echo "applying rounded corner mask and generating $ThumbDir/${thm}.png..."
|
||||
#convert -size 1080x1080 xc:none -draw "roundrectangle 0,0,1080,1080,80,80" $ThumbDir/roundedmask.png
|
||||
#convert $ThumbDir/${thm}_tmp.png -matte $ThumbDir/roundedmask.png -compose DstIn -composite $ThumbDir/${thm}.png
|
||||
done
|
||||
|
||||
fi
|
||||
|
||||
125
modules/home/hyprland/conf/hypr/scripts/themeswitch.sh
Executable file
125
modules/home/hyprland/conf/hypr/scripts/themeswitch.sh
Executable file
@@ -0,0 +1,125 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
# set variables
|
||||
BaseDir=`dirname $(realpath $0)`
|
||||
ConfDir="$HOME/.config"
|
||||
ThemeCtl="$ConfDir/swww/wall.ctl"
|
||||
|
||||
|
||||
# evaluate options
|
||||
while getopts "npst" option ; do
|
||||
case $option in
|
||||
|
||||
n ) # set next theme
|
||||
ThemeSet=`head -1 $ThemeCtl | cut -d '|' -f 2` #default value
|
||||
flg=0
|
||||
while read line
|
||||
do
|
||||
if [ $flg -eq 1 ] ; then
|
||||
ThemeSet=`echo $line | cut -d '|' -f 2`
|
||||
break
|
||||
elif [ `echo $line | cut -d '|' -f 1` -eq 1 ] ; then
|
||||
flg=1
|
||||
fi
|
||||
done < $ThemeCtl
|
||||
export xtrans="center" ;;
|
||||
|
||||
p ) # set previous theme
|
||||
ThemeSet=`tail -1 $ThemeCtl | cut -d '|' -f 2` #default value
|
||||
flg=0
|
||||
while read line
|
||||
do
|
||||
if [ $flg -eq 1 ] ; then
|
||||
ThemeSet=`echo $line | cut -d '|' -f 2`
|
||||
break
|
||||
elif [ `echo $line | cut -d '|' -f 1` -eq 1 ] ; then
|
||||
flg=1
|
||||
fi
|
||||
done < <( tac $ThemeCtl )
|
||||
export xtrans="outer" ;;
|
||||
|
||||
s ) # set selected theme
|
||||
shift $((OPTIND -1))
|
||||
ThemeSet=$1 ;;
|
||||
|
||||
t ) # display tooltip
|
||||
echo ""
|
||||
echo " Next/Previous Theme"
|
||||
exit 0 ;;
|
||||
|
||||
* ) # invalid option
|
||||
echo "n : set next theme"
|
||||
echo "p : set previous theme"
|
||||
echo "s : set theme from parameter"
|
||||
echo "t : display tooltip"
|
||||
exit 1 ;;
|
||||
esac
|
||||
done
|
||||
|
||||
|
||||
# update theme control
|
||||
if [ `cat $ThemeCtl | awk -F '|' -v thm=$ThemeSet '{if($2==thm) print$2}' | wc -w` -ne 1 ] ; then
|
||||
echo "Unknown theme selected: $ThemeSet"
|
||||
echo "Available themes are:"
|
||||
cat $ThemeCtl | cut -d '|' -f 2
|
||||
exit 1
|
||||
else
|
||||
echo "Selected theme: $ThemeSet"
|
||||
sed -i "s/^1/0/g" $ThemeCtl
|
||||
awk -F '|' -v thm=$ThemeSet '{OFS=FS} {if($2==thm) $1=1; print$0}' $ThemeCtl > $BaseDir/tmp && mv $BaseDir/tmp $ThemeCtl
|
||||
fi
|
||||
|
||||
|
||||
# swwwallpaper
|
||||
getWall=`grep '^1|' $ThemeCtl | cut -d '|' -f 3`
|
||||
getWall=`eval echo $getWall`
|
||||
ln -fs $getWall $ConfDir/swww/wall.set
|
||||
$ConfDir/swww/swwwallpaper.sh
|
||||
|
||||
if [ $? -ne 0 ] ; then
|
||||
echo "ERROR: Unable to set wallpaper"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
# vs code
|
||||
sed -i "/workbench.colorTheme/c\ \"workbench.colorTheme\": \"${ThemeSet}\"," $ConfDir/Code/User/settings.json
|
||||
|
||||
|
||||
# kitty
|
||||
ln -fs $ConfDir/kitty/themes/${ThemeSet}.conf $ConfDir/kitty/themes/theme.conf
|
||||
killall -SIGUSR1 kitty
|
||||
|
||||
|
||||
# qt5ct
|
||||
sed -i "/^color_scheme_path=/c\color_scheme_path=$ConfDir/qt5ct/colors/${ThemeSet}.conf" $ConfDir/qt5ct/qt5ct.conf
|
||||
IconSet=`awk -F "'" '$0 ~ /gsettings set org.gnome.desktop.interface icon-theme/{print $2}' $ConfDir/hypr/themes/${ThemeSet}.conf`
|
||||
sed -i "/^icon_theme=/c\icon_theme=${IconSet}" $ConfDir/qt5ct/qt5ct.conf
|
||||
|
||||
|
||||
# flatpak GTK
|
||||
flatpak --user override --env=GTK_THEME="${ThemeSet}"
|
||||
flatpak --user override --env=ICON_THEME="${IconSet}"
|
||||
|
||||
|
||||
# rofi
|
||||
ln -fs $ConfDir/rofi/themes/${ThemeSet}.rasi $ConfDir/rofi/themes/theme.rasi
|
||||
|
||||
|
||||
# hyprland
|
||||
ln -fs $ConfDir/hypr/themes/${ThemeSet}.conf $ConfDir/hypr/themes/theme.conf
|
||||
hyprctl reload
|
||||
|
||||
|
||||
# refresh thumbnails
|
||||
$BaseDir/themeselect.sh T &
|
||||
|
||||
|
||||
# send notification
|
||||
ncolor="-h string:bgcolor:#343d46 -h string:fgcolor:#c0c5ce -h string:frcolor:#c0c5ce"
|
||||
dunstify $ncolor "theme" -a " ${ThemeSet}" -i "~/.config/dunst/icons/paint.svg" -r 91190 -t 2200
|
||||
|
||||
|
||||
# waybar
|
||||
$ConfDir/waybar/wbarconfgen.sh
|
||||
|
||||
76
modules/home/hyprland/conf/hypr/scripts/volumecontrol.sh
Executable file
76
modules/home/hyprland/conf/hypr/scripts/volumecontrol.sh
Executable file
@@ -0,0 +1,76 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
|
||||
# define functions
|
||||
|
||||
function print_error
|
||||
{
|
||||
cat << "EOF"
|
||||
./volumecontrol.sh -[device] <action>
|
||||
...valid device are...
|
||||
i -- [i]nput decive
|
||||
o -- [o]utput device
|
||||
...valid actions are...
|
||||
i -- <i>ncrease volume [+5]
|
||||
d -- <d>ecrease volume [-5]
|
||||
m -- <m>ute [x]
|
||||
EOF
|
||||
exit 1
|
||||
}
|
||||
|
||||
function notify_vol
|
||||
{
|
||||
vol=`pamixer $srce --get-volume | cat`
|
||||
angle="$(( (($vol+2)/5) * 5 ))"
|
||||
ico="${icodir}/vol-${angle}.svg"
|
||||
bar=$(seq -s "." $(($vol / 15)) | sed 's/[0-9]//g')
|
||||
dunstify $ncolor "volctl" -a "$vol$bar" "$nsink" -i $ico -r 91190 -t 800
|
||||
}
|
||||
|
||||
function notify_mute
|
||||
{
|
||||
mute=`pamixer $srce --get-mute | cat`
|
||||
if [ "$mute" == "true" ] ; then
|
||||
dunstify $ncolor "volctl" -a "muted" "$nsink" -i ${icodir}/muted-${dvce}.svg -r 91190 -t 800
|
||||
else
|
||||
dunstify $ncolor "volctl" -a "unmuted" "$nsink" -i ${icodir}/unmuted-${dvce}.svg -r 91190 -t 800
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
# set device source
|
||||
|
||||
while getopts io SetSrc
|
||||
do
|
||||
case $SetSrc in
|
||||
i) nsink=$(pamixer --list-sources | grep "_input." | head -1 | awk -F '" "' '{print $NF}' | sed 's/"//')
|
||||
srce="--default-source"
|
||||
dvce="mic" ;;
|
||||
o) nsink=$(pamixer --get-default-sink | grep "_output." | awk -F '" "' '{print $NF}' | sed 's/"//')
|
||||
srce=""
|
||||
dvce="speaker" ;;
|
||||
esac
|
||||
done
|
||||
|
||||
if [ $OPTIND -eq 1 ] ; then
|
||||
print_error
|
||||
fi
|
||||
|
||||
|
||||
# set device action
|
||||
|
||||
shift $((OPTIND -1))
|
||||
step="${2:-5}"
|
||||
icodir="~/.config/dunst/icons/vol"
|
||||
ncolor="-h string:bgcolor:#343d46 -h string:fgcolor:#c0c5ce -h string:frcolor:#c0c5ce"
|
||||
|
||||
case $1 in
|
||||
i) pamixer $srce -i ${step}
|
||||
notify_vol ;;
|
||||
d) pamixer $srce -d ${step}
|
||||
notify_vol ;;
|
||||
m) pamixer $srce -t
|
||||
notify_mute ;;
|
||||
*) print_error ;;
|
||||
esac
|
||||
|
||||
44
modules/home/hyprland/conf/hypr/themes/Catppuccin-Latte.conf
Normal file
44
modules/home/hyprland/conf/hypr/themes/Catppuccin-Latte.conf
Normal file
@@ -0,0 +1,44 @@
|
||||
exec = hyprctl setcursor Bibata-Modern-Ice 20
|
||||
exec = gsettings set org.gnome.desktop.interface cursor-theme 'Bibata-Modern-Ice'
|
||||
exec = gsettings set org.gnome.desktop.interface cursor-size 20
|
||||
|
||||
exec = kvantummanager --set Catppuccin-Latte
|
||||
exec = gsettings set org.gnome.desktop.interface icon-theme 'Tela-circle-grey'
|
||||
exec = gsettings set org.gnome.desktop.interface gtk-theme 'Catppuccin-Latte'
|
||||
exec = gsettings set org.gnome.desktop.interface color-scheme 'prefer-light'
|
||||
|
||||
exec = gsettings set org.gnome.desktop.interface font-name 'Cantarell 10'
|
||||
exec = gsettings set org.gnome.desktop.interface document-font-name 'Cantarell 10'
|
||||
exec = gsettings set org.gnome.desktop.interface monospace-font-name 'CaskaydiaCove Nerd Font Mono 9'
|
||||
exec = gsettings set org.gnome.desktop.interface font-antialiasing 'rgba'
|
||||
exec = gsettings set org.gnome.desktop.interface font-hinting 'full'
|
||||
|
||||
env = XCURSOR_THEME,Bibata-Modern-Ice
|
||||
env = XCURSOR_SIZE,20
|
||||
|
||||
general {
|
||||
gaps_in = 3
|
||||
gaps_out = 8
|
||||
border_size = 2
|
||||
col.active_border = rgba(dc8a78ff) rgba(8839efff) 45deg
|
||||
col.inactive_border = rgba(7287fdcc) rgba(179299cc) 45deg
|
||||
layout = dwindle
|
||||
resize_on_border = true
|
||||
}
|
||||
|
||||
decoration {
|
||||
rounding = 10
|
||||
multisample_edges = true
|
||||
drop_shadow = false
|
||||
|
||||
blur {
|
||||
enabled = yes
|
||||
size = 6
|
||||
passes = 3
|
||||
new_optimizations = on
|
||||
ignore_opacity = on
|
||||
xray = false
|
||||
}
|
||||
}
|
||||
|
||||
blurls = waybar
|
||||
44
modules/home/hyprland/conf/hypr/themes/Catppuccin-Mocha.conf
Normal file
44
modules/home/hyprland/conf/hypr/themes/Catppuccin-Mocha.conf
Normal file
@@ -0,0 +1,44 @@
|
||||
exec = hyprctl setcursor Bibata-Modern-Ice 20
|
||||
exec = gsettings set org.gnome.desktop.interface cursor-theme 'Bibata-Modern-Ice'
|
||||
exec = gsettings set org.gnome.desktop.interface cursor-size 20
|
||||
|
||||
exec = kvantummanager --set Catppuccin-Mocha
|
||||
exec = gsettings set org.gnome.desktop.interface icon-theme 'Tela-circle-dracula'
|
||||
exec = gsettings set org.gnome.desktop.interface gtk-theme 'Catppuccin-Mocha'
|
||||
exec = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
|
||||
|
||||
exec = gsettings set org.gnome.desktop.interface font-name 'Cantarell 10'
|
||||
exec = gsettings set org.gnome.desktop.interface document-font-name 'Cantarell 10'
|
||||
exec = gsettings set org.gnome.desktop.interface monospace-font-name 'CaskaydiaCove Nerd Font Mono 9'
|
||||
exec = gsettings set org.gnome.desktop.interface font-antialiasing 'rgba'
|
||||
exec = gsettings set org.gnome.desktop.interface font-hinting 'full'
|
||||
|
||||
env = XCURSOR_THEME,Bibata-Modern-Ice
|
||||
env = XCURSOR_SIZE,20
|
||||
|
||||
general {
|
||||
gaps_in = 3
|
||||
gaps_out = 8
|
||||
border_size = 2
|
||||
col.active_border = rgba(ca9ee6ff) rgba(f2d5cfff) 45deg
|
||||
col.inactive_border = rgba(b4befecc) rgba(6c7086cc) 45deg
|
||||
layout = dwindle
|
||||
resize_on_border = true
|
||||
}
|
||||
|
||||
decoration {
|
||||
rounding = 10
|
||||
multisample_edges = true
|
||||
drop_shadow = false
|
||||
|
||||
blur {
|
||||
enabled = yes
|
||||
size = 6
|
||||
passes = 3
|
||||
new_optimizations = on
|
||||
ignore_opacity = on
|
||||
xray = false
|
||||
}
|
||||
}
|
||||
|
||||
blurls = waybar
|
||||
49
modules/home/hyprland/conf/hypr/themes/Cyberpunk-Edge.conf
Normal file
49
modules/home/hyprland/conf/hypr/themes/Cyberpunk-Edge.conf
Normal file
@@ -0,0 +1,49 @@
|
||||
exec = hyprctl setcursor Bibata-Modern-Ice 20
|
||||
exec = gsettings set org.gnome.desktop.interface cursor-theme 'Bibata-Modern-Ice'
|
||||
exec = gsettings set org.gnome.desktop.interface cursor-size 20
|
||||
|
||||
exec = kvantummanager --set Cyberpunk-Edge
|
||||
exec = gsettings set org.gnome.desktop.interface icon-theme 'Tela-circle-yellow'
|
||||
exec = gsettings set org.gnome.desktop.interface gtk-theme 'Cyberpunk-Edge'
|
||||
exec = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
|
||||
|
||||
exec = gsettings set org.gnome.desktop.interface font-name 'Cantarell 10'
|
||||
exec = gsettings set org.gnome.desktop.interface document-font-name 'Cantarell 10'
|
||||
exec = gsettings set org.gnome.desktop.interface monospace-font-name 'CaskaydiaCove Nerd Font Mono 9'
|
||||
exec = gsettings set org.gnome.desktop.interface font-antialiasing 'rgba'
|
||||
exec = gsettings set org.gnome.desktop.interface font-hinting 'full'
|
||||
|
||||
env = XCURSOR_THEME,Bibata-Modern-Ice
|
||||
env = XCURSOR_SIZE,20
|
||||
|
||||
general {
|
||||
gaps_in = 8
|
||||
gaps_out = 15
|
||||
border_size = 4
|
||||
col.active_border = rgba(FADA16ff) rgba(4DBD4Fff) 45deg
|
||||
col.inactive_border = rgba(5032ACff) rgba(1F5322ff) 45deg
|
||||
layout = dwindle
|
||||
resize_on_border = true
|
||||
}
|
||||
|
||||
decoration {
|
||||
rounding = 0
|
||||
multisample_edges = true
|
||||
drop_shadow = true
|
||||
shadow_ignore_window = true
|
||||
shadow_offset = 12 12
|
||||
shadow_range = 0
|
||||
shadow_render_power = 4
|
||||
col.shadow = 0xffFFA6C2
|
||||
|
||||
blur {
|
||||
enabled = yes
|
||||
size = 6
|
||||
passes = 3
|
||||
new_optimizations = on
|
||||
ignore_opacity = on
|
||||
xray = false
|
||||
}
|
||||
}
|
||||
|
||||
#blurls = waybar
|
||||
44
modules/home/hyprland/conf/hypr/themes/Decay-Green.conf
Normal file
44
modules/home/hyprland/conf/hypr/themes/Decay-Green.conf
Normal file
@@ -0,0 +1,44 @@
|
||||
exec = hyprctl setcursor Bibata-Modern-Ice 20
|
||||
exec = gsettings set org.gnome.desktop.interface cursor-theme 'Bibata-Modern-Ice'
|
||||
exec = gsettings set org.gnome.desktop.interface cursor-size 20
|
||||
|
||||
exec = kvantummanager --set Decay-Green
|
||||
exec = gsettings set org.gnome.desktop.interface icon-theme 'Tela-circle-green'
|
||||
exec = gsettings set org.gnome.desktop.interface gtk-theme 'Decay-Green'
|
||||
exec = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
|
||||
|
||||
exec = gsettings set org.gnome.desktop.interface font-name 'Cantarell 10'
|
||||
exec = gsettings set org.gnome.desktop.interface document-font-name 'Cantarell 10'
|
||||
exec = gsettings set org.gnome.desktop.interface monospace-font-name 'CaskaydiaCove Nerd Font Mono 9'
|
||||
exec = gsettings set org.gnome.desktop.interface font-antialiasing 'rgba'
|
||||
exec = gsettings set org.gnome.desktop.interface font-hinting 'full'
|
||||
|
||||
env = XCURSOR_THEME,Bibata-Modern-Ice
|
||||
env = XCURSOR_SIZE,20
|
||||
|
||||
general {
|
||||
gaps_in = 3
|
||||
gaps_out = 8
|
||||
border_size = 2
|
||||
col.active_border = rgba(90ceaaff) rgba(ecd3a0ff) 45deg
|
||||
col.inactive_border = rgba(86aaeccc) rgba(93cee9cc) 45deg
|
||||
layout = dwindle
|
||||
resize_on_border = true
|
||||
}
|
||||
|
||||
decoration {
|
||||
rounding = 10
|
||||
multisample_edges = true
|
||||
drop_shadow = false
|
||||
|
||||
blur {
|
||||
enabled = yes
|
||||
size = 5
|
||||
passes = 4
|
||||
new_optimizations = on
|
||||
ignore_opacity = on
|
||||
xray = true
|
||||
}
|
||||
}
|
||||
|
||||
#blurls = waybar
|
||||
49
modules/home/hyprland/conf/hypr/themes/Graphite-Mono.conf
Normal file
49
modules/home/hyprland/conf/hypr/themes/Graphite-Mono.conf
Normal file
@@ -0,0 +1,49 @@
|
||||
exec = hyprctl setcursor Bibata-Modern-Ice 20
|
||||
exec = gsettings set org.gnome.desktop.interface cursor-theme 'Bibata-Modern-Ice'
|
||||
exec = gsettings set org.gnome.desktop.interface cursor-size 20
|
||||
|
||||
exec = kvantummanager --set Graphite-Mono
|
||||
exec = gsettings set org.gnome.desktop.interface icon-theme 'Tela-circle-grey'
|
||||
exec = gsettings set org.gnome.desktop.interface gtk-theme 'Graphite-Mono'
|
||||
exec = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
|
||||
|
||||
exec = gsettings set org.gnome.desktop.interface font-name 'Cantarell 10'
|
||||
exec = gsettings set org.gnome.desktop.interface document-font-name 'Cantarell 10'
|
||||
exec = gsettings set org.gnome.desktop.interface monospace-font-name 'CaskaydiaCove Nerd Font Mono 9'
|
||||
exec = gsettings set org.gnome.desktop.interface font-antialiasing 'rgba'
|
||||
exec = gsettings set org.gnome.desktop.interface font-hinting 'full'
|
||||
|
||||
env = XCURSOR_THEME,Bibata-Modern-Ice
|
||||
env = XCURSOR_SIZE,20
|
||||
|
||||
general {
|
||||
gaps_in = 8
|
||||
gaps_out = 14
|
||||
border_size = 3
|
||||
col.active_border = rgba(d9d9d9ff) rgba(a6a6a6ff) 45deg
|
||||
col.inactive_border = rgba(404040cc) rgba(262626cc) 45deg
|
||||
layout = dwindle
|
||||
resize_on_border = true
|
||||
}
|
||||
|
||||
decoration {
|
||||
rounding = 0
|
||||
multisample_edges = true
|
||||
drop_shadow = true
|
||||
shadow_ignore_window = true
|
||||
shadow_offset = 7 7
|
||||
shadow_range = 0
|
||||
shadow_render_power = 4
|
||||
col.shadow = 0xffFFFFFF
|
||||
|
||||
blur {
|
||||
enabled = yes
|
||||
size = 6
|
||||
passes = 3
|
||||
new_optimizations = on
|
||||
ignore_opacity = on
|
||||
xray = true
|
||||
}
|
||||
}
|
||||
|
||||
#blurls = waybar
|
||||
49
modules/home/hyprland/conf/hypr/themes/Material-Sakura.conf
Normal file
49
modules/home/hyprland/conf/hypr/themes/Material-Sakura.conf
Normal file
@@ -0,0 +1,49 @@
|
||||
exec = hyprctl setcursor Bibata-Modern-Ice 20
|
||||
exec = gsettings set org.gnome.desktop.interface cursor-theme 'Bibata-Modern-Ice'
|
||||
exec = gsettings set org.gnome.desktop.interface cursor-size 20
|
||||
|
||||
exec = kvantummanager --set Material-Sakura
|
||||
exec = gsettings set org.gnome.desktop.interface icon-theme 'Tela-circle-black'
|
||||
exec = gsettings set org.gnome.desktop.interface gtk-theme 'Material-Sakura'
|
||||
exec = gsettings set org.gnome.desktop.interface color-scheme 'prefer-light'
|
||||
|
||||
exec = gsettings set org.gnome.desktop.interface font-name 'Cantarell 10'
|
||||
exec = gsettings set org.gnome.desktop.interface document-font-name 'Cantarell 10'
|
||||
exec = gsettings set org.gnome.desktop.interface monospace-font-name 'CaskaydiaCove Nerd Font Mono 9'
|
||||
exec = gsettings set org.gnome.desktop.interface font-antialiasing 'rgba'
|
||||
exec = gsettings set org.gnome.desktop.interface font-hinting 'full'
|
||||
|
||||
env = XCURSOR_THEME,Bibata-Modern-Ice
|
||||
env = XCURSOR_SIZE,20
|
||||
|
||||
general {
|
||||
gaps_in = 8
|
||||
gaps_out = 14
|
||||
border_size = 4
|
||||
col.active_border = rgba(b4637aff) rgba(d7827eff) 45deg
|
||||
col.inactive_border = rgba(286983cc) rgba(56949fcc) 45deg
|
||||
layout = dwindle
|
||||
resize_on_border = true
|
||||
}
|
||||
|
||||
decoration {
|
||||
rounding = 12
|
||||
multisample_edges = true
|
||||
drop_shadow = true
|
||||
shadow_ignore_window = true
|
||||
shadow_offset = 9 10
|
||||
shadow_range = 5
|
||||
shadow_render_power = 4
|
||||
col.shadow = 0xff26233a
|
||||
|
||||
blur {
|
||||
enabled = yes
|
||||
size = 6
|
||||
passes = 3
|
||||
new_optimizations = on
|
||||
ignore_opacity = on
|
||||
xray = false
|
||||
}
|
||||
}
|
||||
|
||||
#blurls = waybar
|
||||
44
modules/home/hyprland/conf/hypr/themes/Rose-Pine.conf
Normal file
44
modules/home/hyprland/conf/hypr/themes/Rose-Pine.conf
Normal file
@@ -0,0 +1,44 @@
|
||||
exec = hyprctl setcursor Bibata-Modern-Ice 20
|
||||
exec = gsettings set org.gnome.desktop.interface cursor-theme 'Bibata-Modern-Ice'
|
||||
exec = gsettings set org.gnome.desktop.interface cursor-size 20
|
||||
|
||||
exec = kvantummanager --set Rose-Pine
|
||||
exec = gsettings set org.gnome.desktop.interface icon-theme 'Tela-circle-pink'
|
||||
exec = gsettings set org.gnome.desktop.interface gtk-theme 'Rose-Pine'
|
||||
exec = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
|
||||
|
||||
exec = gsettings set org.gnome.desktop.interface font-name 'Cantarell 10'
|
||||
exec = gsettings set org.gnome.desktop.interface document-font-name 'Cantarell 10'
|
||||
exec = gsettings set org.gnome.desktop.interface monospace-font-name 'CaskaydiaCove Nerd Font Mono 9'
|
||||
exec = gsettings set org.gnome.desktop.interface font-antialiasing 'rgba'
|
||||
exec = gsettings set org.gnome.desktop.interface font-hinting 'full'
|
||||
|
||||
env = XCURSOR_THEME,Bibata-Modern-Ice
|
||||
env = XCURSOR_SIZE,20
|
||||
|
||||
general {
|
||||
gaps_in = 3
|
||||
gaps_out = 8
|
||||
border_size = 2
|
||||
col.active_border = rgba(eb6f92ff) rgba(c4a7e7ff) 45deg
|
||||
col.inactive_border = rgba(31748fcc) rgba(9ccfd8cc) 45deg
|
||||
layout = dwindle
|
||||
resize_on_border = true
|
||||
}
|
||||
|
||||
decoration {
|
||||
rounding = 10
|
||||
multisample_edges = true
|
||||
drop_shadow = false
|
||||
|
||||
blur {
|
||||
enabled = yes
|
||||
size = 6
|
||||
passes = 3
|
||||
new_optimizations = on
|
||||
ignore_opacity = on
|
||||
xray = false
|
||||
}
|
||||
}
|
||||
|
||||
blurls = waybar
|
||||
44
modules/home/hyprland/conf/hypr/themes/Tokyo-Night.conf
Normal file
44
modules/home/hyprland/conf/hypr/themes/Tokyo-Night.conf
Normal file
@@ -0,0 +1,44 @@
|
||||
exec = hyprctl setcursor Bibata-Modern-Ice 20
|
||||
exec = gsettings set org.gnome.desktop.interface cursor-theme 'Bibata-Modern-Ice'
|
||||
exec = gsettings set org.gnome.desktop.interface cursor-size 20
|
||||
|
||||
exec = kvantummanager --set Tokyo-Night
|
||||
exec = gsettings set org.gnome.desktop.interface icon-theme 'Tela-circle-purple'
|
||||
exec = gsettings set org.gnome.desktop.interface gtk-theme 'Tokyo-Night'
|
||||
exec = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
|
||||
|
||||
exec = gsettings set org.gnome.desktop.interface font-name 'Cantarell 10'
|
||||
exec = gsettings set org.gnome.desktop.interface document-font-name 'Cantarell 10'
|
||||
exec = gsettings set org.gnome.desktop.interface monospace-font-name 'CaskaydiaCove Nerd Font Mono 9'
|
||||
exec = gsettings set org.gnome.desktop.interface font-antialiasing 'rgba'
|
||||
exec = gsettings set org.gnome.desktop.interface font-hinting 'full'
|
||||
|
||||
env = XCURSOR_THEME,Bibata-Modern-Ice
|
||||
env = XCURSOR_SIZE,20
|
||||
|
||||
general {
|
||||
gaps_in = 3
|
||||
gaps_out = 8
|
||||
border_size = 2
|
||||
col.active_border = rgba(bb9af7ff) rgba(b4f9f8ff) 45deg
|
||||
col.inactive_border = rgba(565f89cc) rgba(9aa5cecc) 45deg
|
||||
layout = dwindle
|
||||
resize_on_border = true
|
||||
}
|
||||
|
||||
decoration {
|
||||
rounding = 10
|
||||
multisample_edges = true
|
||||
drop_shadow = false
|
||||
|
||||
blur {
|
||||
enabled = yes
|
||||
size = 6
|
||||
passes = 3
|
||||
new_optimizations = on
|
||||
ignore_opacity = on
|
||||
xray = true
|
||||
}
|
||||
}
|
||||
|
||||
blurls = waybar
|
||||
19
modules/home/hyprland/conf/hypr/userprefs.conf
Normal file
19
modules/home/hyprland/conf/hypr/userprefs.conf
Normal file
@@ -0,0 +1,19 @@
|
||||
|
||||
# █▀▀ █▄░█ █░█
|
||||
# ██▄ █░▀█ ▀▄▀
|
||||
|
||||
# Some default env vars.
|
||||
|
||||
#env = MANGOHUD,1
|
||||
#env = MANGOHUD_DLSYM,1
|
||||
|
||||
|
||||
# █▀▄▀█ █ █▀ █▀▀
|
||||
# █░▀░█ █ ▄█ █▄▄
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
misc {
|
||||
vrr = 0
|
||||
}
|
||||
|
||||
53
modules/home/hyprland/conf/hypr/windowrules.conf
Normal file
53
modules/home/hyprland/conf/hypr/windowrules.conf
Normal file
@@ -0,0 +1,53 @@
|
||||
|
||||
# █░█░█ █ █▄░█ █▀▄ █▀█ █░█░█ █▀█ █░█ █░░ █▀▀ █▀
|
||||
# ▀▄▀▄▀ █ █░▀█ █▄▀ █▄█ ▀▄▀▄▀ █▀▄ █▄█ █▄▄ ██▄ ▄█
|
||||
|
||||
|
||||
# Example windowrule v1
|
||||
# windowrule = float, ^(kitty)$
|
||||
# Example windowrule v2
|
||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||
|
||||
|
||||
windowrulev2 = opacity 0.90 0.90,class:^(firefox)$
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(Steam)$
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(steam)$
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(steamwebhelper)$
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(Spotify)$
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(Code)$
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(code-url-handler)$
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(kitty)$
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(org.kde.dolphin)$
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(org.kde.ark)$
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(nwg-look)$
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(qt5ct)$
|
||||
|
||||
windowrulev2 = opacity 0.90 0.90,class:^(com.github.rafostar.Clapper)$ #Clapper-Gtk
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(com.github.tchx84.Flatseal)$ #Flatseal-Gtk
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(hu.kramo.Cartridges)$ #Cartridges-Gtk
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(com.obsproject.Studio)$ #Obs-Qt
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(gnome-boxes)$ #Boxes-Gtk
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(discord)$ #Discord-Electron
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(WebCord)$ #WebCord-Electron
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(app.drey.Warp)$ #Warp-Gtk
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(net.davidotek.pupgui2)$ #ProtonUp-Qt
|
||||
windowrulev2 = opacity 0.80 0.80,class:^(yad)$ #Protontricks-Gtk
|
||||
|
||||
windowrulev2 = opacity 0.80 0.70,class:^(pavucontrol)$
|
||||
windowrulev2 = opacity 0.80 0.70,class:^(blueman-manager)$
|
||||
windowrulev2 = opacity 0.80 0.70,class:^(nm-applet)$
|
||||
windowrulev2 = opacity 0.80 0.70,class:^(nm-connection-editor)$
|
||||
windowrulev2 = opacity 0.80 0.70,class:^(org.kde.polkit-kde-authentication-agent-1)$
|
||||
|
||||
windowrulev2 = float,class:^(org.kde.ark)$
|
||||
windowrulev2 = float,class:^(com.github.rafostar.Clapper)$ #Clapper-Gtk
|
||||
windowrulev2 = float,class:^(app.drey.Warp)$ #Warp-Gtk
|
||||
windowrulev2 = float,class:^(net.davidotek.pupgui2)$ #ProtonUp-Qt
|
||||
windowrulev2 = float,class:^(yad)$ #Protontricks-Gtk
|
||||
windowrulev2 = float,class:^(pavucontrol)$
|
||||
windowrulev2 = float,class:^(blueman-manager)$
|
||||
windowrulev2 = float,class:^(nm-applet)$
|
||||
windowrulev2 = float,class:^(nm-connection-editor)$
|
||||
windowrulev2 = float,class:^(org.kde.polkit-kde-authentication-agent-1)$
|
||||
|
||||
11
modules/home/hyprland/conf/kitty/kitty.conf
Normal file
11
modules/home/hyprland/conf/kitty/kitty.conf
Normal file
@@ -0,0 +1,11 @@
|
||||
font_family CaskaydiaCove Nerd Font Mono
|
||||
bold_font auto
|
||||
italic_font auto
|
||||
bold_italic_font auto
|
||||
|
||||
font_size 12.0
|
||||
window_padding_width 18
|
||||
include themes/theme.conf
|
||||
#background_opacity 0.60
|
||||
#hide_window_decorations yes
|
||||
#confirm_os_window_close 0
|
||||
@@ -0,0 +1,80 @@
|
||||
# vim:ft=kitty
|
||||
|
||||
## name: Catppuccin Latte 🐑
|
||||
## author: Pocco81 (https://github.com/Pocco81)
|
||||
## license: MIT
|
||||
## upstream: https://github.com/catppuccin/kitty/blob/main/latte.conf
|
||||
## blurb: Soothing pastel theme for the high-spirited!
|
||||
|
||||
|
||||
|
||||
# The basic colors
|
||||
foreground #4C4F69
|
||||
background #EFF1F5
|
||||
selection_foreground #EFF1F5
|
||||
selection_background #DC8A78
|
||||
|
||||
# Cursor colors
|
||||
cursor #DC8A78
|
||||
cursor_text_color #EFF1F5
|
||||
|
||||
# URL underline color when hovering with mouse
|
||||
url_color #7287FD
|
||||
|
||||
# Kitty window border colors
|
||||
active_border_color #8839EF
|
||||
inactive_border_color #7C7F93
|
||||
bell_border_color #E64553
|
||||
|
||||
# OS Window titlebar colors
|
||||
wayland_titlebar_color system
|
||||
macos_titlebar_color system
|
||||
|
||||
# Tab bar colors
|
||||
active_tab_foreground #EFF1F5
|
||||
active_tab_background #8839EF
|
||||
inactive_tab_foreground #4C4F69
|
||||
inactive_tab_background #9CA0B0
|
||||
tab_bar_background #BCC0CC
|
||||
|
||||
# Colors for marks (marked text in the terminal)
|
||||
mark1_foreground #EFF1F5
|
||||
mark1_background #1E66F5
|
||||
mark2_foreground #EFF1F5
|
||||
mark2_background #8839EF
|
||||
mark3_foreground #EFF1F5
|
||||
mark3_background #209FB5
|
||||
|
||||
# The 16 terminal colors
|
||||
|
||||
# black
|
||||
color0 #4C4F69
|
||||
color8 #6C6F85
|
||||
|
||||
# red
|
||||
color1 #D20F39
|
||||
color9 #D20F39
|
||||
|
||||
# green
|
||||
color2 #40A02B
|
||||
color10 #40A02B
|
||||
|
||||
# yellow
|
||||
color3 #DF8E1D
|
||||
color11 #DF8E1D
|
||||
|
||||
# blue
|
||||
color4 #1E66F5
|
||||
color12 #1E66F5
|
||||
|
||||
# magenta
|
||||
color5 #EA76CB
|
||||
color13 #EA76CB
|
||||
|
||||
# cyan
|
||||
color6 #179299
|
||||
color14 #179299
|
||||
|
||||
# white
|
||||
color7 #ACB0BE
|
||||
color15 #ACB0BE
|
||||
@@ -0,0 +1,80 @@
|
||||
# vim:ft=kitty
|
||||
|
||||
## name: Catppuccin Mocha 🌿
|
||||
## author: Pocco81 (https://github.com/Pocco81)
|
||||
## license: MIT
|
||||
## upstream: https://github.com/catppuccin/kitty/blob/main/mocha.conf
|
||||
## blurb: Soothing pastel theme for the high-spirited!
|
||||
|
||||
|
||||
|
||||
# The basic colors
|
||||
foreground #CDD6F4
|
||||
background #1E1E2E
|
||||
selection_foreground #1E1E2E
|
||||
selection_background #F5E0DC
|
||||
|
||||
# Cursor colors
|
||||
cursor #F5E0DC
|
||||
cursor_text_color #1E1E2E
|
||||
|
||||
# URL underline color when hovering with mouse
|
||||
url_color #B4BEFE
|
||||
|
||||
# Kitty window border colors
|
||||
active_border_color #CBA6F7
|
||||
inactive_border_color #8E95B3
|
||||
bell_border_color #EBA0AC
|
||||
|
||||
# OS Window titlebar colors
|
||||
wayland_titlebar_color system
|
||||
macos_titlebar_color system
|
||||
|
||||
# Tab bar colors
|
||||
active_tab_foreground #11111B
|
||||
active_tab_background #CBA6F7
|
||||
inactive_tab_foreground #CDD6F4
|
||||
inactive_tab_background #181825
|
||||
tab_bar_background #11111B
|
||||
|
||||
# Colors for marks (marked text in the terminal)
|
||||
mark1_foreground #1E1E2E
|
||||
mark1_background #87B0F9
|
||||
mark2_foreground #1E1E2E
|
||||
mark2_background #CBA6F7
|
||||
mark3_foreground #1E1E2E
|
||||
mark3_background #74C7EC
|
||||
|
||||
# The 16 terminal colors
|
||||
|
||||
# black
|
||||
color0 #43465A
|
||||
color8 #43465A
|
||||
|
||||
# red
|
||||
color1 #F38BA8
|
||||
color9 #F38BA8
|
||||
|
||||
# green
|
||||
color2 #A6E3A1
|
||||
color10 #A6E3A1
|
||||
|
||||
# yellow
|
||||
color3 #F9E2AF
|
||||
color11 #F9E2AF
|
||||
|
||||
# blue
|
||||
color4 #87B0F9
|
||||
color12 #87B0F9
|
||||
|
||||
# magenta
|
||||
color5 #F5C2E7
|
||||
color13 #F5C2E7
|
||||
|
||||
# cyan
|
||||
color6 #94E2D5
|
||||
color14 #94E2D5
|
||||
|
||||
# white
|
||||
color7 #CDD6F4
|
||||
color15 #A1A8C9
|
||||
72
modules/home/hyprland/conf/kitty/themes/Cyberpunk-Edge.conf
Normal file
72
modules/home/hyprland/conf/kitty/themes/Cyberpunk-Edge.conf
Normal file
@@ -0,0 +1,72 @@
|
||||
# vim:ft=kitty
|
||||
|
||||
# The basic colors
|
||||
foreground #FDF500
|
||||
background #000000
|
||||
selection_foreground #000000
|
||||
selection_background #FADA16
|
||||
|
||||
# Cursor colors
|
||||
cursor #FADA16
|
||||
cursor_text_color #FADA16
|
||||
|
||||
# URL underline color when hovering with mouse
|
||||
url_color #FADA16
|
||||
|
||||
# Kitty window border colors
|
||||
active_border_color #000000
|
||||
inactive_border_color #000000
|
||||
bell_border_color #000000
|
||||
|
||||
# OS Window titlebar colors
|
||||
wayland_titlebar_color system
|
||||
macos_titlebar_color system
|
||||
|
||||
# Tab bar colors
|
||||
active_tab_foreground #FADA16
|
||||
active_tab_background #000000
|
||||
inactive_tab_foreground #000000
|
||||
inactive_tab_background #FADA16
|
||||
tab_bar_background #000000
|
||||
|
||||
# Colors for marks (marked text in the terminal)
|
||||
mark1_foreground #FADA16
|
||||
mark1_background #000000
|
||||
mark2_foreground #FADA16
|
||||
mark2_background #000000
|
||||
mark3_foreground #FADA16
|
||||
mark3_background #000000
|
||||
|
||||
# The 16 terminal colors
|
||||
|
||||
# black
|
||||
color0 #1F2229
|
||||
color8 #1B1C22
|
||||
|
||||
# red
|
||||
color1 #D62246
|
||||
color9 #EC0101
|
||||
|
||||
# green
|
||||
color2 #4DBD4F
|
||||
color10 #1F5322
|
||||
|
||||
# yellow
|
||||
color3 #FDF500
|
||||
color11 #F2CB07
|
||||
|
||||
# blue
|
||||
color4 #F29C6B
|
||||
color12 #FFA6C2
|
||||
|
||||
# magenta
|
||||
color5 #A56DF2
|
||||
color13 #564873
|
||||
|
||||
# cyan
|
||||
color6 #2CF6B3
|
||||
color14 #37EBF3
|
||||
|
||||
# white
|
||||
color7 #E6E6E6
|
||||
color15 #FFFFFF
|
||||
47
modules/home/hyprland/conf/kitty/themes/Decay-Green.conf
Normal file
47
modules/home/hyprland/conf/kitty/themes/Decay-Green.conf
Normal file
@@ -0,0 +1,47 @@
|
||||
# Eye Friendly Colors
|
||||
# Created by https://github.com/decaycs
|
||||
|
||||
# Special
|
||||
background #0d0f18
|
||||
foreground #a5b6cf
|
||||
|
||||
# Black
|
||||
color0 #151720
|
||||
color8 #1c1e27
|
||||
|
||||
# Red
|
||||
color1 #dd6777
|
||||
color9 #e26c7c
|
||||
|
||||
# Green
|
||||
color4 #90ceaa
|
||||
color12 #95d3af
|
||||
|
||||
# Yellow
|
||||
color3 #ecd3a0
|
||||
color11 #f1d8a5
|
||||
|
||||
# Blue
|
||||
color2 #86aaec
|
||||
color10 #8baff1
|
||||
|
||||
# Magenta
|
||||
color5 #c296eb
|
||||
color13 #c79bf0
|
||||
|
||||
# Cyan
|
||||
color6 #93cee9
|
||||
color14 #98d3ee
|
||||
|
||||
# White
|
||||
color7 #cbced3
|
||||
color15 #d0d3d8
|
||||
|
||||
# Cursor
|
||||
cursor #cbced3
|
||||
cursor_text_color #a5b6cf
|
||||
|
||||
# Selection highlight
|
||||
selection_foreground #a5b6cf
|
||||
selection_background #1c1e27
|
||||
|
||||
72
modules/home/hyprland/conf/kitty/themes/Graphite-Mono.conf
Normal file
72
modules/home/hyprland/conf/kitty/themes/Graphite-Mono.conf
Normal file
@@ -0,0 +1,72 @@
|
||||
# vim:ft=kitty
|
||||
|
||||
# The basic colors
|
||||
foreground #D9D9D9
|
||||
background #262626
|
||||
selection_foreground #262626
|
||||
selection_background #A6A6A6
|
||||
|
||||
# Cursor colors
|
||||
cursor #A6A6A6
|
||||
cursor_text_color #D9D9D9
|
||||
|
||||
# URL underline color when hovering with mouse
|
||||
url_color #D9D9D9
|
||||
|
||||
# Kitty window border colors
|
||||
active_border_color #595959
|
||||
inactive_border_color #595959
|
||||
bell_border_color #595959
|
||||
|
||||
# OS Window titlebar colors
|
||||
wayland_titlebar_color system
|
||||
macos_titlebar_color system
|
||||
|
||||
# Tab bar colors
|
||||
active_tab_foreground #D9D9D9
|
||||
active_tab_background #262626
|
||||
inactive_tab_foreground #D9D9D9
|
||||
inactive_tab_background #262626
|
||||
tab_bar_background #D9D9D9
|
||||
|
||||
# Colors for marks (marked text in the terminal)
|
||||
mark1_foreground #262626
|
||||
mark1_background #404040
|
||||
mark2_foreground #262626
|
||||
mark2_background #262626
|
||||
mark3_foreground #262626
|
||||
mark3_background #A6A6A6
|
||||
|
||||
# The 16 terminal colors
|
||||
|
||||
# black
|
||||
color0 #404040
|
||||
color8 #404040
|
||||
|
||||
# red
|
||||
color1 #D9D9D9
|
||||
color9 #D9D9D9
|
||||
|
||||
# green
|
||||
color2 #D9D9D9
|
||||
color10 #D9D9D9
|
||||
|
||||
# yellow
|
||||
color3 #595959
|
||||
color11 #595959
|
||||
|
||||
# blue
|
||||
color4 #A6A6A6
|
||||
color12 #A6A6A6
|
||||
|
||||
# magenta
|
||||
color5 #A6A6A6
|
||||
color13 #A6A6A6
|
||||
|
||||
# cyan
|
||||
color6 #A6A6A6
|
||||
color14 #A6A6A6
|
||||
|
||||
# white
|
||||
color7 #D9D9D9
|
||||
color15 #D9D9D9
|
||||
55
modules/home/hyprland/conf/kitty/themes/Material-Sakura.conf
Normal file
55
modules/home/hyprland/conf/kitty/themes/Material-Sakura.conf
Normal file
@@ -0,0 +1,55 @@
|
||||
## name: Rosé Pine Dawn
|
||||
## author: mvllow
|
||||
## license: MIT
|
||||
## upstream: https://github.com/rose-pine/kitty/blob/main/dist/rose-pine-dawn.conf
|
||||
## blurb: All natural pine, faux fur and a bit of soho vibes for the classy minimalist
|
||||
|
||||
foreground #575279
|
||||
background #faf4ed
|
||||
selection_foreground #575279
|
||||
selection_background #dfdad9
|
||||
|
||||
cursor #cecacd
|
||||
cursor_text_color #575279
|
||||
|
||||
url_color #907aa9
|
||||
|
||||
active_tab_foreground #575279
|
||||
active_tab_background #f2e9e1
|
||||
inactive_tab_foreground #9893a5
|
||||
inactive_tab_background #faf4ed
|
||||
|
||||
active_border_color #286983
|
||||
inactive_border_color #dfdad9
|
||||
|
||||
# black
|
||||
color0 #f2e9e1
|
||||
color8 #9893a5
|
||||
|
||||
# red
|
||||
color1 #b4637a
|
||||
color9 #b4637a
|
||||
|
||||
# green
|
||||
color2 #286983
|
||||
color10 #286983
|
||||
|
||||
# yellow
|
||||
color3 #ea9d34
|
||||
color11 #ea9d34
|
||||
|
||||
# blue
|
||||
color4 #56949f
|
||||
color12 #56949f
|
||||
|
||||
# magenta
|
||||
color5 #907aa9
|
||||
color13 #907aa9
|
||||
|
||||
# cyan
|
||||
color6 #d7827e
|
||||
color14 #d7827e
|
||||
|
||||
# white
|
||||
color7 #575279
|
||||
color15 #575279
|
||||
56
modules/home/hyprland/conf/kitty/themes/Rose-Pine.conf
Normal file
56
modules/home/hyprland/conf/kitty/themes/Rose-Pine.conf
Normal file
@@ -0,0 +1,56 @@
|
||||
## name: Rosé Pine
|
||||
## author: mvllow
|
||||
## license: MIT
|
||||
## upstream: https://github.com/rose-pine/kitty/blob/main/dist/rose-pine.conf
|
||||
## blurb: All natural pine, faux fur and a bit of soho vibes for the classy minimalist
|
||||
|
||||
foreground #e0def4
|
||||
background #191724
|
||||
selection_foreground #e0def4
|
||||
selection_background #403d52
|
||||
|
||||
cursor #524f67
|
||||
cursor_text_color #e0def4
|
||||
|
||||
url_color #c4a7e7
|
||||
|
||||
active_tab_foreground #e0def4
|
||||
active_tab_background #26233a
|
||||
inactive_tab_foreground #6e6a86
|
||||
inactive_tab_background #191724
|
||||
|
||||
active_border_color #31748f
|
||||
inactive_border_color #403d52
|
||||
|
||||
# black
|
||||
color0 #26233a
|
||||
color8 #6e6a86
|
||||
|
||||
# red
|
||||
color1 #eb6f92
|
||||
color9 #eb6f92
|
||||
|
||||
# green
|
||||
color2 #31748f
|
||||
color10 #31748f
|
||||
|
||||
# yellow
|
||||
color3 #f6c177
|
||||
color11 #f6c177
|
||||
|
||||
# blue
|
||||
color4 #9ccfd8
|
||||
color12 #9ccfd8
|
||||
|
||||
# magenta
|
||||
color5 #c4a7e7
|
||||
color13 #c4a7e7
|
||||
|
||||
# cyan
|
||||
color6 #ebbcba
|
||||
color14 #ebbcba
|
||||
|
||||
# white
|
||||
color7 #e0def4
|
||||
color15 #e0def4
|
||||
|
||||
77
modules/home/hyprland/conf/kitty/themes/Tokyo-Night.conf
Normal file
77
modules/home/hyprland/conf/kitty/themes/Tokyo-Night.conf
Normal file
@@ -0,0 +1,77 @@
|
||||
# Tokyo Night color scheme for kitty terminal emulator
|
||||
# https://github.com/davidmathers/tokyo-night-kitty-theme
|
||||
#
|
||||
# Based on Tokyo Night color theme for Visual Studio Code
|
||||
# https://github.com/enkia/tokyo-night-vscode-theme
|
||||
|
||||
foreground #a9b1d6
|
||||
background #24283b
|
||||
|
||||
# Black
|
||||
color0 #414868
|
||||
color8 #414868
|
||||
|
||||
# Red
|
||||
color1 #f7768e
|
||||
color9 #f7768e
|
||||
|
||||
# Green
|
||||
color2 #73daca
|
||||
color10 #73daca
|
||||
|
||||
# Yellow
|
||||
color3 #e0af68
|
||||
color11 #e0af68
|
||||
|
||||
# Blue
|
||||
color4 #7aa2f7
|
||||
color12 #7aa2f7
|
||||
|
||||
# Magenta
|
||||
color5 #bb9af7
|
||||
color13 #bb9af7
|
||||
|
||||
# Cyan
|
||||
color6 #7dcfff
|
||||
color14 #7dcfff
|
||||
|
||||
# White
|
||||
color7 #c0caf5
|
||||
color15 #c0caf5
|
||||
|
||||
# Cursor
|
||||
cursor #c0caf5
|
||||
cursor_text_color #1a1b26
|
||||
|
||||
# Selection highlight
|
||||
selection_foreground none
|
||||
selection_background #28344a
|
||||
|
||||
# The color for highlighting URLs on mouse-over
|
||||
url_color #9ece6a
|
||||
|
||||
# Window borders
|
||||
active_border_color #3d59a1
|
||||
inactive_border_color #101014
|
||||
bell_border_color #e0af68
|
||||
|
||||
# Tab bar
|
||||
tab_bar_style fade
|
||||
tab_fade 1
|
||||
active_tab_foreground #3d59a1
|
||||
active_tab_background #16161e
|
||||
active_tab_font_style bold
|
||||
inactive_tab_foreground #787c99
|
||||
inactive_tab_background #16161e
|
||||
inactive_tab_font_style bold
|
||||
tab_bar_background #101014
|
||||
|
||||
# Title bar
|
||||
macos_titlebar_color #16161e
|
||||
|
||||
# Storm
|
||||
# background #24283b
|
||||
# cursor_text_color #24283b
|
||||
# active_tab_background #1f2335
|
||||
# inactive_tab_background #1f2335
|
||||
# macos_titlebar_color #1f2335
|
||||
124
modules/home/hyprland/conf/rofi/clipboard.rasi
Normal file
124
modules/home/hyprland/conf/rofi/clipboard.rasi
Normal file
@@ -0,0 +1,124 @@
|
||||
// Config //
|
||||
configuration {
|
||||
modi: "drun";
|
||||
show-icons: false;
|
||||
font: "JetBrainsMono Nerd Font 9";
|
||||
}
|
||||
|
||||
@theme "~/.config/rofi/themes/theme.rasi"
|
||||
|
||||
|
||||
// Main //
|
||||
window {
|
||||
location: south east;
|
||||
anchor: south east;
|
||||
x-offset: -20px;
|
||||
y-offset: -20px;
|
||||
height: 55%;
|
||||
width: 20%;
|
||||
transparency: "real";
|
||||
fullscreen: false;
|
||||
enabled: true;
|
||||
cursor: "default";
|
||||
spacing: 0px;
|
||||
padding: 0px;
|
||||
border: 2px;
|
||||
border-radius: 15px;
|
||||
border-color: @alternate-normal-background;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
enabled: true;
|
||||
spacing: 0px;
|
||||
orientation: vertical;
|
||||
children: [ "inputbar" , "listbox" ];
|
||||
background-color: transparent;
|
||||
background-image: url("~/.config/swww/wall.blur", height);
|
||||
}
|
||||
|
||||
|
||||
// Inputs //
|
||||
inputbar {
|
||||
enabled: true;
|
||||
padding: 7px;
|
||||
children: [ "entry" ];
|
||||
background-color: @background;
|
||||
}
|
||||
entry {
|
||||
border: 3px;
|
||||
border-radius: 10px;
|
||||
border-color: @background;
|
||||
enabled: true;
|
||||
padding: 70px;
|
||||
text-color: @foreground;
|
||||
background-color: @background;
|
||||
background-image: url("~/.config/swww/wall.blur", width);
|
||||
}
|
||||
|
||||
|
||||
// Lists //
|
||||
listbox {
|
||||
spacing: 0px;
|
||||
padding: 10px;
|
||||
children: [ "listview" ];
|
||||
background-color: @background;
|
||||
}
|
||||
listview {
|
||||
enabled: true;
|
||||
columns: 1;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
scrollbar: false;
|
||||
layout: vertical;
|
||||
reverse: false;
|
||||
fixed-height: false;
|
||||
fixed-columns: true;
|
||||
cursor: "default";
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
|
||||
// Elements //
|
||||
element {
|
||||
enabled: true;
|
||||
spacing: 0px;
|
||||
padding: 12px;
|
||||
border-radius: 10px;
|
||||
cursor: pointer;
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
}
|
||||
element normal.normal {
|
||||
background-color: transparent;
|
||||
text-color: @normal-foreground;
|
||||
}
|
||||
element normal.urgent {
|
||||
background-color: @urgent-background;
|
||||
text-color: @urgent-foreground;
|
||||
}
|
||||
element normal.active {
|
||||
background-color: @active-background;
|
||||
text-color: @active-foreground;
|
||||
}
|
||||
element selected.normal {
|
||||
background-color: @selected-normal-background;
|
||||
text-color: @selected-normal-foreground;
|
||||
}
|
||||
element selected.urgent {
|
||||
background-color: @selected-urgent-background;
|
||||
text-color: @selected-urgent-foreground;
|
||||
}
|
||||
element selected.active {
|
||||
background-color: @selected-active-background;
|
||||
text-color: @selected-active-foreground;
|
||||
}
|
||||
element-text {
|
||||
vertical-align: 0.0;
|
||||
horizontal-align: 0.0;
|
||||
cursor: inherit;
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
}
|
||||
|
||||
147
modules/home/hyprland/conf/rofi/config.rasi
Normal file
147
modules/home/hyprland/conf/rofi/config.rasi
Normal file
@@ -0,0 +1,147 @@
|
||||
// Config //
|
||||
configuration {
|
||||
modi: "drun,filebrowser,window,run";
|
||||
show-icons: true;
|
||||
display-drun: "";
|
||||
display-run: "";
|
||||
display-filebrowser: "";
|
||||
display-window: "";
|
||||
drun-display-format: "{name}";
|
||||
window-format: "{w}{t}";
|
||||
font: "JetBrainsMono Nerd Font 10";
|
||||
icon-theme: "Tela-circle-dracula";
|
||||
}
|
||||
|
||||
@theme "~/.config/rofi/themes/theme.rasi"
|
||||
|
||||
|
||||
// Main //
|
||||
window {
|
||||
transparency: "real";
|
||||
fullscreen: false;
|
||||
enabled: true;
|
||||
cursor: "default";
|
||||
spacing: 0px;
|
||||
padding: 0px;
|
||||
border: 2px;
|
||||
border-radius: 40px;
|
||||
border-color: @alternate-normal-background;
|
||||
background-color: transparent;
|
||||
}
|
||||
mainbox {
|
||||
enabled: true;
|
||||
spacing: 0px;
|
||||
orientation: horizontal;
|
||||
children: [ "inputbar" , "listbox" ];
|
||||
background-color: transparent;
|
||||
background-image: url("~/.config/swww/wall.blur", height);
|
||||
}
|
||||
|
||||
|
||||
// Inputs //
|
||||
inputbar {
|
||||
enabled: true;
|
||||
width: 25%;
|
||||
children: [ "mode-switcher" , "entry" ];
|
||||
background-color: transparent;
|
||||
background-image: url("~/.config/swww/wall.set", height);
|
||||
}
|
||||
entry {
|
||||
enabled: false;
|
||||
}
|
||||
|
||||
|
||||
// Modes //
|
||||
mode-switcher{
|
||||
orientation: vertical;
|
||||
enabled: true;
|
||||
spacing: 0px;
|
||||
width: 2.5%;
|
||||
padding: 160px 10px 160px 10px;
|
||||
spacing: 25px;
|
||||
background-color: transparent;
|
||||
background-image: url("~/.config/swww/wall.blur", height);
|
||||
}
|
||||
button {
|
||||
cursor: pointer;
|
||||
border-radius: 50px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
button selected {
|
||||
background-color: @foreground;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
|
||||
// Lists //
|
||||
listbox {
|
||||
spacing: 10px;
|
||||
padding: 30px;
|
||||
children: [ "listview" ];
|
||||
background-color: @background;
|
||||
}
|
||||
listview {
|
||||
enabled: true;
|
||||
columns: 1;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
scrollbar: false;
|
||||
layout: vertical;
|
||||
reverse: false;
|
||||
fixed-height: true;
|
||||
fixed-columns: true;
|
||||
cursor: "default";
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
|
||||
// Elements //
|
||||
element {
|
||||
enabled: true;
|
||||
spacing: 30px;
|
||||
padding: 7px;
|
||||
border-radius: 20px;
|
||||
cursor: pointer;
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
}
|
||||
element normal.normal {
|
||||
background-color: transparent;
|
||||
text-color: @normal-foreground;
|
||||
}
|
||||
element normal.urgent {
|
||||
background-color: @urgent-background;
|
||||
text-color: @urgent-foreground;
|
||||
}
|
||||
element normal.active {
|
||||
background-color: @active-background;
|
||||
text-color: @active-foreground;
|
||||
}
|
||||
element selected.normal {
|
||||
background-color: @selected-normal-background;
|
||||
text-color: @selected-normal-foreground;
|
||||
}
|
||||
element selected.urgent {
|
||||
background-color: @selected-urgent-background;
|
||||
text-color: @selected-urgent-foreground;
|
||||
}
|
||||
element selected.active {
|
||||
background-color: @selected-active-background;
|
||||
text-color: @selected-active-foreground;
|
||||
}
|
||||
element-icon {
|
||||
size: 48px;
|
||||
cursor: inherit;
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
}
|
||||
element-text {
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.0;
|
||||
cursor: inherit;
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
}
|
||||
|
||||
BIN
modules/home/hyprland/conf/rofi/styles/style_1.png
Normal file
BIN
modules/home/hyprland/conf/rofi/styles/style_1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
147
modules/home/hyprland/conf/rofi/styles/style_1.rasi
Normal file
147
modules/home/hyprland/conf/rofi/styles/style_1.rasi
Normal file
@@ -0,0 +1,147 @@
|
||||
// Config //
|
||||
configuration {
|
||||
modi: "drun,filebrowser,window,run";
|
||||
show-icons: true;
|
||||
display-drun: "";
|
||||
display-run: "";
|
||||
display-filebrowser: "";
|
||||
display-window: "";
|
||||
drun-display-format: "{name}";
|
||||
window-format: "{w}{t}";
|
||||
font: "JetBrainsMono Nerd Font 10";
|
||||
icon-theme: "Tela-circle-dracula";
|
||||
}
|
||||
|
||||
@theme "~/.config/rofi/themes/theme.rasi"
|
||||
|
||||
|
||||
// Main //
|
||||
window {
|
||||
transparency: "real";
|
||||
fullscreen: false;
|
||||
enabled: true;
|
||||
cursor: "default";
|
||||
spacing: 0px;
|
||||
padding: 0px;
|
||||
border: 2px;
|
||||
border-radius: 40px;
|
||||
border-color: @alternate-normal-background;
|
||||
background-color: transparent;
|
||||
}
|
||||
mainbox {
|
||||
enabled: true;
|
||||
spacing: 0px;
|
||||
orientation: horizontal;
|
||||
children: [ "inputbar" , "listbox" ];
|
||||
background-color: transparent;
|
||||
background-image: url("~/.config/swww/wall.blur", height);
|
||||
}
|
||||
|
||||
|
||||
// Inputs //
|
||||
inputbar {
|
||||
enabled: true;
|
||||
width: 25%;
|
||||
children: [ "mode-switcher" , "entry" ];
|
||||
background-color: transparent;
|
||||
background-image: url("~/.config/swww/wall.set", height);
|
||||
}
|
||||
entry {
|
||||
enabled: false;
|
||||
}
|
||||
|
||||
|
||||
// Modes //
|
||||
mode-switcher{
|
||||
orientation: vertical;
|
||||
enabled: true;
|
||||
spacing: 0px;
|
||||
width: 2.5%;
|
||||
padding: 160px 10px 160px 10px;
|
||||
spacing: 25px;
|
||||
background-color: transparent;
|
||||
background-image: url("~/.config/swww/wall.blur", height);
|
||||
}
|
||||
button {
|
||||
cursor: pointer;
|
||||
border-radius: 50px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
button selected {
|
||||
background-color: @foreground;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
|
||||
// Lists //
|
||||
listbox {
|
||||
spacing: 10px;
|
||||
padding: 30px;
|
||||
children: [ "listview" ];
|
||||
background-color: @background;
|
||||
}
|
||||
listview {
|
||||
enabled: true;
|
||||
columns: 1;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
scrollbar: false;
|
||||
layout: vertical;
|
||||
reverse: false;
|
||||
fixed-height: true;
|
||||
fixed-columns: true;
|
||||
cursor: "default";
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
|
||||
// Elements //
|
||||
element {
|
||||
enabled: true;
|
||||
spacing: 30px;
|
||||
padding: 7px;
|
||||
border-radius: 20px;
|
||||
cursor: pointer;
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
}
|
||||
element normal.normal {
|
||||
background-color: transparent;
|
||||
text-color: @normal-foreground;
|
||||
}
|
||||
element normal.urgent {
|
||||
background-color: @urgent-background;
|
||||
text-color: @urgent-foreground;
|
||||
}
|
||||
element normal.active {
|
||||
background-color: @active-background;
|
||||
text-color: @active-foreground;
|
||||
}
|
||||
element selected.normal {
|
||||
background-color: @selected-normal-background;
|
||||
text-color: @selected-normal-foreground;
|
||||
}
|
||||
element selected.urgent {
|
||||
background-color: @selected-urgent-background;
|
||||
text-color: @selected-urgent-foreground;
|
||||
}
|
||||
element selected.active {
|
||||
background-color: @selected-active-background;
|
||||
text-color: @selected-active-foreground;
|
||||
}
|
||||
element-icon {
|
||||
size: 48px;
|
||||
cursor: inherit;
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
}
|
||||
element-text {
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.0;
|
||||
cursor: inherit;
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
}
|
||||
|
||||
BIN
modules/home/hyprland/conf/rofi/styles/style_2.png
Normal file
BIN
modules/home/hyprland/conf/rofi/styles/style_2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
154
modules/home/hyprland/conf/rofi/styles/style_2.rasi
Normal file
154
modules/home/hyprland/conf/rofi/styles/style_2.rasi
Normal file
@@ -0,0 +1,154 @@
|
||||
// Config //
|
||||
configuration {
|
||||
modi: "drun,filebrowser,window,run";
|
||||
show-icons: true;
|
||||
display-drun: "";
|
||||
display-run: "";
|
||||
display-filebrowser: "";
|
||||
display-window: "";
|
||||
drun-display-format: "{name}";
|
||||
window-format: "{w}{t}";
|
||||
font: "JetBrainsMono Nerd Font 10";
|
||||
icon-theme: "Tela-circle-dracula";
|
||||
}
|
||||
|
||||
@theme "~/.config/rofi/themes/theme.rasi"
|
||||
|
||||
|
||||
// Main //
|
||||
window {
|
||||
height: 600px;
|
||||
width: 900px;
|
||||
transparency: "real";
|
||||
fullscreen: false;
|
||||
enabled: true;
|
||||
cursor: "default";
|
||||
spacing: 0px;
|
||||
padding: 0px;
|
||||
border: 2px;
|
||||
border-radius: 40px;
|
||||
border-color: @alternate-normal-background;
|
||||
background-color: transparent;
|
||||
}
|
||||
mainbox {
|
||||
enabled: true;
|
||||
spacing: 0px;
|
||||
padding: 0px;
|
||||
orientation: vertical;
|
||||
children: [ "inputbar" , "listbox" ];
|
||||
background-color: transparent;
|
||||
background-image: url("~/.config/swww/wall.blur", height);
|
||||
}
|
||||
|
||||
|
||||
// Inputs //
|
||||
inputbar {
|
||||
enabled: true;
|
||||
spacing: 0px;
|
||||
padding: 80px;
|
||||
children: [ "entry" ];
|
||||
background-color: @background;
|
||||
background-image: url("~/.config/swww/wall.set", width);
|
||||
}
|
||||
entry {
|
||||
border-radius: 30px;
|
||||
enabled: true;
|
||||
spacing: 0px;
|
||||
padding: 20px;
|
||||
text-color: @foreground;
|
||||
background-color: @background;
|
||||
}
|
||||
|
||||
|
||||
// Lists //
|
||||
listbox {
|
||||
padding: 30px;
|
||||
spacing: 0px;
|
||||
orientation: horizontal;
|
||||
children: [ "listview" , "mode-switcher" ];
|
||||
background-color: @background;
|
||||
}
|
||||
listview {
|
||||
padding: 10px;
|
||||
spacing: 10px;
|
||||
enabled: true;
|
||||
columns: 2;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
scrollbar: false;
|
||||
layout: vertical;
|
||||
reverse: false;
|
||||
fixed-height: true;
|
||||
fixed-columns: true;
|
||||
cursor: "default";
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
}
|
||||
mode-switcher {
|
||||
orientation: vertical;
|
||||
width: 95px;
|
||||
enabled: true;
|
||||
padding: 15px;
|
||||
spacing: 10px;
|
||||
background-color: transparent;
|
||||
}
|
||||
button {
|
||||
cursor: pointer;
|
||||
border-radius: 50px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
button selected {
|
||||
background-color: @foreground;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
|
||||
// Elements //
|
||||
element {
|
||||
enabled: true;
|
||||
spacing: 20px;
|
||||
padding: 9px;
|
||||
border-radius: 25px;
|
||||
cursor: pointer;
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
}
|
||||
element normal.normal {
|
||||
background-color: transparent;
|
||||
text-color: @normal-foreground;
|
||||
}
|
||||
element normal.urgent {
|
||||
background-color: @urgent-background;
|
||||
text-color: @urgent-foreground;
|
||||
}
|
||||
element normal.active {
|
||||
background-color: @active-background;
|
||||
text-color: @active-foreground;
|
||||
}
|
||||
element selected.normal {
|
||||
background-color: @selected-normal-background;
|
||||
text-color: @selected-normal-foreground;
|
||||
}
|
||||
element selected.urgent {
|
||||
background-color: @selected-urgent-background;
|
||||
text-color: @selected-urgent-foreground;
|
||||
}
|
||||
element selected.active {
|
||||
background-color: @selected-active-background;
|
||||
text-color: @selected-active-foreground;
|
||||
}
|
||||
element-icon {
|
||||
size: 47px;
|
||||
cursor: inherit;
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
}
|
||||
element-text {
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.0;
|
||||
cursor: inherit;
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
}
|
||||
|
||||
BIN
modules/home/hyprland/conf/rofi/styles/style_3.png
Normal file
BIN
modules/home/hyprland/conf/rofi/styles/style_3.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 25 KiB |
141
modules/home/hyprland/conf/rofi/styles/style_3.rasi
Normal file
141
modules/home/hyprland/conf/rofi/styles/style_3.rasi
Normal file
@@ -0,0 +1,141 @@
|
||||
// Config //
|
||||
configuration {
|
||||
modi: "drun,filebrowser,window,run";
|
||||
show-icons: true;
|
||||
display-drun: "";
|
||||
display-run: "";
|
||||
display-filebrowser: "";
|
||||
display-window: "";
|
||||
drun-display-format: "{name}";
|
||||
window-format: "{w}{t}";
|
||||
font: "JetBrainsMono Nerd Font 10";
|
||||
icon-theme: "Tela-circle-dracula";
|
||||
}
|
||||
|
||||
@theme "~/.config/rofi/themes/theme.rasi"
|
||||
|
||||
|
||||
// Main //
|
||||
window {
|
||||
height: 500px;
|
||||
width: 600px;
|
||||
transparency: "real";
|
||||
fullscreen: false;
|
||||
enabled: true;
|
||||
cursor: "default";
|
||||
spacing: 0px;
|
||||
padding: 0px;
|
||||
border: 2px;
|
||||
border-radius: 25px;
|
||||
border-color: @alternate-normal-background;
|
||||
background-color: transparent;
|
||||
}
|
||||
mainbox {
|
||||
enabled: true;
|
||||
spacing: 0px;
|
||||
padding: 0px;
|
||||
orientation: vertical;
|
||||
children: [ "listbox" , "inputbar"];
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
|
||||
// Inputs //
|
||||
inputbar {
|
||||
enabled: false;
|
||||
}
|
||||
|
||||
|
||||
// Lists //
|
||||
listbox {
|
||||
padding: 5px;
|
||||
spacing: 5px;
|
||||
orientation: horizontal;
|
||||
children: [ "mode-switcher" , "listview" ];
|
||||
background-image: url("~/.config/swww/wall.blur", height);
|
||||
}
|
||||
listview {
|
||||
padding: 20px;
|
||||
spacing: 5px;
|
||||
enabled: true;
|
||||
columns: 1;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
scrollbar: false;
|
||||
layout: vertical;
|
||||
reverse: false;
|
||||
fixed-height: true;
|
||||
fixed-columns: true;
|
||||
cursor: "default";
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
border-radius: 25px;
|
||||
}
|
||||
mode-switcher {
|
||||
orientation: vertical;
|
||||
width: 100px;
|
||||
enabled: true;
|
||||
padding: 60px 10px 60px 10px;
|
||||
spacing: 15px;
|
||||
background-color: transparent;
|
||||
}
|
||||
button {
|
||||
cursor: pointer;
|
||||
border-radius: 50px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
button selected {
|
||||
background-color: @foreground;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
|
||||
// Elements //
|
||||
element {
|
||||
enabled: true;
|
||||
spacing: 30px;
|
||||
padding: 10px;
|
||||
border-radius: 20px;
|
||||
cursor: pointer;
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
}
|
||||
element normal.normal {
|
||||
background-color: transparent;
|
||||
text-color: @normal-foreground;
|
||||
}
|
||||
element normal.urgent {
|
||||
background-color: @urgent-background;
|
||||
text-color: @urgent-foreground;
|
||||
}
|
||||
element normal.active {
|
||||
background-color: @active-background;
|
||||
text-color: @active-foreground;
|
||||
}
|
||||
element selected.normal {
|
||||
background-color: @selected-normal-background;
|
||||
text-color: @selected-normal-foreground;
|
||||
}
|
||||
element selected.urgent {
|
||||
background-color: @selected-urgent-background;
|
||||
text-color: @selected-urgent-foreground;
|
||||
}
|
||||
element selected.active {
|
||||
background-color: @selected-active-background;
|
||||
text-color: @selected-active-foreground;
|
||||
}
|
||||
element-icon {
|
||||
size: 50px;
|
||||
cursor: inherit;
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
}
|
||||
element-text {
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.0;
|
||||
cursor: inherit;
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
}
|
||||
|
||||
BIN
modules/home/hyprland/conf/rofi/styles/style_4.png
Normal file
BIN
modules/home/hyprland/conf/rofi/styles/style_4.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 24 KiB |
149
modules/home/hyprland/conf/rofi/styles/style_4.rasi
Normal file
149
modules/home/hyprland/conf/rofi/styles/style_4.rasi
Normal file
@@ -0,0 +1,149 @@
|
||||
// Config //
|
||||
configuration {
|
||||
modi: "drun,filebrowser,window,run";
|
||||
show-icons: true;
|
||||
display-drun: "";
|
||||
display-run: "";
|
||||
display-filebrowser: "";
|
||||
display-window: "";
|
||||
drun-display-format: "{name}";
|
||||
window-format: "{w}{t}";
|
||||
font: "JetBrainsMono Nerd Font 10";
|
||||
icon-theme: "Tela-circle-dracula";
|
||||
}
|
||||
|
||||
@theme "~/.config/rofi/themes/theme.rasi"
|
||||
|
||||
|
||||
// Main //
|
||||
window {
|
||||
height: 500px;
|
||||
width: 750px;
|
||||
transparency: "real";
|
||||
fullscreen: false;
|
||||
enabled: true;
|
||||
cursor: "default";
|
||||
spacing: 0px;
|
||||
padding: 0px;
|
||||
border: 2px;
|
||||
border-radius: 40px;
|
||||
border-color: @alternate-normal-background;
|
||||
background-color: transparent;
|
||||
}
|
||||
mainbox {
|
||||
enabled: true;
|
||||
spacing: 0px;
|
||||
orientation: horizontal;
|
||||
children: [ "inputbar" , "mode-switcher" , "listbox" ];
|
||||
background-color: transparent;
|
||||
background-image: url("~/.config/swww/wall.blur", height);
|
||||
}
|
||||
|
||||
|
||||
// Inputs //
|
||||
inputbar {
|
||||
enabled: true;
|
||||
width: 180px;
|
||||
children: [ "entry" ];
|
||||
background-image: url("~/.config/swww/wall.set", height);
|
||||
}
|
||||
entry {
|
||||
enabled: false;
|
||||
}
|
||||
|
||||
|
||||
// Modes //
|
||||
mode-switcher{
|
||||
orientation: vertical;
|
||||
enabled: true;
|
||||
spacing: 0px;
|
||||
width: 100px;
|
||||
padding: 70px 10px 70px 20px;
|
||||
spacing: 25px;
|
||||
background-color: transparent;
|
||||
}
|
||||
button {
|
||||
cursor: pointer;
|
||||
border-radius: 50px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
button selected {
|
||||
background-color: @foreground;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
|
||||
// Lists //
|
||||
listbox {
|
||||
spacing: 5px;
|
||||
padding: 10px;
|
||||
children: [ "listview" ];
|
||||
background-color: transparent;
|
||||
}
|
||||
listview {
|
||||
padding: 20px;
|
||||
enabled: true;
|
||||
columns: 1;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
scrollbar: false;
|
||||
layout: vertical;
|
||||
reverse: false;
|
||||
fixed-height: true;
|
||||
fixed-columns: true;
|
||||
cursor: "default";
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
border-radius: 30px;
|
||||
}
|
||||
|
||||
|
||||
// Elements //
|
||||
element {
|
||||
enabled: true;
|
||||
spacing: 30px;
|
||||
padding: 6px;
|
||||
border-radius: 20px;
|
||||
cursor: pointer;
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
}
|
||||
element normal.normal {
|
||||
background-color: transparent;
|
||||
text-color: @normal-foreground;
|
||||
}
|
||||
element normal.urgent {
|
||||
background-color: @urgent-background;
|
||||
text-color: @urgent-foreground;
|
||||
}
|
||||
element normal.active {
|
||||
background-color: @active-background;
|
||||
text-color: @active-foreground;
|
||||
}
|
||||
element selected.normal {
|
||||
background-color: @selected-normal-background;
|
||||
text-color: @selected-normal-foreground;
|
||||
}
|
||||
element selected.urgent {
|
||||
background-color: @selected-urgent-background;
|
||||
text-color: @selected-urgent-foreground;
|
||||
}
|
||||
element selected.active {
|
||||
background-color: @selected-active-background;
|
||||
text-color: @selected-active-foreground;
|
||||
}
|
||||
element-icon {
|
||||
size: 48px;
|
||||
cursor: inherit;
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
}
|
||||
element-text {
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.0;
|
||||
cursor: inherit;
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
}
|
||||
|
||||
BIN
modules/home/hyprland/conf/rofi/styles/style_5.png
Normal file
BIN
modules/home/hyprland/conf/rofi/styles/style_5.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 30 KiB |
149
modules/home/hyprland/conf/rofi/styles/style_5.rasi
Normal file
149
modules/home/hyprland/conf/rofi/styles/style_5.rasi
Normal file
@@ -0,0 +1,149 @@
|
||||
// Config //
|
||||
configuration {
|
||||
modi: "drun,filebrowser,window,run";
|
||||
show-icons: true;
|
||||
display-drun: "";
|
||||
display-run: "";
|
||||
display-filebrowser: "";
|
||||
display-window: "";
|
||||
drun-display-format: "{name}";
|
||||
window-format: "{w}{t}";
|
||||
font: "JetBrainsMono Nerd Font 10";
|
||||
icon-theme: "Tela-circle-dracula";
|
||||
}
|
||||
|
||||
@theme "~/.config/rofi/themes/theme.rasi"
|
||||
|
||||
|
||||
// Main //
|
||||
window {
|
||||
height: 500px;
|
||||
width: 800px;
|
||||
transparency: "real";
|
||||
fullscreen: false;
|
||||
enabled: true;
|
||||
cursor: "default";
|
||||
spacing: 0px;
|
||||
padding: 0px;
|
||||
border: 2px;
|
||||
border-radius: 40px;
|
||||
border-color: @alternate-normal-background;
|
||||
background-color: transparent;
|
||||
}
|
||||
mainbox {
|
||||
enabled: true;
|
||||
spacing: 0px;
|
||||
padding: 0px;
|
||||
orientation: vertical;
|
||||
children: [ "inputbar" , "listbox" , "mode-switcher" ];
|
||||
background-color: transparent;
|
||||
background-image: url("~/.config/swww/wall.blur", height);
|
||||
}
|
||||
|
||||
|
||||
// Inputs //
|
||||
inputbar {
|
||||
enabled: true;
|
||||
children: [ "entry" ];
|
||||
}
|
||||
entry {
|
||||
enabled: false;
|
||||
}
|
||||
|
||||
|
||||
// Lists //
|
||||
listbox {
|
||||
padding: 0px;
|
||||
spacing: 0px;
|
||||
orientation: horizontal;
|
||||
children: [ "listview" ];
|
||||
background-color: transparent;
|
||||
}
|
||||
listview {
|
||||
padding: 30px;
|
||||
spacing: 10px;
|
||||
enabled: true;
|
||||
columns: 5;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
scrollbar: false;
|
||||
layout: vertical;
|
||||
reverse: false;
|
||||
fixed-height: true;
|
||||
fixed-columns: true;
|
||||
cursor: "default";
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
|
||||
// Modes //
|
||||
mode-switcher {
|
||||
orientation: horizontal;
|
||||
enabled: true;
|
||||
padding: 30px 160px 30px 160px;
|
||||
spacing: 50px;
|
||||
background-color: transparent;
|
||||
}
|
||||
button {
|
||||
cursor: pointer;
|
||||
padding: 30px;
|
||||
border-radius: 50px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
button selected {
|
||||
background-color: @foreground;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
|
||||
// Elements //
|
||||
element {
|
||||
orientation: vertical;
|
||||
enabled: true;
|
||||
spacing: 10px;
|
||||
padding: 10px;
|
||||
border-radius: 25px;
|
||||
cursor: pointer;
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
}
|
||||
element normal.normal {
|
||||
background-color: transparent;
|
||||
text-color: @normal-foreground;
|
||||
}
|
||||
element normal.urgent {
|
||||
background-color: @urgent-background;
|
||||
text-color: @urgent-foreground;
|
||||
}
|
||||
element normal.active {
|
||||
background-color: @active-background;
|
||||
text-color: @active-foreground;
|
||||
}
|
||||
element selected.normal {
|
||||
background-color: @selected-normal-background;
|
||||
text-color: @selected-normal-foreground;
|
||||
}
|
||||
element selected.urgent {
|
||||
background-color: @selected-urgent-background;
|
||||
text-color: @selected-urgent-foreground;
|
||||
}
|
||||
element selected.active {
|
||||
background-color: @selected-active-background;
|
||||
text-color: @selected-active-foreground;
|
||||
}
|
||||
element-icon {
|
||||
size: 90px;
|
||||
cursor: inherit;
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
}
|
||||
element-text {
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.5;
|
||||
cursor: inherit;
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
}
|
||||
|
||||
BIN
modules/home/hyprland/conf/rofi/styles/style_6.png
Normal file
BIN
modules/home/hyprland/conf/rofi/styles/style_6.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
150
modules/home/hyprland/conf/rofi/styles/style_6.rasi
Normal file
150
modules/home/hyprland/conf/rofi/styles/style_6.rasi
Normal file
@@ -0,0 +1,150 @@
|
||||
// Config //
|
||||
configuration {
|
||||
modi: "drun,filebrowser,window,run";
|
||||
show-icons: true;
|
||||
display-drun: "";
|
||||
display-run: "";
|
||||
display-filebrowser: "";
|
||||
display-window: "";
|
||||
drun-display-format: "{name}";
|
||||
window-format: "{w}{t}";
|
||||
font: "JetBrainsMono Nerd Font 10";
|
||||
icon-theme: "Tela-circle-dracula";
|
||||
}
|
||||
|
||||
@theme "~/.config/rofi/themes/theme.rasi"
|
||||
|
||||
|
||||
// Main //
|
||||
window {
|
||||
height: 500px;
|
||||
width: 600px;
|
||||
transparency: "real";
|
||||
fullscreen: false;
|
||||
enabled: true;
|
||||
cursor: "default";
|
||||
spacing: 0px;
|
||||
padding: 0px;
|
||||
border: 2px;
|
||||
border-radius: 40px;
|
||||
border-color: @alternate-normal-background;
|
||||
background-color: transparent;
|
||||
}
|
||||
mainbox {
|
||||
enabled: true;
|
||||
spacing: 0px;
|
||||
padding: 0px;
|
||||
orientation: horizontal;
|
||||
children: [ "inputbar" , "mode-switcher" , "listbox" ];
|
||||
background-color: @background;
|
||||
}
|
||||
|
||||
|
||||
// Inputs //
|
||||
inputbar {
|
||||
width: 0px;
|
||||
enabled: true;
|
||||
children: [ "entry" ];
|
||||
}
|
||||
entry {
|
||||
enabled: false;
|
||||
}
|
||||
|
||||
|
||||
// Modes //
|
||||
mode-switcher {
|
||||
width: 150px;
|
||||
orientation: vertical;
|
||||
enabled: true;
|
||||
padding: 80px 40px 80px 40px;
|
||||
spacing: 20px;
|
||||
background-color: @background;
|
||||
}
|
||||
button {
|
||||
cursor: pointer;
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
}
|
||||
button selected {
|
||||
padding: 5px;
|
||||
border-radius: 50px;
|
||||
background-color: @foreground;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
|
||||
// Lists //
|
||||
listbox {
|
||||
padding: 0px;
|
||||
spacing: 0px;
|
||||
orientation: horizontal;
|
||||
children: [ "listview" ];
|
||||
background-color: transparent;
|
||||
}
|
||||
listview {
|
||||
padding: 30px;
|
||||
spacing: 0px;
|
||||
enabled: true;
|
||||
columns: 1;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
scrollbar: false;
|
||||
layout: vertical;
|
||||
reverse: false;
|
||||
fixed-height: true;
|
||||
fixed-columns: true;
|
||||
cursor: "default";
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
|
||||
// Elements //
|
||||
element {
|
||||
orientation: horizontal;
|
||||
enabled: true;
|
||||
spacing: 20px;
|
||||
padding: 10px;
|
||||
border-radius: 20px;
|
||||
cursor: pointer;
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
}
|
||||
element normal.normal {
|
||||
background-color: transparent;
|
||||
text-color: @normal-foreground;
|
||||
}
|
||||
element normal.urgent {
|
||||
background-color: @urgent-background;
|
||||
text-color: @urgent-foreground;
|
||||
}
|
||||
element normal.active {
|
||||
background-color: @active-background;
|
||||
text-color: @active-foreground;
|
||||
}
|
||||
element selected.normal {
|
||||
background-color: @selected-normal-background;
|
||||
text-color: @selected-normal-foreground;
|
||||
}
|
||||
element selected.urgent {
|
||||
background-color: @selected-urgent-background;
|
||||
text-color: @selected-urgent-foreground;
|
||||
}
|
||||
element selected.active {
|
||||
background-color: @selected-active-background;
|
||||
text-color: @selected-active-foreground;
|
||||
}
|
||||
element-icon {
|
||||
size: 50px;
|
||||
cursor: inherit;
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
}
|
||||
element-text {
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0;
|
||||
cursor: inherit;
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
}
|
||||
|
||||
37
modules/home/hyprland/conf/rofi/themes/Catppuccin-Latte.rasi
Normal file
37
modules/home/hyprland/conf/rofi/themes/Catppuccin-Latte.rasi
Normal file
@@ -0,0 +1,37 @@
|
||||
// Global //
|
||||
* {
|
||||
foreground: #4c4f69ff; //Text
|
||||
normal-foreground: @foreground;
|
||||
urgent-foreground: #11111bff; //Crust
|
||||
active-foreground: #11111bff; //Crust
|
||||
|
||||
alternate-normal-foreground: @normal-foreground;
|
||||
alternate-urgent-foreground: @urgent-foreground;
|
||||
alternate-active-foreground: @active-foreground;
|
||||
|
||||
selected-normal-foreground: #11111bff; //Crust
|
||||
selected-urgent-foreground: #11111bff; //Crust
|
||||
selected-active-foreground: #11111bff; //Crust
|
||||
|
||||
background: #dce0e8e6;
|
||||
normal-background: @background;
|
||||
urgent-background: #eba0accc; //Maroon
|
||||
active-background: #94e2d5cc; //Teal
|
||||
|
||||
alternate-normal-background: #f5c2e7ff;
|
||||
alternate-urgent-background: @urgent-background;
|
||||
alternate-active-background: @active-background;
|
||||
|
||||
selected-normal-background: #b4befeff; //Lavender
|
||||
selected-urgent-background: #94e2d5cc; //Teal
|
||||
selected-active-background: #eba0accc; //Maroon
|
||||
|
||||
separatorcolor: transparent;
|
||||
border-color: transparent;
|
||||
border-radius: 0px;
|
||||
border: 0px;
|
||||
spacing: 0px;
|
||||
padding: 0px;
|
||||
height: 55%;
|
||||
width: 45%;
|
||||
}
|
||||
37
modules/home/hyprland/conf/rofi/themes/Catppuccin-Mocha.rasi
Normal file
37
modules/home/hyprland/conf/rofi/themes/Catppuccin-Mocha.rasi
Normal file
@@ -0,0 +1,37 @@
|
||||
// Global //
|
||||
* {
|
||||
foreground: #cdd6f4ff; //Text
|
||||
normal-foreground: @foreground;
|
||||
urgent-foreground: #11111bff; //Crust
|
||||
active-foreground: #11111bff; //Crust
|
||||
|
||||
alternate-normal-foreground: @normal-foreground;
|
||||
alternate-urgent-foreground: @urgent-foreground;
|
||||
alternate-active-foreground: @active-foreground;
|
||||
|
||||
selected-normal-foreground: #11111bff; //Crust
|
||||
selected-urgent-foreground: #11111bff; //Crust
|
||||
selected-active-foreground: #11111bff; //Crust
|
||||
|
||||
background: #11111be6;
|
||||
normal-background: @background;
|
||||
urgent-background: #eba0accc; //Maroon
|
||||
active-background: #94e2d5cc; //Teal
|
||||
|
||||
alternate-normal-background: #f5c2e7ff;
|
||||
alternate-urgent-background: @urgent-background;
|
||||
alternate-active-background: @active-background;
|
||||
|
||||
selected-normal-background: #b4befeff; //Lavender
|
||||
selected-urgent-background: #94e2d5cc; //Teal
|
||||
selected-active-background: #eba0accc; //Maroon
|
||||
|
||||
separatorcolor: transparent;
|
||||
border-color: transparent;
|
||||
border-radius: 0px;
|
||||
border: 0px;
|
||||
spacing: 0px;
|
||||
padding: 0px;
|
||||
height: 55%;
|
||||
width: 45%;
|
||||
}
|
||||
37
modules/home/hyprland/conf/rofi/themes/Cyberpunk-Edge.rasi
Normal file
37
modules/home/hyprland/conf/rofi/themes/Cyberpunk-Edge.rasi
Normal file
@@ -0,0 +1,37 @@
|
||||
// Global //
|
||||
* {
|
||||
foreground: #ffffffff; //Text
|
||||
normal-foreground: @foreground;
|
||||
urgent-foreground: #000000ff; //Crust
|
||||
active-foreground: #000000ff; //Crust
|
||||
|
||||
alternate-normal-foreground: @normal-foreground;
|
||||
alternate-urgent-foreground: @urgent-foreground;
|
||||
alternate-active-foreground: @active-foreground;
|
||||
|
||||
selected-normal-foreground: #000000ff; //Crust
|
||||
selected-urgent-foreground: #000000ff; //Crust
|
||||
selected-active-foreground: #000000ff; //Crust
|
||||
|
||||
background: #000000e6;
|
||||
normal-background: @background;
|
||||
urgent-background: #5032ACcc; //Maroon
|
||||
active-background: #1F5322cc; //Teal
|
||||
|
||||
alternate-normal-background: #FFA6C2ff;
|
||||
alternate-urgent-background: @urgent-background;
|
||||
alternate-active-background: @active-background;
|
||||
|
||||
selected-normal-background: #FADA16ff; //Lavender
|
||||
selected-urgent-background: #1F5322cc; //Teal
|
||||
selected-active-background: #5032ACcc; //Maroon
|
||||
|
||||
separatorcolor: transparent;
|
||||
border-color: transparent;
|
||||
border-radius: 0px;
|
||||
border: 0px;
|
||||
spacing: 0px;
|
||||
padding: 0px;
|
||||
height: 55%;
|
||||
width: 45%;
|
||||
}
|
||||
37
modules/home/hyprland/conf/rofi/themes/Decay-Green.rasi
Normal file
37
modules/home/hyprland/conf/rofi/themes/Decay-Green.rasi
Normal file
@@ -0,0 +1,37 @@
|
||||
// Global //
|
||||
* {
|
||||
foreground: #cbced3ff; //White
|
||||
normal-foreground: @foreground;
|
||||
urgent-foreground: #151720ff; //Black
|
||||
active-foreground: #151720ff; //Black
|
||||
|
||||
alternate-normal-foreground: @normal-foreground;
|
||||
alternate-urgent-foreground: @urgent-foreground;
|
||||
alternate-active-foreground: @active-foreground;
|
||||
|
||||
selected-normal-foreground: #151720ff; //Black
|
||||
selected-urgent-foreground: #151720ff; //Black
|
||||
selected-active-foreground: #151720ff; //Black
|
||||
|
||||
background: #151720e6; //Black
|
||||
normal-background: @background;
|
||||
urgent-background: #95d3afcc; //BrightGreen
|
||||
active-background: #c79bf0cc; //BrightMagenta
|
||||
|
||||
alternate-normal-background: #90ceaaff; //Green
|
||||
alternate-urgent-background: @urgent-background;
|
||||
alternate-active-background: @active-background;
|
||||
|
||||
selected-normal-background: #95d3afff; //BrightGreen
|
||||
selected-urgent-background: #c79bf0cc; //BrightMagenta
|
||||
selected-active-background: #98d3eecc; //BrightCyan
|
||||
|
||||
separatorcolor: transparent;
|
||||
border-color: transparent;
|
||||
border-radius: 0px;
|
||||
border: 0px;
|
||||
spacing: 0px;
|
||||
padding: 0px;
|
||||
height: 55%;
|
||||
width: 45%;
|
||||
}
|
||||
37
modules/home/hyprland/conf/rofi/themes/Graphite-Mono.rasi
Normal file
37
modules/home/hyprland/conf/rofi/themes/Graphite-Mono.rasi
Normal file
@@ -0,0 +1,37 @@
|
||||
// Global //
|
||||
* {
|
||||
foreground: #d9d9d9ff; //Text
|
||||
normal-foreground: @foreground;
|
||||
urgent-foreground: #262626ff; //Crust
|
||||
active-foreground: #262626ff; //Crust
|
||||
|
||||
alternate-normal-foreground: @normal-foreground;
|
||||
alternate-urgent-foreground: @urgent-foreground;
|
||||
alternate-active-foreground: @active-foreground;
|
||||
|
||||
selected-normal-foreground: #262626ff; //Crust
|
||||
selected-urgent-foreground: #262626ff; //Crust
|
||||
selected-active-foreground: #262626ff; //Crust
|
||||
|
||||
background: #262626e6;
|
||||
normal-background: @background;
|
||||
urgent-background: #a6a6a6cc; //Maroon
|
||||
active-background: #595959cc; //Teal
|
||||
|
||||
alternate-normal-background: #d9d9d9ff;
|
||||
alternate-urgent-background: @urgent-background;
|
||||
alternate-active-background: @active-background;
|
||||
|
||||
selected-normal-background: #d9d9d9ff; //Lavender
|
||||
selected-urgent-background: #595959cc; //Teal
|
||||
selected-active-background: #a6a6a6cc; //Maroon
|
||||
|
||||
separatorcolor: transparent;
|
||||
border-color: transparent;
|
||||
border-radius: 0px;
|
||||
border: 0px;
|
||||
spacing: 0px;
|
||||
padding: 0px;
|
||||
height: 55%;
|
||||
width: 45%;
|
||||
}
|
||||
29
modules/home/hyprland/conf/rofi/themes/Material-Sakura.rasi
Normal file
29
modules/home/hyprland/conf/rofi/themes/Material-Sakura.rasi
Normal file
@@ -0,0 +1,29 @@
|
||||
// Global //
|
||||
* {
|
||||
foreground: #b4637aff; // main text
|
||||
normal-foreground: @foreground;
|
||||
|
||||
selected-normal-foreground: #fffaf3ff; // selected text
|
||||
selected-normal-background: #d7827eff; // selected bg
|
||||
|
||||
selected-active-foreground: #f4ede8ff; // selected text overlap
|
||||
selected-active-background: #907aa9cc; // selected overlap bg
|
||||
|
||||
active-foreground: #f4ede8cc; // aselected text alt
|
||||
active-background: #56949fcc; // selected alt bg
|
||||
|
||||
background: #faf4ede6; // main background tint
|
||||
normal-background: @background;
|
||||
urgent-background: #ea9d34cc; // button text
|
||||
|
||||
alternate-normal-background: #9893a5ff; // border color
|
||||
|
||||
separatorcolor: transparent;
|
||||
border-color: transparent;
|
||||
border-radius: 0px;
|
||||
border: 0px;
|
||||
spacing: 0px;
|
||||
padding: 0px;
|
||||
height: 55%;
|
||||
width: 45%;
|
||||
}
|
||||
29
modules/home/hyprland/conf/rofi/themes/Rose-Pine.rasi
Normal file
29
modules/home/hyprland/conf/rofi/themes/Rose-Pine.rasi
Normal file
@@ -0,0 +1,29 @@
|
||||
// Global //
|
||||
* {
|
||||
foreground: #e0def4ff; // main text
|
||||
normal-foreground: @foreground;
|
||||
|
||||
selected-normal-foreground: #191724ff; // selected text
|
||||
selected-normal-background: #c4a7e7ff; // selected bg
|
||||
|
||||
selected-active-foreground: #f6c177ff; // selected text overlap
|
||||
selected-active-background: #eb6f92cc; // selected overlap bg
|
||||
|
||||
active-foreground: #9ccfd8cc; // aselected text alt
|
||||
active-background: #31748fcc; // selected alt bg
|
||||
|
||||
background: #26233ae6; // main background tint
|
||||
normal-background: @background;
|
||||
urgent-background: #c4a7e7cc; // button text
|
||||
|
||||
alternate-normal-background: #31748fff; // border color
|
||||
|
||||
separatorcolor: transparent;
|
||||
border-color: transparent;
|
||||
border-radius: 0px;
|
||||
border: 0px;
|
||||
spacing: 0px;
|
||||
padding: 0px;
|
||||
height: 55%;
|
||||
width: 45%;
|
||||
}
|
||||
29
modules/home/hyprland/conf/rofi/themes/Tokyo-Night.rasi
Normal file
29
modules/home/hyprland/conf/rofi/themes/Tokyo-Night.rasi
Normal file
@@ -0,0 +1,29 @@
|
||||
// Global //
|
||||
* {
|
||||
foreground: #c0caf5ff; // main text
|
||||
normal-foreground: @foreground;
|
||||
|
||||
selected-normal-foreground: #414868ff; // selected text
|
||||
selected-normal-background: #7aa2f7ff; // selected bg
|
||||
|
||||
selected-active-foreground: #565f89ff; // selected text overlap
|
||||
selected-active-background: #bb9af7cc; // selected overlap bg
|
||||
|
||||
active-foreground: #b4f9f8cc; // aselected text alt
|
||||
active-background: #73dacacc; // selected alt bg
|
||||
|
||||
background: #24283be6; // main background tint
|
||||
normal-background: @background;
|
||||
urgent-background: #7dcfffcc; // button text
|
||||
|
||||
alternate-normal-background: #bb9af7ff; // border color
|
||||
|
||||
separatorcolor: transparent;
|
||||
border-color: transparent;
|
||||
border-radius: 0px;
|
||||
border: 0px;
|
||||
spacing: 0px;
|
||||
padding: 0px;
|
||||
height: 55%;
|
||||
width: 45%;
|
||||
}
|
||||
101
modules/home/hyprland/conf/rofi/themeselect.rasi
Normal file
101
modules/home/hyprland/conf/rofi/themeselect.rasi
Normal file
@@ -0,0 +1,101 @@
|
||||
// Config //
|
||||
configuration {
|
||||
modi: "drun";
|
||||
show-icons: true;
|
||||
drun-display-format: "{name}";
|
||||
font: "JetBrainsMono Nerd Font 10";
|
||||
}
|
||||
|
||||
@theme "~/.config/rofi/themes/theme.rasi"
|
||||
|
||||
|
||||
// Main //
|
||||
window {
|
||||
enabled: true;
|
||||
fullscreen: false;
|
||||
width: 100%;
|
||||
transparency: "real";
|
||||
cursor: "default";
|
||||
spacing: 0px;
|
||||
padding: 0px;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: transparent;
|
||||
background-color: transparent;
|
||||
}
|
||||
mainbox {
|
||||
enabled: true;
|
||||
children: [ "listview" ];
|
||||
background-color: @background;
|
||||
}
|
||||
|
||||
|
||||
// Lists //
|
||||
listview {
|
||||
enabled: true;
|
||||
columns: 3;
|
||||
lines: 1;
|
||||
spacing: 50px;
|
||||
padding: 50px;
|
||||
cycle: true;
|
||||
dynamic: false;
|
||||
scrollbar: false;
|
||||
layout: vertical;
|
||||
reverse: true;
|
||||
fixed-height: true;
|
||||
fixed-columns: true;
|
||||
cursor: "default";
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
|
||||
// Elements //
|
||||
element {
|
||||
enabled: true;
|
||||
orientation: horizontal;
|
||||
spacing: 0px;
|
||||
padding: 10px;
|
||||
border-radius: 40px;
|
||||
cursor: pointer;
|
||||
background-color: transparent;
|
||||
text-color: @foreground;
|
||||
}
|
||||
element normal.normal {
|
||||
background-color: transparent;
|
||||
text-color: @normal-foreground;
|
||||
}
|
||||
element normal.urgent {
|
||||
background-color: @urgent-background;
|
||||
text-color: @urgent-foreground;
|
||||
}
|
||||
element normal.active {
|
||||
background-color: @active-background;
|
||||
text-color: @active-foreground;
|
||||
}
|
||||
element selected.normal {
|
||||
background-color: @selected-normal-background;
|
||||
text-color: @selected-normal-foreground;
|
||||
}
|
||||
element selected.urgent {
|
||||
background-color: @selected-urgent-background;
|
||||
text-color: @selected-urgent-foreground;
|
||||
}
|
||||
element selected.active {
|
||||
background-color: @selected-active-background;
|
||||
text-color: @selected-active-foreground;
|
||||
}
|
||||
element-icon {
|
||||
size: 450px;
|
||||
cursor: inherit;
|
||||
border-radius: 35px;
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
}
|
||||
element-text {
|
||||
vertical-align: 0.5;
|
||||
horizontal-align: 0.5;
|
||||
cursor: inherit;
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
}
|
||||
6
modules/home/hyprland/conf/waybar/config.ctl
Normal file
6
modules/home/hyprland/conf/waybar/config.ctl
Normal file
@@ -0,0 +1,6 @@
|
||||
0|28|bottom|( cpu memory ) ( clock )|( wlr/workspaces hyprland/window )|( network bluetooth pulseaudio pulseaudio#microphone custom/updates ) ( tray ) ( custom/wallchange custom/mode custom/wbar custom/cliphist custom/power )
|
||||
0||top|( wlr/workspaces hyprland/window )|( clock )|( cpu memory ) ( network bluetooth pulseaudio pulseaudio#microphone custom/updates ) ( tray ) ( custom/wallchange custom/mode custom/wbar custom/cliphist custom/power )
|
||||
1|31|top|( custom/power custom/cliphist custom/wbar custom/mode custom/wallchange ) ( wlr/taskbar ) ( wlr/workspaces hyprland/window )|( clock )|( tray ) ( cpu memory ) ( network bluetooth pulseaudio pulseaudio#microphone )
|
||||
0|32|top||( custom/power ) ( tray ) ( wlr/taskbar clock ) ( custom/wbar ) ( custom/wallchange ) ( custom/mode )|
|
||||
0|31|bottom|( cpu memory ) ( clock ) ( wlr/workspaces )|( wlr/taskbar )|( network bluetooth pulseaudio pulseaudio#microphone custom/updates ) ( tray ) ( custom/wallchange custom/mode custom/wbar custom/cliphist custom/power )
|
||||
0|29|top|( wlr/taskbar mpris )|( clock )|( network bluetooth pulseaudio pulseaudio#microphone custom/updates ) ( tray ) ( custom/wallchange custom/mode custom/wbar custom/cliphist custom/power )
|
||||
245
modules/home/hyprland/conf/waybar/config.jsonc
Normal file
245
modules/home/hyprland/conf/waybar/config.jsonc
Normal file
@@ -0,0 +1,245 @@
|
||||
// --// waybar config generated by wbarconfgen.sh //-- //
|
||||
|
||||
{
|
||||
// sourced from header module //
|
||||
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"mod": "dock",
|
||||
"height": 31,
|
||||
"exclusive": true,
|
||||
"passthrough": false,
|
||||
"gtk-layer-shell": true,
|
||||
|
||||
|
||||
// positions generated based on config.ctl //
|
||||
|
||||
"modules-left": ["custom/padd","custom/l_end","custom/power","custom/cliphist","custom/wbar","custom/mode","custom/wallchange","custom/r_end","custom/l_end","wlr/taskbar","custom/r_end","custom/l_end","wlr/workspaces","hyprland/window","custom/r_end","custom/padd"],
|
||||
"modules-center": ["custom/padd","custom/l_end","clock","custom/r_end","custom/padd"],
|
||||
"modules-right": ["custom/padd","custom/l_end","tray","custom/r_end","custom/l_end","cpu","memory","custom/r_end","custom/l_end","network","bluetooth","pulseaudio","pulseaudio#microphone","custom/r_end","custom/padd"],
|
||||
|
||||
|
||||
// sourced from modules based on config.ctl //
|
||||
|
||||
"custom/power": {
|
||||
"format": "{}",
|
||||
"exec": "echo ; echo logout",
|
||||
"on-click": "~/.config/hypr/scripts/logoutlaunch.sh 2",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"custom/cliphist": {
|
||||
"format": "{}",
|
||||
"exec": "echo ; echo clipboard history",
|
||||
"on-click": "sleep 0.1 && ~/.config/hypr/scripts/cliphist.sh c 1",
|
||||
//"on-click-right": "sleep 0.1 && ~/.config/hypr/scripts/cliphist.sh d",
|
||||
"on-click-middle": "sleep 0.1 && ~/.config/hypr/scripts/cliphist.sh w 1",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"custom/wbar": {
|
||||
"format": "{}", // //
|
||||
"exec": "echo ; echo switch menubar",
|
||||
"on-click": "~/.config/waybar/wbarconfgen.sh n",
|
||||
"on-click-right": "~/.config/waybar/wbarconfgen.sh p",
|
||||
"on-click-middle": "~/.config/waybar/wbarconfgen.sh",
|
||||
"interval" : 86400,
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"custom/mode": {
|
||||
"format": "{}",
|
||||
"exec": "echo ; echo switch mode",
|
||||
"on-click": "~/.config/hypr/scripts/themeswitch.sh -n",
|
||||
"on-click-right": "~/.config/hypr/scripts/themeswitch.sh -p",
|
||||
"on-click-middle": "sleep 0.1 && ~/.config/hypr/scripts/themeselect.sh",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"custom/wallchange": {
|
||||
"format": "{}",
|
||||
"exec": "echo ; echo switch wallpaper",
|
||||
"on-click": "~/.config/swww/swwwallpaper.sh -n 1",
|
||||
"on-click-right": "~/.config/swww/swwwallpaper.sh -p 1",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"wlr/taskbar": {
|
||||
"format": "{icon}",
|
||||
"icon-size": 18,
|
||||
"icon-theme": "papirus-icon-theme",
|
||||
"spacing": 0,
|
||||
"tooltip-format": "{title}",
|
||||
"on-click": "activate",
|
||||
"on-click-middle": "close",
|
||||
"ignore-list": [
|
||||
"Alacritty"
|
||||
],
|
||||
"app_ids-mapping": {
|
||||
"firefoxdeveloperedition": "firefox-developer-edition"
|
||||
}
|
||||
},
|
||||
|
||||
"wlr/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"all-outputs": true,
|
||||
"on-click": "activate",
|
||||
"persistent_workspaces": {
|
||||
"1": [],
|
||||
"2": [],
|
||||
"3": [],
|
||||
"4": [],
|
||||
"5": [],
|
||||
"6": [],
|
||||
"7": [],
|
||||
"8": [],
|
||||
"9": [],
|
||||
"10": []
|
||||
}
|
||||
},
|
||||
|
||||
"hyprland/window": {
|
||||
"format": " {}",
|
||||
"separate-outputs": true,
|
||||
"rewrite": {
|
||||
"alex@gaea:(.*)": " ",
|
||||
"(.*) — Mozilla Firefox": " ",
|
||||
"(.*)Mozilla Firefox": "Firefox ",
|
||||
"(.*) - Visual Studio Code": " ",
|
||||
"(.*)Visual Studio Code": "Code ",
|
||||
"(.*) — Dolphin": " ",
|
||||
"(.*)Spotify": "Spotify ",
|
||||
"(.*)Steam": "Steam "
|
||||
}
|
||||
},
|
||||
|
||||
"clock": {
|
||||
"format": "{: %I:%M %p %a %d}",
|
||||
"format-alt": "{: %H:%M %b %Y}",
|
||||
"tooltip-format": "<tt><big>{calendar}</big></tt>"
|
||||
},
|
||||
|
||||
"tray": {
|
||||
"icon-size": 18,
|
||||
"spacing": 5
|
||||
},
|
||||
|
||||
"cpu": {
|
||||
"interval": 10,
|
||||
"format": " {usage}%",
|
||||
"format-alt": "{icon0}{icon1}{icon2}{icon3}",
|
||||
"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"]
|
||||
},
|
||||
|
||||
"memory": {
|
||||
"interval": 30,
|
||||
"format": " {percentage}%",
|
||||
"format-alt": " {used}GB",
|
||||
"max-length": 10,
|
||||
"tooltip": true,
|
||||
"tooltip-format": " {used:0.1f}GB/{total:0.1f}GB"
|
||||
},
|
||||
|
||||
"network": {
|
||||
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
||||
"format-wifi": " {essid}",
|
||||
"format-ethernet": " Wired",
|
||||
"tooltip-format": " {ipaddr} {bandwidthUpBytes} {bandwidthDownBytes}",
|
||||
"format-linked": " {ifname} (No IP)",
|
||||
"format-disconnected": " Disconnected",
|
||||
"format-alt": " {signalStrength}%",
|
||||
"interval": 5
|
||||
},
|
||||
|
||||
"bluetooth": {
|
||||
"format": "",
|
||||
"format-disabled": "", // an empty format will hide the module
|
||||
"format-connected": " {num_connections}",
|
||||
"tooltip-format": " {device_alias}",
|
||||
"tooltip-format-connected": "{device_enumerate}",
|
||||
"tooltip-format-enumerate-connected": " {device_alias}"
|
||||
},
|
||||
|
||||
"pulseaudio": {
|
||||
"format": "{icon} {volume}",
|
||||
"format-muted": "婢",
|
||||
"on-click": "pavucontrol -t 3",
|
||||
"on-click-middle": "~/.config/hypr/scripts/volumecontrol.sh -o m",
|
||||
"on-scroll-up": "~/.config/hypr/scripts/volumecontrol.sh -o i",
|
||||
"on-scroll-down": "~/.config/hypr/scripts/volumecontrol.sh -o d",
|
||||
"tooltip-format": "{icon} {desc} // {volume}%",
|
||||
"scroll-step": 5,
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": ["", "", ""]
|
||||
}
|
||||
},
|
||||
|
||||
"pulseaudio#microphone": {
|
||||
"format": "{format_source}",
|
||||
"format-source": "",
|
||||
"format-source-muted": "",
|
||||
"on-click": "pavucontrol -t 4",
|
||||
"on-click-middle": "~/.config/hypr/scripts/volumecontrol.sh -i m",
|
||||
"on-scroll-up": "~/.config/hypr/scripts/volumecontrol.sh -i i",
|
||||
"on-scroll-down": "~/.config/hypr/scripts/volumecontrol.sh -i d",
|
||||
"tooltip-format": "{format_source} {source_desc} // {source_volume}%",
|
||||
"scroll-step": 5
|
||||
},
|
||||
|
||||
|
||||
// modules for padding //
|
||||
|
||||
"custom/l_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/r_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/sl_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/sr_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/rl_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/rr_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/padd": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
201
modules/home/hyprland/conf/waybar/modes/wb_bottom_01.jsonc
Normal file
201
modules/home/hyprland/conf/waybar/modes/wb_bottom_01.jsonc
Normal file
@@ -0,0 +1,201 @@
|
||||
{
|
||||
"layer": "top",
|
||||
"position": "bottom",
|
||||
"mod": "dock",
|
||||
// "height": 28,
|
||||
"exclusive": true,
|
||||
"passthrough": false,
|
||||
"gtk-layer-shell": true,
|
||||
"modules-left": ["custom/l_end","cpu","memory","battery","custom/r_end","custom/l_end","clock","custom/r_end"],
|
||||
"modules-center": ["custom/l_end","wlr/workspaces","hyprland/window","custom/r_end"],
|
||||
"modules-right": ["custom/l_end","network","bluetooth","pulseaudio","pulseaudio#microphone","custom/updates","custom/r_end",
|
||||
"custom/l_end","tray","custom/r_end",
|
||||
"custom/l_end","custom/wallchange","custom/mode","custom/wbar", "custom/cliphist","custom/power","custom/r_end"],
|
||||
|
||||
|
||||
// center modules //
|
||||
|
||||
"wlr/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"all-outputs": true,
|
||||
"on-click": "activate",
|
||||
"persistent_workspaces": {
|
||||
"1": [],
|
||||
"2": [],
|
||||
"3": [],
|
||||
"4": [],
|
||||
"5": [],
|
||||
"6": [],
|
||||
"7": [],
|
||||
"8": [],
|
||||
"9": [],
|
||||
"10": []
|
||||
}
|
||||
},
|
||||
|
||||
"hyprland/window": {
|
||||
"format": " {}",
|
||||
"separate-outputs": true,
|
||||
"rewrite": {
|
||||
"tittu@kryptonite:(.*)": "$1 ",
|
||||
"(.*) — Mozilla Firefox": "$1 ",
|
||||
"(.*)Mozilla Firefox": "Firefox ",
|
||||
"(.*) - Visual Studio Code": "$1 ",
|
||||
"(.*)Visual Studio Code": "Code ",
|
||||
"(.*) — Dolphin": "$1 ",
|
||||
"(.*)Spotify": "Spotify ",
|
||||
"(.*)Steam": "Steam "
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
// left modules //
|
||||
|
||||
"cpu": {
|
||||
"interval": 10,
|
||||
"format": " {usage}%",
|
||||
"format-alt": "{icon0}{icon1}{icon2}{icon3}",
|
||||
"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"]
|
||||
},
|
||||
|
||||
"memory": {
|
||||
"interval": 30,
|
||||
"format": " {percentage}%",
|
||||
"format-alt": " {used}GB",
|
||||
"max-length": 10,
|
||||
"tooltip": true,
|
||||
"tooltip-format": " {used:0.1f}GB/{total:0.1f}GB"
|
||||
},
|
||||
|
||||
"clock": {
|
||||
"format": "{: %I:%M %p %a %d}",
|
||||
"format-alt": "{: %H:%M %b %Y}",
|
||||
"tooltip-format": "<tt><big>{calendar}</big></tt>"
|
||||
},
|
||||
|
||||
|
||||
// right modules //
|
||||
|
||||
"network": {
|
||||
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
||||
"format-wifi": " {essid}",
|
||||
"format-ethernet": " Wired",
|
||||
"tooltip-format": " {ipaddr} {bandwidthUpBytes} {bandwidthDownBytes}",
|
||||
"format-linked": " {ifname} (No IP)",
|
||||
"format-disconnected": " Disconnected",
|
||||
"format-alt": " {signalStrength}%",
|
||||
"interval": 5
|
||||
},
|
||||
|
||||
"bluetooth": {
|
||||
"format": "",
|
||||
"format-disabled": "", // an empty format will hide the module
|
||||
"format-connected": " {num_connections}",
|
||||
"tooltip-format": " {device_alias}",
|
||||
"tooltip-format-connected": "{device_enumerate}",
|
||||
"tooltip-format-enumerate-connected": " {device_alias}"
|
||||
},
|
||||
|
||||
"pulseaudio": {
|
||||
"format": "{icon}",
|
||||
"format-muted": "婢",
|
||||
"on-click": "pavucontrol -t 3",
|
||||
"on-click-middle": "~/.config/hypr/scripts/volumecontrol.sh m",
|
||||
"on-scroll-up": "~/.config/hypr/scripts/volumecontrol.sh i",
|
||||
"on-scroll-down": "~/.config/hypr/scripts/volumecontrol.sh d",
|
||||
"tooltip-format": "{icon} {desc} // {volume}%",
|
||||
"scroll-step": 5,
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": ["", "", ""]
|
||||
}
|
||||
},
|
||||
|
||||
"pulseaudio#microphone": {
|
||||
"format": "{format_source}",
|
||||
"format-source": "",
|
||||
"format-source-muted": "",
|
||||
"on-click": "pavucontrol -t 4",
|
||||
"on-click-middle": "pamixer --default-source -t",
|
||||
"on-scroll-up": "pamixer --default-source -i 5",
|
||||
"on-scroll-down": "pamixer --default-source -d 5",
|
||||
"tooltip-format": "{format_source} {source_desc} // {source_volume}%",
|
||||
"scroll-step": 5
|
||||
},
|
||||
|
||||
"custom/updates": {
|
||||
"format": " {}",
|
||||
"exec": "~/.config/hypr/scripts/systemupdate.sh",
|
||||
"on-click": "~/.config/hypr/scripts/systemupdate.sh up",
|
||||
"interval": 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"tray": {
|
||||
"icon-size": 15,
|
||||
"spacing": 5
|
||||
},
|
||||
|
||||
"custom/wallchange": {
|
||||
"format": "{}",
|
||||
"exec": "~/.config/swww/swwwallpaper.sh -t",
|
||||
"on-click": "~/.config/swww/swwwallpaper.sh -n",
|
||||
"on-click-right": "~/.config/swww/swwwallpaper.sh -p",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"custom/mode": {
|
||||
"format": "{}",
|
||||
"exec": "echo ; echo switch mode",
|
||||
"on-click": "~/.config/hypr/scripts/themeswitch.sh -n",
|
||||
"on-click-right": "~/.config/hypr/scripts/themeswitch.sh -p",
|
||||
"on-click-middle": "sleep 0.1 && ~/.config/hypr/scripts/themeselect.sh",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"custom/cliphist": {
|
||||
"format": "{}",
|
||||
"exec": "~/.config/hypr/scripts/cliphist.sh t",
|
||||
"on-click": "sleep 0.1 && ~/.config/hypr/scripts/cliphist.sh c",
|
||||
//"on-click-right": "sleep 0.1 && ~/.config/hypr/scripts/cliphist.sh d",
|
||||
"on-click-middle": "sleep 0.1 && ~/.config/hypr/scripts/cliphist.sh w",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"custom/power": {
|
||||
"format": "{}",
|
||||
"exec": "echo ; echo logout",
|
||||
"on-click": "wlogout -b 2 -c 0 -r 0 -L 930 -R 930 -T 300 -B 300 --protocol layer-shell",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"custom/wbar": {
|
||||
"format": "{}",
|
||||
"exec": "echo ; echo switch menubar",
|
||||
"on-click": "~/.config/waybar/wbarswitch.sh -n",
|
||||
"on-click-right": "~/.config/waybar/wbarswitch.sh -p",
|
||||
"interval" : 86400,
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"custom/l_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/r_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
}
|
||||
}
|
||||
202
modules/home/hyprland/conf/waybar/modes/wb_top_01.jsonc
Normal file
202
modules/home/hyprland/conf/waybar/modes/wb_top_01.jsonc
Normal file
@@ -0,0 +1,202 @@
|
||||
{
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"mod": "dock",
|
||||
// "height": 28,
|
||||
"exclusive": true,
|
||||
"passthrough": false,
|
||||
"gtk-layer-shell": true,
|
||||
"modules-left": ["custom/l_end","wlr/workspaces","hyprland/window","custom/r_end"],
|
||||
"modules-center": ["custom/l_end","clock","custom/r_end"],
|
||||
"modules-right": ["custom/l_end","cpu","memory","battery","custom/r_end",
|
||||
"custom/l_end","network","bluetooth","pulseaudio","pulseaudio#microphone","custom/updates","custom/r_end",
|
||||
"custom/l_end","tray","custom/r_end",
|
||||
"custom/l_end","custom/wallchange","custom/mode","custom/wbar", "custom/cliphist","custom/power","custom/r_end"],
|
||||
|
||||
|
||||
// center modules //
|
||||
|
||||
"wlr/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"all-outputs": true,
|
||||
"on-click": "activate",
|
||||
"persistent_workspaces": {
|
||||
"1": [],
|
||||
"2": [],
|
||||
"3": [],
|
||||
"4": [],
|
||||
"5": [],
|
||||
"6": [],
|
||||
"7": [],
|
||||
"8": [],
|
||||
"9": [],
|
||||
"10": []
|
||||
}
|
||||
},
|
||||
|
||||
"hyprland/window": {
|
||||
"format": " {}",
|
||||
"separate-outputs": true,
|
||||
"rewrite": {
|
||||
"tittu@kryptonite:(.*)": "$1 ",
|
||||
"(.*) — Mozilla Firefox": "$1 ",
|
||||
"(.*)Mozilla Firefox": "Firefox ",
|
||||
"(.*) - Visual Studio Code": "$1 ",
|
||||
"(.*)Visual Studio Code": "Code ",
|
||||
"(.*) — Dolphin": "$1 ",
|
||||
"(.*)Spotify": "Spotify ",
|
||||
"(.*)Steam": "Steam "
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
// left modules //
|
||||
|
||||
"cpu": {
|
||||
"interval": 10,
|
||||
"format": " {usage}%",
|
||||
"format-alt": "{icon0}{icon1}{icon2}{icon3}",
|
||||
"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"]
|
||||
},
|
||||
|
||||
"memory": {
|
||||
"interval": 30,
|
||||
"format": " {percentage}%",
|
||||
"format-alt": " {used}GB",
|
||||
"max-length": 10,
|
||||
"tooltip": true,
|
||||
"tooltip-format": " {used:0.1f}GB/{total:0.1f}GB"
|
||||
},
|
||||
|
||||
"clock": {
|
||||
"format": "{: %I:%M %p %a %d}",
|
||||
"format-alt": "{: %H:%M %b %Y}",
|
||||
"tooltip-format": "<tt><big>{calendar}</big></tt>"
|
||||
},
|
||||
|
||||
|
||||
// right modules //
|
||||
|
||||
"network": {
|
||||
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
||||
"format-wifi": " {essid}",
|
||||
"format-ethernet": " Wired",
|
||||
"tooltip-format": " {ipaddr} {bandwidthUpBytes} {bandwidthDownBytes}",
|
||||
"format-linked": " {ifname} (No IP)",
|
||||
"format-disconnected": " Disconnected",
|
||||
"format-alt": " {signalStrength}%",
|
||||
"interval": 5
|
||||
},
|
||||
|
||||
"bluetooth": {
|
||||
"format": "",
|
||||
"format-disabled": "", // an empty format will hide the module
|
||||
"format-connected": " {num_connections}",
|
||||
"tooltip-format": " {device_alias}",
|
||||
"tooltip-format-connected": "{device_enumerate}",
|
||||
"tooltip-format-enumerate-connected": " {device_alias}"
|
||||
},
|
||||
|
||||
"pulseaudio": {
|
||||
"format": "{icon}",
|
||||
"format-muted": "婢",
|
||||
"on-click": "pavucontrol -t 3",
|
||||
"on-click-middle": "~/.config/hypr/scripts/volumecontrol.sh m",
|
||||
"on-scroll-up": "~/.config/hypr/scripts/volumecontrol.sh i",
|
||||
"on-scroll-down": "~/.config/hypr/scripts/volumecontrol.sh d",
|
||||
"tooltip-format": "{icon} {desc} // {volume}%",
|
||||
"scroll-step": 5,
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": ["", "", ""]
|
||||
}
|
||||
},
|
||||
|
||||
"pulseaudio#microphone": {
|
||||
"format": "{format_source}",
|
||||
"format-source": "",
|
||||
"format-source-muted": "",
|
||||
"on-click": "pavucontrol -t 4",
|
||||
"on-click-middle": "pamixer --default-source -t",
|
||||
"on-scroll-up": "pamixer --default-source -i 5",
|
||||
"on-scroll-down": "pamixer --default-source -d 5",
|
||||
"tooltip-format": "{format_source} {source_desc} // {source_volume}%",
|
||||
"scroll-step": 5
|
||||
},
|
||||
|
||||
"custom/updates": {
|
||||
"format": " {}",
|
||||
"exec": "~/.config/hypr/scripts/systemupdate.sh",
|
||||
"on-click": "~/.config/hypr/scripts/systemupdate.sh up",
|
||||
"interval": 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"tray": {
|
||||
"icon-size": 15,
|
||||
"spacing": 5
|
||||
},
|
||||
|
||||
"custom/wallchange": {
|
||||
"format": "{}",
|
||||
"exec": "~/.config/swww/swwwallpaper.sh -t",
|
||||
"on-click": "~/.config/swww/swwwallpaper.sh -n",
|
||||
"on-click-right": "~/.config/swww/swwwallpaper.sh -p",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"custom/mode": {
|
||||
"format": "{}",
|
||||
"exec": "echo ; echo switch mode",
|
||||
"on-click": "~/.config/hypr/scripts/themeswitch.sh -n",
|
||||
"on-click-right": "~/.config/hypr/scripts/themeswitch.sh -p",
|
||||
"on-click-middle": "sleep 0.1 && ~/.config/hypr/scripts/themeselect.sh",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"custom/cliphist": {
|
||||
"format": "{}",
|
||||
"exec": "~/.config/hypr/scripts/cliphist.sh t",
|
||||
"on-click": "sleep 0.1 && ~/.config/hypr/scripts/cliphist.sh c",
|
||||
//"on-click-right": "sleep 0.1 && ~/.config/hypr/scripts/cliphist.sh d",
|
||||
"on-click-middle": "sleep 0.1 && ~/.config/hypr/scripts/cliphist.sh w",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"custom/power": {
|
||||
"format": "{}",
|
||||
"exec": "echo ; echo logout",
|
||||
"on-click": "wlogout -b 2 -c 0 -r 0 -L 930 -R 930 -T 300 -B 300 --protocol layer-shell",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"custom/wbar": {
|
||||
"format": "{}",
|
||||
"exec": "echo ; echo switch menubar",
|
||||
"on-click": "~/.config/waybar/wbarswitch.sh -n",
|
||||
"on-click-right": "~/.config/waybar/wbarswitch.sh -p",
|
||||
"interval" : 86400,
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"custom/l_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/r_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
}
|
||||
}
|
||||
13
modules/home/hyprland/conf/waybar/modules/battery.jsonc
Normal file
13
modules/home/hyprland/conf/waybar/modules/battery.jsonc
Normal file
@@ -0,0 +1,13 @@
|
||||
"battery": {
|
||||
"states": {
|
||||
"good": 95,
|
||||
"warning": 30,
|
||||
"critical": 20
|
||||
},
|
||||
"format": "{icon} {capacity}%",
|
||||
"format-charging": " {capacity}%",
|
||||
"format-plugged": " {capacity}%",
|
||||
"format-alt": "{time} {icon}",
|
||||
"format-icons": ["", "", "", "", "", "", "", "", "", "", ""]
|
||||
},
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
"bluetooth": {
|
||||
"format": "",
|
||||
"format-disabled": "", // an empty format will hide the module
|
||||
"format-connected": " {num_connections}",
|
||||
"tooltip-format": " {device_alias}",
|
||||
"tooltip-format-connected": "{device_enumerate}",
|
||||
"tooltip-format-enumerate-connected": " {device_alias}"
|
||||
},
|
||||
|
||||
10
modules/home/hyprland/conf/waybar/modules/cliphist.jsonc
Normal file
10
modules/home/hyprland/conf/waybar/modules/cliphist.jsonc
Normal file
@@ -0,0 +1,10 @@
|
||||
"custom/cliphist": {
|
||||
"format": "{}",
|
||||
"exec": "echo ; echo clipboard history",
|
||||
"on-click": "sleep 0.1 && ~/.config/hypr/scripts/cliphist.sh c ${mod_pos}",
|
||||
//"on-click-right": "sleep 0.1 && ~/.config/hypr/scripts/cliphist.sh d",
|
||||
"on-click-middle": "sleep 0.1 && ~/.config/hypr/scripts/cliphist.sh w ${mod_pos}",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
6
modules/home/hyprland/conf/waybar/modules/clock.jsonc
Normal file
6
modules/home/hyprland/conf/waybar/modules/clock.jsonc
Normal file
@@ -0,0 +1,6 @@
|
||||
"clock": {
|
||||
"format": "{: %I:%M %p %a %d}",
|
||||
"format-alt": "{: %H:%M %b %Y}",
|
||||
"tooltip-format": "<tt><big>{calendar}</big></tt>"
|
||||
},
|
||||
|
||||
7
modules/home/hyprland/conf/waybar/modules/cpu.jsonc
Normal file
7
modules/home/hyprland/conf/waybar/modules/cpu.jsonc
Normal file
@@ -0,0 +1,7 @@
|
||||
"cpu": {
|
||||
"interval": 10,
|
||||
"format": " {usage}%",
|
||||
"format-alt": "{icon0}{icon1}{icon2}{icon3}",
|
||||
"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"]
|
||||
},
|
||||
|
||||
47
modules/home/hyprland/conf/waybar/modules/footer.jsonc
Normal file
47
modules/home/hyprland/conf/waybar/modules/footer.jsonc
Normal file
@@ -0,0 +1,47 @@
|
||||
|
||||
// modules for padding //
|
||||
|
||||
"custom/l_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/r_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/sl_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/sr_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/rl_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/rr_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/padd": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
12
modules/home/hyprland/conf/waybar/modules/header.jsonc
Normal file
12
modules/home/hyprland/conf/waybar/modules/header.jsonc
Normal file
@@ -0,0 +1,12 @@
|
||||
// --// waybar config generated by wbarconfgen.sh //-- //
|
||||
|
||||
{
|
||||
// sourced from header module //
|
||||
|
||||
"layer": "top",
|
||||
"position": "${w_position}",
|
||||
"mod": "dock",
|
||||
"height": ${w_height},
|
||||
"exclusive": true,
|
||||
"passthrough": false,
|
||||
"gtk-layer-shell": true,
|
||||
9
modules/home/hyprland/conf/waybar/modules/memory.jsonc
Normal file
9
modules/home/hyprland/conf/waybar/modules/memory.jsonc
Normal file
@@ -0,0 +1,9 @@
|
||||
"memory": {
|
||||
"interval": 30,
|
||||
"format": " {percentage}%",
|
||||
"format-alt": " {used}GB",
|
||||
"max-length": 10,
|
||||
"tooltip": true,
|
||||
"tooltip-format": " {used:0.1f}GB/{total:0.1f}GB"
|
||||
},
|
||||
|
||||
10
modules/home/hyprland/conf/waybar/modules/mode.jsonc
Normal file
10
modules/home/hyprland/conf/waybar/modules/mode.jsonc
Normal file
@@ -0,0 +1,10 @@
|
||||
"custom/mode": {
|
||||
"format": "{}",
|
||||
"exec": "echo ; echo switch mode",
|
||||
"on-click": "~/.config/hypr/scripts/themeswitch.sh -n",
|
||||
"on-click-right": "~/.config/hypr/scripts/themeswitch.sh -p",
|
||||
"on-click-middle": "sleep 0.1 && ~/.config/hypr/scripts/themeselect.sh",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
13
modules/home/hyprland/conf/waybar/modules/mpris.jsonc
Normal file
13
modules/home/hyprland/conf/waybar/modules/mpris.jsonc
Normal file
@@ -0,0 +1,13 @@
|
||||
"mpris": {
|
||||
"format": "{player_icon} {dynamic}",
|
||||
"format-paused": "{status_icon} <i>{dynamic}</i>",
|
||||
"player-icons": {
|
||||
"default": "▶",
|
||||
"mpv": "🎵"
|
||||
},
|
||||
"status-icons": {
|
||||
"paused": "⏸"
|
||||
},
|
||||
// "ignored-players": ["firefox"]
|
||||
},
|
||||
|
||||
11
modules/home/hyprland/conf/waybar/modules/network.jsonc
Normal file
11
modules/home/hyprland/conf/waybar/modules/network.jsonc
Normal file
@@ -0,0 +1,11 @@
|
||||
"network": {
|
||||
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
||||
"format-wifi": " {essid}",
|
||||
"format-ethernet": " Wired",
|
||||
"tooltip-format": " {ipaddr} {bandwidthUpBytes} {bandwidthDownBytes}",
|
||||
"format-linked": " {ifname} (No IP)",
|
||||
"format-disconnected": " Disconnected",
|
||||
"format-alt": " {signalStrength}%",
|
||||
"interval": 5
|
||||
},
|
||||
|
||||
8
modules/home/hyprland/conf/waybar/modules/power.jsonc
Normal file
8
modules/home/hyprland/conf/waybar/modules/power.jsonc
Normal file
@@ -0,0 +1,8 @@
|
||||
"custom/power": {
|
||||
"format": "{}",
|
||||
"exec": "echo ; echo logout",
|
||||
"on-click": "~/.config/hypr/scripts/logoutlaunch.sh 2",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
32
modules/home/hyprland/conf/waybar/modules/pulseaudio.jsonc
Normal file
32
modules/home/hyprland/conf/waybar/modules/pulseaudio.jsonc
Normal file
@@ -0,0 +1,32 @@
|
||||
"pulseaudio": {
|
||||
"format": "{icon} {volume}",
|
||||
"format-muted": "婢",
|
||||
"on-click": "pavucontrol -t 3",
|
||||
"on-click-middle": "~/.config/hypr/scripts/volumecontrol.sh -o m",
|
||||
"on-scroll-up": "~/.config/hypr/scripts/volumecontrol.sh -o i",
|
||||
"on-scroll-down": "~/.config/hypr/scripts/volumecontrol.sh -o d",
|
||||
"tooltip-format": "{icon} {desc} // {volume}%",
|
||||
"scroll-step": 5,
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": ["", "", ""]
|
||||
}
|
||||
},
|
||||
|
||||
"pulseaudio#microphone": {
|
||||
"format": "{format_source}",
|
||||
"format-source": "",
|
||||
"format-source-muted": "",
|
||||
"on-click": "pavucontrol -t 4",
|
||||
"on-click-middle": "~/.config/hypr/scripts/volumecontrol.sh -i m",
|
||||
"on-scroll-up": "~/.config/hypr/scripts/volumecontrol.sh -i i",
|
||||
"on-scroll-down": "~/.config/hypr/scripts/volumecontrol.sh -i d",
|
||||
"tooltip-format": "{format_source} {source_desc} // {source_volume}%",
|
||||
"scroll-step": 5
|
||||
},
|
||||
|
||||
164
modules/home/hyprland/conf/waybar/modules/style.css
Normal file
164
modules/home/hyprland/conf/waybar/modules/style.css
Normal file
@@ -0,0 +1,164 @@
|
||||
* {
|
||||
border: none;
|
||||
border-radius: 0px;
|
||||
font-family: "JetBrainsMono Nerd Font";
|
||||
font-weight: bold;
|
||||
font-size: ${s_fontpx}px;
|
||||
min-height: 10px;
|
||||
}
|
||||
|
||||
@import "themes/${cur_theme}.css";
|
||||
|
||||
window#waybar {
|
||||
background: @bar-bg;
|
||||
}
|
||||
|
||||
tooltip {
|
||||
background: @tool-bg;
|
||||
color: @tool-color;
|
||||
border-radius: ${b_radius}px;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: @tool-border;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
box-shadow: none;
|
||||
text-shadow: none;
|
||||
padding: 0px;
|
||||
border-radius: ${w_radius}px;
|
||||
margin-top: ${w_margin}px;
|
||||
margin-bottom: ${w_margin}px;
|
||||
padding-left: ${w_paddin}px;
|
||||
padding-right: ${w_paddin}px;
|
||||
color: @wb-color;
|
||||
animation: gradient_f 20s ease-in infinite;
|
||||
transition: all 0.5s cubic-bezier(.55,-0.68,.48,1.682);
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
background: @wb-act-bg;
|
||||
color: @wb-act-color;
|
||||
margin-left: ${w_margin}px;
|
||||
padding-left: ${w_padact}px;
|
||||
padding-right: ${w_padact}px;
|
||||
margin-right: ${w_margin}px;
|
||||
animation: gradient_f 20s ease-in infinite;
|
||||
transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
background: @wb-hvr-bg;
|
||||
color: @wb-hvr-color;
|
||||
padding-left: ${w_paddin}px;
|
||||
padding-right: ${w_paddin}px;
|
||||
animation: gradient_f 20s ease-in infinite;
|
||||
transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);
|
||||
}
|
||||
|
||||
#taskbar button {
|
||||
box-shadow: none;
|
||||
text-shadow: none;
|
||||
padding: 0px;
|
||||
border-radius: ${w_radius}px;
|
||||
margin-top: ${w_margin}px;
|
||||
margin-bottom: ${w_margin}px;
|
||||
padding-left: ${w_paddin}px;
|
||||
padding-right: ${w_paddin}px;
|
||||
color: @wb-color;
|
||||
animation: gradient_f 20s ease-in infinite;
|
||||
transition: all 0.5s cubic-bezier(.55,-0.68,.48,1.682);
|
||||
}
|
||||
|
||||
#taskbar button.active {
|
||||
background: @wb-act-bg;
|
||||
color: @wb-act-color;
|
||||
margin-left: ${w_margin}px;
|
||||
padding-left: ${w_padact}px;
|
||||
padding-right: ${w_padact}px;
|
||||
margin-right: ${w_margin}px;
|
||||
animation: gradient_f 20s ease-in infinite;
|
||||
transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);
|
||||
}
|
||||
|
||||
#taskbar button:hover {
|
||||
background: @wb-hvr-bg;
|
||||
color: @wb-hvr-color;
|
||||
padding-left: ${w_paddin}px;
|
||||
padding-right: ${w_paddin}px;
|
||||
animation: gradient_f 20s ease-in infinite;
|
||||
transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);
|
||||
}
|
||||
|
||||
#cpu,
|
||||
#memory,
|
||||
#battery,
|
||||
#clock,
|
||||
#workspaces,
|
||||
#window,
|
||||
#taskbar,
|
||||
#network,
|
||||
#bluetooth,
|
||||
#pulseaudio,
|
||||
#mpris,
|
||||
#custom-updates,
|
||||
#custom-wallchange,
|
||||
#custom-mode,
|
||||
#custom-cliphist,
|
||||
#custom-power,
|
||||
#custom-wbar,
|
||||
#custom-l_end,
|
||||
#custom-r_end,
|
||||
#custom-sl_end,
|
||||
#custom-sr_end,
|
||||
#custom-rl_end,
|
||||
#custom-rr_end,
|
||||
#tray {
|
||||
color: @main-color;
|
||||
background: @main-bg;
|
||||
opacity: 1;
|
||||
margin: ${g_margin}px 0px ${g_margin}px 0px;
|
||||
padding-left: ${g_paddin}px;
|
||||
padding-right: ${g_paddin}px;
|
||||
}
|
||||
|
||||
#workspaces,
|
||||
#taskbar {
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
#custom-r_end {
|
||||
border-radius: 0px ${b_radius}px ${b_radius}px 0px;
|
||||
margin-right: ${e_margin}px;
|
||||
padding-right: ${e_paddin}px;
|
||||
}
|
||||
|
||||
#custom-l_end {
|
||||
border-radius: ${b_radius}px 0px 0px ${b_radius}px;
|
||||
margin-left: ${e_margin}px;
|
||||
padding-left: ${e_paddin}px;
|
||||
}
|
||||
|
||||
#custom-sr_end {
|
||||
border-radius: 0px;
|
||||
margin-right: ${e_margin}px;
|
||||
padding-right: ${e_paddin}px;
|
||||
}
|
||||
|
||||
#custom-sl_end {
|
||||
border-radius: 0px;
|
||||
margin-left: ${e_margin}px;
|
||||
padding-left: ${e_paddin}px;
|
||||
}
|
||||
|
||||
#custom-rr_end {
|
||||
border-radius: 0px ${c_radius}px ${c_radius}px 0px;
|
||||
margin-right: ${e_margin}px;
|
||||
padding-right: ${e_paddin}px;
|
||||
}
|
||||
|
||||
#custom-rl_end {
|
||||
border-radius: ${c_radius}px 0px 0px ${c_radius}px;
|
||||
margin-left: ${e_margin}px;
|
||||
padding-left: ${e_paddin}px;
|
||||
}
|
||||
16
modules/home/hyprland/conf/waybar/modules/taskbar.jsonc
Normal file
16
modules/home/hyprland/conf/waybar/modules/taskbar.jsonc
Normal file
@@ -0,0 +1,16 @@
|
||||
"wlr/taskbar": {
|
||||
"format": "{icon}",
|
||||
"icon-size": ${i_task},
|
||||
"icon-theme": "${i_theme}",
|
||||
"spacing": 0,
|
||||
"tooltip-format": "{title}",
|
||||
"on-click": "activate",
|
||||
"on-click-middle": "close",
|
||||
"ignore-list": [
|
||||
"Alacritty"
|
||||
],
|
||||
"app_ids-mapping": {
|
||||
"firefoxdeveloperedition": "firefox-developer-edition"
|
||||
}
|
||||
},
|
||||
|
||||
5
modules/home/hyprland/conf/waybar/modules/tray.jsonc
Normal file
5
modules/home/hyprland/conf/waybar/modules/tray.jsonc
Normal file
@@ -0,0 +1,5 @@
|
||||
"tray": {
|
||||
"icon-size": ${i_size},
|
||||
"spacing": 5
|
||||
},
|
||||
|
||||
8
modules/home/hyprland/conf/waybar/modules/updates.jsonc
Normal file
8
modules/home/hyprland/conf/waybar/modules/updates.jsonc
Normal file
@@ -0,0 +1,8 @@
|
||||
"custom/updates": {
|
||||
"format": " {}",
|
||||
"exec": "~/.config/hypr/scripts/systemupdate.sh",
|
||||
"on-click": "~/.config/hypr/scripts/systemupdate.sh up",
|
||||
"interval": 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
"custom/wallchange": {
|
||||
"format": "{}",
|
||||
"exec": "echo ; echo switch wallpaper",
|
||||
"on-click": "~/.config/swww/swwwallpaper.sh -n ${mod_pos}",
|
||||
"on-click-right": "~/.config/swww/swwwallpaper.sh -p ${mod_pos}",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
10
modules/home/hyprland/conf/waybar/modules/wbar.jsonc
Normal file
10
modules/home/hyprland/conf/waybar/modules/wbar.jsonc
Normal file
@@ -0,0 +1,10 @@
|
||||
"custom/wbar": {
|
||||
"format": "{}", // //
|
||||
"exec": "echo ; echo switch menubar",
|
||||
"on-click": "~/.config/waybar/wbarconfgen.sh n",
|
||||
"on-click-right": "~/.config/waybar/wbarconfgen.sh p",
|
||||
"on-click-middle": "~/.config/waybar/wbarconfgen.sh",
|
||||
"interval" : 86400,
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
15
modules/home/hyprland/conf/waybar/modules/window.jsonc
Normal file
15
modules/home/hyprland/conf/waybar/modules/window.jsonc
Normal file
@@ -0,0 +1,15 @@
|
||||
"hyprland/window": {
|
||||
"format": " {}",
|
||||
"separate-outputs": true,
|
||||
"rewrite": {
|
||||
"${USER}@${set_sysname}:(.*)": "$1 ",
|
||||
"(.*) — Mozilla Firefox": "$1 ",
|
||||
"(.*)Mozilla Firefox": "Firefox ",
|
||||
"(.*) - Visual Studio Code": "$1 ",
|
||||
"(.*)Visual Studio Code": "Code ",
|
||||
"(.*) — Dolphin": "$1 ",
|
||||
"(.*)Spotify": "Spotify ",
|
||||
"(.*)Steam": "Steam "
|
||||
}
|
||||
},
|
||||
|
||||
18
modules/home/hyprland/conf/waybar/modules/workspaces.jsonc
Normal file
18
modules/home/hyprland/conf/waybar/modules/workspaces.jsonc
Normal file
@@ -0,0 +1,18 @@
|
||||
"wlr/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"all-outputs": true,
|
||||
"on-click": "activate",
|
||||
"persistent_workspaces": {
|
||||
"1": [],
|
||||
"2": [],
|
||||
"3": [],
|
||||
"4": [],
|
||||
"5": [],
|
||||
"6": [],
|
||||
"7": [],
|
||||
"8": [],
|
||||
"9": [],
|
||||
"10": []
|
||||
}
|
||||
},
|
||||
|
||||
164
modules/home/hyprland/conf/waybar/style.css
Normal file
164
modules/home/hyprland/conf/waybar/style.css
Normal file
@@ -0,0 +1,164 @@
|
||||
* {
|
||||
border: none;
|
||||
border-radius: 0px;
|
||||
font-family: "JetBrainsMono Nerd Font";
|
||||
font-weight: bold;
|
||||
font-size: 11px;
|
||||
min-height: 10px;
|
||||
}
|
||||
|
||||
@import "themes/theme.css";
|
||||
|
||||
window#waybar {
|
||||
background: @bar-bg;
|
||||
}
|
||||
|
||||
tooltip {
|
||||
background: @tool-bg;
|
||||
color: @tool-color;
|
||||
border-radius: 21px;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: @tool-border;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
box-shadow: none;
|
||||
text-shadow: none;
|
||||
padding: 0px;
|
||||
border-radius: 9px;
|
||||
margin-top: 3px;
|
||||
margin-bottom: 3px;
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
color: @wb-color;
|
||||
animation: gradient_f 20s ease-in infinite;
|
||||
transition: all 0.5s cubic-bezier(.55,-0.68,.48,1.682);
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
background: @wb-act-bg;
|
||||
color: @wb-act-color;
|
||||
margin-left: 3px;
|
||||
padding-left: 12px;
|
||||
padding-right: 12px;
|
||||
margin-right: 3px;
|
||||
animation: gradient_f 20s ease-in infinite;
|
||||
transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
background: @wb-hvr-bg;
|
||||
color: @wb-hvr-color;
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
animation: gradient_f 20s ease-in infinite;
|
||||
transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);
|
||||
}
|
||||
|
||||
#taskbar button {
|
||||
box-shadow: none;
|
||||
text-shadow: none;
|
||||
padding: 0px;
|
||||
border-radius: 9px;
|
||||
margin-top: 3px;
|
||||
margin-bottom: 3px;
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
color: @wb-color;
|
||||
animation: gradient_f 20s ease-in infinite;
|
||||
transition: all 0.5s cubic-bezier(.55,-0.68,.48,1.682);
|
||||
}
|
||||
|
||||
#taskbar button.active {
|
||||
background: @wb-act-bg;
|
||||
color: @wb-act-color;
|
||||
margin-left: 3px;
|
||||
padding-left: 12px;
|
||||
padding-right: 12px;
|
||||
margin-right: 3px;
|
||||
animation: gradient_f 20s ease-in infinite;
|
||||
transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);
|
||||
}
|
||||
|
||||
#taskbar button:hover {
|
||||
background: @wb-hvr-bg;
|
||||
color: @wb-hvr-color;
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
animation: gradient_f 20s ease-in infinite;
|
||||
transition: all 0.3s cubic-bezier(.55,-0.68,.48,1.682);
|
||||
}
|
||||
|
||||
#cpu,
|
||||
#memory,
|
||||
#battery,
|
||||
#clock,
|
||||
#workspaces,
|
||||
#window,
|
||||
#taskbar,
|
||||
#network,
|
||||
#bluetooth,
|
||||
#pulseaudio,
|
||||
#mpris,
|
||||
#custom-updates,
|
||||
#custom-wallchange,
|
||||
#custom-mode,
|
||||
#custom-cliphist,
|
||||
#custom-power,
|
||||
#custom-wbar,
|
||||
#custom-l_end,
|
||||
#custom-r_end,
|
||||
#custom-sl_end,
|
||||
#custom-sr_end,
|
||||
#custom-rl_end,
|
||||
#custom-rr_end,
|
||||
#tray {
|
||||
color: @main-color;
|
||||
background: @main-bg;
|
||||
opacity: 1;
|
||||
margin: 4px 0px 4px 0px;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
#workspaces,
|
||||
#taskbar {
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
#custom-r_end {
|
||||
border-radius: 0px 21px 21px 0px;
|
||||
margin-right: 9px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
#custom-l_end {
|
||||
border-radius: 21px 0px 0px 21px;
|
||||
margin-left: 9px;
|
||||
padding-left: 3px;
|
||||
}
|
||||
|
||||
#custom-sr_end {
|
||||
border-radius: 0px;
|
||||
margin-right: 9px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
#custom-sl_end {
|
||||
border-radius: 0px;
|
||||
margin-left: 9px;
|
||||
padding-left: 3px;
|
||||
}
|
||||
|
||||
#custom-rr_end {
|
||||
border-radius: 0px 7px 7px 0px;
|
||||
margin-right: 9px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
#custom-rl_end {
|
||||
border-radius: 7px 0px 0px 7px;
|
||||
margin-left: 9px;
|
||||
padding-left: 3px;
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
@define-color bar-bg rgba(0, 0, 0, 0);
|
||||
|
||||
@define-color main-color #4c4f69;
|
||||
@define-color main-bg #9ca0b0;
|
||||
|
||||
@define-color tool-bg #9ca0b0;
|
||||
@define-color tool-color #4c4f69;
|
||||
@define-color tool-border #ccd0da;
|
||||
|
||||
@define-color wb-color #4c4f69;
|
||||
|
||||
@define-color wb-act-bg #5c5f77;
|
||||
@define-color wb-act-color #dce0e8;
|
||||
|
||||
@define-color wb-hvr-bg #dc8a78;
|
||||
@define-color wb-hvr-color #dce0e8;
|
||||
@@ -0,0 +1,16 @@
|
||||
@define-color bar-bg rgba(0, 0, 0, 0);
|
||||
|
||||
@define-color main-color #cdd6f4;
|
||||
@define-color main-bg #11111b;
|
||||
|
||||
@define-color tool-bg #1e1e2e;
|
||||
@define-color tool-color #cdd6f4;
|
||||
@define-color tool-border #11111b;
|
||||
|
||||
@define-color wb-color #cdd6f4;
|
||||
|
||||
@define-color wb-act-bg #a6adc8;
|
||||
@define-color wb-act-color #313244;
|
||||
|
||||
@define-color wb-hvr-bg #f5c2e7;
|
||||
@define-color wb-hvr-color #313244;
|
||||
16
modules/home/hyprland/conf/waybar/themes/Cyberpunk-Edge.css
Normal file
16
modules/home/hyprland/conf/waybar/themes/Cyberpunk-Edge.css
Normal file
@@ -0,0 +1,16 @@
|
||||
@define-color bar-bg rgba(0,0,0,1);
|
||||
|
||||
@define-color main-color #FFA6C2;
|
||||
@define-color main-bg #000000;
|
||||
|
||||
@define-color tool-bg #000000;
|
||||
@define-color tool-color #ffffff;
|
||||
@define-color tool-border #FFA6C2;
|
||||
|
||||
@define-color wb-color #FFA6C2;
|
||||
|
||||
@define-color wb-act-bg #FFA6C2;
|
||||
@define-color wb-act-color #000000;
|
||||
|
||||
@define-color wb-hvr-bg #FADA16;
|
||||
@define-color wb-hvr-color #000000;
|
||||
16
modules/home/hyprland/conf/waybar/themes/Decay-Green.css
Normal file
16
modules/home/hyprland/conf/waybar/themes/Decay-Green.css
Normal file
@@ -0,0 +1,16 @@
|
||||
@define-color bar-bg rgba(31, 35, 40, 0.95);
|
||||
|
||||
@define-color main-color #93cee9;
|
||||
@define-color main-bg #101419;
|
||||
|
||||
@define-color tool-bg #cbced3;
|
||||
@define-color tool-color #1f2328;
|
||||
@define-color tool-border #90ceaa;
|
||||
|
||||
@define-color wb-color #93cee9;
|
||||
|
||||
@define-color wb-act-bg #93cee9;
|
||||
@define-color wb-act-color #1f2328;
|
||||
|
||||
@define-color wb-hvr-bg #93cee9;
|
||||
@define-color wb-hvr-color #1f2328;
|
||||
16
modules/home/hyprland/conf/waybar/themes/Graphite-Mono.css
Normal file
16
modules/home/hyprland/conf/waybar/themes/Graphite-Mono.css
Normal file
@@ -0,0 +1,16 @@
|
||||
@define-color bar-bg rgba(38,38,38,1);
|
||||
|
||||
@define-color main-color #d9d9d9;
|
||||
@define-color main-bg #262626;
|
||||
|
||||
@define-color tool-bg #595959;
|
||||
@define-color tool-color #a6a6a6;
|
||||
@define-color tool-border #d9d9d9;
|
||||
|
||||
@define-color wb-color #d9d9d9;
|
||||
|
||||
@define-color wb-act-bg #d9d9d9;
|
||||
@define-color wb-act-color #262626;
|
||||
|
||||
@define-color wb-hvr-bg #a6a6a6;
|
||||
@define-color wb-hvr-color #262626;
|
||||
16
modules/home/hyprland/conf/waybar/themes/Material-Sakura.css
Normal file
16
modules/home/hyprland/conf/waybar/themes/Material-Sakura.css
Normal file
@@ -0,0 +1,16 @@
|
||||
@define-color bar-bg rgba(0, 0, 0, 0);
|
||||
|
||||
@define-color main-color #907aa9;
|
||||
@define-color main-bg #faf4ed;
|
||||
|
||||
@define-color tool-bg #f2e9e1;
|
||||
@define-color tool-color #9893a5;
|
||||
@define-color tool-border #d7827e;
|
||||
|
||||
@define-color wb-color #907aa9;
|
||||
|
||||
@define-color wb-act-bg #b4637a;
|
||||
@define-color wb-act-color #fffaf3;
|
||||
|
||||
@define-color wb-hvr-bg #56949f;
|
||||
@define-color wb-hvr-color #fffaf3;
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user