background, keybinds for moving and resizing windows, added color palett

This commit is contained in:
Alexander Bell 2025-05-13 20:22:20 +02:00
parent 1531844053
commit 6bca50db27
16 changed files with 97 additions and 13 deletions

10
.bashrc
View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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/*

View File

@ -0,0 +1,3 @@
preload = /home/alex/wallpapers/dune.jpg
wallpaper = eDP-1,/home/alex/wallpapers/dune.jpg

View File

@ -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);

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

View File

@ -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

BIN
wallpapers/dune.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB