Updated config

This commit is contained in:
Eduard Urbach 2025-02-02 11:05:39 +01:00
parent ffd1fd767a
commit 86f53356d1
Signed by: akyoto
GPG Key ID: C874F672B1AF20C0
12 changed files with 58 additions and 47 deletions

View File

@ -87,7 +87,7 @@ proc_info_smaps = False
proc_left = False proc_left = False
#* (Linux) Filter processes tied to the Linux kernel(similar behavior to htop). #* (Linux) Filter processes tied to the Linux kernel(similar behavior to htop).
proc_filter_kernel = False proc_filter_kernel = True
#* In tree-view, always accumulate child process resources in the parent process. #* In tree-view, always accumulate child process resources in the parent process.
proc_aggregate = False proc_aggregate = False

View File

@ -7,4 +7,5 @@ HISTFILE=$XDG_STATE_HOME/bash/history
NIMBLE_DIR=$XDG_DATA_HOME/nimble NIMBLE_DIR=$XDG_DATA_HOME/nimble
NUGET_PACKAGES=$XDG_CACHE_HOME/nuget NUGET_PACKAGES=$XDG_CACHE_HOME/nuget
RUSTUP_HOME=$XDG_DATA_HOME/rustup RUSTUP_HOME=$XDG_DATA_HOME/rustup
W3M_DIR=$XDG_DATA_HOME/w3m W3M_DIR=$XDG_DATA_HOME/w3m
WINEPREFIX=$XDG_DATA_HOME/wine

View File

@ -21,12 +21,6 @@ alias hp "home pull"
# Hyperfine # Hyperfine
alias bench "hyperfine --shell=none" alias bench "hyperfine --shell=none"
# Jump
alias jh "cd"
alias jb "cd ~/.local/bin"
alias jc "cd ~/.config"
alias jp "cd ~/projects"
# Kernel # Kernel
alias kerr "sudo dmesg --level=emerg,alert,crit,err" alias kerr "sudo dmesg --level=emerg,alert,crit,err"
alias klog "sudo dmesg" alias klog "sudo dmesg"
@ -51,13 +45,13 @@ alias p "pacman"
alias pi "sudo pacman -S" alias pi "sudo pacman -S"
alias pr "sudo pacman -Rs" alias pr "sudo pacman -Rs"
alias pu "sudo pacman -Syu" alias pu "sudo pacman -Syu"
alias pl "pacman -Q" alias pl "pacman -Qq"
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 pfiles "pacman -Ql"
alias porphan "pacman -Qtdq" alias porphan "pacman -Qtdq"
alias powner "pacman -Qo"
# Systemctl # Systemctl
alias start "sudo systemctl start" alias start "sudo systemctl start"

View File

@ -9,7 +9,6 @@ general {
decoration { decoration {
rounding = 5 rounding = 5
shadow:enabled = false
active_opacity = 0.9 active_opacity = 0.9
inactive_opacity = 0.9 inactive_opacity = 0.9
@ -18,6 +17,10 @@ decoration {
size = 3 size = 3
passes = 6 passes = 6
} }
shadow {
enabled = false
}
} }
animations { animations {
@ -29,17 +32,10 @@ animations {
animation = windowsOut, 1, 2, default, popin 80% animation = windowsOut, 1, 2, default, popin 80%
} }
dwindle { render {
preserve_split = yes explicit_sync = 1
} explicit_sync_kms = 1
direct_scanout = true
input {
accel_profile = flat
sensitivity = 0
}
cursor {
use_cpu_buffer = true
} }
misc { misc {
@ -49,14 +45,18 @@ misc {
render_ahead_of_time = false render_ahead_of_time = false
} }
render { input {
explicit_sync = 1 accel_profile = flat
explicit_sync_kms = 1 sensitivity = 0
direct_scanout = true
} }
opengl { dwindle {
nvidia_anti_flicker = true preserve_split = yes
}
ecosystem {
no_update_news = true
no_donation_nag = true
} }
debug { debug {

View File

@ -1,6 +1,7 @@
# Apps # Apps
$browser = firefox $browser = firefox
$email = evolution $email = evolution
$files = thunar
$logout = wlogout $logout = wlogout
$lockscreen = swaylock $lockscreen = swaylock
$menu = fuzzel $menu = fuzzel
@ -11,7 +12,6 @@ $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

@ -13,9 +13,9 @@ windowrulev2 = suppressevent maximize, class:.*
windowrulev2 = float, class:($wallpaper) windowrulev2 = float, class:($wallpaper)
# No gaps when there is a single window # No gaps when there is a single window
workspace = w[tv1], gapsout:0, gapsin:0 # workspace = w[tv1], gapsout:0, gapsin:0
workspace = f[1], gapsout:0, gapsin:0 # workspace = f[1], gapsout:0, gapsin:0
windowrulev2 = bordersize 0, floating:0, onworkspace:w[tv1] # windowrulev2 = bordersize 0, floating:0, onworkspace:w[tv1]
windowrulev2 = rounding 0, floating:0, onworkspace:w[tv1] # windowrulev2 = rounding 0, floating:0, onworkspace:w[tv1]
windowrulev2 = bordersize 0, floating:0, onworkspace:f[1] # windowrulev2 = bordersize 0, floating:0, onworkspace:f[1]
windowrulev2 = rounding 0, floating:0, onworkspace:f[1] # windowrulev2 = rounding 0, floating:0, onworkspace:f[1]

View File

@ -1,7 +1,9 @@
-- ToggleWord -- ToggleWord
vim.api.nvim_create_user_command("ToggleWord", function() vim.api.nvim_create_user_command("ToggleWord", function()
local inverse = { local inverse = {
["bottom"] = "top",
["horizontal"] = "vertical", ["horizontal"] = "vertical",
["left"] = "right",
["on"] = "off", ["on"] = "off",
["true"] = "false", ["true"] = "false",
["True"] = "False", ["True"] = "False",
@ -31,4 +33,4 @@ vim.api.nvim_create_user_command("ToggleWord", function()
end end
vim.cmd("normal! ciw" .. flipped) vim.cmd("normal! ciw" .. flipped)
end, {}) end, {})

View File

@ -30,6 +30,13 @@
"gitProjectManager.openInNewWindow": false, "gitProjectManager.openInNewWindow": false,
"gitProjectManager.storeRepositoriesBetweenSessions": false, "gitProjectManager.storeRepositoriesBetweenSessions": false,
"go.gopath": "~/.local/share/go", "go.gopath": "~/.local/share/go",
"go.lintFlags": [
"--fast",
"--enable-all",
"--disable",
"cyclop,depguard,dupl,dupword,errname,exhaustruct,forbidigo,forcetypeassert,funlen,gochecknoglobals,gochecknoinits,gocognit,gocyclo,godot,gofumpt,lll,mnd,nestif,nlreturn,paralleltest,varnamelen,wrapcheck,wsl",
],
"go.lintTool": "golangci-lint",
"go.toolsManagement.autoUpdate": true, "go.toolsManagement.autoUpdate": true,
"godotTools.editorPath.godot4": "/usr/bin/godot", "godotTools.editorPath.godot4": "/usr/bin/godot",
"godotTools.lsp.serverPort": 6005, "godotTools.lsp.serverPort": 6005,

View File

@ -1,6 +1,6 @@
{ {
"layer": "top", "layer": "top",
"position": "bottom", "position": "bottom",
"modules-right": ["cpu", "custom/gpu", "memory", "disk", "wireplumber", "clock"], "modules-right": ["cpu", "custom/gpu", "memory", "disk", "custom/processes", "wireplumber", "clock"],
"include": "~/.config/waybar/modules.jsonc", "include": "~/.config/waybar/modules.jsonc",
} }

View File

@ -1,37 +1,45 @@
{ {
"cpu": { "cpu": {
"interval": 2, "interval": 2,
"format": "CPU: {usage}%", "format": "[CPU] {usage}%",
"on-click": "$TERMINAL -e btop", "on-click": "$TERMINAL -e btop",
}, },
"custom/gpu": { "custom/gpu": {
"interval": 2, "interval": 2,
"format": "GPU: {}%", "format": "[GPU] {}%",
"exec": "nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader,nounits", "exec": "nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader,nounits",
"return-type": "", "return-type": "",
"on-click": "$TERMINAL -e nvtop", "on-click": "$TERMINAL -e nvtop",
}, },
"memory": { "memory": {
"interval": 2, "interval": 2,
"format": "MEM: {used} GiB", "format": "[MEM] {used} G",
"on-click": "$TERMINAL -e btop", "on-click": "$TERMINAL -e btop",
}, },
"disk": { "disk": {
"interval": 30, "interval": 30,
"format": "SSD: {specific_used:0.0f} GiB", "format": "[SSD] {specific_used:0.0f} G",
"path": "/", "path": "/",
"unit": "GiB", "unit": "GiB",
"on-click": "$TERMINAL -e dua i /", "on-click": "$TERMINAL -e dua i /",
}, },
"custom/processes": {
"interval": 2,
"format": "[PRC] {}",
"exec": "ps --ppid 2 -p 2 --deselect --no-headers | wc -l",
"return-type": "",
"tooltip-format": "Number of running processes",
"on-click": "$TERMINAL -e btop",
},
"wireplumber": { "wireplumber": {
"format": "VOL: {volume}%", "format": "[VOL] {volume}%",
"format-muted": "", "format-muted": "",
"scroll-step": 5, "scroll-step": 5,
"on-click": "easyeffects", "on-click": "easyeffects",
}, },
"clock": { "clock": {
"interval": 60, "interval": 60,
"format": "{:%H:%M}", "format": "[CLK] {:%H:%M}",
"tooltip-format": "{:%A, %Y-%m-%d}", "tooltip-format": "{:%A, %Y-%m-%d}",
"on-click": "date -u +'%Y-%m-%dT%H:%M:%SZ' | wl-copy", "on-click": "date -u +'%Y-%m-%dT%H:%M:%SZ' | wl-copy",
}, },

View File

@ -9,7 +9,7 @@
background: rgba(38, 41, 44, 0.5); background: rgba(38, 41, 44, 0.5);
} }
#cpu, #custom-gpu, #memory, #disk, #wireplumber, #clock { #cpu, #custom-gpu, #memory, #disk, #custom-processes, #wireplumber, #clock {
color: rgba(255, 255, 255, 0.8); color: rgba(255, 255, 255, 0.8);
border-radius: 3px; border-radius: 3px;
padding: 4px 8px; padding: 4px 8px;

View File

@ -28,13 +28,12 @@
"enabled": false "enabled": false
}, },
"terminal": { "terminal": {
// "button": false,
"line_height": "standard" "line_height": "standard"
}, },
"theme": { "theme": {
"mode": "dark", "mode": "dark",
"light": "Zedokai Darker Classic", "light": "One Light",
"dark": "Zedokai Darker Classic" "dark": "One Dark"
}, },
"toolbar": { "toolbar": {
"breadcrumbs": false, "breadcrumbs": false,