Updated config

This commit is contained in:
Eduard Urbach 2025-01-20 13:47:32 +01:00
parent e0b8d3886b
commit ff6d581fa5
Signed by: akyoto
GPG Key ID: C874F672B1AF20C0
14 changed files with 77 additions and 29 deletions

View File

@ -1,4 +1,4 @@
#? Config file for btop v. 1.3.2
#? Config file for btop v. 1.4.0
#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes.
#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes"

View File

@ -2,4 +2,4 @@ BROWSER=firefox
EDITOR=nvim
LANG=en_US.UTF-8
SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/ssh-agent.socket
TERMINAL=alacritty
TERMINAL=foot

View File

@ -56,6 +56,7 @@ alias po "pacman -Qo"
alias pe "pacman -Qe"
alias pc "sudo pacman -Sc"
alias paur "pacman -Qm"
alias pfiles "pacman -Ql"
alias porphan "pacman -Qtdq"
# Systemctl
@ -80,7 +81,7 @@ alias bios "systemctl reboot --firmware-setup"
alias cfg "config"
alias cls "clear"
alias debug "blinkenlights"
alias disasm "ndisasm -b 64 -e 176"
alias disasm "ndisasm -b 64 -e 4096"
alias ff "fastfetch"
alias hex "hexdump -C"
alias log "journalctl"

View File

@ -0,0 +1,8 @@
function f
set tmp (mktemp -t "yazi-cwd.XXXXXX")
yazi $argv --cwd-file="$tmp"
if set cwd (command cat -- "$tmp"); and [ -n "$cwd" ]; and [ "$cwd" != "$PWD" ]
builtin cd -- "$cwd"
end
rm -f -- "$tmp"
end

View File

@ -1,4 +1,4 @@
exec-once = waypaper --restore
exec-once = wl-paste --watch cliphist store
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = waypaper --restore
exec-once = wl-paste --watch cliphist store

View File

@ -9,9 +9,19 @@ env = EGL_PLATFORM,wayland
env = ELECTRON_OZONE_PLATFORM_HINT,wayland
env = GDK_BACKEND,wayland
env = MOZ_ENABLE_WAYLAND,1
env = PROTON_ENABLE_WAYLAND,1
env = SDL_VIDEODRIVER,wayland,x11,windows
# Load shared objects immediately
env = LD_BIND_NOW,1
# OpenGL
env = __GL_GSYNC_ALLOWED,1
env = __GL_SYNC_TO_VBLANK,0
env = __GL_VRR_ALLOWED,1
# Vulkan
env = DXVK_ASYNC,1
env = GSK_RENDERER,vulkan
# X11

View File

@ -1,27 +1,35 @@
general {
gaps_in = 5
gaps_out = 10
border_size = 1
border_size = 2
allow_tearing = true
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
col.inactive_border = rgba(595959aa)
}
decoration {
rounding = 5
drop_shadow = true
blur:enabled = false
shadow:enabled = false
active_opacity = 0.9
inactive_opacity = 0.9
blur {
enabled = true
size = 3
passes = 6
}
}
animations {
animation = border, 0
animation = borderangle, 0
animation = workspaces, 0
animation = fade, 1, 1.5, default
animation = windows, 1, 1.5, default
animation = windowsOut, 1, 1.5, default, popin 80%
animation = fade, 1, 2, default
animation = windows, 1, 2, default
animation = windowsOut, 1, 2, default, popin 80%
}
dwindle {
no_gaps_when_only = 1
preserve_split = yes
}
@ -31,11 +39,24 @@ input {
}
cursor {
no_hardware_cursors = true
use_cpu_buffer = true
}
misc {
vrr = 1
vrr = true
vfr = true
animate_manual_resizes = false
render_ahead_of_time = false
}
render {
explicit_sync = 1
explicit_sync_kms = 1
direct_scanout = true
}
opengl {
nvidia_anti_flicker = true
}
debug {

View File

@ -5,4 +5,4 @@ source = autostart.conf
source = general.conf
source = rules.conf
source = keys.conf
source = typing.conf
source = typing.conf

View File

@ -1,7 +1,6 @@
# Apps
$browser = firefox
$email = evolution
$files = nemo
$logout = wlogout
$lockscreen = swaylock
$menu = fuzzel
@ -12,6 +11,7 @@ $wallpaper = waypaper
# Terminal based
$editor = $terminal -e nvim
$files = $terminal -e yazi
$center = [float;size 960 540;center]
$floating = $center $terminal
$systeminfo = $center $terminal --hold -e fastfetch

View File

@ -10,4 +10,12 @@ layerrule = ignorealpha 0.1, launcher
windowrulev2 = suppressevent maximize, class:.*
# Open wallpaper selector in float mode
windowrulev2 = float, class:($wallpaper)
windowrulev2 = float, class:($wallpaper)
# No gaps when there is a single window
# workspace = w[tv1], gapsout:0, gapsin:0
# workspace = f[1], gapsout:0, gapsin:0
# windowrulev2 = bordersize 0, floating:0, onworkspace:w[tv1]
# windowrulev2 = rounding 0, floating:0, onworkspace:w[tv1]
# windowrulev2 = bordersize 0, floating:0, onworkspace:f[1]
# windowrulev2 = rounding 0, floating:0, onworkspace:f[1]

View File

@ -11,6 +11,7 @@
"editor.insertSpaces": false,
"editor.lineNumbers": "off",
"editor.renderFinalNewline": "off",
"editor.renderLineHighlight": "none",
"editor.scrollbar.vertical": "hidden",
"editor.scrollbar.verticalScrollbarSize": 0,
"editor.scrollBeyondLastLine": false,

View File

@ -11,7 +11,8 @@
/* ===== Waybar ===== */
#waybar {
background: rgb(38, 41, 44);
background: rgba(38, 41, 44, 0.5);
/* background: transparent; */
}
#waybar.hidden {

View File

@ -1,27 +1,25 @@
* {
background-image: none;
font-family: "Ubuntu Nerd Font";
font-size: 20px;
}
window {
background-color: rgba(0, 0, 0, 0.5);
background-color: rgba(0, 0, 0, 0.9);
}
button {
/* color: #ffffff; */
/* background-color: rgba(255, 255, 255, 0.5); */
background-color: rgba(0, 0, 0, 0.5);
border-width: 2px;
border-style: solid;
border-color: rgba(255, 255, 255, 0.5);
/* border-radius: 50%; */
background-repeat: no-repeat;
background-position: center;
background-size: 25%;
background-size: 10%;
margin: 25px;
}
button:focus, button:active, button:hover {
background-color: rgba(0, 0, 0, 0.75);
outline-style: none;
border-color: rgb(255, 255, 255);
}
@ -44,4 +42,4 @@ button:focus, button:active, button:hover {
url("/usr/share/wlogout/icons/reboot.png"),
url("/usr/local/share/wlogout/icons/reboot.png")
);
}
}

4
.init
View File

@ -7,5 +7,5 @@ if test -e $GENERATOR
export ($GENERATOR)
end
# Start hyprland
Hyprland
# Start compositor
Hyprland