diff --git a/.bashrc b/.bashrc index 80f777a..c5325fc 100644 --- a/.bashrc +++ b/.bashrc @@ -12,4 +12,14 @@ PS1='[\u@\h \W]\$ ' alias l='ls -la' alias lg='lazygit' +# Yazi +function y() { + local tmp="$(mktemp -t "yazi-cwd.XXXXXX")" cwd + yazi "$@" --cwd-file="$tmp" + if cwd="$(command cat -- "$tmp")" && [ -n "$cwd" ] && [ "$cwd" != "$PWD" ]; then + builtin cd -- "$cwd" + fi + rm -f -- "$tmp" +} + fastfetch diff --git a/fastfetch/config.jsonc b/.config/fastfetch/config.jsonc similarity index 100% rename from fastfetch/config.jsonc rename to .config/fastfetch/config.jsonc diff --git a/hypr/conf.d/input.conf b/.config/hypr/conf.d/input.conf similarity index 100% rename from hypr/conf.d/input.conf rename to .config/hypr/conf.d/input.conf diff --git a/hypr/conf.d/keybinds.conf b/.config/hypr/conf.d/keybinds.conf similarity index 76% rename from hypr/conf.d/keybinds.conf rename to .config/hypr/conf.d/keybinds.conf index 5338e62..1c53aaa 100644 --- a/hypr/conf.d/keybinds.conf +++ b/.config/hypr/conf.d/keybinds.conf @@ -15,18 +15,37 @@ bind = $mainMod, XF86AudioMedia, exec, $powerMenu # General binds bind = $mainMod, Q, killactive, #bind = $mainMod, M, exit, -bind = $mainMod, Y, exec, $fileManager bind = $mainMod, X, togglefloating, bind = $mainMod, F, fullscreen, bind = $mainMod, D, exec, $menu bind = $mainMod, P, pseudo, # dwindle -bind = $mainMod, J, togglesplit, # dwindle +bind = $mainMod, I, togglesplit, # dwindle # Move focus with mainMod + arrow keys bind = $mainMod, left, movefocus, l bind = $mainMod, right, movefocus, r bind = $mainMod, up, movefocus, u bind = $mainMod, down, movefocus, d +bind = $mainMod, h, movefocus, l +bind = $mainMod, l, movefocus, r +bind = $mainMod, k, movefocus, u +bind = $mainMod, j, movefocus, d + +# Resize windows +bind = $mainMod CTRL, left, resizeactive, -35 0 +bind = $mainMod CTRL, right, resizeactive, 35 0 +bind = $mainMod CTRL, up, resizeactive, 0 -35 +bind = $mainMod CTRL, down, resizeactive, 0 35 +bind = $mainMod CTRL, h, resizeactive, -35 0 +bind = $mainMod CTRL, l, resizeactive, 35 0 +bind = $mainMod CTRL, k, resizeactive, 0 -35 +bind = $mainMod CTRL, j, resizeactive, 0 35 + +# Move windows +bind = $mainMod SHIFT, left, moveWindow, l +bind = $mainMod SHIFT, right, moveWindow, r +bind = $mainMod SHIFT, up, moveWindow, u +bind = $mainMod SHIFT, down, moveWindow, d # Switch workspaces with mainMod + [0-9] bind = $mainMod, 1, workspace, 1 diff --git a/hypr/conf.d/theme.conf b/.config/hypr/conf.d/theme.conf similarity index 98% rename from hypr/conf.d/theme.conf rename to .config/hypr/conf.d/theme.conf index 3f97821..2997a52 100644 --- a/hypr/conf.d/theme.conf +++ b/.config/hypr/conf.d/theme.conf @@ -30,8 +30,8 @@ decoration { rounding_power = 10 # Change transparency of focused and unfocused windows - active_opacity = 0.87 - inactive_opacity = 0.87 + active_opacity = 0.85 + inactive_opacity = 0.85 shadow { enabled = true diff --git a/hypr/hyprland.conf b/.config/hypr/hyprland.conf similarity index 86% rename from hypr/hyprland.conf rename to .config/hypr/hyprland.conf index 7cf8e6a..3f398b4 100644 --- a/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -28,9 +28,10 @@ $email = thunderbird # Autostart necessary processes (like notifications daemons, status bars, etc.) exec-once = waybar +exec-once = hyprpaper exec-once = dunst -exec-once = [workspace 1 silent] $browser -exec-once = [workspace 2 silent] $terminal +exec-once = [workspace 2 silent] $browser +exec-once = [workspace 1 silent] $terminal ############################# ### ENVIRONMENT VARIABLES ### @@ -70,8 +71,8 @@ master { # https://wiki.hyprland.org/Configuring/Variables/#misc misc { - force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers - disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :( + force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers + disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :( } source = ~/.config/hypr/conf.d/* diff --git a/.config/hypr/hyprpaper.conf b/.config/hypr/hyprpaper.conf new file mode 100644 index 0000000..edc8050 --- /dev/null +++ b/.config/hypr/hyprpaper.conf @@ -0,0 +1,3 @@ +preload = /home/alex/wallpapers/dune.jpg +wallpaper = eDP-1,/home/alex/wallpapers/dune.jpg + diff --git a/wofi/config b/.config/wofi/config similarity index 100% rename from wofi/config rename to .config/wofi/config diff --git a/wofi/style.css b/.config/wofi/style.css similarity index 100% rename from wofi/style.css rename to .config/wofi/style.css diff --git a/wofi/wofi-powermenu.sh b/.config/wofi/wofi-powermenu.sh similarity index 100% rename from wofi/wofi-powermenu.sh rename to .config/wofi/wofi-powermenu.sh diff --git a/application-files/imv.desktop b/.local/share/applications/imv.desktop similarity index 100% rename from application-files/imv.desktop rename to .local/share/applications/imv.desktop diff --git a/application-files/signal-wayland.desktop b/.local/share/applications/signal-wayland.desktop similarity index 100% rename from application-files/signal-wayland.desktop rename to .local/share/applications/signal-wayland.desktop diff --git a/color-palett/color-palett.css b/color-palett/color-palett.css new file mode 100644 index 0000000..17b1b8e --- /dev/null +++ b/color-palett/color-palett.css @@ -0,0 +1,45 @@ +/* CSS HEX */ +--licorice: #221009ff; +--caput-mortuum: #50180Eff; +--black-bean: #310E0Aff; +--pumpkin: #E97520ff; +--brown: #9E4120ff; + +/* CSS HSL */ +--licorice: hsla(17, 58%, 8%, 1); +--caput-mortuum: hsla(9, 70%, 18%, 1); +--black-bean: hsla(6, 66%, 12%, 1); +--pumpkin: hsla(25, 82%, 52%, 1); +--brown: hsla(16, 66%, 37%, 1); + +/* SCSS HEX */ +$licorice: #221009ff; +$caput-mortuum: #50180Eff; +$black-bean: #310E0Aff; +$pumpkin: #E97520ff; +$brown: #9E4120ff; + +/* SCSS HSL */ +$licorice: hsla(17, 58%, 8%, 1); +$caput-mortuum: hsla(9, 70%, 18%, 1); +$black-bean: hsla(6, 66%, 12%, 1); +$pumpkin: hsla(25, 82%, 52%, 1); +$brown: hsla(16, 66%, 37%, 1); + +/* SCSS RGB */ +$licorice: rgba(34, 16, 9, 1); +$caput-mortuum: rgba(80, 24, 14, 1); +$black-bean: rgba(49, 14, 10, 1); +$pumpkin: rgba(233, 117, 32, 1); +$brown: rgba(158, 65, 32, 1); + +/* SCSS Gradient */ +$gradient-top: linear-gradient(0deg, #221009ff, #50180Eff, #310E0Aff, #E97520ff, #9E4120ff); +$gradient-right: linear-gradient(90deg, #221009ff, #50180Eff, #310E0Aff, #E97520ff, #9E4120ff); +$gradient-bottom: linear-gradient(180deg, #221009ff, #50180Eff, #310E0Aff, #E97520ff, #9E4120ff); +$gradient-left: linear-gradient(270deg, #221009ff, #50180Eff, #310E0Aff, #E97520ff, #9E4120ff); +$gradient-top-right: linear-gradient(45deg, #221009ff, #50180Eff, #310E0Aff, #E97520ff, #9E4120ff); +$gradient-bottom-right: linear-gradient(135deg, #221009ff, #50180Eff, #310E0Aff, #E97520ff, #9E4120ff); +$gradient-top-left: linear-gradient(225deg, #221009ff, #50180Eff, #310E0Aff, #E97520ff, #9E4120ff); +$gradient-bottom-left: linear-gradient(315deg, #221009ff, #50180Eff, #310E0Aff, #E97520ff, #9E4120ff); +$gradient-radial: radial-gradient(#221009ff, #50180Eff, #310E0Aff, #E97520ff, #9E4120ff); diff --git a/color-palett/color-palett.png b/color-palett/color-palett.png new file mode 100644 index 0000000..2b2369d Binary files /dev/null and b/color-palett/color-palett.png differ diff --git a/install.bash b/install.bash index dffba14..b690b88 100644 --- a/install.bash +++ b/install.bash @@ -2,19 +2,25 @@ # Run as root -ln -s hypr ~/.config/hypr -ln -s fastfetch ~/.config/fastfetch -ln -s mimeapps.list ~/.config/mimeapps.list +ln -s ~/dotfiles/.conf/hypr ~/.config/hypr +ln -s ~/dotfiles/.conf/hyprpaper ~/.config/hyprpaper +ln -s ~/dotfiles/.conf/fastfetch ~/.config/fastfetch +ln -s ~/dotfiles/.conf/mimeapps.list ~/.config/mimeapps.list +ln -s ~/dotfiles/wallpapers ~/wallpapers # Move application .desktop files # Desktop files are used to create recognizable applications or force apps to use wayland -mv application-files/* ~/.local/share/applications/ +mv .local/share/applications/* ~/.local/share/applications/ # Hyperland stuff -pacman -S uwsm hyprland xdg-desktop-portal-hyprland +pacman -S uwsm hyprland xdg-desktop-portal-hyprland hyprpaper # Basic essentials pacman -S waybar dunst libnotify wofi pipewire brightnessctl man-db man-pages +# Yazi dependencies (but also useful otherwise) +pacman -S yazi ffmpeg poppler fd p7zip + # Other software pacman -S btop neovim nano grim slurp dust fastfetch imv wl-clipboard + diff --git a/wallpapers/dune.jpg b/wallpapers/dune.jpg new file mode 100644 index 0000000..0a2c868 Binary files /dev/null and b/wallpapers/dune.jpg differ