diff --git a/.config/btop/btop.conf b/.config/btop/btop.conf index 21567d5..9049fc7 100644 --- a/.config/btop/btop.conf +++ b/.config/btop/btop.conf @@ -87,7 +87,7 @@ proc_info_smaps = False proc_left = False #* (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. proc_aggregate = False diff --git a/.config/environment.d/20-dirs.conf b/.config/environment.d/20-dirs.conf index 716f734..9f11f31 100644 --- a/.config/environment.d/20-dirs.conf +++ b/.config/environment.d/20-dirs.conf @@ -7,4 +7,5 @@ HISTFILE=$XDG_STATE_HOME/bash/history NIMBLE_DIR=$XDG_DATA_HOME/nimble NUGET_PACKAGES=$XDG_CACHE_HOME/nuget RUSTUP_HOME=$XDG_DATA_HOME/rustup -W3M_DIR=$XDG_DATA_HOME/w3m \ No newline at end of file +W3M_DIR=$XDG_DATA_HOME/w3m +WINEPREFIX=$XDG_DATA_HOME/wine \ No newline at end of file diff --git a/.config/fish/alias.fish b/.config/fish/alias.fish index 86cd229..c4d65bd 100644 --- a/.config/fish/alias.fish +++ b/.config/fish/alias.fish @@ -21,12 +21,6 @@ alias hp "home pull" # Hyperfine alias bench "hyperfine --shell=none" -# Jump -alias jh "cd" -alias jb "cd ~/.local/bin" -alias jc "cd ~/.config" -alias jp "cd ~/projects" - # Kernel alias kerr "sudo dmesg --level=emerg,alert,crit,err" alias klog "sudo dmesg" @@ -51,13 +45,13 @@ alias p "pacman" alias pi "sudo pacman -S" alias pr "sudo pacman -Rs" alias pu "sudo pacman -Syu" -alias pl "pacman -Q" -alias po "pacman -Qo" +alias pl "pacman -Qq" alias pe "pacman -Qe" alias pc "sudo pacman -Sc" alias paur "pacman -Qm" alias pfiles "pacman -Ql" alias porphan "pacman -Qtdq" +alias powner "pacman -Qo" # Systemctl alias start "sudo systemctl start" diff --git a/.config/hypr/general.conf b/.config/hypr/general.conf index 39e4754..a0e1767 100644 --- a/.config/hypr/general.conf +++ b/.config/hypr/general.conf @@ -9,7 +9,6 @@ general { decoration { rounding = 5 - shadow:enabled = false active_opacity = 0.9 inactive_opacity = 0.9 @@ -18,6 +17,10 @@ decoration { size = 3 passes = 6 } + + shadow { + enabled = false + } } animations { @@ -29,17 +32,10 @@ animations { animation = windowsOut, 1, 2, default, popin 80% } -dwindle { - preserve_split = yes -} - -input { - accel_profile = flat - sensitivity = 0 -} - -cursor { - use_cpu_buffer = true +render { + explicit_sync = 1 + explicit_sync_kms = 1 + direct_scanout = true } misc { @@ -49,14 +45,18 @@ misc { render_ahead_of_time = false } -render { - explicit_sync = 1 - explicit_sync_kms = 1 - direct_scanout = true +input { + accel_profile = flat + sensitivity = 0 } -opengl { - nvidia_anti_flicker = true +dwindle { + preserve_split = yes +} + +ecosystem { + no_update_news = true + no_donation_nag = true } debug { diff --git a/.config/hypr/programs.conf b/.config/hypr/programs.conf index 46fb852..ba3365b 100644 --- a/.config/hypr/programs.conf +++ b/.config/hypr/programs.conf @@ -1,6 +1,7 @@ # Apps $browser = firefox $email = evolution +$files = thunar $logout = wlogout $lockscreen = swaylock $menu = fuzzel @@ -11,7 +12,6 @@ $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 diff --git a/.config/hypr/rules.conf b/.config/hypr/rules.conf index 00877e0..843db0a 100644 --- a/.config/hypr/rules.conf +++ b/.config/hypr/rules.conf @@ -13,9 +13,9 @@ windowrulev2 = suppressevent maximize, class:.* 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] \ No newline at end of file +# 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] \ No newline at end of file diff --git a/.config/nvim/lua/usercmds.lua b/.config/nvim/lua/usercmds.lua index a277f4b..6df83c6 100644 --- a/.config/nvim/lua/usercmds.lua +++ b/.config/nvim/lua/usercmds.lua @@ -1,7 +1,9 @@ -- ToggleWord vim.api.nvim_create_user_command("ToggleWord", function() local inverse = { + ["bottom"] = "top", ["horizontal"] = "vertical", + ["left"] = "right", ["on"] = "off", ["true"] = "false", ["True"] = "False", @@ -31,4 +33,4 @@ vim.api.nvim_create_user_command("ToggleWord", function() end vim.cmd("normal! ciw" .. flipped) -end, {}) +end, {}) \ No newline at end of file diff --git a/.config/vscode/settings.json b/.config/vscode/settings.json index e8af495..eb8c8cd 100644 --- a/.config/vscode/settings.json +++ b/.config/vscode/settings.json @@ -30,6 +30,13 @@ "gitProjectManager.openInNewWindow": false, "gitProjectManager.storeRepositoriesBetweenSessions": false, "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, "godotTools.editorPath.godot4": "/usr/bin/godot", "godotTools.lsp.serverPort": 6005, diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index 4c52703..47632df 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -1,6 +1,6 @@ { "layer": "top", "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", } \ No newline at end of file diff --git a/.config/waybar/modules.jsonc b/.config/waybar/modules.jsonc index 8ace900..099177d 100644 --- a/.config/waybar/modules.jsonc +++ b/.config/waybar/modules.jsonc @@ -1,37 +1,45 @@ { "cpu": { "interval": 2, - "format": "CPU: {usage}%", + "format": "[CPU] {usage}%", "on-click": "$TERMINAL -e btop", }, "custom/gpu": { "interval": 2, - "format": "GPU: {}%", + "format": "[GPU] {}%", "exec": "nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader,nounits", "return-type": "", "on-click": "$TERMINAL -e nvtop", }, "memory": { "interval": 2, - "format": "MEM: {used} GiB", + "format": "[MEM] {used} G", "on-click": "$TERMINAL -e btop", }, "disk": { "interval": 30, - "format": "SSD: {specific_used:0.0f} GiB", + "format": "[SSD] {specific_used:0.0f} G", "path": "/", "unit": "GiB", "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": { - "format": "VOL: {volume}%", + "format": "[VOL] {volume}%", "format-muted": "", "scroll-step": 5, "on-click": "easyeffects", }, "clock": { "interval": 60, - "format": "{:%H:%M}", + "format": "[CLK] {:%H:%M}", "tooltip-format": "{:%A, %Y-%m-%d}", "on-click": "date -u +'%Y-%m-%dT%H:%M:%SZ' | wl-copy", }, diff --git a/.config/waybar/style.css b/.config/waybar/style.css index 7de5a5f..2162df2 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -9,7 +9,7 @@ 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); border-radius: 3px; padding: 4px 8px; diff --git a/.config/zed/settings.json b/.config/zed/settings.json index f94ce3e..890eb29 100644 --- a/.config/zed/settings.json +++ b/.config/zed/settings.json @@ -28,13 +28,12 @@ "enabled": false }, "terminal": { - // "button": false, "line_height": "standard" }, "theme": { "mode": "dark", - "light": "Zedokai Darker Classic", - "dark": "Zedokai Darker Classic" + "light": "One Light", + "dark": "One Dark" }, "toolbar": { "breadcrumbs": false,