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. #* 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" #* 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 EDITOR=nvim
LANG=en_US.UTF-8 LANG=en_US.UTF-8
SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/ssh-agent.socket 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 pe "pacman -Qe"
alias pc "sudo pacman -Sc" alias pc "sudo pacman -Sc"
alias paur "pacman -Qm" alias paur "pacman -Qm"
alias pfiles "pacman -Ql"
alias porphan "pacman -Qtdq" alias porphan "pacman -Qtdq"
# Systemctl # Systemctl
@ -80,7 +81,7 @@ alias bios "systemctl reboot --firmware-setup"
alias cfg "config" alias cfg "config"
alias cls "clear" alias cls "clear"
alias debug "blinkenlights" alias debug "blinkenlights"
alias disasm "ndisasm -b 64 -e 176" alias disasm "ndisasm -b 64 -e 4096"
alias ff "fastfetch" alias ff "fastfetch"
alias hex "hexdump -C" alias hex "hexdump -C"
alias log "journalctl" 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 = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec-once = waypaper --restore exec-once = waypaper --restore
exec-once = wl-paste --watch cliphist store exec-once = wl-paste --watch cliphist store
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP

View File

@ -9,9 +9,19 @@ env = EGL_PLATFORM,wayland
env = ELECTRON_OZONE_PLATFORM_HINT,wayland env = ELECTRON_OZONE_PLATFORM_HINT,wayland
env = GDK_BACKEND,wayland env = GDK_BACKEND,wayland
env = MOZ_ENABLE_WAYLAND,1 env = MOZ_ENABLE_WAYLAND,1
env = PROTON_ENABLE_WAYLAND,1
env = SDL_VIDEODRIVER,wayland,x11,windows 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 # Vulkan
env = DXVK_ASYNC,1
env = GSK_RENDERER,vulkan env = GSK_RENDERER,vulkan
# X11 # X11

View File

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

View File

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

View File

@ -11,3 +11,11 @@ windowrulev2 = suppressevent maximize, class:.*
# Open wallpaper selector in float mode # 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.insertSpaces": false,
"editor.lineNumbers": "off", "editor.lineNumbers": "off",
"editor.renderFinalNewline": "off", "editor.renderFinalNewline": "off",
"editor.renderLineHighlight": "none",
"editor.scrollbar.vertical": "hidden", "editor.scrollbar.vertical": "hidden",
"editor.scrollbar.verticalScrollbarSize": 0, "editor.scrollbar.verticalScrollbarSize": 0,
"editor.scrollBeyondLastLine": false, "editor.scrollBeyondLastLine": false,

View File

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

View File

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

2
.init
View File

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