Skip to content

Commit

Permalink
joshuto->yazi, htop->btop
Browse files Browse the repository at this point in the history
  • Loading branch information
kpa28-git committed Oct 8, 2024
1 parent 9bd863c commit 1a45bc2
Show file tree
Hide file tree
Showing 14 changed files with 84 additions and 32 deletions.
1 change: 1 addition & 0 deletions .config/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
!/sxhkd/**
!/tmux/**
!/yay/**
!/yazi/**
!/zathura/**
!/zsh/**
!mimeapps.list
Expand Down
3 changes: 2 additions & 1 deletion .config/helix/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
# /_//_/\__/_/_//_\_\
# Helix text editor runtime config.

theme = "everforest_dark" # gruvbox, gruvbox_dark_hard, pop-dark, everforest_dark, onedark, autumn, bogster, noctis_bordo, rasmus, tokyonight_storm
theme = "pop-dark" # pop-dark, everforest_dark, bogster, onedark, autumn, gruvbox, gruvbox_dark_hard, noctis_bordo, rasmus, tokyonight_storm
# theme = "flatwhite" # flatwhite, everforest_light, bogster_light

[keys.normal]
"#" = "toggle_comments"
Expand Down
9 changes: 9 additions & 0 deletions .config/helix/languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@
name = "julia"
indent = { tab-width = 4, unit = "\t" }

[language-server.julia]
command = "julia"
timeout = 60
# args = [ "--project=@LanguageServer", "--startup-file=no", "--history-file=no", "--quiet", "-e", "using LanguageServer; runserver()" ]

[[language]]
name = "rust"
indent = { tab-width = 4, unit = "\t" }

[[language]]
name = "latex"
indent = { tab-width = 4, unit = "\t" }
Expand Down
8 changes: 5 additions & 3 deletions .config/julia/startup.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
#
# symlink $HOME/.julia/config/startup.jl to this file to have it load on startup

# using AbbreviatedStackTraces
using OhMyREPL
using Revise

setlogger_debug_all!() = ENV["JULIA_DEBUG"] = "all" # show @debug in all contexts
setlogger_debug_main!() = ENV["JULIA_DEBUG"] = Main # show @debug in Main only
setlogger_debug_clear!() = delete!(ENV, "JULIA_DEBUG") # no @debug shown (default)
logger_debug_all!() = ENV["JULIA_DEBUG"] = "all" # show @debug in all contexts
logger_debug_main!() = ENV["JULIA_DEBUG"] = Main # show @debug in Main only
logger_debug_clear!() = delete!(ENV, "JULIA_DEBUG") # no @debug shown (default)
8 changes: 4 additions & 4 deletions .config/picom/picom.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@
# /_/
# compton compositor runtime config.

backend = "xrender"; # glx, egl, xrender, dummy

# Effects
shadow = false;
fading = true;
#fade-delta = 30;
fade-in-step = 0.1;
fade-out-step = 0.1;

# backend = "xrender"; # default
# backend = "glx";
# backend = "xr_glx_hybrid";

# vsync = true; # Reduces single monitor tearing
# vsync = "opengl-oml"; # Also reduces single monitor tearing
# use-damage = false # Fixes flickering window issue that started after version 7.5: https://github.com/yshui/picom/issues/375

fade-exclude = [ "class_g = 'xsecurelock'" ];

# Brodies screen tearing options
#glx-no-stencil = true;
#glx-copy-from-front = false;
Expand Down
8 changes: 4 additions & 4 deletions .config/polybar/launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ if [ -z "$(pgrep -x polybar)" ]; then
ACTIVE="$(polybar -m | cut -d':' -f1)";
PRIMARY="$(printf '%s' "$ACTIVE" | sed -n '1p')";
SECONDARY="$(printf '%s' "$ACTIVE" | sed -n '2p')";
# MONITOR=$PRIMARY polybar --reload top &
# MONITOR=$PRIMARY polybar --reload bottom &
MONITOR=$PRIMARY polybar --reload top 2>$HOME/polybar.top.log &
MONITOR=$PRIMARY polybar --reload bottom 2>$HOME/polybar.bottom.log &
MONITOR=$PRIMARY polybar --reload top &
MONITOR=$PRIMARY polybar --reload bottom &
# MONITOR=$PRIMARY polybar --reload top 2>$HOME/polybar.top.log &
# MONITOR=$PRIMARY polybar --reload bottom 2>$HOME/polybar.bottom.log &

# Multi monitor bar mirroring: https://github.com/polybar/polybar/issues/763
# for m in $(polybar --list-monitors | cut -d":" -f1); do
Expand Down
25 changes: 16 additions & 9 deletions .config/qutebrowser/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,21 @@ url.searchengines: {
# 'apk': 'https://pkgs.alpinelinux.org/packages?name={}&branch=edge&arch=armhf',
# 'void': 'https://wiki.voidlinux.org/?search={}',

# langs
'djul': 'https://docs.julialang.org/en/v1/search/?q={}',
# langs - julia
'jdoc': 'https://docs.julialang.org/en/v1/search/?q={}',
'jstd': 'https://docs.julialang.org/en/v1/search/?q={}',
'jdis': 'https://discourse.julialang.org/search?q={}',
'jpkg': 'https://juliapackages.com/packages?search={}',
'jhub': 'https://juliahub.com/ui/Packages?q={}',
# 'rust': 'https://doc.rust-lang.org/reference/index.html?search={}',
# 'jhub': 'https://juliahub.com/ui/Packages?q={}',

# langs - rust
'rdoc': 'https://doc.rust-lang.org/reference/index.html?search={}',
'rstd': 'https://doc.rust-lang.org/std/?search={}',
# 'rbook': 'https://doc.rust-lang.org/book/title-page.html?search={}',
# 'rstd': 'https://doc.rust-lang.org/std/?search={}',
# 'cargo': 'https://crates.io/search?q={}'
'rbook': 'https://rust-book.cs.brown.edu/?search={}',
'rpkg': 'https://crates.io/search?q={}',

# langs - python
# 'py3': 'https://docs.python.org/3/search.html?q={}',
# 'conda': 'https://anaconda.org/search?q={}',
# 'pip': 'https://pypi.org/search/?q={}',
Expand All @@ -140,11 +147,11 @@ window.hide_decoration: True
## ZOOM
# 250% puts most text at about .24" height
# Based on tan(.6°) * distance where distance = 24"
zoom.default: '85%'
zoom.default: '150%'

## FONTS
# fonts.default_size: '10px'
# fonts.web.size.default: 16
fonts.default_size: '30px'
fonts.web.size.default: 28
# fonts.web.size.default_fixed: 13

# CUSTOM
Expand Down
4 changes: 2 additions & 2 deletions .config/sxhkd/sxhkdrc
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ super + a
super + d
$TERMINAL -e transg-tui

# htop (information)
# btop (system monitor)
super + i
$TERMINAL -e htop
$TERMINAL -e btop

# Toggle nord
super + F7
Expand Down
13 changes: 13 additions & 0 deletions .config/yazi/keymap.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# _
# __ _____ ____ (_)
# / // / _ `/_ // /
# \_, /\_,_//__/_/
# /___/
# yazi keymap overrides

[manager]
prepend_keymap = [
# Misc Integration
{ on = ["<A-a>"], run = "shell --block dragon-drop --all $@" },
]

20 changes: 20 additions & 0 deletions .config/yazi/yazi.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# _
# __ _____ ____ (_)
# / // / _ `/_ // /
# \_, /\_,_//__/_/
# /___/
# yazi runtime config

[manager]
sort_dir_first = true
linemode = "size"
show_symlink = true

[opener]
edit = [
{ run = '$EDITOR "$@"', block = true },
]
open = [
{ run = 'xdg-open "$@"' },
]

2 changes: 1 addition & 1 deletion .config/zathura/zathurarc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set statusbar-h-padding 0
set statusbar-v-padding 0
set page-padding 1
set selection-clipboard clipboard
set recolor 1
set recolor 0
set recolor-keephue 1
set font "monospace normal 16"

Expand Down
6 changes: 3 additions & 3 deletions .profile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export DIFFPROG=$VISUAL
export PAGER='bat'
export BROWSER='qutebrowser'
export READER='zathura'
export FILE='joshuto'
export FILE='yazi'
export TASK_CLIENT='planify'
export EMAIL_CLIENT='tutanota-desktop'
export BIB="$HOME/Documents/LaTeX/uni.bib"
Expand All @@ -45,7 +45,7 @@ export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
export PSQLRC="$XDG_CONFIG_HOME/postgres/psqlrc"
export ALIASDIR="$XDG_SCRIPT_HOME/aliases"
export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc-2.0"
export GOPATH="$XDG_SRC_HOME/go"
# export GOPATH="$XDG_SRC_HOME/go"
export PYLINTRC="$XDG_CONFIG_HOME/pylint/pylintrc"
export GRIPHOME="$XDG_CONFIG_HOME/grip"
export GNUPGHOME="$XDG_DATA_HOME/gnupg"
Expand All @@ -57,7 +57,7 @@ export PATH="$PATH:$(du "$XDG_SCRIPT_HOME" | cut -f2 | grep -v "$BLACKLIST" | tr
export PATH="$JAVA_HOME:$PATH:$GOPATH/bin:$HOME/.julia/conda/3/bin:$XDG_SRC_HOME/webapp/bin"

# Global day/night times for theming:
export TIMENIGHT="17:00"
export TIMENIGHT="19:00"
export TIMEDAY="08:00"

# Set less/man colors:
Expand Down
2 changes: 1 addition & 1 deletion .xinitrc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ exec "$XDG_CONFIG_HOME/polybar/launch.sh" &
picom --config "$XDG_CONFIG_HOME/picom/picom.conf" & # picom for transparency and to reduce tearing
dunst & # dunst for notifications
xset r rate 300 50 & # Increase xrate, speeds up key input
unclutter & # Remove mouse when idle
xbanish & # Remove mouse cursor on keypress
redshift -l "$("$XDG_SCRIPT_HOME/apitools/geoloc" | tr ',' ':')" &
setxkbmap -option caps:super -option altwin:menu_win && \ # Map caps to mod, menu button to win, details: /usr/share/X11/xkb/rules/evdev.lst
killall xcape 2>/dev/null ; xcape -e 'Super_L=Escape' # Mod by itself is now escape, TODO: do the same for right window button
Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,12 @@ My [arch linux](https://archlinux.org/) / [bspwm](https://github.com/baskerville
* text editor: [helix](https://helix-editor.com)
* window manager: [bspwm](https://github.com/baskerville/bspwm)
* compositor: [picom](https://github.com/yshui/picom)
* terminal: [xst](https://github.com/gnotclub/xst) (a [st](https://st.suckless.org) fork) || [alacritty](https://alacritty.org) (backup)
* terminal: [alacritty](https://alacritty.org) || [xst](https://github.com/gnotclub/xst) (a [st](https://st.suckless.org) fork)
* status bar: [polybar](https://polybar.github.io)
* file manager: [joshuto](https://github.com/kamiyaa/joshuto)
* file manager: [lf](https://pkg.go.dev/github.com/gokcehan/lf) && [pistol](https://github.com/doronbehar/pistol) && [dragon](https://github.com/mwh/dragon)
* file manager: [yazi](https://github.com/sxyazi/yazi)
* notifications: [dunst](https://dunst-project.org)
* launcher: [rofi](https://github.com/davatorium/rofi)
* music: [mpd](https://www.musicpd.org) && [ncmpcpp](https://github.com/ncmpcpp/ncmpcpp)
<!-- * music: [mpd](https://www.musicpd.org) && [ncmpcpp](https://github.com/ncmpcpp/ncmpcpp) -->
* video: [mpv](https://mpv.io)
* hotkeys: [sxhkd](https://github.com/baskerville/sxhkd)
* browser: [qutebrowser](https://qutebrowser.org/)
Expand Down

0 comments on commit 1a45bc2

Please sign in to comment.