From b0eb9b97fe9466d92927a5e746054921e44eaa0c Mon Sep 17 00:00:00 2001 From: Jacob McDonnell Date: Sat, 10 May 2025 19:56:27 -0400 Subject: Switched back to Fedora --- .config/hypr/hyprland.conf | 17 +-- .config/hypr/hyprpaper.conf | 4 +- .config/waybar/config | 68 ------------ .config/waybar/style.css | 247 -------------------------------------------- runs/cross-compiler | 75 ++++++++++++++ runs/neovim | 4 +- runs/programs | 6 +- 7 files changed, 89 insertions(+), 332 deletions(-) delete mode 100644 .config/waybar/config delete mode 100755 .config/waybar/style.css create mode 100755 runs/cross-compiler diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 20b91b9..79b4da5 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -19,16 +19,16 @@ monitor=,preferred,auto,auto # See https://wiki.hyprland.org/Configuring/Keywords/ for more # Execute your favorite apps at launch -exec-once = zsh -l & waybar & hyprpaper +exec-once = zsh -l & waybar & hyprpaper & systemctl --user start plasma-polkit-agent.service # Source a file (multi-file configs) # source = ~/.config/hypr/myColors.conf # Set programs that you use -$terminal = kitty +$terminal = ghostty $fileManager = dolphin $menu = wofi --show drun -$browser = flatpak run com.brave.Browser +$browser = brave-browser # Some default env vars. env = XCURSOR_SIZE,24 @@ -76,11 +76,6 @@ decoration { size = 3 passes = 1 } - - drop_shadow = yes - shadow_range = 4 - shadow_render_power = 3 - col.shadow = rgba(1a1a1aee) } animations { @@ -104,11 +99,6 @@ dwindle { preserve_split = yes # you probably want this } -master { - # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more - new_is_master = true -} - gestures { # See https://wiki.hyprland.org/Configuring/Variables/ for more workspace_swipe = off @@ -129,6 +119,7 @@ windowrulev2 = suppressevent maximize, class:.* # You'll probably like this. $mainMod = SUPER bind = $mainMod, RETURN, exec, $terminal +bind = $mainMod, SPACE, exec, rofi -show run bind = $mainMod_SHIFT, C, killactive, bind = $mainMod_SHIFT, Q, exit, bind = $mainMod, E, exec, $fileManager diff --git a/.config/hypr/hyprpaper.conf b/.config/hypr/hyprpaper.conf index 6f1fe52..5d0a24d 100644 --- a/.config/hypr/hyprpaper.conf +++ b/.config/hypr/hyprpaper.conf @@ -1,6 +1,6 @@ -preload = /home/jmm/Documents/Pictures/Wallpapers/CatalinaRock.png +preload = /usr/share/wallpapers/Mountain/contents/images/5120x2880.png -wallpaper = HDMI-A-1, /home/jmm/Documents/Pictures/Wallpapers/CatalinaRock.png +wallpaper = HDMI-A-1, /usr/share/wallpapers/Mountain/contents/images/5120x2880.png splash = false diff --git a/.config/waybar/config b/.config/waybar/config deleted file mode 100644 index 5f94099..0000000 --- a/.config/waybar/config +++ /dev/null @@ -1,68 +0,0 @@ -{ - "layer": "top", - "modules-left": ["custom/launcher","cpu","memory","tray"], - "modules-center": ["hyprland/workspaces"], - "modules-right": ["backlight","pulseaudio","clock", "battery","custom/power"], - - "pulseaudio": { - "tooltip": false, - "scroll-step": 5, - "format": "{icon} {volume}%", - "format-muted": "{icon} {volume}%", - "on-click":"pactl set-sink-mute @DEFAULT_SINK@ toggle", - "format-icons": { - "default": ["", "", ""] - } - }, - - "hyprland/workspaces": { - "format": "{icon}", - "on-scroll-up": "hyprctl dispatch workspace e+1", - "on-scroll-down": "hyprctl dispatch workspace e-1" - }, - "network": { - "tooltip": false, - "format-wifi": " {essid}", - "format-ethernet": "" - }, - "backlight": { - "tooltip": false, - "format": " {}%", - "interval":1, - "on-scroll-up": "light -A 5", - "on-scroll-down": "light -U 5" - }, - "battery": { - "states": { - "good": 95, - "warning": 30, - "critical": 20 - }, - "format": "{icon} {capacity}%", - "format-charging": " {capacity}%", - "format-plugged": " {capacity}%", - "format-alt": "{time} {icon}", - "format-icons": ["", "", "", "", ""] - }, - "tray":{ - "icon-size":18, - "spacing": 10 - }, - "clock": { - "format": "{: %I:%M %p %m/%d/%Y}" - }, - "cpu": { - "interval": 15, - "format": " {}%", - "max-length": 10 - }, - "memory": { - "interval": 30, - "format": " {}%", - "max-length": 10 - }, - "custom/power":{ - "format": " ", - "on-click": "zsh ~/.local/bin/shutdownPrompt", - } -} diff --git a/.config/waybar/style.css b/.config/waybar/style.css deleted file mode 100755 index 9509b76..0000000 --- a/.config/waybar/style.css +++ /dev/null @@ -1,247 +0,0 @@ -* { - border: none; - border-radius: 10px; - font-family: "JetbrainsMono Nerd Font" ; - font-size: 15px; - min-height: 10px; -} - -window#waybar { - background: transparent; -} - -window#waybar.hidden { - opacity: 0.2; -} - -#window { - margin-top: 6px; - padding-left: 10px; - padding-right: 10px; - border-radius: 10px; - transition: none; - color: transparent; - background: transparent; -} -#tags { - margin-top: 6px; - margin-left: 12px; - font-size: 4px; - margin-bottom: 0px; - border-radius: 10px; - background: #161320; - transition: none; -} - -#tags button { - transition: none; - color: #B5E8E0; - background: transparent; - font-size: 16px; - border-radius: 2px; -} - -#tags button.occupied { - transition: none; - color: #F28FAD; - background: transparent; - font-size: 4px; -} - -#tags button.focused { - color: #ABE9B3; - border-top: 2px solid #ABE9B3; - border-bottom: 2px solid #ABE9B3; -} - -#tags button:hover { - transition: none; - box-shadow: inherit; - text-shadow: inherit; - color: #FAE3B0; - border-color: #E8A2AF; - color: #E8A2AF; -} - -#tags button.focused:hover { - color: #E8A2AF; -} - -#network { - margin-top: 6px; - margin-left: 8px; - padding-left: 10px; - padding-right: 10px; - margin-bottom: 0px; - border-radius: 10px; - transition: none; - color: #161320; - background: #bd93f9; -} - -#pulseaudio { - margin-top: 6px; - margin-left: 8px; - padding-left: 10px; - padding-right: 10px; - margin-bottom: 0px; - border-radius: 10px; - transition: none; - color: #1A1826; - background: #FAE3B0; -} - -#battery { - margin-top: 6px; - margin-left: 8px; - padding-left: 10px; - padding-right: 10px; - margin-bottom: 0px; - border-radius: 10px; - transition: none; - color: #161320; - background: #B5E8E0; -} - -#battery.charging, #battery.plugged { - color: #161320; - background-color: #B5E8E0; -} - -#battery.critical:not(.charging) { - background-color: #B5E8E0; - color: #161320; - animation-name: blink; - animation-duration: 0.5s; - animation-timing-function: linear; - animation-iteration-count: infinite; - animation-direction: alternate; -} - -@keyframes blink { - to { - background-color: #BF616A; - color: #B5E8E0; - } -} - -#backlight { - margin-top: 6px; - margin-left: 8px; - padding-left: 10px; - padding-right: 10px; - margin-bottom: 0px; - border-radius: 10px; - transition: none; - color: #161320; - background: #F8BD96; -} -#clock { - margin-top: 6px; - margin-left: 8px; - padding-left: 10px; - padding-right: 10px; - margin-bottom: 0px; - border-radius: 10px; - transition: none; - color: #161320; - background: #ABE9B3; - /*background: #1A1826;*/ -} - -#memory { - margin-top: 6px; - margin-left: 8px; - padding-left: 10px; - margin-bottom: 0px; - padding-right: 10px; - border-radius: 10px; - transition: none; - color: #161320; - background: #DDB6F2; -} -#cpu { - margin-top: 6px; - margin-left: 8px; - padding-left: 10px; - margin-bottom: 0px; - padding-right: 10px; - border-radius: 10px; - transition: none; - color: #161320; - background: #96CDFB; -} - -#tray { - margin-top: 6px; - margin-left: 8px; - padding-left: 10px; - margin-bottom: 0px; - padding-right: 10px; - border-radius: 10px; - transition: none; - color: #B5E8E0; - background: #161320; -} - -#custom-launcher { - font-size: 24px; - margin-top: 6px; - margin-left: 8px; - padding-left: 10px; - padding-right: 5px; - border-radius: 10px; - transition: none; - color: #89DCEB; - background: #161320; -} - -#custom-power { - font-size: 20px; - margin-top: 6px; - margin-left: 8px; - margin-right: 8px; - padding-left: 10px; - padding-right: 5px; - margin-bottom: 0px; - border-radius: 10px; - transition: none; - color: #161320; - background: #F28FAD; -} - -#custom-wallpaper { - margin-top: 6px; - margin-left: 8px; - padding-left: 10px; - padding-right: 10px; - margin-bottom: 0px; - border-radius: 10px; - transition: none; - color: #161320; - background: #C9CBFF; -} - -#custom-updates { - margin-top: 6px; - margin-left: 8px; - padding-left: 10px; - padding-right: 10px; - margin-bottom: 0px; - border-radius: 10px; - transition: none; - color: #161320; - background: #E8A2AF; -} - -#custom-media { - margin-top: 6px; - margin-left: 8px; - padding-left: 10px; - padding-right: 10px; - margin-bottom: 0px; - border-radius: 10px; - transition: none; - color: #161320; - background: #F2CDCD; -} diff --git a/runs/cross-compiler b/runs/cross-compiler new file mode 100755 index 0000000..6f2f00e --- /dev/null +++ b/runs/cross-compiler @@ -0,0 +1,75 @@ +#!/bin/sh + +BINUTILS="binutils-2.44" +GCC="gcc-15.1.0" +GDB="gdb-16.3" + +export PREFIX="$HOME/personal" +export TARGET=aarch64-elf + +CORES="$(nproc 2&>/dev/null)" + +cd /tmp + +sudo dnf install gcc gcc-c++ make bison flex gmp-devel libmpc-devel mpfr-devel texinfo isl-devel -y + +rm -rf cross +mkdir cross +cd cross + +if [[ "$(find . -type d -name "$BINUTILS")" != "./$BINUTILS" ]] +then + wget "https://ftp.gnu.org/gnu/binutils/$BINUTILS.tar.zst" + unzstd "$BINUTILS.tar.zst" + tar xf "$BINUTILS.tar" +fi + +if [[ "$(find . -type d -name "$GCC")" != "./$GCC" ]] +then + wget "https://ftp.gnu.org/gnu/gcc/$GCC/$GCC.tar.gz" + unxz "$GDB.tar.xz" + tar xf "$GDB.tar" +fi + +if [[ "$(find . -type d -name "$GDB")" != "./$GDB" ]] +then + wget "https://ftp.gnu.org/gnu/gdb/$GDB.tar.xz" + gunzip "$GCC.tar.gz" + tar xf "$GCC.tar" +fi + +rm -rf build-binutils +mkdir build-binutils +cd build-binutils + +../$BINUTILS/configure --target=$TARGET --prefix="$PREFIX" --with-sysroot --disable-nls --disable-werror +make -j $CORES +make install + +cd .. + +rm -rf build-gdb +mkdir build-gdb +cd build-gdb + +../$GDB/configure --target=$TARGET --prefix="$PREFIX" --disable-werror +make all-gdb -j $CORES +make install-gdb + +cd .. + +build-gcc () { +rm -rf build-gcc +mkdir build-gcc +cd build-gcc + +../$GCC/configure --target=$TARGET --prefix="$PREFIX" --disable-nls --enable-languages=c,c++ --without-headers --disable-hosted-libstdcxx +make all-gcc -j $CORES +make all-target-libgcc -j $CORES +make all-target-libstdc++-v3 -j $CORES +make install-gcc +make install-target-libgcc +make install-target-libstdc++-v3 + +cd .. + diff --git a/runs/neovim b/runs/neovim index 6592267..ed53afc 100755 --- a/runs/neovim +++ b/runs/neovim @@ -5,7 +5,9 @@ source $HOME/personal/dotfiles/util version="v0.10.2" git clone -b $version https://github.com/neovim/neovim.git $target/neovim -sudo apt install ninja-build gettext cmake unzip curl build-essential + +sudo dnf -y install ninja-build cmake gcc make gettext curl glibc-gconv-extra + cd $target/neovim make CMAKE_BUILD_TYPE=RelWithDebInfo make CMAKE_INSTALL_PREFIX=$target install diff --git a/runs/programs b/runs/programs index 78e1003..b412969 100755 --- a/runs/programs +++ b/runs/programs @@ -1,4 +1,8 @@ #!/bin/sh -sudo apt install build-essential gdb clangd git tmux zsh golang fzf -y +sudo dnf install @development-tools + +sudo dnf install @virtualization + +sudo dnf install gdb clangd git tmux zsh golang fzf -y -- cgit v1.2.3