diff --git a/config/mksymlink.conf b/config/mksymlink.conf index 28c6714..f3b5f56 100644 --- a/config/mksymlink.conf +++ b/config/mksymlink.conf @@ -11,4 +11,6 @@ fastfetch=fastfetch btop=btop foot=foot mako=mako +neofetch=neofetch +mksymlink.conf=mksymlink.conf " diff --git a/config/neofetch/config.conf b/config/neofetch/config.conf index a9a4fdd..cdba4c6 100644 --- a/config/neofetch/config.conf +++ b/config/neofetch/config.conf @@ -1,27 +1,39 @@ # See this wiki page for more info: # https://github.com/dylanaraps/neofetch/wiki/Customizing-Info print_info() { + info title + info underline - INIT="SysV" - INIT2="SysVinit 3.14" - distro='Gentoo 23.0' - ARCH=$(arch) + info "OS" distro + info "Host" model + info "Kernel" kernel + info "Uptime" uptime + info "Packages" packages + info "Shell" shell + info "Resolution" resolution + info "DE" de + info "WM" wm + info "WM Theme" wm_theme + info "Theme" theme + info "Icons" icons + info "Terminal" term + info "Terminal Font" term_font + info "CPU" cpu + info "GPU" gpu + info "Memory" memory + + # info "GPU Driver" gpu_driver # Linux/macOS only + # info "CPU Usage" cpu_usage + # info "Disk" disk + # info "Battery" battery + # info "Font" font + # info "Song" song + # [[ "$player" ]] && prin "Music Player" "$player" + # info "Local IP" local_ip + # info "Public IP" public_ip + # info "Users" users + # info "Locale" locale # This only works on glibc systems. - prin "\033[38;2;168;220;238mcoast@core\033[0m" - info underline - info "\033[38;2;168;220;238mOS\033[0m" distro - info "\033[38;2;168;220;238mHost\033[0m" model - info "\033[38;2;168;220;238mKernel\033[0m" kernel - info "\033[38;2;168;220;238mUptime\033[0m" uptime - info "\033[38;2;168;220;238mPackages\033[0m" packages - info "\033[38;2;168;220;238mShell\033[0m" shell - info "\033[38;2;168;220;238mResolution\033[0m" resolution - info "\033[38;2;168;220;238mDE\033[0m" de - info "\033[38;2;168;220;238mWM\033[0m" wm - info "\033[38;2;168;220;238mTheme\033[0m" theme - info "\033[38;2;168;220;238mIcons\033[0m" icons - info "\033[38;2;168;220;238mTerminal\033[0m" term - info "\033[38;2;168;220;238mDisk\033[0m" disk info cols } @@ -49,7 +61,7 @@ title_fqdn="off" # Example: # on: '4.8.9-1-ARCH' # off: 'Linux 4.8.9-1-ARCH' -kernel_shorthand="off" +kernel_shorthand="on" # Distro @@ -61,7 +73,7 @@ kernel_shorthand="off" # Values: 'on', 'tiny', 'off' # Flag: --distro_shorthand # Supports: Everything except Windows and Haiku -distro_shorthand="on" +distro_shorthand="off" # Show/Hide OS Architecture. # Show 'x86_64', 'x86' and etc in 'Distro:' output. @@ -73,7 +85,7 @@ distro_shorthand="on" # Example: # on: 'Arch Linux x86_64' # off: 'Arch Linux' -os_arch="off" +os_arch="on" # Uptime @@ -89,7 +101,7 @@ os_arch="off" # on: '2 days, 10 hours, 3 mins' # tiny: '2d 10h 3m' # off: '2 days, 10 hours, 3 minutes' -uptime_shorthand="tiny" +uptime_shorthand="on" # Memory @@ -104,7 +116,7 @@ uptime_shorthand="tiny" # Example: # on: '1801MiB / 7881MiB (22%)' # off: '1801MiB / 7881MiB' -memory_percent="on" +memory_percent="off" # Change memory output unit. # @@ -116,7 +128,7 @@ memory_percent="on" # kib '1020928KiB / 7117824KiB' # mib '1042MiB / 6951MiB' # gib: ' 0.98GiB / 6.79GiB' -memory_unit="gib" +memory_unit="mib" # Packages @@ -147,7 +159,7 @@ package_managers="on" # Example: # on: '/bin/bash' # off: 'bash' -shell_path="on" +shell_path="off" # Show $SHELL version # @@ -158,7 +170,7 @@ shell_path="on" # Example: # on: 'bash 4.4.5' # off: 'bash' -shell_version="off" +shell_version="on" # CPU @@ -183,7 +195,7 @@ speed_type="bios_limit" # Example: # on: 'i7-6500U (4) @ 3.1GHz' # off: 'i7-6500U (4) @ 3.100GHz' -speed_shorthand="on" +speed_shorthand="off" # Enable/Disable CPU brand in output. # @@ -194,7 +206,7 @@ speed_shorthand="on" # Example: # on: 'Intel i7-6500U' # off: 'i7-6500U (4)' -cpu_brand="off" +cpu_brand="on" # CPU Speed # Hide/Show CPU speed. @@ -220,7 +232,7 @@ cpu_speed="on" # logical: 'Intel i7-6500U (4) @ 3.1GHz' (All virtual cores) # physical: 'Intel i7-6500U (2) @ 3.1GHz' (All physical cores) # off: 'Intel i7-6500U @ 3.1GHz' -cpu_cores="off" +cpu_cores="logical" # CPU Temperature # Hide/Show CPU temperature. @@ -237,7 +249,7 @@ cpu_cores="off" # C: 'Intel i7-6500U (4) @ 3.1GHz [27.2°C]' # F: 'Intel i7-6500U (4) @ 3.1GHz [82.0°F]' # off: 'Intel i7-6500U (4) @ 3.1GHz' -cpu_temp="F" +cpu_temp="off" # GPU @@ -252,7 +264,7 @@ cpu_temp="F" # Example: # on: 'AMD HD 7950' # off: 'HD 7950' -gpu_brand="off" +gpu_brand="on" # Which GPU to display # @@ -271,7 +283,7 @@ gpu_brand="off" # # integrated: # GPU1: Intel Integrated Graphics -gpu_type="dedicated" +gpu_type="all" # Resolution @@ -313,7 +325,7 @@ gtk_shorthand="off" # Example: # on: 'Numix [GTK2], Adwaita [GTK3]' # off: 'Adwaita [GTK3]' -gtk2="off" +gtk2="on" # Enable/Disable gtk3 Theme / Icons / Font # @@ -324,7 +336,7 @@ gtk2="off" # Example: # on: 'Numix [GTK2], Adwaita [GTK3]' # off: 'Numix [GTK2]' -gtk3="off" +gtk3="on" # IP Address @@ -353,7 +365,7 @@ public_ip_timeout=2 # Default: 'on' # Values: 'on', 'off' # Flag: --de_version -de_version="off" +de_version="on" # Disk @@ -399,7 +411,7 @@ disk_show=('/') # none: 'Disk: 74G / 118G (66%)' # 'Disk: 74G / 118G (66%)' # 'Disk: 74G / 118G (66%)' -disk_subtitle="none" +disk_subtitle="mount" # Disk percent. # Show/Hide disk percent. @@ -411,7 +423,7 @@ disk_subtitle="none" # Example: # on: 'Disk (/): 74G / 118G (66%)' # off: 'Disk (/): 74G / 118G' -disk_percent="off" +disk_percent="on" # Song @@ -551,7 +563,7 @@ underline_char="-" # Example: # separator="->": 'Shell-> bash' # separator=" =": 'WM = dwm' -separator=" " +separator=":" # Color Blocks diff --git a/config/nvim/vim-graft/config.rb b/config/nvim/vim-graft/config.rb index 09712c3..b2a8894 100644 --- a/config/nvim/vim-graft/config.rb +++ b/config/nvim/vim-graft/config.rb @@ -17,5 +17,6 @@ CONFIG = { "hrsh7th/nvim-cmp", "hrsh7th/cmp-nvim-lsp", "honza/vim-snippets", + "gentoo/gentoo-syntax", ] } diff --git a/config/qtile/config.py b/config/qtile/config.py index b3b2cfe..44dac2b 100644 --- a/config/qtile/config.py +++ b/config/qtile/config.py @@ -43,6 +43,8 @@ keys = [ Key([mod, "shift"], "Right", lazy.window.resize_floating(20, 0)), Key([mod, "shift"], "Up", lazy.window.resize_floating(0, -20)), Key([mod, "shift"], "Down", lazy.window.resize_floating(0, 20)), + Key([mod, "shift"], "i", lazy.spawn("pcmanfm")), + Key([mod, "shift"], "b", lazy.spawn("firefox-bin")), ] for vt in range(1, 8): @@ -74,13 +76,13 @@ for i in groups: ) layouts = [ - layout.MonadTall(font = "Ubuntu Mono Nerd Font", fontsize = 14, margin = 8, border_focus=["#454545"], border_width=4, border_normal=["#1c1c1c"]), + layout.MonadTall(font = "Ubuntu Mono Nerd Font", margin = 8, border_focus=["#454545"], border_width=4, border_normal=["#1c1c1c"]), # Try more layouts by unleashing below layouts. # layout.Stack(num_stacks=2), # layout.Bsp(), # layout.Matrix(), - layout.MonadWide(font = "Ubuntu Mono Nerd Font", fontsize = 14, margin = 8, border_focus=["#454545"], border_width=4, border_normal=["#1c1c1c"]), - layout.RatioTile(font = "Ubuntu Mono Nerd Font", fontsize = 14, margin = 8, border_focus=["#454545"], border_width=4, border_normal=["#1c1c1c"]), + layout.MonadWide(font = "Ubuntu Mono Nerd Font", margin = 8, border_focus=["#454545"], border_width=4, border_normal=["#1c1c1c"]), + layout.RatioTile(font = "Ubuntu Mono Nerd Font", margin = 8, border_focus=["#454545"], border_width=4, border_normal=["#1c1c1c"]), # layout.Tile(), # layout.TreeTab(), # layout.VerticalTile(), @@ -94,12 +96,12 @@ screens = [ Screen( top=bar.Bar( [ - widget.GroupBox(font = "Ubuntu Mono Nerd Font", margin_y = 5, fontsize = 14, margin_x = 5, padding_y = 0, padding_x = 2, borderwidth = 3, rounded = False, highlight_method = "line", inactive = ["#ffffff"], ), + widget.Prompt(), + widget.GroupBox(fontsize = 14.5, font = "Ubuntu Mono Nerd Font", borderwidth = 4, rounded = False, highlight_method = "line", inactive = ["#ffffff"], ), widget.TextBox(text = '|', font = "Ubuntu Mono Nerd Font", padding = 2,), - widget.CurrentLayout(font = "Ubuntu Mono Nerd Font", fontsize = 14), + widget.CurrentLayout(font = "Ubuntu Mono Nerd Font", ), widget.TextBox(text = '|', font = "Ubuntu Mono Nerd Font", padding = 2,), - widget.Prompt(), - widget.WindowName(font = "Ubuntu Mono Nerd Font", fontsize = 14), + widget.WindowName(font = "Ubuntu Mono Nerd Font", ), widget.Chord( chords_colors={ "launch": ("#ff0000", "#ffffff"), @@ -107,8 +109,8 @@ screens = [ name_transform=lambda name: name.upper()), # widget.StatusNotifier(), # widget.TextBox(text = '|', font = "Ubuntu Mono Nerd Font", padding = 2,), - widget.Clock(format="%I:%M %p", font = "Ubuntu Mono Nerd Font", fontsize = 14, padding = 2), - widget.QuickExit(font = "Ubuntu Mono Nerd Font", padding = 2, rounded = False, fontsize = 14), + widget.Clock(format="%I:%M %p", font = "Ubuntu Mono Nerd Font", padding = 2), + widget.QuickExit(font = "Ubuntu Mono Nerd Font", padding = 2, rounded = False, ), ], 24, ), diff --git a/etc/portage/make.conf b/etc/portage/make.conf index 7086c51..81f6c54 100644 --- a/etc/portage/make.conf +++ b/etc/portage/make.conf @@ -2,24 +2,16 @@ # built this stage. # Please consult /usr/share/portage/config/make.conf.example for a more # detailed example. -# -#GENTOO_MIRRORS="https://ftp.linux.org.tr/gentoo/" -# COMMON_FLAGS="-march=alderlake -mabm -mno-cldemote -mno-kl -mno-pconfig -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=12288 -O2 -pipe" CFLAGS="${COMMON_FLAGS}" CXXFLAGS="${COMMON_FLAGS}" FCFLAGS="${COMMON_FLAGS}" FFLAGS="${COMMON_FLAGS}" - -MAKEOPTS="-j8" - -USE="-kde -gnome -runit -systemd X wayland pipewire openrc pulseaudio opengl vulkan elogind -fish -vmware" - -ACCEPT_LICENSE="*" - +RUSTFLAGS="${RUSTFLAGS} -C target-cpu=alderlake" +MAKEOPTS="-j12" +USE="-mate -kde -gnome -plasma nvidia intel -amdgpu amd64 -cinnamon -xfce -selinux -systemd openrc sysvinit wayland X pulseaudio -pipewire opengl elogind -fish -vmware vulkan" VIDEO_CARDS="nvidia intel" - -LINGUA="en" +ACCEPT_LICENSE="*" # NOTE: This stage was built with the bindist USE flag enabled diff --git a/local/bin/mid3cp b/local/bin/mid3cp index 15be69e..871b536 100755 --- a/local/bin/mid3cp +++ b/local/bin/mid3cp @@ -1,8 +1,7 @@ -#!/usr/lib/python-exec/python3.13/python -# -*- coding: utf-8 -*- -import re +#!/usr/bin/python3.13 import sys +from mutagen._tools.mid3cp import entry_point if __name__ == '__main__': - from mutagen._tools.mid3cp import entry_point - sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + if sys.argv[0].endswith('.exe'): + sys.argv[0] = sys.argv[0][:-4] sys.exit(entry_point()) diff --git a/local/bin/mid3iconv b/local/bin/mid3iconv index 419c58a..c042779 100755 --- a/local/bin/mid3iconv +++ b/local/bin/mid3iconv @@ -1,8 +1,7 @@ -#!/usr/lib/python-exec/python3.13/python -# -*- coding: utf-8 -*- -import re +#!/usr/bin/python3.13 import sys +from mutagen._tools.mid3iconv import entry_point if __name__ == '__main__': - from mutagen._tools.mid3iconv import entry_point - sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + if sys.argv[0].endswith('.exe'): + sys.argv[0] = sys.argv[0][:-4] sys.exit(entry_point()) diff --git a/local/bin/mid3v2 b/local/bin/mid3v2 index fb3b79f..6607cba 100755 --- a/local/bin/mid3v2 +++ b/local/bin/mid3v2 @@ -1,8 +1,7 @@ -#!/usr/lib/python-exec/python3.13/python -# -*- coding: utf-8 -*- -import re +#!/usr/bin/python3.13 import sys +from mutagen._tools.mid3v2 import entry_point if __name__ == '__main__': - from mutagen._tools.mid3v2 import entry_point - sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + if sys.argv[0].endswith('.exe'): + sys.argv[0] = sys.argv[0][:-4] sys.exit(entry_point()) diff --git a/local/bin/moggsplit b/local/bin/moggsplit index 6790cc3..f280aae 100755 --- a/local/bin/moggsplit +++ b/local/bin/moggsplit @@ -1,8 +1,7 @@ -#!/usr/lib/python-exec/python3.13/python -# -*- coding: utf-8 -*- -import re +#!/usr/bin/python3.13 import sys +from mutagen._tools.moggsplit import entry_point if __name__ == '__main__': - from mutagen._tools.moggsplit import entry_point - sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + if sys.argv[0].endswith('.exe'): + sys.argv[0] = sys.argv[0][:-4] sys.exit(entry_point()) diff --git a/local/bin/mutagen-inspect b/local/bin/mutagen-inspect index de937d9..9690608 100755 --- a/local/bin/mutagen-inspect +++ b/local/bin/mutagen-inspect @@ -1,8 +1,7 @@ -#!/usr/lib/python-exec/python3.13/python -# -*- coding: utf-8 -*- -import re +#!/usr/bin/python3.13 import sys +from mutagen._tools.mutagen_inspect import entry_point if __name__ == '__main__': - from mutagen._tools.mutagen_inspect import entry_point - sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + if sys.argv[0].endswith('.exe'): + sys.argv[0] = sys.argv[0][:-4] sys.exit(entry_point()) diff --git a/local/bin/mutagen-pony b/local/bin/mutagen-pony index 3108c4c..10e8876 100755 --- a/local/bin/mutagen-pony +++ b/local/bin/mutagen-pony @@ -1,8 +1,7 @@ -#!/usr/lib/python-exec/python3.13/python -# -*- coding: utf-8 -*- -import re +#!/usr/bin/python3.13 import sys +from mutagen._tools.mutagen_pony import entry_point if __name__ == '__main__': - from mutagen._tools.mutagen_pony import entry_point - sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + if sys.argv[0].endswith('.exe'): + sys.argv[0] = sys.argv[0][:-4] sys.exit(entry_point()) diff --git a/local/bin/py.test b/local/bin/py.test new file mode 100755 index 0000000..0703d84 --- /dev/null +++ b/local/bin/py.test @@ -0,0 +1,7 @@ +#!/usr/bin/python3.13 +import sys +from pytest import console_main +if __name__ == '__main__': + if sys.argv[0].endswith('.exe'): + sys.argv[0] = sys.argv[0][:-4] + sys.exit(console_main()) diff --git a/local/bin/pytest b/local/bin/pytest new file mode 100755 index 0000000..0703d84 --- /dev/null +++ b/local/bin/pytest @@ -0,0 +1,7 @@ +#!/usr/bin/python3.13 +import sys +from pytest import console_main +if __name__ == '__main__': + if sys.argv[0].endswith('.exe'): + sys.argv[0] = sys.argv[0][:-4] + sys.exit(console_main()) diff --git a/local/bin/screenie-wlr b/local/bin/screenie-wlr index d20ccbd..75507d0 100755 --- a/local/bin/screenie-wlr +++ b/local/bin/screenie-wlr @@ -1,6 +1,11 @@ #!/bin/bash +TEMP_FULLSCREEN=$(mktemp /tmp/fullscreen_XXXXXX.png) +grim "$TEMP_FULLSCREEN" +mpv --fullscreen --no-border --ontop "$TEMP_FULLSCREEN" & +MPV_PID=$! TEMP_FILE=$(mktemp /tmp/screenshot_XXXXXX.png) grim -g "$(slurp)" "$TEMP_FILE" wl-copy < "$TEMP_FILE" notify-send "Screenshot" "Screenshot taken." -i "$TEMP_FILE" -rm "$TEMP_FILE" +kill $MPV_PID +rm "$TEMP_FILE" "$TEMP_FULLSCREEN" diff --git a/local/bin/simple-term-menu b/local/bin/simple-term-menu new file mode 100755 index 0000000..896ba2b --- /dev/null +++ b/local/bin/simple-term-menu @@ -0,0 +1,7 @@ +#!/usr/bin/python3.13 +import sys +from simple_term_menu import main +if __name__ == '__main__': + if sys.argv[0].endswith('.exe'): + sys.argv[0] = sys.argv[0][:-4] + sys.exit(main()) diff --git a/local/bin/start_qtile.sh b/local/bin/start_qtile.sh index d4dd90e..e16bd91 100755 --- a/local/bin/start_qtile.sh +++ b/local/bin/start_qtile.sh @@ -4,6 +4,8 @@ foot -s & sleep 1 & #swaybg -i ~/Pictures/nature4.png & #wbg ~/Pictures/nature3.png & -#wbg "~/.local/src/wall/landscapes/1686971592948666.jpg" & -wbg "~/.local/src/wall/landscapes/1705463837407662.jpg" & +#swaybg -i /home/coast/.local/src/wall/landscapes/1722895134609554.jpg +sleep 1 & +#swaybg -i "/home/coast/.local/src/wall/art/508334ldsdl.jpg" -m stretch & +swaybg -i "/home/coast/.local/src/wall/art/1719378313520594.jpg" & /usr/libexec/polkit-gnome-authentication-agent-1 &