mirror of
https://github.com/Derisis13/dotfiles.git
synced 2025-12-07 03:42:50 +01:00
Compare commits
15 Commits
master
...
6bd352c596
| Author | SHA1 | Date | |
|---|---|---|---|
| 6bd352c596 | |||
| ad12011700 | |||
| 6cfc41627d | |||
| 64c8ebde5e | |||
| 397783795d | |||
| 9732e4f9ff | |||
| 12435bcbd1 | |||
| 37192374c3 | |||
| 17ada0e8aa | |||
| 6583647f87 | |||
| 295edcafa5 | |||
| 8695cc16f4 | |||
| b5021973a2 | |||
| 9b3420d534 | |||
| 59217b3ec2 |
18
README.md
18
README.md
@@ -9,14 +9,16 @@ To automatically setup the system, use the script `fedora.sh`, or run trough the
|
||||
- kitty: `.config/kitty` + `fira_code_mono_nerd_font` installed
|
||||
- serif font: install `google-roboto-fonts` (used in gtk, qt, waybar)
|
||||
- zsh: `\$ZDOTDIR` set in `/etc/zshenv` + omz install (`sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" && mv ~/.oh-my-zsh ~/.local/share/oh-my-zsh && mkdir -p ~/.local/state/zsh/`) + `.config/zsh` + install fzf-tab plugin (git clone https://github.com/Aloxaf/fzf-tab ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/fzf-tab/, needs sqlite as dependency) + for some reason `$XDG_STATE_HOME/zsh` needs to be created manually
|
||||
- hypr*: `.config/hypr,` install `hyprlock`, `hyprsunset`, `hypridle`,
|
||||
- hyprpaper: `.config/hypr` + download from [here](https://www.flickr.com/photos/nasahqphoto/5914101671/in/photostream/) by `curl -o .local/share/backgrounds/eKxlw8.jpg -fsSL "https://live.staticflickr.com/5077/5914101671_d80c6591e8_k.jpg` (also used for grub & sddm & hyprlock)
|
||||
- waybar: `.config/waybar` + install `fontawesome4-fonts` (for icons)
|
||||
- hypr*: `.config/hypr,` install `hyprlock`, `hyprsunset`, `hypridle`, `hyprpolkitagent`. Also enable `hypridle.service`, `hyprsunset.service`, `hyprpolkitagent.service`. Note that the config is set up to be run via uwsm.
|
||||
- hyprpaper: `.config/hypr` + download from [here](https://www.flickr.com/photos/nasahqphoto/5914101671/in/photostream/) by `curl -o .local/share/backgrounds/eKxlw8.jpg -fsSL "https://live.staticflickr.com/5077/5914101671_d80c6591e8_k.jpg` (also used for grub & regreet & hyprlock). Also enable `hyprpaper.service`
|
||||
- waybar: `.config/waybar` + install `fontawesome4-fonts` (for icons). Also enable `waybar.service`
|
||||
- rofi: `.config/rofi`
|
||||
- rofi-qalc: needs `rofi-wayland-1.7.5+wayland2-3.fc40.x86_64` (find it in downloads or fedora build system) until ABI is fixed, rofi-devel, then compile this by hand: https://github.com/svenstaro/rofi-calc
|
||||
- sddm: dependency: `qt6-qtquickcontrols2 qt6-qtsvg`, copy `sddm/sddm.conf` -> `/etc/sddm.conf` & `sddm/themes/catppuccin-macchiato` -> `/usr/share/sddm/themes/` then `# systemctl set-default graphical.target`
|
||||
- rofi-qalc: needs rofi-wayland, rofi-devel, then compile this by hand: https://github.com/svenstaro/rofi-calc
|
||||
- regreet (greetd greeter): needs cargo, gtk4-devel, cairo-gobject-devel, pango-devel and greetd; needs the greetd user added to `video` group, then complle this by hand: https://github.com/rharish101/ReGreet.git
|
||||
Also moves config files to their places, including to `/etc/tmpfiles.d/`.
|
||||
At login, you'll have to choose the `uwsm-managed` Hyprland
|
||||
- nvim: `.config/nvim` + kitty done + deps: clang (gcc-c++), unzip, npm, ripgrep, go, then proceed with nvchad init
|
||||
- swaync: `.config/swaync`
|
||||
- swaync: `.config/swaync`, also enable `swaync.service`
|
||||
- gtk: `.config/gtk-*`, `dconf load /org/gtk/gtk4 < ./dconf-export/gtk4.dconf`
|
||||
- MPV: `$XDG_CONFIG_HOME/mpv/`
|
||||
- QT5: `.config/qt6ct/`, `xsettingsd/`
|
||||
@@ -26,7 +28,7 @@ To automatically setup the system, use the script `fedora.sh`, or run trough the
|
||||
- udev: `/etc/udev/rules.d/` (for setting driver permissions)
|
||||
- selinux: `/etc/selinux/config` to stay permissive (why even bother with selinux?)
|
||||
- firefox(librewolf btw): do your own profile, install [catpuccin theme](https://github.com/catppuccin/firefox) and [darkreader](https://darkreader.org/)
|
||||
- gnome tooling (file picker, keyring, etc): `dconf load /org/gnome/desktop/ < ./dconf-export/gnome-desktop.dconf`
|
||||
- gnome tooling (file picker, keyring, etc): `dconf load /org/gnome/desktop/ < ./dconf-export/gnome-desktop.dconf`, for the keyring enable `gnome-keyring.service`
|
||||
- nautilus (file manager): gtk set up, then `dconf load /org/gnome/nautilus < ./dconf-export/nautilus.dconf`
|
||||
- gedit (gui text editor): gtk set up, then `dconf load /org/gnome/gedit < ./dconf-export/gedit.dconf`
|
||||
|
||||
@@ -40,6 +42,8 @@ To automatically setup the system, use the script `fedora.sh`, or run trough the
|
||||
<br>
|
||||

|
||||
|
||||
# Licensing
|
||||
Licensed under the unlicense, unless stated otherwise in the file (eg. regreet.toml is under GPL-v3, as it is part of the regreet project)
|
||||
|
||||
# Thanks to:
|
||||
- [Kosmx](https://github.com/KosmX/) for providing help and [dotfiles to steal from](https://github.com/KosmX/hypr-dots)
|
||||
|
||||
@@ -1,161 +1,180 @@
|
||||
NetworkManager-1:1.50.0-1.fc41.x86_64
|
||||
NetworkManager-bluetooth-1:1.50.0-1.fc41.x86_64
|
||||
NetworkManager-1:1.50.3-1.fc41.x86_64
|
||||
NetworkManager-bluetooth-1:1.50.3-1.fc41.x86_64
|
||||
NetworkManager-openvpn-1:1.12.0-2.fc41.x86_64
|
||||
NetworkManager-sstp-1:1.3.1-9.fc41.x86_64
|
||||
NetworkManager-wifi-1:1.50.0-1.fc41.x86_64
|
||||
SwayNotificationCenter-0:0.10.1-1.fc41.x86_64
|
||||
NetworkManager-wifi-1:1.50.3-1.fc41.x86_64
|
||||
SwayNotificationCenter-0:0.11.0-1.fc41.x86_64
|
||||
acpi-0:1.7-24.fc41.x86_64
|
||||
adw-gtk3-theme-0:5.6-1.fc41.noarch
|
||||
ani-cli-0:4.10.0-1.fc41.noarch
|
||||
audit-0:4.0.3-1.fc41.x86_64
|
||||
authselect-0:1.5.0-8.fc41.x86_64
|
||||
automake-0:1.16.5-17.fc41.noarch
|
||||
basesystem-0:11-21.fc41.noarch
|
||||
bash-0:5.2.32-1.fc41.x86_64
|
||||
blueman-1:2.4.3-1.fc41.x86_64
|
||||
bind-utils-32:9.18.33-1.fc41.x86_64
|
||||
blueman-1:2.4.4-2.fc41.x86_64
|
||||
brightnessctl-0:0.5.1-12.fc41.x86_64
|
||||
btop-0:1.4.0-1.fc41.x86_64
|
||||
btrfs-progs-0:6.12-1.fc41.x86_64
|
||||
cairo-gobject-devel-0:1.18.2-2.fc41.x86_64
|
||||
cargo-0:1.86.0-1.fc41.x86_64
|
||||
chrony-0:4.6.1-1.fc41.x86_64
|
||||
clang-0:19.1.5-1.fc41.x86_64
|
||||
clean-rpm-gpg-pubkey-0:0-2.20210505gitebb9ab1.fc41.noarch
|
||||
clang-0:19.1.7-3.fc41.x86_64
|
||||
clean-rpm-gpg-pubkey-0:0-5.20250322gitfc87e2c.fc41.noarch
|
||||
cliphist-0:0.6.1-1.fc41.1.x86_64
|
||||
cmake-0:3.30.5-1.fc41.x86_64
|
||||
cmake-0:3.30.8-1.fc41.x86_64
|
||||
compat-lua-0:5.1.5-26.fc41.x86_64
|
||||
coreutils-0:9.5-11.fc41.x86_64
|
||||
curl-0:8.9.1-3.fc41.x86_64
|
||||
dconf-editor-0:45.0.1-5.fc41.x86_64
|
||||
dhcp-client-12:4.4.3-14.P1.fc41.x86_64
|
||||
dnf5-0:5.2.8.1-3.fc41.x86_64
|
||||
dnf5-plugins-0:5.2.8.1-3.fc41.x86_64
|
||||
dnf5-0:5.2.13.1-1.fc41.x86_64
|
||||
dnf5-plugins-0:5.2.13.1-1.fc41.x86_64
|
||||
dosfstools-0:4.2-13.fc41.x86_64
|
||||
dracut-config-rescue-0:103-3.fc41.x86_64
|
||||
e2fsprogs-0:1.47.1-6.fc41.x86_64
|
||||
efibootmgr-0:18-7.fc41.x86_64
|
||||
eog-0:47.0-1.fc41.x86_64
|
||||
esptool-0:4.8.1-1.fc41.noarch
|
||||
evolution-0:3.54.3-1.fc41.x86_64
|
||||
fastfetch-0:2.34.1-1.fc41.x86_64
|
||||
ffmpeg-0:7.0.2-4.fc41.x86_64
|
||||
fastfetch-0:2.41.0-1.fc41.x86_64
|
||||
ffmpeg-0:7.1.1-6.fc41.x86_64
|
||||
filesystem-0:3.18-23.fc41.x86_64
|
||||
firewalld-0:2.2.3-2.fc41.noarch
|
||||
flatpak-0:1.16.0-1.fc41.x86_64
|
||||
fldigi-0:4.2.06-1.fc41.x86_64
|
||||
fontawesome4-fonts-1:4.7.0-23.fc41.noarch
|
||||
fwupd-0:1.9.27-1.fc41.x86_64
|
||||
fzf-0:0.57.0-1.fc41.x86_64
|
||||
gdb-0:15.2-4.fc41.x86_64
|
||||
fwupd-0:1.9.29-1.fc41.x86_64
|
||||
fzf-0:0.62.0-1.fc41.x86_64
|
||||
gdb-0:16.3-1.fc41.x86_64
|
||||
gedit-2:46.2-5.fc41.x86_64
|
||||
git-0:2.48.1-1.fc41.x86_64
|
||||
glibc-0:2.40-17.fc41.i686
|
||||
glibc-0:2.40-17.fc41.x86_64
|
||||
ghdl-0:6.0.0-20250512.0.git29fd54de.fc41.x86_64
|
||||
ghdl-llvm-0:6.0.0-20250512.0.git29fd54de.fc41.x86_64
|
||||
git-0:2.49.0-1.fc41.x86_64
|
||||
glibc-0:2.40-25.fc41.i686
|
||||
glibc-0:2.40-25.fc41.x86_64
|
||||
glmark2-0:2023.01-6.fc41.x86_64
|
||||
gnome-disk-utility-0:46.1-1.fc41.x86_64
|
||||
gnome-font-viewer-0:47.0-1.fc41.x86_64
|
||||
gnome-keyring-0:46.2-2.fc41.x86_64
|
||||
gnome-keyring-pam-0:46.2-2.fc41.x86_64
|
||||
golang-0:1.23.4-1.fc41.x86_64
|
||||
golang-0:1.23.8-1.fc41.x86_64
|
||||
google-roboto-fonts-0:2.138-18.fc41.noarch
|
||||
grub2-efi-x64-1:2.12-15.fc41.x86_64
|
||||
grub2-efi-x64-modules-1:2.12-15.fc41.noarch
|
||||
grub2-pc-1:2.12-15.fc41.x86_64
|
||||
grub2-tools-1:2.12-15.fc41.x86_64
|
||||
grub2-tools-extra-1:2.12-15.fc41.x86_64
|
||||
greetd-0:0.10.3-2.fc41.x86_64
|
||||
grub2-efi-x64-1:2.12-21.fc41.x86_64
|
||||
grub2-efi-x64-modules-1:2.12-21.fc41.noarch
|
||||
grub2-pc-1:2.12-21.fc41.x86_64
|
||||
grub2-tools-1:2.12-21.fc41.x86_64
|
||||
grub2-tools-extra-1:2.12-21.fc41.x86_64
|
||||
grubby-0:8.40-78.fc41.x86_64
|
||||
gtk4-devel-0:4.16.13-1.fc41.x86_64
|
||||
gtkwave-0:3.4.0-20250117.0.git4435a9ef.fc41.x86_64
|
||||
gvfs-fuse-0:1.56.1-1.fc41.x86_64
|
||||
gvfs-smb-0:1.56.1-1.fc41.x86_64
|
||||
hostname-0:3.23-13.fc41.x86_64
|
||||
htop-0:3.3.0-4.fc41.x86_64
|
||||
hypridle-0:0.1.3-2.fc41.x86_64
|
||||
hyprland-0:0.46.2-4.fc41.x86_64
|
||||
hyprlock-0:0.6.1-1.fc41.x86_64
|
||||
hyprpaper-0:0.7.3-2.fc41.x86_64
|
||||
hypridle-0:0.1.6-3.fc41.x86_64
|
||||
hyprland-0:0.49.0-1.fc41.x86_64
|
||||
hyprlock-0:0.8.2-1.fc41.x86_64
|
||||
hyprpaper-0:0.7.5-1.fc41.x86_64
|
||||
hyprpolkitagent-0:0.1.2-1.fc41.x86_64
|
||||
hyprsunset-0:0.1.0-2.fc41.x86_64
|
||||
hyprsunset-0:0.2.0-3.fc41.x86_64
|
||||
iproute-0:6.10.0-1.fc41.x86_64
|
||||
iputils-0:20240905-1.fc41.x86_64
|
||||
iwlwifi-dvm-firmware-0:20241210-1.fc41.noarch
|
||||
iwlwifi-mvm-firmware-0:20241210-1.fc41.noarch
|
||||
iwlwifi-dvm-firmware-0:20250410-1.fc41.noarch
|
||||
iwlwifi-mvm-firmware-0:20250410-1.fc41.noarch
|
||||
kbd-0:2.6.4-4.fc41.x86_64
|
||||
kdeconnectd-0:24.12.1-1.fc41.x86_64
|
||||
kernel-0:6.12.7-200.fc41.x86_64
|
||||
kernel-0:6.12.8-200.fc41.x86_64
|
||||
kernel-0:6.12.9-200.fc41.x86_64
|
||||
kernel-core-0:6.12.7-200.fc41.x86_64
|
||||
kernel-core-0:6.12.8-200.fc41.x86_64
|
||||
kernel-core-0:6.12.9-200.fc41.x86_64
|
||||
kernel-modules-0:6.12.7-200.fc41.x86_64
|
||||
kernel-modules-0:6.12.8-200.fc41.x86_64
|
||||
kernel-modules-0:6.12.9-200.fc41.x86_64
|
||||
kernel-modules-core-0:6.12.7-200.fc41.x86_64
|
||||
kernel-modules-core-0:6.12.8-200.fc41.x86_64
|
||||
kernel-modules-core-0:6.12.9-200.fc41.x86_64
|
||||
kitty-0:0.38.1-2.fc41.x86_64
|
||||
kdeconnectd-0:25.04.0-1.fc41.x86_64
|
||||
kernel-0:6.14.4-200.fc41.x86_64
|
||||
kernel-0:6.14.5-200.fc41.x86_64
|
||||
kernel-0:6.14.6-200.fc41.x86_64
|
||||
kernel-core-0:6.14.4-200.fc41.x86_64
|
||||
kernel-core-0:6.14.5-200.fc41.x86_64
|
||||
kernel-core-0:6.14.6-200.fc41.x86_64
|
||||
kernel-modules-0:6.14.4-200.fc41.x86_64
|
||||
kernel-modules-0:6.14.5-200.fc41.x86_64
|
||||
kernel-modules-0:6.14.6-200.fc41.x86_64
|
||||
kernel-modules-core-0:6.14.4-200.fc41.x86_64
|
||||
kernel-modules-core-0:6.14.5-200.fc41.x86_64
|
||||
kernel-modules-core-0:6.14.6-200.fc41.x86_64
|
||||
kitty-0:0.41.1-1.fc41.x86_64
|
||||
langpacks-en-0:4.1-2.fc41.noarch
|
||||
less-0:661-2.fc41.x86_64
|
||||
less-0:668-1.fc41.x86_64
|
||||
libtool-0:2.4.7-12.fc41.x86_64
|
||||
light-0:1.2.2-14.fc41.x86_64
|
||||
lsof-0:4.98.0-5.fc41.x86_64
|
||||
luarocks-0:3.9.2-6.fc41.noarch
|
||||
man-db-0:2.12.1-2.fc41.x86_64
|
||||
materia-kde-sddm-0:20220823-6.fc41.noarch
|
||||
mpv-0:0.39.0-1.fc41.x86_64
|
||||
mpv-mpris-0:1.1-4.fc41.x86_64
|
||||
nautilus-0:47.1-1.fc41.x86_64
|
||||
nautilus-0:47.4-1.fc41.x86_64
|
||||
ncurses-0:6.5-2.20240629.fc41.x86_64
|
||||
neovim-0:0.10.3-2.fc41.x86_64
|
||||
neovim-0:0.10.4-1.fc41.x86_64
|
||||
nextpnr-1:0.8-20250513.0.git46fbe7c6.fc41.x86_64
|
||||
nm-connection-editor-desktop-0:1.36.0-3.fc41.x86_64
|
||||
nmap-4:7.92-3.fc41.x86_64
|
||||
nodejs-1:22.11.0-3.fc41.x86_64
|
||||
nvtop-0:3.1.0-3.fc41.x86_64
|
||||
nwg-look-0:1.0.0-1.fc41.x86_64
|
||||
nodejs-1:22.15.0-2.fc41.x86_64
|
||||
nvtop-0:3.2.0-3.fc41.x86_64
|
||||
nwg-look-0:1.0.5-1.fc41.x86_64
|
||||
opendoas-0:6.8.2-7.fc41.x86_64
|
||||
openssh-clients-0:9.8p1-3.fc41.2.x86_64
|
||||
openssh-server-0:9.8p1-3.fc41.2.x86_64
|
||||
openfpgaloader-0:0.13.1-20250510.0.git40a588fb.fc41.x86_64
|
||||
openssh-clients-0:9.9p1-3.fc41.x86_64
|
||||
openssh-server-0:9.9p1-3.fc41.x86_64
|
||||
pango-devel-0:1.56.3-1.fc41.x86_64
|
||||
parted-0:3.6-7.fc41.x86_64
|
||||
pavucontrol-0:6.1-1.fc41.x86_64
|
||||
plymouth-0:24.004.60-14.fc41.x86_64
|
||||
plymouth-plugin-two-step-0:24.004.60-14.fc41.x86_64
|
||||
policycoreutils-0:3.7-6.fc41.x86_64
|
||||
podman-compose-0:1.3.0-2.fc41.noarch
|
||||
podman-docker-5:5.4.2-1.fc41.noarch
|
||||
policycoreutils-0:3.7-8.fc41.x86_64
|
||||
pop-icon-theme-0:3.5.0-2.fc41.noarch
|
||||
prjxray-0:0.0.1-20250424.0.git08353c97.fc41.x86_64
|
||||
prjxray-data-0:0.0.1-20250424.0.git08353c97.fc41.noarch
|
||||
procps-ng-0:4.0.4-4.fc41.x86_64
|
||||
python3-dnf-plugin-versionlock-0:4.10.0-1.fc41.noarch
|
||||
python3-dnf-plugin-versionlock-0:4.10.1-1.fc41.noarch
|
||||
python3-neovim-0:0.5.2-2.fc41.noarch
|
||||
python3-virtualenv-0:20.21.1-25.fc41.noarch
|
||||
qalculate-0:5.2.0-3.fc41.x86_64
|
||||
qt-1:4.8.7-77.fc41.x86_64
|
||||
qt5-qtquickcontrols2-0:5.15.15-1.fc41.x86_64
|
||||
qt5-qtsvg-0:5.15.15-1.fc41.x86_64
|
||||
qt5-qtwayland-0:5.15.15-1.fc41.x86_64
|
||||
qt6-qtsvg-0:6.8.1-2.fc41.x86_64
|
||||
qt6-qtwayland-0:6.8.1-2.fc41.x86_64
|
||||
qt6-qtwayland-0:6.8.2-1.fc41.x86_64
|
||||
qt6ct-0:0.9-11.fc41.x86_64
|
||||
ranger-0:1.9.4-1.fc41.noarch
|
||||
remove-retired-packages-0:41.2-1.fc41.noarch
|
||||
remove-retired-packages-0:42.1-1.fc41.noarch
|
||||
ripgrep-0:14.1.1-1.fc41.x86_64
|
||||
rocm-smi-0:6.2.1-1.fc41.x86_64
|
||||
rofi-devel-0:1.7.5-6.fc41.x86_64
|
||||
rofi-wayland-0:1.7.5+wayland2-3.fc40.x86_64
|
||||
rofi-devel-0:1.7.8-1.fc41.x86_64
|
||||
rofi-wayland-0:1.7.8+wayland1-1.fc41.x86_64
|
||||
rootfiles-0:8.1-37.fc41.noarch
|
||||
rpm-0:4.20.0-1.fc41.x86_64
|
||||
rpm-0:4.20.1-1.fc41.x86_64
|
||||
rpmconf-0:1.1.11-3.fc41.noarch
|
||||
rpmfusion-free-release-0:41-1.noarch
|
||||
sddm-0:0.21.0-6.fc41.x86_64
|
||||
screen-0:4.9.1-2.fc41.x86_64
|
||||
seahorse-0:47.0.1-1.fc41.x86_64
|
||||
selinux-policy-targeted-0:41.28-1.fc41.noarch
|
||||
selinux-policy-targeted-0:41.39-1.fc41.noarch
|
||||
setup-0:2.15.0-8.fc41.noarch
|
||||
shadow-utils-2:4.15.1-12.fc41.x86_64
|
||||
shim-x64-0:15.8-3.x86_64
|
||||
sqlite-0:3.46.1-1.fc41.x86_64
|
||||
sssd-common-0:2.10.1-1.fc41.x86_64
|
||||
sssd-kcm-0:2.10.1-1.fc41.x86_64
|
||||
sqlite-0:3.46.1-3.fc41.x86_64
|
||||
sssd-common-0:2.10.2-1.fc41.x86_64
|
||||
sssd-kcm-0:2.10.2-1.fc41.x86_64
|
||||
sudo-0:1.9.15-5.p5.fc41.x86_64
|
||||
symlinks-0:1.7-11.fc41.x86_64
|
||||
systemd-0:256.11-1.fc41.x86_64
|
||||
systemd-resolved-0:256.11-1.fc41.x86_64
|
||||
systemd-0:256.12-1.fc41.x86_64
|
||||
systemd-resolved-0:256.12-1.fc41.x86_64
|
||||
tlp-0:1.6.1-1.fc41.noarch
|
||||
toolbox-0:0.1.1-1.fc41.x86_64
|
||||
udiskie-0:2.5.3-5.fc41.noarch
|
||||
unzip-0:6.0-64.fc41.x86_64
|
||||
util-linux-0:2.40.4-1.fc41.x86_64
|
||||
vim-minimal-2:9.1.1000-1.fc41.x86_64
|
||||
waybar-git-0:0.11.0^25.gita4241d7-1.fc41.x86_64
|
||||
wine-0:10.0-0.7rc4.fc41.x86_64
|
||||
xdg-user-dirs-0:0.18-5.fc41.x86_64
|
||||
vim-minimal-2:9.1.1275-1.fc41.x86_64
|
||||
wavemon-0:0.9.6-1.fc41.x86_64
|
||||
waybar-git-0:0.12.0^10.git0332d2e-1.fc41.x86_64
|
||||
wine-0:10.4-2.fc41.x86_64
|
||||
xdg-user-dirs-0:0.18-9.fc41.x86_64
|
||||
xsettingsd-0:1.0.2-9.fc41.x86_64
|
||||
yosys-0:0.53-20250510.0.git69008181.fc41.x86_64
|
||||
zram-generator-defaults-0:1.1.2-12.fc41.noarch
|
||||
zsh-0:5.9-15.fc41.x86_64
|
||||
|
||||
38
fedora.sh
38
fedora.sh
@@ -11,6 +11,10 @@ replace_config_line () {
|
||||
fi
|
||||
}
|
||||
|
||||
set_unit () {
|
||||
systemctl --user enable --now $*
|
||||
}
|
||||
|
||||
replace_config_line "/etc/dnf/dnf.conf" "installonly_limit" "3"
|
||||
replace_config_line "/etc/dnf/dnf.conf" "best" "False"
|
||||
replace_config_line "/etc/dnf/dnf.conf" "skip_unavailable" "True"
|
||||
@@ -29,6 +33,8 @@ ensure_installed () {
|
||||
sudo dnf update
|
||||
sudo dnf copr enable solopasha/hyprland
|
||||
sudo dnf copr enable tofik/sway
|
||||
sudo dnf copr enable derisis13/ani-cli
|
||||
sudo dnf copr enable rezso/hdl
|
||||
sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
|
||||
|
||||
# Edit then install packages
|
||||
@@ -53,14 +59,29 @@ printf "You'll need to relog to have your default shell changed\n"
|
||||
ensure_installed hyprland hyprpaper hypridle hyprlock hyprsunset
|
||||
mkdir -p ~/.local/share/backgrounds/
|
||||
curl -o ~/.local/share/backgrounds/eKxlw8.jpg -fsSL "https://live.staticflickr.com/5077/5914101671_d80c6591e8_k.jpg"
|
||||
set_unit hypridle.service hyprpaper.service hyprpolkitagent.service hyprsunset.service
|
||||
set_unit pipewire.service pipewire-pulse.service
|
||||
# desktop elements that just work
|
||||
ensure_installed swaync
|
||||
set_unit swaync.service
|
||||
ensure_installed waybar fontawesome4-fonts
|
||||
set_unit waybar.service
|
||||
set_unit cliphist.service
|
||||
|
||||
# Install sddm
|
||||
ensure_installed sddm qt6-qtsvg qt5-qtquickcontrols2
|
||||
sudo cp ~/.config/sddm/sddm.conf /etc/sddm.conf
|
||||
sudo cp -r ~/.config/sddm/themes/catpuccin-macchiatto /usr/share/sddm/themes/
|
||||
# Install ReGreet
|
||||
ensure_installed cargo gtk4-devel cairo-gobject-devel pango-devel greetd
|
||||
sudo usermod -a -G video greetd
|
||||
sudo cp -r ~/.config/regreet/greetd /etc/greetd/
|
||||
sudo cp ~/.local/share/backgrounds/eKxlw8.jpg /etc/greetd/
|
||||
sudo cp ~/.config/gtk-4.0/gtk.css /etc/greetd/regreet.css
|
||||
sudo cp ~/.config/regreet/tmpfiles.conf /etc/tmpfiles.d/regreet.conf
|
||||
mkdir -p "~/.local/bin/build_stage/"
|
||||
git clone https://github.com/rharish101/ReGreet.git "~/.local/bin/build_stage/" &&
|
||||
cd ~/.local/bin/build_stage/ReGreet/ &&
|
||||
cargo build -F gtk4_8 --release &&
|
||||
sudo cp ./target/release/regreet /usr/bin/ &&
|
||||
systemctl enable greetd.service
|
||||
cd
|
||||
|
||||
# Install grub
|
||||
ensure_installed grub2-common
|
||||
@@ -75,15 +96,16 @@ sudo plymouth-set-default-theme -R fedora-mac-style && sudo dracut --regenerate-
|
||||
|
||||
# install gnome's stuff
|
||||
ensure_installed gnome-keying nautilus dconf gedit
|
||||
set_unit gnome-keying.service
|
||||
dconf load /org/gtk/gtk4 < ~/.config/dconf-export/gtk4.dconf
|
||||
dconf load /org/gnome/desktop < ~/.config/dconf-export/gnome-desktop.dconf
|
||||
dconf load /org/gnome/nautilus < ~/.config/dconf-export/nautilus.dconf
|
||||
dconf load /org/gnome/gedit < ~/.config/dconf-export/gedit.dconf
|
||||
|
||||
# rofi & rofi-calc (compilation, because why not)
|
||||
sudo dnf install --allowerasing --assumeyes https://kojipkgs.fedoraproject.org//packages/rofi-wayland/1.7.5+wayland2/3.fc40/$(uname -m)/rofi-wayland-1.7.5+wayland2-3.fc40.$(uname -m).rpm
|
||||
ensure_installed rofi-devel qalculate automake libtool
|
||||
git clone https://github.com/svenstaro/rofi-calc && cd rofi-calc && mkdir m4 && autoreconf -i && mkdir build && cd build && ../configure && make && sudo make install && cd ../.. && rm -rf rofi-calc
|
||||
ensure_installed rofi-wayland rofi-devel qalculate automake libtool
|
||||
git clone https://github.com/svenstaro/rofi-calc "~/.local/bin/build_stage/" && cd "~/.local/bin/build_stage/rofi-calc" && mkdir m4 && autoreconf -i && mkdir build && cd build && ../configure && make && sudo make install
|
||||
cd
|
||||
|
||||
# kdeconnect
|
||||
ensure_installed kdeconnectd
|
||||
@@ -95,7 +117,7 @@ flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.f
|
||||
flatpak install flatseal librewolf
|
||||
|
||||
# set up neovim
|
||||
ensure_installed neovim clang unzip npm ripgrep go
|
||||
ensure_installed neovim clang unzip npm ripgrep go luarocks
|
||||
nvim
|
||||
|
||||
# to finalize it all
|
||||
|
||||
@@ -1,2 +1,4 @@
|
||||
[Settings]
|
||||
gtk-application-prefer-dark-theme=0
|
||||
gtk-cursor-theme-size=24
|
||||
property gtk-cursor-theme-name=Adwaita
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
|
||||
env = XCURSOR_SIZE,24
|
||||
|
||||
#env = LIBVA_DRIVER_NAME,nvidia
|
||||
#env = XDG_SESSION_TYPE,wayland
|
||||
#env = GDM_BACKEND,nvidia-drm
|
||||
#env = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
||||
#env = WLR_NO_HARDWARE_CURSORS,1
|
||||
env = QT_QPA_PLATFORMTHEME,qt6ct
|
||||
env = QT_QPA_PLATFORM,wayland;xcb
|
||||
|
||||
# GarbageTK
|
||||
env = GTK_THEME,adw-gtk3-dark
|
||||
|
||||
# moar wayland
|
||||
env = SDL_VIDEODRIVER,wayland
|
||||
env = CLUTTER_BACKEND,wayland
|
||||
|
||||
# Exec
|
||||
#env = PATH,/home/kosmx/.local/share/graalvm/bin:$PATH
|
||||
|
||||
# XDG
|
||||
env = XDG_RUNTIME_DIR,/run/user/1000/
|
||||
@@ -9,29 +9,28 @@
|
||||
|
||||
|
||||
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
exec-once = hyprpaper
|
||||
exec-once = waybar
|
||||
exec-once = swaync
|
||||
#exec-once = uwsm app hyprpaper
|
||||
#exec-once = uwsm app waybar
|
||||
#exec-once = uwsm app swaync
|
||||
|
||||
# clippy
|
||||
exec-once = wl-paste --type text --watch cliphist -max-items 36 store #Stores only text data
|
||||
exec-once = wl-paste --type image --watch cliphist -max-items 36 store #Stores only image data
|
||||
# exec-once = uwsm app wl-paste --type text --watch cliphist -max-items 36 store #Stores only text data
|
||||
# exec-once = uwsm app wl-paste --type image --watch cliphist -max-items 36 store #Stores only image data
|
||||
|
||||
#exec-once = hyprland-per-window-layout
|
||||
|
||||
exec-once = udiskie &
|
||||
exec-once = uwsm app udiskie
|
||||
|
||||
exec-once = /usr/libexec/hyprpolkitagent
|
||||
exec-once = hypridle
|
||||
exec-once = hyprsunset
|
||||
#exec-once = uwsm app /usr/libexec/hyprpolkitagent
|
||||
#exec-once = uwsm app hypridle
|
||||
#exec-once = hyprsunset
|
||||
|
||||
#exec-once = /usr/libexec/kdeconnectd # kdeconnect daemon
|
||||
exec-once = kdeconnect-indicator
|
||||
exec-once = uwsm app kdeconnect-indicator
|
||||
|
||||
# audit (apparmor) logger
|
||||
# exec-once = aa-notify -p -s 1 -w 60 -f /var/log/audit/audit.log
|
||||
|
||||
exec-once = gnome-keyring-daemon --start --components=pkcs11,secrets,ssh
|
||||
#exec-once = uwsm app gnome-keyring-daemon --start --components=pkcs11,secrets,ssh
|
||||
|
||||
# something keeps changing my cursor. This is my ultimatum.
|
||||
exec-once = gsettings set org.gnome.desktop.interface cursor-theme
|
||||
exec-once = gsettings set org.gnome.desktop.interface cursor-theme Adwaita
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Config yoinked from hyprland website
|
||||
general {
|
||||
lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances.
|
||||
lock_cmd = pidof hyprlock || uwsm app hyprlock # avoid starting multiple hyprlock instances.
|
||||
before_sleep_cmd = loginctl lock-session # lock before suspend.
|
||||
after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
|
||||
}
|
||||
@@ -19,17 +19,17 @@ listener {
|
||||
# }
|
||||
|
||||
listener {
|
||||
timeout = 300 # 5min
|
||||
timeout = 1800 # 30 min
|
||||
on-timeout = loginctl lock-session # lock screen when timeout has passed
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 330 # 5.5min
|
||||
timeout = 1800 # 30 min
|
||||
on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed
|
||||
on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired.
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 1800 # 30min
|
||||
on-timeout = systemctl suspend # suspend pc
|
||||
}
|
||||
#listener {
|
||||
# timeout = 1800 # 30min
|
||||
# on-timeout = systemctl suspend # suspend pc
|
||||
#}
|
||||
|
||||
@@ -18,8 +18,6 @@ monitor=,preferred,auto,auto
|
||||
# Source a file (multi-file configs)
|
||||
# source = ~/.config/hypr/myColors.conf
|
||||
|
||||
source=./env.conf
|
||||
|
||||
# Exec stuffs
|
||||
|
||||
source=./exec.conf
|
||||
@@ -29,8 +27,8 @@ source=./macchiato.conf
|
||||
|
||||
# Window rules
|
||||
|
||||
windowrule = center,^(Rofi)$
|
||||
windowrule = stayfocused,^(Rofi)$
|
||||
windowrulev2 = center, class:^(Rofi)$
|
||||
windowrulev2 = stayfocused, class:^(Rofi)$
|
||||
|
||||
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
||||
input {
|
||||
@@ -52,9 +50,9 @@ input {
|
||||
general {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
gaps_in = 1
|
||||
gaps_out = 2
|
||||
border_size = 1
|
||||
gaps_in = 2
|
||||
gaps_out = 4
|
||||
border_size = 2
|
||||
col.active_border = $blue
|
||||
col.inactive_border = $overlay0
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ label {
|
||||
# INPUT FIELD
|
||||
input-field {
|
||||
monitor =
|
||||
size = 300, 60
|
||||
size = 900, 60
|
||||
outline_thickness = 4
|
||||
dots_size = 0.2
|
||||
dots_spacing = 0.2
|
||||
|
||||
@@ -4,23 +4,20 @@
|
||||
$mainMod = SUPER
|
||||
|
||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
bind = $mainMod, T, exec, kitty
|
||||
bind = $mainMod, W, exec, flatpak run io.gitlab.librewolf-community
|
||||
bind = $mainMod, BACKSPACE, killactive,
|
||||
bind = $mainMod CTRL ALT, BACKSPACE, exit,
|
||||
bind = $mainMod CTRL, BACKSPACE, exec, sh ~/.config/swaylock.sh
|
||||
#bind = $mainMod, PAUSE, killactive,
|
||||
bind = $mainMod, F, exec, nautilus
|
||||
bind = $mainMod, Y, togglefloating,
|
||||
bind = $mainMod, BACKSPACE, killactive
|
||||
bind = $mainMod CTRL ALT, BACKSPACE, exec, uwsm stop
|
||||
#bind = $mainMod CTRL, BACKSPACE, exec, sh ~/.config/swaylock.sh
|
||||
#bind = $mainMod, PAUSE, killactive
|
||||
bind = $mainMod, Y, togglefloating
|
||||
bind = $mainMod SHIFT, Y, workspaceopt, allfloat
|
||||
bind = $mainMod, P, pseudo, # dwindle
|
||||
bind = $mainMod SHIFT, P, pin,
|
||||
bind = $mainMod SHIFT, P, workspaceopt, allpseudo,
|
||||
bind = $mainMod SHIFT, P, pin
|
||||
bind = $mainMod SHIFT, P, workspaceopt, allpseudo
|
||||
bind = $mainMod, O, togglesplit, # dwindle
|
||||
bind = $mainMod, E, fullscreen, 1
|
||||
bind = $mainMod SHIFT, E, fullscreen, 0
|
||||
# bind = $mainMod CTRL, E, fakefullscreen,
|
||||
bind = $mainMod SHIFT, PERIOD, pin,
|
||||
# bind = $mainMod CTRL, E, fakefullscreen
|
||||
bind = $mainMod SHIFT, PERIOD, pin
|
||||
binde = , XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
||||
binde = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||
binde = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
@@ -104,7 +101,7 @@ bind = $mainMod, mouse:274, movetoworkspacesilent, special
|
||||
bind = $mainMod, C, movetoworkspacesilent, special
|
||||
bind = $mainMod SHIFT, mouse:274, movetoworkspace, special
|
||||
bind = $mainMod SHIFT, C, movetoworkspace, special
|
||||
bind = $mainMod, TAB, togglespecialworkspace,
|
||||
bind = $mainMod, TAB, togglespecialworkspace
|
||||
bind = $mainMod CTRL, END, workspace, empty
|
||||
bind = $mainMod SHIFT, END, movetoworkspace, empty
|
||||
bind = $mainMod CTRL, HOME, workspace, 1
|
||||
@@ -115,14 +112,18 @@ bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
bindm = $mainMod SHIFT, mouse:272, resizewindow
|
||||
|
||||
# Applications
|
||||
bind = $mainMod, F, exec, uwsm app nautilus
|
||||
bind = $mainMod, T, exec, uwsm app kitty
|
||||
bind = $mainMod, W, exec, uwsm app io.gitlab.librewolf-community.desktop
|
||||
|
||||
# Tools (launcher/etc)
|
||||
bind = $mainMod, SPACE, exec, ~/.config/rofi/launchers/type-1/launcher.sh
|
||||
bind = $mainMod SHIFT, V, exec, cliphist list | rofi -theme ~/.config/rofi/launchers/type-1/style-5.rasi -dmenu | cliphist decode | wl-copy && wl-paste
|
||||
bind = $mainMod SHIFT, V, exec, cliphist list | rofi -theme ~/.config/rofi/launchers/type-1/style-5.rasi -dmenu | cliphist decode | wl-copy
|
||||
bind = $mainMod SHIFT CTRL, V, exec, cliphist list | rofi -theme ~/.config/rofi/launchers/type-1/style-5.rasi -dmenu | cliphist delete
|
||||
bind = $mainMod, minus, exec, rofi -theme ~/.config/rofi/launchers/type-1/style-5.rasi -show calc -modi calc -no-show-match -no-sort -no-persist-history -calc-command "echo -n '{result}' | wl-copy"
|
||||
bind = $mainMod, B, exec, pkill waybar || waybar
|
||||
bind = $mainMod SHIFT, ESCAPE, exec, plasma-systemmonitor # TODO add my own monitor
|
||||
bind = $mainMod, B, exec, pkill waybar || uwsm app waybar
|
||||
bind = $mainMod SHIFT, ESCAPE, exec, uwsm app plasma-systemmonitor # TODO add my own monitor
|
||||
bind = $mainMod, N, exec, swaync-client -t -sw
|
||||
|
||||
bind = $mainMod SHIFT, S, exec, sh -c "slurp | grim -g - - | wl-copy && wl-paste > $(xdg-user-dir PICTURES)/screenshots/$(date +'%Y-%m-%d-%H%M%S_grim.png')"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
local options = {
|
||||
|
||||
base46 = {
|
||||
theme = "catppuccin", -- default theme
|
||||
theme = "chadracula-evondev", -- default theme
|
||||
hl_add = {},
|
||||
hl_override = {},
|
||||
integrations = {},
|
||||
@@ -11,7 +11,7 @@ local options = {
|
||||
},
|
||||
},
|
||||
transparency = true,
|
||||
theme_toggle = { "catppuccin", "one_light" },
|
||||
theme_toggle = { "chadracula-evondev", "one_light" },
|
||||
},
|
||||
|
||||
ui = {
|
||||
|
||||
@@ -34,7 +34,7 @@ return {
|
||||
"zip",
|
||||
"zipPlugin",
|
||||
"tutor",
|
||||
"rplugin",
|
||||
-- "rplugin",
|
||||
"syntax",
|
||||
"synmenu",
|
||||
"optwin",
|
||||
|
||||
@@ -97,3 +97,22 @@ end, { desc = "Gitsigns Blame line" })
|
||||
map("n", "<leader>td", function()
|
||||
require("gitsigns").toggle_deleted()
|
||||
end, { desc = "Gitsigns Toggle deleted" })
|
||||
|
||||
-- molten related mappings
|
||||
map("n", "<localleader>ip", function()
|
||||
local venv = os.getenv("VIRTUAL_ENV") or os.getenv("CONDA_PREFIX")
|
||||
if venv ~= nil then
|
||||
-- in the form of /home/ha5pls/.local/state/virtualenvs/VENV_NAME
|
||||
venv = string.match(venv, "/.+/(.+)")
|
||||
vim.cmd(("MoltenInit %s"):format(venv))
|
||||
else
|
||||
vim.cmd("MoltenInit python3")
|
||||
end
|
||||
end, { desc = "Initialize Molten for python3" })
|
||||
map("n", "<leader>mi", ":MoltenInit<CR>")
|
||||
map("n", "<leader>me", ":MoltenEvaluateOperator<CR>")
|
||||
map("n", "<leader>rr", ":MoltenReevaluateCell<CR>")
|
||||
map("v", "<leader>r", ":<C-u>MoltenEvaluateVisual<CR>gv")
|
||||
map("n", "<leader>os", ":noautocmd MoltenEnterOutput<CR>")
|
||||
map("n", "<leader>oh", ":MoltenHideOutput<CR>")
|
||||
map("n", "<leader>md", ":MoltenDelete<CR>")
|
||||
|
||||
@@ -15,16 +15,32 @@ vim.filetype.add({
|
||||
})
|
||||
-- Hyprlang LSP
|
||||
autocmd({'BufEnter', 'BufWinEnter'}, {
|
||||
pattern = {"*.hl", "hypr*.conf"},
|
||||
callback = function(event)
|
||||
print(string.format("starting hyprls for %s", vim.inspect(event)))
|
||||
vim.lsp.start {
|
||||
name = "hyprlang",
|
||||
cmd = {"hyprls"},
|
||||
root_dir = vim.fn.getcwd(),
|
||||
}
|
||||
end
|
||||
pattern = {"*.hl", "hypr*.conf"},
|
||||
callback = function(event)
|
||||
print(string.format("starting hyprls for %s", vim.inspect(event)))
|
||||
vim.lsp.start {
|
||||
name = "hyprlang",
|
||||
cmd = {"hyprls"},
|
||||
root_dir = vim.fn.getcwd(),
|
||||
}
|
||||
end
|
||||
})
|
||||
|
||||
vim.g.vscode_snippets_path = "~/.config/nvim/snippets"
|
||||
vim.opt.relativenumber = true
|
||||
vim.opt.tabstop = 4
|
||||
vim.opt.shiftwidth = 4
|
||||
vim.opt.expandtab = true
|
||||
|
||||
-- use prepared venv, mostly for molten
|
||||
local enable_providers = {
|
||||
"python3_provider",
|
||||
-- and so on
|
||||
}
|
||||
|
||||
for _, plugin in pairs(enable_providers) do
|
||||
vim.g["loaded_" .. plugin] = nil
|
||||
vim.cmd("runtime " .. plugin)
|
||||
end
|
||||
|
||||
vim.g.python3_host_prog = vim.fn.expand(os.getenv("XDG_STATE_HOME") .. "/virtualenvs/neovim/bin/python3")
|
||||
|
||||
@@ -1,110 +1,145 @@
|
||||
return {
|
||||
{
|
||||
"stevearc/conform.nvim",
|
||||
-- event = 'BufWritePre', -- uncomment for format on save
|
||||
config = function()
|
||||
require "configs.conform"
|
||||
end,
|
||||
},
|
||||
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
config = function()
|
||||
require "nvchad.configs.lspconfig"
|
||||
require "configs.lspconfig"
|
||||
end, -- Override to setup mason-lspconfig
|
||||
},
|
||||
|
||||
-- override plugin configs
|
||||
{
|
||||
"williamboman/mason.nvim",
|
||||
opts = {
|
||||
ensure_installed = {
|
||||
-- lua stuff
|
||||
"lua-language-server",
|
||||
"stylua",
|
||||
|
||||
-- c/cpp stuff
|
||||
"clangd",
|
||||
"clang-format",
|
||||
|
||||
-- python
|
||||
"pyright@1.1.351", -- newer versions have node skill issue
|
||||
"autopep8",
|
||||
|
||||
-- latex/markdown stuff
|
||||
"ltex-ls",
|
||||
"bibtex-tidy",
|
||||
|
||||
-- shell
|
||||
"shellcheck",
|
||||
|
||||
-- Hyprlang
|
||||
"hyrpls",
|
||||
|
||||
-- hdl
|
||||
"rust_hdl",
|
||||
},
|
||||
{
|
||||
"stevearc/conform.nvim",
|
||||
-- event = 'BufWritePre', -- uncomment for format on save
|
||||
config = function()
|
||||
require "configs.conform"
|
||||
end,
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
opts = {
|
||||
ensure_installed = {
|
||||
"vim",
|
||||
"lua",
|
||||
"html",
|
||||
"css",
|
||||
"c",
|
||||
"cpp",
|
||||
"markdown",
|
||||
"markdown_inline",
|
||||
"yaml",
|
||||
"python",
|
||||
"latex",
|
||||
"vhdl",
|
||||
"hyprlang",
|
||||
},
|
||||
indent = {
|
||||
enable = true,
|
||||
-- disable = {
|
||||
-- "python"
|
||||
-- },
|
||||
},
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
config = function()
|
||||
require "nvchad.configs.lspconfig"
|
||||
require "configs.lspconfig"
|
||||
end, -- Override to setup mason-lspconfig
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
"nvim-tree/nvim-tree.lua",
|
||||
opts = {
|
||||
git = {
|
||||
enable = true,
|
||||
},
|
||||
renderer = {
|
||||
highlight_git = true,
|
||||
icons = {
|
||||
show = {
|
||||
git = true,
|
||||
},
|
||||
-- override plugin configs
|
||||
{
|
||||
"williamboman/mason.nvim",
|
||||
opts = {
|
||||
ensure_installed = {
|
||||
-- lua stuff
|
||||
"lua-language-server",
|
||||
"stylua",
|
||||
|
||||
-- c/cpp stuff
|
||||
"clangd",
|
||||
"clang-format",
|
||||
|
||||
-- python
|
||||
"pyright@1.1.351", -- newer versions have node skill issue
|
||||
"autopep8",
|
||||
|
||||
-- latex/markdown stuff
|
||||
"ltex-ls",
|
||||
"bibtex-tidy",
|
||||
|
||||
-- shell
|
||||
"shellcheck",
|
||||
|
||||
-- Hyprlang
|
||||
"hyrpls",
|
||||
|
||||
-- hdl
|
||||
"rust_hdl",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
"stevearc/conform.nvim",
|
||||
-- for users those who want auto-save conform + lazyloading!
|
||||
event = "BufWritePre",
|
||||
config = function()
|
||||
require "configs.conform"
|
||||
end,
|
||||
},
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
opts = {
|
||||
ensure_installed = {
|
||||
"vim",
|
||||
"lua",
|
||||
"html",
|
||||
"css",
|
||||
"c",
|
||||
"cpp",
|
||||
"markdown",
|
||||
"markdown_inline",
|
||||
"yaml",
|
||||
"python",
|
||||
"latex",
|
||||
"vhdl",
|
||||
"hyprlang",
|
||||
},
|
||||
indent = {
|
||||
enable = true,
|
||||
-- disable = {
|
||||
-- "python"
|
||||
-- },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
"godlygeek/tabular",
|
||||
-- ft = "vhdl", -- temporary solution, but I only need it for vhdl. To be replaced with a real formatter long-term
|
||||
cmd = { "GTabularize", "Tabularize" },
|
||||
-- lazy = false
|
||||
},
|
||||
{
|
||||
"nvim-tree/nvim-tree.lua",
|
||||
opts = {
|
||||
git = {
|
||||
enable = true,
|
||||
},
|
||||
renderer = {
|
||||
highlight_git = true,
|
||||
icons = {
|
||||
show = {
|
||||
git = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
"stevearc/conform.nvim",
|
||||
-- for users those who want auto-save conform + lazyloading!
|
||||
event = "BufWritePre",
|
||||
config = function()
|
||||
require "configs.conform"
|
||||
end,
|
||||
},
|
||||
|
||||
{
|
||||
"godlygeek/tabular",
|
||||
-- ft = "vhdl", -- temporary solution, but I only need it for vhdl. To be replaced with a real formatter long-term
|
||||
cmd = { "GTabularize", "Tabularize" },
|
||||
},
|
||||
|
||||
{
|
||||
"benlubas/molten-nvim",
|
||||
-- version = "^1.0.0", -- use version <2.0.0 to avoid breaking changes
|
||||
dependencies = { "3rd/image.nvim" },
|
||||
build = ":UpdateRemotePlugins",
|
||||
init = function()
|
||||
vim.g.molten_image_provider = "image.nvim"
|
||||
vim.g.molten_use_border_highlights = true
|
||||
end,
|
||||
-- lazy = false
|
||||
},
|
||||
{
|
||||
-- see the image.nvim readme for more information about configuring this plugin
|
||||
"3rd/image.nvim",
|
||||
opts = {
|
||||
backend = "kitty", -- whatever backend you would like to use
|
||||
max_width = 100,
|
||||
max_height = 12,
|
||||
max_height_window_percentage = math.huge,
|
||||
max_width_window_percentage = math.huge,
|
||||
window_overlap_clear_enabled = true, -- toggles images when windows are overlapped
|
||||
window_overlap_clear_ft_ignore = { "cmp_menu", "cmp_docs", "" },
|
||||
integrations = {
|
||||
markdown = {
|
||||
enabled = true,
|
||||
clear_in_insert_mode = false,
|
||||
download_remote_images = true,
|
||||
only_render_image_at_cursor = false,
|
||||
only_render_image_at_cursor_mode = "popup",
|
||||
floating_windows = false, -- if true, images will be rendered in floating markdown windows
|
||||
filetypes = { "markdown", "vimwiki" }, -- markdown extensions (ie. quarto) can go here
|
||||
},
|
||||
}, -- do whatever you want with image.nvim's integrations
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@ MessageBelowAnimation=true
|
||||
UseEndAnimation=true
|
||||
UseFirmwareBackground=false
|
||||
Title=HA5PLS
|
||||
SubTitle=CQ DE INSPIRON-5558
|
||||
SubTitle=CQ DE CLAVIUS
|
||||
|
||||
[shutdown]
|
||||
UseEndAnimation=true
|
||||
|
||||
10
regreet/greetd/config.toml
Normal file
10
regreet/greetd/config.toml
Normal file
@@ -0,0 +1,10 @@
|
||||
[terminal]
|
||||
# The VT to run the greeter on. Can be "next", "current" or a number
|
||||
# designating the VT.
|
||||
vt = current
|
||||
|
||||
# The default session, also known as the greeter.
|
||||
[default_session]
|
||||
command = "Hyprland --config /etc/greetd/hyprland.conf"
|
||||
user = "greetd"
|
||||
|
||||
9
regreet/greetd/hyprland.conf
Normal file
9
regreet/greetd/hyprland.conf
Normal file
@@ -0,0 +1,9 @@
|
||||
exec-once = regreet; hyprctl dispatch exit
|
||||
input {
|
||||
kb_layout = hu
|
||||
}
|
||||
misc {
|
||||
disable_hyprland_logo = true
|
||||
disable_splash_rendering = true
|
||||
disable_hyprland_qtutils_check = true
|
||||
}
|
||||
69
regreet/greetd/regreet.toml
Normal file
69
regreet/greetd/regreet.toml
Normal file
@@ -0,0 +1,69 @@
|
||||
# SPDX-FileCopyrightText: 2022 Harish Rajagopal <harish.rajagopals@gmail.com>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
[background]
|
||||
# Path to the background image
|
||||
path = "/etc/greetd/eKxlw8.jpg"
|
||||
|
||||
# How the background image covers the screen if the aspect ratio doesn't match
|
||||
# Available values: "Fill", "Contain", "Cover", "ScaleDown"
|
||||
# Refer to: https://docs.gtk.org/gtk4/enum.ContentFit.html
|
||||
# NOTE: This is ignored if ReGreet isn't compiled with GTK v4.8 support.
|
||||
fit = "Cover"
|
||||
|
||||
# The entries defined in this section will be passed to the session as environment variables when it is started
|
||||
[env]
|
||||
XDG_SESSION_TYPE = "wayland"
|
||||
XDG_SESSION_DESKTOP = "Hyprland"
|
||||
XDG_CURRENT_DESKTOP = "Hyprland"
|
||||
QT_QPA_PLATFORM = "wayland"
|
||||
SDL_VIDEODRIVER = "wayland"
|
||||
_JAVA_AWT_WM_NONREPARENTING = "1"
|
||||
|
||||
[GTK]
|
||||
# Whether to use the dark theme
|
||||
application_prefer_dark_theme = true
|
||||
|
||||
# Cursor theme name
|
||||
cursor_theme_name = "Adwaita"
|
||||
|
||||
# Font name and size
|
||||
font_name = "Roboto 12"
|
||||
|
||||
# Icon theme name
|
||||
icon_theme_name = "Adwaita"
|
||||
|
||||
# GTK theme name
|
||||
theme_name = "adw-gtk3-dark"
|
||||
|
||||
[commands]
|
||||
# The command used to reboot the system
|
||||
reboot = ["systemctl", "reboot"]
|
||||
|
||||
# The command used to shut down the system
|
||||
poweroff = ["systemctl", "poweroff"]
|
||||
|
||||
# The command prefix for X11 sessions to start the X server
|
||||
x11_prefix = [ "startx", "/usr/bin/env" ]
|
||||
|
||||
[appearance]
|
||||
# The message that initially displays on startup
|
||||
greeting_msg = "CQ DE HA5PLS"
|
||||
|
||||
|
||||
[widget.clock]
|
||||
# strftime format argument
|
||||
# See https://docs.rs/jiff/0.1.14/jiff/fmt/strtime/index.html#conversion-specifications
|
||||
format = "%A %H:%M"
|
||||
|
||||
# How often to update the text
|
||||
resolution = "500ms"
|
||||
|
||||
# Override system timezone (IANA Time Zone Database name, aka /etc/zoneinfo path)
|
||||
# Remove to use the system time zone.
|
||||
timezone = "Europe/Budapest"
|
||||
|
||||
# Ask GTK to make the label at least this wide. This helps keeps the parent element layout and width consistent.
|
||||
# Experiment with different widths, the interpretation of this value is entirely up to GTK.
|
||||
label_width = 150
|
||||
7
regreet/tmpfiles.conf
Normal file
7
regreet/tmpfiles.conf
Normal file
@@ -0,0 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 2023 Harish Rajagopal <harish.rajagopals@gmail.com>
|
||||
#
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
# Create the log and state directories.
|
||||
d /var/log/regreet 0755 greetd greetd - -
|
||||
d /var/lib/regreet 0755 greetd greetd - -
|
||||
@@ -22,11 +22,11 @@ elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
|
||||
fi
|
||||
|
||||
# CMDs (add your apps here)
|
||||
term_cmd='kitty'
|
||||
file_cmd='nautilus'
|
||||
text_cmd='gedit'
|
||||
web_cmd='flatpak run io.gitlab.librewolf-community'
|
||||
music_cmd=''
|
||||
term_cmd='uwsm app kitty'
|
||||
file_cmd='uwsm app nautilus'
|
||||
text_cmd='uwsm app gedit'
|
||||
web_cmd='uwsm app io.gitlab.librewolf-community.desktop'
|
||||
music_cmd='uwsm app com.github.iwalton3.jellyfin-mpv-shim.desktop'
|
||||
setting_cmd=''
|
||||
|
||||
# Options
|
||||
|
||||
@@ -108,7 +108,7 @@ run_cmd() {
|
||||
elif [[ "$1" == '--opt2' ]]; then
|
||||
notify-send -u low "$ICON_CHRG Status : $status"
|
||||
elif [[ "$1" == '--opt3' ]]; then
|
||||
xfce4-power-manager-settings
|
||||
uwsm app xfce4-power-manager-settings
|
||||
elif [[ "$1" == '--opt4' ]]; then
|
||||
${polkit_cmd} kitty -e powertop
|
||||
fi
|
||||
|
||||
@@ -83,7 +83,7 @@ run_cmd() {
|
||||
elif [[ "$1" == '--opt3' ]]; then
|
||||
light -U 5
|
||||
elif [[ "$1" == '--opt4' ]]; then
|
||||
xfce4-power-manager-settings
|
||||
uwsm app xfce4-power-manager-settings
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
@@ -14,116 +14,116 @@ prompt="`hostname`"
|
||||
mesg="Uptime : `uptime -p | sed -e 's/up //g'`"
|
||||
|
||||
if [[ ( "$theme" == *'type-1'* ) || ( "$theme" == *'type-3'* ) || ( "$theme" == *'type-5'* ) ]]; then
|
||||
list_col='1'
|
||||
list_row='6'
|
||||
list_col='1'
|
||||
list_row='6'
|
||||
elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
|
||||
list_col='6'
|
||||
list_row='1'
|
||||
list_col='6'
|
||||
list_row='1'
|
||||
fi
|
||||
|
||||
# Options
|
||||
layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
|
||||
if [[ "$layout" == 'NO' ]]; then
|
||||
option_1=" Lock"
|
||||
option_2=" Logout"
|
||||
option_3=" Suspend"
|
||||
option_4=" Hibernate"
|
||||
option_5=" Reboot"
|
||||
option_6=" Shutdown"
|
||||
yes=' Yes'
|
||||
no=' No'
|
||||
option_1=" Lock"
|
||||
option_2=" Logout"
|
||||
option_3=" Suspend"
|
||||
option_4=" Hibernate"
|
||||
option_5=" Reboot"
|
||||
option_6=" Shutdown"
|
||||
yes=' Yes'
|
||||
no=' No'
|
||||
else
|
||||
option_1=""
|
||||
option_2=""
|
||||
option_3=""
|
||||
option_4=""
|
||||
option_5=""
|
||||
option_6=""
|
||||
yes=''
|
||||
no=''
|
||||
option_1=""
|
||||
option_2=""
|
||||
option_3=""
|
||||
option_4=""
|
||||
option_5=""
|
||||
option_6=""
|
||||
yes=''
|
||||
no=''
|
||||
fi
|
||||
|
||||
# Rofi CMD
|
||||
rofi_cmd() {
|
||||
rofi -theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
||||
-theme-str 'textbox-prompt-colon {str: "";}' \
|
||||
-dmenu \
|
||||
-p "$prompt" \
|
||||
-mesg "$mesg" \
|
||||
-markup-rows \
|
||||
-theme ${theme}
|
||||
rofi -theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
||||
-theme-str 'textbox-prompt-colon {str: "";}' \
|
||||
-dmenu \
|
||||
-p "$prompt" \
|
||||
-mesg "$mesg" \
|
||||
-markup-rows \
|
||||
-theme ${theme}
|
||||
}
|
||||
|
||||
# Pass variables to rofi dmenu
|
||||
run_rofi() {
|
||||
echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5\n$option_6" | rofi_cmd
|
||||
echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5\n$option_6" | rofi_cmd
|
||||
}
|
||||
|
||||
# Confirmation CMD
|
||||
confirm_cmd() {
|
||||
rofi -theme-str 'window {location: center; anchor: center; fullscreen: false; width: 350px;}' \
|
||||
-theme-str 'mainbox {orientation: vertical; children: [ "message", "listview" ];}' \
|
||||
-theme-str 'listview {columns: 2; lines: 1;}' \
|
||||
-theme-str 'element-text {horizontal-align: 0.5;}' \
|
||||
-theme-str 'textbox {horizontal-align: 0.5;}' \
|
||||
-dmenu \
|
||||
-p 'Confirmation' \
|
||||
-mesg 'Are you Sure?' \
|
||||
-theme ${theme}
|
||||
rofi -theme-str 'window {location: center; anchor: center; fullscreen: false; width: 350px;}' \
|
||||
-theme-str 'mainbox {orientation: vertical; children: [ "message", "listview" ];}' \
|
||||
-theme-str 'listview {columns: 2; lines: 1;}' \
|
||||
-theme-str 'element-text {horizontal-align: 0.5;}' \
|
||||
-theme-str 'textbox {horizontal-align: 0.5;}' \
|
||||
-dmenu \
|
||||
-p 'Confirmation' \
|
||||
-mesg 'Are you Sure?' \
|
||||
-theme ${theme}
|
||||
}
|
||||
|
||||
# Ask for confirmation
|
||||
confirm_exit() {
|
||||
echo -e "$yes\n$no" | confirm_cmd
|
||||
echo -e "$yes\n$no" | confirm_cmd
|
||||
}
|
||||
|
||||
# Confirm and execute
|
||||
confirm_run () {
|
||||
selected="$(confirm_exit)"
|
||||
if [[ "$selected" == "$yes" ]]; then
|
||||
confirm_run () {
|
||||
selected="$(confirm_exit)"
|
||||
if [[ "$selected" == "$yes" ]]; then
|
||||
${1} && ${2} && ${3}
|
||||
else
|
||||
exit
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
# Execute Command
|
||||
run_cmd() {
|
||||
if [[ "$1" == '--opt1' ]]; then
|
||||
loginctl lock-session
|
||||
elif [[ "$1" == '--opt2' ]]; then
|
||||
confirm_run 'hyprctl dispatch exit'
|
||||
elif [[ "$1" == '--opt3' ]]; then
|
||||
confirm_run 'systemctl suspend'
|
||||
elif [[ "$1" == '--opt4' ]]; then
|
||||
confirm_run 'systemctl hibernate'
|
||||
elif [[ "$1" == '--opt5' ]]; then
|
||||
confirm_run 'systemctl reboot'
|
||||
elif [[ "$1" == '--opt6' ]]; then
|
||||
confirm_run 'systemctl poweroff'
|
||||
fi
|
||||
if [[ "$1" == '--opt1' ]]; then
|
||||
loginctl lock-session
|
||||
elif [[ "$1" == '--opt2' ]]; then
|
||||
confirm_run 'uwsm stop'
|
||||
elif [[ "$1" == '--opt3' ]]; then
|
||||
confirm_run 'systemctl suspend'
|
||||
elif [[ "$1" == '--opt4' ]]; then
|
||||
confirm_run 'systemctl hibernate'
|
||||
elif [[ "$1" == '--opt5' ]]; then
|
||||
confirm_run 'systemctl reboot'
|
||||
elif [[ "$1" == '--opt6' ]]; then
|
||||
confirm_run 'systemctl poweroff'
|
||||
fi
|
||||
}
|
||||
|
||||
# Actions
|
||||
chosen="$(run_rofi)"
|
||||
case ${chosen} in
|
||||
$option_1)
|
||||
run_cmd --opt1
|
||||
run_cmd --opt1
|
||||
;;
|
||||
$option_2)
|
||||
run_cmd --opt2
|
||||
run_cmd --opt2
|
||||
;;
|
||||
$option_3)
|
||||
run_cmd --opt3
|
||||
run_cmd --opt3
|
||||
;;
|
||||
$option_4)
|
||||
run_cmd --opt4
|
||||
run_cmd --opt4
|
||||
;;
|
||||
$option_5)
|
||||
run_cmd --opt5
|
||||
run_cmd --opt5
|
||||
;;
|
||||
$option_6)
|
||||
run_cmd --opt6
|
||||
run_cmd --opt6
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
@@ -108,7 +108,7 @@ run_cmd() {
|
||||
elif [[ "$1" == '--opt4' ]]; then
|
||||
amixer set Capture toggle
|
||||
elif [[ "$1" == '--opt5' ]]; then
|
||||
pavucontrol
|
||||
uwsm app pavucontrol
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
@@ -18,3 +18,4 @@ theme='style-5'
|
||||
rofi \
|
||||
-show drun \
|
||||
-theme ${dir}/${theme}.rasi
|
||||
-run-command "uwsm app -- {cmd}"
|
||||
|
||||
122
sddm/sddm.conf
122
sddm/sddm.conf
@@ -1,122 +0,0 @@
|
||||
[Autologin]
|
||||
# Whether sddm should automatically log back into sessions when they exit
|
||||
#Relogin=false
|
||||
|
||||
# Name of session file for autologin session
|
||||
#Session=
|
||||
|
||||
# Username for autologin session
|
||||
#User=
|
||||
|
||||
|
||||
[General]
|
||||
# Enable Qt's automatic high-DPI scaling
|
||||
#EnableHiDPI=false
|
||||
|
||||
# Halt command
|
||||
#HaltCommand=/usr/bin/systemctl poweroff
|
||||
|
||||
# Initial NumLock state. Can be on, off or none.
|
||||
# If property is set to none, numlock won't be changed
|
||||
# NOTE: Currently ignored if autologin is enabled.
|
||||
#Numlock=none
|
||||
|
||||
# Reboot command
|
||||
#RebootCommand=/usr/bin/systemctl reboot
|
||||
|
||||
# Control x11/wayland startup
|
||||
# DisplayServer=wayland
|
||||
|
||||
[Theme]
|
||||
# Current theme name
|
||||
Current=catppuccin-macchiato
|
||||
|
||||
# Cursor theme used in the greeter
|
||||
#CursorTheme=
|
||||
|
||||
# Number of users to use as threshold
|
||||
# above which avatars are disabled
|
||||
# unless explicitly enabled with EnableAvatars
|
||||
#DisableAvatarsThreshold=7
|
||||
|
||||
# Enable display of custom user avatars
|
||||
#EnableAvatars=true
|
||||
|
||||
# Global directory for user avatars
|
||||
# The files should be named <username>.face.icon
|
||||
#FacesDir=/usr/share/sddm/faces
|
||||
|
||||
# Theme directory path
|
||||
ThemeDir=/usr/share/sddm/themes
|
||||
|
||||
|
||||
[Users]
|
||||
# Default $PATH for logged in users
|
||||
#DefaultPath=/usr/local/bin:/usr/bin:/bin
|
||||
|
||||
# Comma-separated list of shells.
|
||||
# Users with these shells as their default won't be listed
|
||||
#HideShells=
|
||||
|
||||
# Comma-separated list of users that should not be listed
|
||||
#HideUsers=
|
||||
|
||||
# Maximum user id for displayed users
|
||||
#MaximumUid=60000
|
||||
|
||||
# Minimum user id for displayed users
|
||||
#MinimumUid=1000
|
||||
|
||||
# Remember the session of the last successfully logged in user
|
||||
#RememberLastSession=true
|
||||
|
||||
# Remember the last successfully logged in user
|
||||
#RememberLastUser=true
|
||||
|
||||
|
||||
[Wayland]
|
||||
# Path to a script to execute when starting the desktop session
|
||||
#SessionCommand=/etc/sddm/wayland-session
|
||||
|
||||
# Directory containing available Wayland sessions
|
||||
#SessionDir=/usr/share/wayland-sessions
|
||||
|
||||
# Path to the user session log file
|
||||
#SessionLogFile=.cache/wayland-errors
|
||||
|
||||
|
||||
[X11]
|
||||
# Path to a script to execute when starting the display server
|
||||
#DisplayCommand=/etc/sddm/Xsetup
|
||||
|
||||
# Path to a script to execute when stopping the display server
|
||||
#DisplayStopCommand=/etc/sddm/Xstop
|
||||
|
||||
# The lowest virtual terminal number that will be used.
|
||||
#MinimumVT=1
|
||||
|
||||
# Arguments passed to the X server invocation
|
||||
#ServerArguments=-nolisten tcp
|
||||
|
||||
# Path to X server binary
|
||||
#ServerPath=/usr/bin/X
|
||||
|
||||
# Path to a script to execute when starting the desktop session
|
||||
#SessionCommand=/etc/X11/xinit/Xsession
|
||||
|
||||
# Directory containing available X sessions
|
||||
#SessionDir=/usr/share/xsessions
|
||||
|
||||
# Path to the user session log file
|
||||
#SessionLogFile=.cache/xsession-errors
|
||||
|
||||
# Path to the Xauthority file
|
||||
#UserAuthFile=.Xauthority
|
||||
|
||||
# Path to xauth binary
|
||||
#XauthPath=/usr/bin/xauth
|
||||
|
||||
# Path to Xephyr binary
|
||||
#XephyrPath=/usr/bin/Xephyr
|
||||
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
import QtQuick 2.15
|
||||
import SddmComponents 2.0
|
||||
|
||||
Clock {
|
||||
id: time
|
||||
color: config.text
|
||||
timeFont.family: config.Font
|
||||
dateFont.family: config.Font
|
||||
anchors {
|
||||
margins: 10
|
||||
top: parent.top
|
||||
right: parent.right
|
||||
}
|
||||
}
|
||||
@@ -1,147 +0,0 @@
|
||||
import QtQuick 2.15
|
||||
import QtQuick.Window 2.15
|
||||
import QtQuick.Controls 2.15
|
||||
|
||||
Item {
|
||||
property var user: userField.text
|
||||
property var password: passwordField.text
|
||||
property var session: sessionPanel.session
|
||||
property var inputHeight: Screen.height * 0.032
|
||||
property var inputWidth: Screen.width * 0.16
|
||||
Rectangle {
|
||||
id: loginBackground
|
||||
anchors {
|
||||
verticalCenter: parent.verticalCenter
|
||||
horizontalCenter: parent.horizontalCenter
|
||||
}
|
||||
height: inputHeight * 5.3
|
||||
width: inputWidth * 1.2
|
||||
radius: 5
|
||||
visible: config.LoginBackground == "true" ? true : false
|
||||
color: config.mantle
|
||||
}
|
||||
Column {
|
||||
spacing: 8
|
||||
anchors {
|
||||
bottom: parent.bottom
|
||||
left: parent.left
|
||||
}
|
||||
PowerButton {
|
||||
id: powerButton
|
||||
}
|
||||
RebootButton {
|
||||
id: rebootButton
|
||||
}
|
||||
SleepButton {
|
||||
id: sleepButton
|
||||
}
|
||||
z: 5
|
||||
}
|
||||
Column {
|
||||
spacing: 8
|
||||
anchors {
|
||||
bottom: parent.bottom
|
||||
right: parent.right
|
||||
}
|
||||
SessionPanel {
|
||||
id: sessionPanel
|
||||
}
|
||||
z: 5
|
||||
}
|
||||
Column {
|
||||
spacing: 8
|
||||
z: 5
|
||||
width: inputWidth
|
||||
anchors {
|
||||
verticalCenter: parent.verticalCenter
|
||||
horizontalCenter: parent.horizontalCenter
|
||||
}
|
||||
UserField {
|
||||
id: userField
|
||||
height: inputHeight
|
||||
width: parent.width
|
||||
}
|
||||
PasswordField {
|
||||
id: passwordField
|
||||
height: inputHeight
|
||||
width: parent.width
|
||||
onAccepted: loginButton.clicked()
|
||||
}
|
||||
Button {
|
||||
id: loginButton
|
||||
height: inputHeight
|
||||
width: parent.width
|
||||
enabled: user != "" && password != "" ? true : false
|
||||
hoverEnabled: true
|
||||
contentItem: Text {
|
||||
id: buttonText
|
||||
renderType: Text.NativeRendering
|
||||
font {
|
||||
family: config.Font
|
||||
pointSize: config.FontSize
|
||||
bold: true
|
||||
}
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
color: config.crust
|
||||
text: "Login"
|
||||
}
|
||||
background: Rectangle {
|
||||
id: buttonBackground
|
||||
color: config.sapphire
|
||||
radius: 3
|
||||
}
|
||||
states: [
|
||||
State {
|
||||
name: "pressed"
|
||||
when: loginButton.down
|
||||
PropertyChanges {
|
||||
target: buttonBackground
|
||||
color: config.teal
|
||||
}
|
||||
PropertyChanges {
|
||||
target: buttonText
|
||||
}
|
||||
},
|
||||
State {
|
||||
name: "hovered"
|
||||
when: loginButton.hovered
|
||||
PropertyChanges {
|
||||
target: buttonBackground
|
||||
color: config.teal
|
||||
}
|
||||
PropertyChanges {
|
||||
target: buttonText
|
||||
}
|
||||
},
|
||||
State {
|
||||
name: "enabled"
|
||||
when: loginButton.enabled
|
||||
PropertyChanges {
|
||||
target: buttonBackground
|
||||
}
|
||||
PropertyChanges {
|
||||
target: buttonText
|
||||
}
|
||||
}
|
||||
]
|
||||
transitions: Transition {
|
||||
PropertyAnimation {
|
||||
properties: "color"
|
||||
duration: 300
|
||||
}
|
||||
}
|
||||
onClicked: {
|
||||
sddm.login(user, password, session)
|
||||
}
|
||||
}
|
||||
}
|
||||
Connections {
|
||||
target: sddm
|
||||
|
||||
function onLoginFailed() {
|
||||
passwordField.text = ""
|
||||
passwordField.focus = true
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,48 +0,0 @@
|
||||
import QtQuick 2.15
|
||||
import QtQuick.Controls 2.15
|
||||
|
||||
TextField {
|
||||
id: passwordField
|
||||
focus: true
|
||||
selectByMouse: true
|
||||
placeholderText: "Password"
|
||||
echoMode: TextInput.Password
|
||||
passwordCharacter: "•"
|
||||
passwordMaskDelay: config.PasswordShowLastLetter
|
||||
selectionColor: config.overlay0
|
||||
renderType: Text.NativeRendering
|
||||
font.family: config.Font
|
||||
font.pointSize: config.FontSize
|
||||
font.bold: true
|
||||
color: config.text
|
||||
horizontalAlignment: TextInput.AlignHCenter
|
||||
background: Rectangle {
|
||||
id: passFieldBackground
|
||||
radius: 3
|
||||
color: config.surface0
|
||||
}
|
||||
states: [
|
||||
State {
|
||||
name: "focused"
|
||||
when: passwordField.activeFocus
|
||||
PropertyChanges {
|
||||
target: passFieldBackground
|
||||
color: config.surface1
|
||||
}
|
||||
},
|
||||
State {
|
||||
name: "hovered"
|
||||
when: passwordField.hovered
|
||||
PropertyChanges {
|
||||
target: passFieldBackground
|
||||
color: config.surface1
|
||||
}
|
||||
}
|
||||
]
|
||||
transitions: Transition {
|
||||
PropertyAnimation {
|
||||
properties: "color"
|
||||
duration: 300
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,41 +0,0 @@
|
||||
import QtQuick 2.15
|
||||
import QtQuick.Controls 2.15
|
||||
|
||||
Item {
|
||||
implicitHeight: powerButton.height
|
||||
implicitWidth: powerButton.width
|
||||
Button {
|
||||
id: powerButton
|
||||
height: inputHeight
|
||||
width: inputHeight
|
||||
hoverEnabled: true
|
||||
icon {
|
||||
source: Qt.resolvedUrl("../icons/power.svg")
|
||||
height: height
|
||||
width: width
|
||||
color: config.crust
|
||||
}
|
||||
background: Rectangle {
|
||||
id: powerButtonBackground
|
||||
radius: 3
|
||||
color: config.red
|
||||
}
|
||||
states: [
|
||||
State {
|
||||
name: "hovered"
|
||||
when: powerButton.hovered
|
||||
PropertyChanges {
|
||||
target: powerButtonBackground
|
||||
color: config.rosewater
|
||||
}
|
||||
}
|
||||
]
|
||||
transitions: Transition {
|
||||
PropertyAnimation {
|
||||
properties: "color"
|
||||
duration: 300
|
||||
}
|
||||
}
|
||||
onClicked: sddm.powerOff()
|
||||
}
|
||||
}
|
||||
@@ -1,41 +0,0 @@
|
||||
import QtQuick 2.15
|
||||
import QtQuick.Controls 2.15
|
||||
|
||||
Item {
|
||||
implicitHeight: rebootButton.height
|
||||
implicitWidth: rebootButton.width
|
||||
Button {
|
||||
id: rebootButton
|
||||
height: inputHeight
|
||||
width: inputHeight
|
||||
hoverEnabled: true
|
||||
icon {
|
||||
source: Qt.resolvedUrl("../icons/reboot.svg")
|
||||
height: height
|
||||
width: width
|
||||
color: config.crust
|
||||
}
|
||||
background: Rectangle {
|
||||
id: rebootButtonBackground
|
||||
radius: 3
|
||||
color: config.red
|
||||
}
|
||||
states: [
|
||||
State {
|
||||
name: "hovered"
|
||||
when: rebootButton.hovered
|
||||
PropertyChanges {
|
||||
target: rebootButtonBackground
|
||||
color: config.rosewater
|
||||
}
|
||||
}
|
||||
]
|
||||
transitions: Transition {
|
||||
PropertyAnimation {
|
||||
properties: "color"
|
||||
duration: 300
|
||||
}
|
||||
}
|
||||
onClicked: sddm.reboot()
|
||||
}
|
||||
}
|
||||
@@ -1,156 +0,0 @@
|
||||
import QtQuick 2.15
|
||||
import QtQuick.Controls 2.15
|
||||
import QtQml.Models 2.15
|
||||
|
||||
Item {
|
||||
property var session: sessionList.currentIndex
|
||||
implicitHeight: sessionButton.height
|
||||
implicitWidth: sessionButton.width
|
||||
DelegateModel {
|
||||
id: sessionWrapper
|
||||
model: sessionModel
|
||||
delegate: ItemDelegate {
|
||||
id: sessionEntry
|
||||
height: inputHeight
|
||||
width: parent.width
|
||||
highlighted: sessionList.currentIndex == index
|
||||
contentItem: Text {
|
||||
renderType: Text.NativeRendering
|
||||
font.family: config.Font
|
||||
font.pointSize: config.FontSize
|
||||
font.bold: true
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
color: config.text
|
||||
text: name
|
||||
}
|
||||
background: Rectangle {
|
||||
id: sessionEntryBackground
|
||||
color: config.surface1
|
||||
radius: 3
|
||||
}
|
||||
states: [
|
||||
State {
|
||||
name: "hovered"
|
||||
when: sessionEntry.hovered
|
||||
PropertyChanges {
|
||||
target: sessionEntryBackground
|
||||
color: config.surface2
|
||||
}
|
||||
}
|
||||
]
|
||||
transitions: Transition {
|
||||
PropertyAnimation {
|
||||
property: "color"
|
||||
duration: 300
|
||||
}
|
||||
}
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
onClicked: {
|
||||
sessionList.currentIndex = index
|
||||
sessionPopup.close()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Button {
|
||||
id: sessionButton
|
||||
height: inputHeight
|
||||
width: inputHeight
|
||||
hoverEnabled: true
|
||||
icon {
|
||||
source: Qt.resolvedUrl("../icons/settings.svg")
|
||||
height: height
|
||||
width: width
|
||||
color: config.text
|
||||
}
|
||||
background: Rectangle {
|
||||
id: sessionButtonBackground
|
||||
color: config.surface0
|
||||
radius: 3
|
||||
}
|
||||
states: [
|
||||
State {
|
||||
name: "pressed"
|
||||
when: sessionButton.down
|
||||
PropertyChanges {
|
||||
target: sessionButtonBackground
|
||||
color: config.surface1
|
||||
}
|
||||
},
|
||||
State {
|
||||
name: "hovered"
|
||||
when: sessionButton.hovered
|
||||
PropertyChanges {
|
||||
target: sessionButtonBackground
|
||||
color: config.surface2
|
||||
}
|
||||
},
|
||||
State {
|
||||
name: "selection"
|
||||
when: sessionPopup.visible
|
||||
PropertyChanges {
|
||||
target: sessionButtonBackground
|
||||
color: config.surface2
|
||||
}
|
||||
}
|
||||
]
|
||||
transitions: Transition {
|
||||
PropertyAnimation {
|
||||
properties: "color"
|
||||
duration: 150
|
||||
}
|
||||
}
|
||||
onClicked: {
|
||||
sessionPopup.visible ? sessionPopup.close() : sessionPopup.open()
|
||||
sessionButton.state = "pressed"
|
||||
}
|
||||
}
|
||||
Popup {
|
||||
id: sessionPopup
|
||||
width: inputWidth + padding * 2
|
||||
x: (sessionButton.width + sessionList.spacing) * -7.6
|
||||
y: -(contentHeight + padding * 2) + sessionButton.height
|
||||
padding: inputHeight / 10
|
||||
background: Rectangle {
|
||||
radius: 5.4
|
||||
color: config.surface0
|
||||
}
|
||||
contentItem: ListView {
|
||||
id: sessionList
|
||||
implicitHeight: contentHeight
|
||||
spacing: 8
|
||||
model: sessionWrapper
|
||||
currentIndex: sessionModel.lastIndex
|
||||
clip: true
|
||||
}
|
||||
enter: Transition {
|
||||
ParallelAnimation {
|
||||
NumberAnimation {
|
||||
property: "opacity"
|
||||
from: 0
|
||||
to: 1
|
||||
duration: 400
|
||||
easing.type: Easing.OutExpo
|
||||
}
|
||||
NumberAnimation {
|
||||
property: "x"
|
||||
from: sessionPopup.x + (inputWidth * 0.1)
|
||||
to: sessionPopup.x
|
||||
duration: 500
|
||||
easing.type: Easing.OutExpo
|
||||
}
|
||||
}
|
||||
}
|
||||
exit: Transition {
|
||||
NumberAnimation {
|
||||
property: "opacity"
|
||||
from: 1
|
||||
to: 0
|
||||
duration: 300
|
||||
easing.type: Easing.OutExpo
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,41 +0,0 @@
|
||||
import QtQuick 2.15
|
||||
import QtQuick.Controls 2.15
|
||||
|
||||
Item {
|
||||
implicitHeight: sleepButton.height
|
||||
implicitWidth: sleepButton.width
|
||||
Button {
|
||||
id: sleepButton
|
||||
height: inputHeight
|
||||
width: inputHeight
|
||||
hoverEnabled: true
|
||||
icon {
|
||||
source: Qt.resolvedUrl("../icons/sleep.svg")
|
||||
height: height
|
||||
width: width
|
||||
color: config.crust
|
||||
}
|
||||
background: Rectangle {
|
||||
id: sleepButtonBg
|
||||
color: config.red
|
||||
radius: 3
|
||||
}
|
||||
states: [
|
||||
State {
|
||||
name: "hovered"
|
||||
when: sleepButton.hovered
|
||||
PropertyChanges {
|
||||
target: sleepButtonBg
|
||||
color: config.rosewater
|
||||
}
|
||||
}
|
||||
]
|
||||
transitions: Transition {
|
||||
PropertyAnimation {
|
||||
properties: "color"
|
||||
duration: 300
|
||||
}
|
||||
}
|
||||
onClicked: sddm.suspend()
|
||||
}
|
||||
}
|
||||
@@ -1,50 +0,0 @@
|
||||
import QtQuick 2.15
|
||||
import QtQuick.Controls 2.15
|
||||
|
||||
TextField {
|
||||
id: userField
|
||||
height: inputHeight
|
||||
width: inputWidth
|
||||
selectByMouse: true
|
||||
echoMode: TextInput.Normal
|
||||
selectionColor: config.overlay0
|
||||
renderType: Text.NativeRendering
|
||||
font {
|
||||
family: config.Font
|
||||
pointSize: config.FontSize
|
||||
bold: true
|
||||
}
|
||||
color: config.text
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
placeholderText: "Username"
|
||||
text: userModel.lastUser
|
||||
background: Rectangle {
|
||||
id: userFieldBackground
|
||||
color: config.surface0
|
||||
radius: 3
|
||||
}
|
||||
states: [
|
||||
State {
|
||||
name: "focused"
|
||||
when: userField.activeFocus
|
||||
PropertyChanges {
|
||||
target: userFieldBackground
|
||||
color: config.surface1
|
||||
}
|
||||
},
|
||||
State {
|
||||
name: "hovered"
|
||||
when: userField.hovered
|
||||
PropertyChanges {
|
||||
target: userFieldBackground
|
||||
color: config.surface1
|
||||
}
|
||||
}
|
||||
]
|
||||
transitions: Transition {
|
||||
PropertyAnimation {
|
||||
properties: "color"
|
||||
duration: 300
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,48 +0,0 @@
|
||||
import QtQuick 2.15
|
||||
import QtQuick.Window 2.15
|
||||
import QtQuick.Controls 2.15
|
||||
import "Components"
|
||||
|
||||
Item {
|
||||
id: root
|
||||
height: Screen.height
|
||||
width: Screen.width
|
||||
Rectangle {
|
||||
id: background
|
||||
anchors.fill: parent
|
||||
height: parent.height
|
||||
width: parent.width
|
||||
z: 0
|
||||
color: config.base
|
||||
}
|
||||
Image {
|
||||
id: backgroundImage
|
||||
anchors.fill: parent
|
||||
height: parent.height
|
||||
width: parent.width
|
||||
fillMode: Image.PreserveAspectCrop
|
||||
visible: config.CustomBackground == "true" ? true : false
|
||||
z: 1
|
||||
source: config.Background
|
||||
asynchronous: false
|
||||
cache: true
|
||||
mipmap: true
|
||||
clip: true
|
||||
}
|
||||
Item {
|
||||
id: mainPanel
|
||||
z: 3
|
||||
anchors {
|
||||
fill: parent
|
||||
margins: 50
|
||||
}
|
||||
Clock {
|
||||
id: time
|
||||
visible: config.ClockEnabled == "true" ? true : false
|
||||
}
|
||||
LoginPanel {
|
||||
id: loginPanel
|
||||
anchors.fill: parent
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 6.3 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 550 KiB |
@@ -1,14 +0,0 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<svg fill="#000000" height="800px" width="800px" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
viewBox="0 0 198.715 198.715" xml:space="preserve">
|
||||
<g>
|
||||
<path d="M161.463,48.763c-2.929-2.929-7.677-2.929-10.607,0c-2.929,2.929-2.929,7.677,0,10.606
|
||||
c13.763,13.763,21.342,32.062,21.342,51.526c0,19.463-7.579,37.761-21.342,51.523c-14.203,14.204-32.857,21.305-51.516,21.303
|
||||
c-18.659-0.001-37.322-7.104-51.527-21.309c-28.405-28.405-28.402-74.625,0.005-103.032c2.929-2.929,2.929-7.678,0-10.606
|
||||
c-2.929-2.929-7.677-2.929-10.607,0C2.956,83.029,2.953,138.766,37.206,173.019c17.132,17.132,39.632,25.697,62.135,25.696
|
||||
c22.497-0.001,44.997-8.564,62.123-25.69c16.595-16.594,25.734-38.659,25.734-62.129C187.199,87.425,178.059,65.359,161.463,48.763
|
||||
z"/>
|
||||
<path d="M99.332,97.164c4.143,0,7.5-3.358,7.5-7.5V7.5c0-4.142-3.357-7.5-7.5-7.5s-7.5,3.358-7.5,7.5v82.164
|
||||
C91.832,93.807,95.189,97.164,99.332,97.164z"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 1.0 KiB |
@@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="1080" height="1080" viewBox="0 0 1080 1080" xml:space="preserve">
|
||||
<defs>
|
||||
</defs>
|
||||
<g transform="matrix(1 0 0 1 540 540)" id="2a220bb6-5b48-475d-961e-cf61e288ad30" >
|
||||
<rect style="stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; fill: rgb(255,255,255); fill-rule: nonzero; opacity: 1; visibility: hidden;" vector-effect="non-scaling-stroke" x="-540" y="-540" rx="0" ry="0" width="1080" height="1080" />
|
||||
</g>
|
||||
<g transform="matrix(1 0 0 1 540 540)" id="fd45914b-ae78-4c99-8f0c-f2807b2dc79c" >
|
||||
</g>
|
||||
<g transform="matrix(45.29 0 0 45.29 556.31 508.95)" id="95767c2e-b581-4faa-9009-e8003f7e8866" >
|
||||
<path style="stroke: rgb(0,0,0); stroke-width: 0; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; fill: rgb(0,0,0); fill-rule: nonzero; opacity: 1;" vector-effect="non-scaling-stroke" transform=" translate(-8.36, -16)" d="M 15.88 13.84 C 14.200000000000001 10.36 10.440000000000001 8.6 6.840000000000002 9.24 L 7.800000000000002 7.44 C 8.040000000000001 7.04 7.880000000000002 6.5200000000000005 7.480000000000001 6.32 C 7.080000000000001 6.08 6.560000000000001 6.24 6.360000000000001 6.640000000000001 L 4.400000000000001 10.280000000000001 C 4.400000000000001 10.280000000000001 3.9600000000000013 11.000000000000002 4.6400000000000015 11.32 L 8.280000000000001 13.280000000000001 C 8.4 13.360000000000001 8.56 13.4 8.680000000000001 13.4 C 8.96 13.4 9.280000000000001 13.24 9.400000000000002 12.96 C 9.640000000000002 12.56 9.480000000000002 12.040000000000001 9.080000000000002 11.84 L 7.200000000000002 10.8 C 10.040000000000003 10.32 13.000000000000002 11.760000000000002 14.320000000000002 14.48 C 15.920000000000002 17.8 14.520000000000001 21.8 11.200000000000003 23.36 C 9.600000000000003 24.12 7.8000000000000025 24.24 6.120000000000003 23.64 C 4.440000000000003 23.040000000000003 3.0800000000000027 21.84 2.320000000000003 20.240000000000002 C 1.560000000000003 18.64 1.440000000000003 16.840000000000003 2.0400000000000027 15.160000000000002 C 2.200000000000003 14.720000000000002 1.9600000000000026 14.240000000000002 1.5200000000000027 14.080000000000002 C 1.1200000000000028 14.000000000000002 0.6400000000000027 14.240000000000002 0.48000000000000265 14.680000000000001 C -0.23999999999999733 16.8 -0.11999999999999733 19.040000000000003 0.8400000000000026 21.040000000000003 C 1.8000000000000025 23.040000000000003 3.4800000000000026 24.560000000000002 5.600000000000002 25.320000000000004 C 6.520000000000002 25.640000000000004 7.440000000000002 25.800000000000004 8.360000000000003 25.800000000000004 C 9.600000000000003 25.800000000000004 10.840000000000003 25.520000000000003 11.960000000000003 24.960000000000004 C 16.120000000000005 22.960000000000004 17.880000000000003 17.960000000000004 15.880000000000003 13.840000000000005 z" stroke-linecap="round" />
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 3.0 KiB |
@@ -1 +0,0 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M24 13.616v-3.232c-1.651-.587-2.694-.752-3.219-2.019v-.001c-.527-1.271.1-2.134.847-3.707l-2.285-2.285c-1.561.742-2.433 1.375-3.707.847h-.001c-1.269-.526-1.435-1.576-2.019-3.219h-3.232c-.582 1.635-.749 2.692-2.019 3.219h-.001c-1.271.528-2.132-.098-3.707-.847l-2.285 2.285c.745 1.568 1.375 2.434.847 3.707-.527 1.271-1.584 1.438-3.219 2.02v3.232c1.632.58 2.692.749 3.219 2.019.53 1.282-.114 2.166-.847 3.707l2.285 2.286c1.562-.743 2.434-1.375 3.707-.847h.001c1.27.526 1.436 1.579 2.019 3.219h3.232c.582-1.636.75-2.69 2.027-3.222h.001c1.262-.524 2.12.101 3.698.851l2.285-2.286c-.744-1.563-1.375-2.433-.848-3.706.527-1.271 1.588-1.44 3.221-2.021zm-12 2.384c-2.209 0-4-1.791-4-4s1.791-4 4-4 4 1.791 4 4-1.791 4-4 4z"/></svg>
|
||||
|
Before Width: | Height: | Size: 811 B |
@@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<svg fill="#000000" width="800px" height="800px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg">
|
||||
<title>moon</title>
|
||||
<path d="M10.895 7.574c0 7.55 5.179 13.67 11.567 13.67 1.588 0 3.101-0.38 4.479-1.063-1.695 4.46-5.996 7.636-11.051 7.636-6.533 0-11.83-5.297-11.83-11.83 0-4.82 2.888-8.959 7.023-10.803-0.116 0.778-0.188 1.573-0.188 2.39z"></path>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 419 B |
@@ -1,14 +0,0 @@
|
||||
[SddmGreeterTheme]
|
||||
Name=Catppuccin macchiato
|
||||
Description=Soothing pastel theme for SDDM
|
||||
Type=sddm-theme
|
||||
Version=2.1
|
||||
Website=https://github.com/catppuccin/sddm
|
||||
Screenshot=preview.png
|
||||
MainScript=Main.qml
|
||||
ConfigFile=theme.conf
|
||||
TranslationsDirectory=translations
|
||||
Theme-Id=Catppuccin
|
||||
Theme-API=2.0
|
||||
License=MIT
|
||||
QtVersion=6
|
||||
@@ -1,39 +0,0 @@
|
||||
[General]
|
||||
Font="Roboto"
|
||||
FontSize=11
|
||||
ClockEnabled="true"
|
||||
CustomBackground="true"
|
||||
LoginBackground="true"
|
||||
Background="backgrounds/wall.jpg"
|
||||
|
||||
# Uncomment this option to show the last letter of the password
|
||||
# for the number of milliseconds specified
|
||||
# PasswordShowLastLetter=1000
|
||||
|
||||
# DON'T CHANGE THESE
|
||||
rosewater = "#f4dbd6"
|
||||
flamingo = "#f0c6c6"
|
||||
pink = "#f5bde6"
|
||||
mauve = "#c6a0f6"
|
||||
red = "#ed8796"
|
||||
maroon = "#ee99a0"
|
||||
peach = "#f5a97f"
|
||||
yellow = "#eed49f"
|
||||
green = "#a6da95"
|
||||
teal = "#8bd5ca"
|
||||
sky = "#91d7e3"
|
||||
sapphire = "#7dc4e4"
|
||||
blue = "#8aadf4"
|
||||
lavender = "#b7bdf8"
|
||||
text = "#cad3f5"
|
||||
subtext1 = "#b8c0e0"
|
||||
subtext0 = "#a5adcb"
|
||||
overlay2 = "#939ab7"
|
||||
overlay1 = "#8087a2"
|
||||
overlay0 = "#6e738d"
|
||||
surface2 = "#5b6078"
|
||||
surface1 = "#494d64"
|
||||
surface0 = "#363a4f"
|
||||
base = "#24273a"
|
||||
mantle = "#1e2030"
|
||||
crust = "#181926"
|
||||
22
systemd/user/cliphist.service
Normal file
22
systemd/user/cliphist.service
Normal file
@@ -0,0 +1,22 @@
|
||||
[Unit]
|
||||
Description=Clipboard history “manager” for wayland
|
||||
Documentation=https://github.com/sentriz/cliphist
|
||||
# order startup after WM
|
||||
After=graphical-session.target
|
||||
|
||||
[Service]
|
||||
Type=exec
|
||||
# Repurpose XDG Autostart filtering
|
||||
ExecCondition=/lib/systemd/systemd-xdg-autostart-condition "wlroots:sway:Wayfire:labwc:Hyprland" ""
|
||||
ExecStart=wl-paste --watch cliphist -max-items 50 store
|
||||
Restart=on-failure
|
||||
Slice=app-graphical.slice
|
||||
|
||||
[Install]
|
||||
WantedBy=graphical-session.target
|
||||
# Alternatively can be wanted by specific WMs' targets
|
||||
# Should also be duplicated in 'After=' to avoid ordering loop
|
||||
#WantedBy=wayland-session@sway.desktop.target
|
||||
#WantedBy=wayland-session@wayfire.desktop.target
|
||||
#WantedBy=wayland-session@labwc.desktop.target
|
||||
#WantedBy=wayland-session@hyprland.desktop.target
|
||||
@@ -11,7 +11,7 @@
|
||||
"margin-bottom": 3,
|
||||
"modules-left": ["custom/junkyard", "hyprland/workspaces"],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": ["tray", "custom/notification", "pulseaudio", "bluetooth", "network", "backlight", "battery"],
|
||||
"modules-right": ["tray", "custom/notification", "pulseaudio", "bluetooth", "network", "memory", "cpu", "group/group-power"],
|
||||
"tray": {
|
||||
"icon-size": 16,
|
||||
"spacing": 10
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
"hyprland/workspaces": {
|
||||
"format": "{name}",
|
||||
"tooltip-format": "{title}",
|
||||
"on-scroll-up": "hyprctl dispatch workspace r+1",
|
||||
"on-scroll-down": "hyprctl dispatch workspace r-1",
|
||||
"on-scroll-up": "hyprctl dispatch workspace r-1",
|
||||
"on-scroll-down": "hyprctl dispatch workspace r+1",
|
||||
"on-click": "activate"
|
||||
},
|
||||
"clock": {
|
||||
@@ -42,7 +42,7 @@
|
||||
"default": ["", "", "", ""]
|
||||
},
|
||||
"on-click": "~/.config/rofi/applets/bin/volume.sh",
|
||||
"on-click-right": "pavucontrol"
|
||||
"on-click-right": "uwsm app pavucontrol"
|
||||
},
|
||||
|
||||
"bluetooth": {
|
||||
@@ -51,7 +51,7 @@
|
||||
"format-connected": " {num_connections}",
|
||||
"tooltip-format-enumerate-connected": "{device_alias}",
|
||||
"tooltip-format-connected": "{device_enumerate}",
|
||||
"on-click": "blueman-manager"
|
||||
"on-click": "uwsm app blueman-manager"
|
||||
},
|
||||
|
||||
"temperature": {
|
||||
@@ -91,12 +91,66 @@
|
||||
"escape": true
|
||||
},
|
||||
|
||||
"backlight": {
|
||||
"device": "acpi_video0",
|
||||
"format": "{icon}",
|
||||
"format-icons": ["", "", ""],
|
||||
"on-click": "~/.config/rofi/applets/bin/brightness.sh"
|
||||
},
|
||||
"cpu": {
|
||||
"interval": 1,
|
||||
"format": " {usage:02d}%{icon0}{icon1}{icon2}{icon3}{icon4}{icon5}{icon6}{icon7}",
|
||||
"format-icons": [
|
||||
"<span color='#a6da95'>▁</span>", // green
|
||||
"<span color='#8aadf4'>▂</span>", // blue
|
||||
"<span color='#8aadf4'>▃</span>", // white
|
||||
"<span color='#8aadf4'>▄</span>", // white
|
||||
"<span color='#8aadf4'>▅</span>", // yellow
|
||||
"<span color='#eed49f'>▆</span>", // yellow
|
||||
"<span color='#f5a97f'>▇</span>", // orange
|
||||
"<span color='#ed8796'>█</span>" // red
|
||||
]
|
||||
},
|
||||
|
||||
"memory": {
|
||||
"interval": 5,
|
||||
"format": " {percentage}%"
|
||||
},
|
||||
|
||||
"group/group-power": {
|
||||
"orientation": "inherit",
|
||||
"drawer": {
|
||||
"transition-duration": 500,
|
||||
"children-class": "not-power",
|
||||
"transition-left-to-right": true
|
||||
},
|
||||
"modules": [
|
||||
"custom/power", // First element is the "group leader" and won't ever be hidden
|
||||
"custom/reboot",
|
||||
"custom/quit",
|
||||
"custom/suspend",
|
||||
"custom/lock"
|
||||
]
|
||||
},
|
||||
"custom/quit": {
|
||||
"format": " ",
|
||||
"tooltip": false,
|
||||
"on-click": "uwsm stop"
|
||||
},
|
||||
"custom/lock": {
|
||||
"format": " ",
|
||||
"tooltip": false,
|
||||
"on-click": "loginctl lock-session"
|
||||
},
|
||||
"custom/suspend": {
|
||||
"format": " ",
|
||||
"tooltip": false,
|
||||
"on-click": "systemctl suspend"
|
||||
},
|
||||
"custom/reboot": {
|
||||
"format": " ",
|
||||
"tooltip": false,
|
||||
"on-click": "systemctl reboot"
|
||||
},
|
||||
"custom/power": {
|
||||
"format": " ",
|
||||
"tooltip": false,
|
||||
"on-click": "systemctl poweroff"
|
||||
},
|
||||
|
||||
"battery": {
|
||||
"states": {
|
||||
@@ -113,6 +167,7 @@
|
||||
"battery#bat0": {
|
||||
"bat": "BAT0"
|
||||
},
|
||||
|
||||
"network": {
|
||||
"format-wifi": "{icon}",
|
||||
"format-ethernet": "",
|
||||
|
||||
@@ -57,6 +57,7 @@ button {
|
||||
#custom-notification,
|
||||
#pulseaudio,
|
||||
#network,
|
||||
#memory,
|
||||
#bluetooth {
|
||||
background-color: @base; /* Change this to any gray color you want */
|
||||
border-radius: 0px; /* Adjust as needed */
|
||||
@@ -65,6 +66,14 @@ button {
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
#cpu {
|
||||
background-color: @base; /* Change this to any gray color you want */
|
||||
border-radius: 0px 10px 10px 0px; /* Adjust as needed */
|
||||
padding: 3px 10px;
|
||||
color: @text;
|
||||
min-width: 130px;
|
||||
}
|
||||
|
||||
#backlight {
|
||||
background-color: @base; /* Change this to any gray color you want */
|
||||
border-radius: 0px 10px 10px 0px; /* Adjust as needed */
|
||||
@@ -94,6 +103,13 @@ button {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
#group-power {
|
||||
background-color: @base;
|
||||
border-radius: 10px;
|
||||
padding: 3px 5px;
|
||||
margin-left: 3px;
|
||||
}
|
||||
|
||||
#battery {
|
||||
background-color: @base; /* Change this to any gray color you want */
|
||||
color: @text;
|
||||
|
||||
52
zsh/.zshrc
52
zsh/.zshrc
@@ -153,14 +153,46 @@ fi
|
||||
# pkg-config correction (by the readme of DSView-1.12)
|
||||
export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig"
|
||||
|
||||
# XILINX
|
||||
XILINX_EDK=/media/lacko/TOOLBOX/ISE/14.7/ISE_DS/EDK
|
||||
XILINX_PLANAHEAD=/media/lacko/TOOLBOX/ISE/14.7/ISE_DS/PlanAhead
|
||||
XILINX_DSP=/media/lacko/TOOLBOX/ISE/14.7/ISE_DS/ISE
|
||||
XILINX=/media/lacko/TOOLBOX/ISE/14.7/ISE_DS/ISE
|
||||
export XILINX_EDK
|
||||
export XILINX_PLANAHEAD
|
||||
export XILINX_DSP
|
||||
export XILINX
|
||||
# use yosys ghdl plugin
|
||||
#alias yosys="yosys -m ghdl.so"
|
||||
|
||||
export VHDL_LS_CONFIG=$HOME/Desktop/work/global_fpga/_utilities_/vhdl_ls.toml
|
||||
# virtualenv automation functions
|
||||
# usage
|
||||
# $ mkvenv myvirtualenv # creates venv under $XDG_STATE_HOME/virtualenvs/
|
||||
# $ venv myvirtualenv # activates venv
|
||||
# $ deactivate # deactivates venv
|
||||
# $ rmvenv myvirtualenv # removes venv
|
||||
|
||||
export VENV_HOME="$XDG_STATE_HOME/virtualenvs"
|
||||
[[ -d $VENV_HOME ]] || mkdir $VENV_HOME
|
||||
|
||||
lsvenv() {
|
||||
ls -1 $VENV_HOME
|
||||
}
|
||||
|
||||
venv() {
|
||||
if [ $# -eq 0 ]
|
||||
then
|
||||
echo "Please provide venv name"
|
||||
else
|
||||
source "$VENV_HOME/$1/bin/activate"
|
||||
fi
|
||||
}
|
||||
|
||||
mkvenv() {
|
||||
if [ $# -eq 0 ]
|
||||
then
|
||||
echo "Please provide venv name"
|
||||
else
|
||||
python3 -m venv $VENV_HOME/$1
|
||||
fi
|
||||
}
|
||||
|
||||
rmvenv() {
|
||||
if [ $# -eq 0 ]
|
||||
then
|
||||
echo "Please provide venv name"
|
||||
else
|
||||
rm -r $VENV_HOME/$1
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user