From 77b34ce3eb22d5d57cf90e9d56c09c6c0d531f1a Mon Sep 17 00:00:00 2001 From: iceyrazor Date: Mon, 21 Apr 2025 17:53:46 -0500 Subject: [PATCH] :3 --- .bash_profile | 17 - .bashrc | 10 - .profile => .config/.profile | 70 ++-- .config/awesome/keys-US-colemak.lua | 271 +++++++++++++++ .config/awesome/keys-US.lua | 271 +++++++++++++++ .config/awesome/rc.lua | 257 +------------- .config/dwm/newsboat-fetch.sh | 1 + .config/lf/icons | 377 +++++++++++++++++++++ .config/lf/lfrc | 23 ++ .config/nvim/lua/yourmom/packer.lua | 2 + .config/nvim/lua/yourmom/remap.lua | 144 ++++++++ .tmux.conf => .config/tmux/tmux.conf | 0 .config/wezterm/wezterm.lua | 135 ++++++++ .gtkrc-2.0 | 17 - .wezterm.lua | 113 ------ .zshrc | 12 +- README.md | 22 +- stuff/scripts/system/backup/backup.sh | 2 +- stuff/scripts/system/backup/copy-to-git.sh | 2 +- stuff/scripts/system/neoboot.sh | 7 +- 20 files changed, 1307 insertions(+), 446 deletions(-) delete mode 100644 .bash_profile delete mode 100644 .bashrc rename .profile => .config/.profile (60%) create mode 100644 .config/awesome/keys-US-colemak.lua create mode 100644 .config/awesome/keys-US.lua create mode 100644 .config/lf/icons rename .tmux.conf => .config/tmux/tmux.conf (100%) create mode 100755 .config/wezterm/wezterm.lua delete mode 100644 .gtkrc-2.0 delete mode 100755 .wezterm.lua diff --git a/.bash_profile b/.bash_profile deleted file mode 100644 index 159897b..0000000 --- a/.bash_profile +++ /dev/null @@ -1,17 +0,0 @@ -# -# ~/.bash_profile -# - -[[ -f ~/.bashrc ]] && . ~/.bashrc - -#!/bin/bash -if test -z "${XDG_RUNTIME_DIR}"; then - export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir - if ! test -d "${XDG_RUNTIME_DIR}"; then - mkdir "${XDG_RUNTIME_DIR}" - chmod 0700 "${XDG_RUNTIME_DIR}" - fi -fi - - -#export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0 diff --git a/.bashrc b/.bashrc deleted file mode 100644 index 6e08ede..0000000 --- a/.bashrc +++ /dev/null @@ -1,10 +0,0 @@ -# -# ~/.bashrc -# - -# If not running interactively, don't do anything -[[ $- != *i* ]] && return -PS1='\[\e[37;1m\][\[\e[35;1m\]\u\[\e[33m\]@\[\e[35;1m\]\h \[\e[36;1m\]\W\[\e[37;1m\]]\[\e[0;1m\]∮ ' - -~/stuff/scripts/system/neoboot.sh -source ~/.profile diff --git a/.profile b/.config/.profile similarity index 60% rename from .profile rename to .config/.profile index c8d3300..fff1379 100755 --- a/.profile +++ b/.config/.profile @@ -25,7 +25,7 @@ fi # . torsocks on export PROMPT_EOL_MARK="" export EDITOR="nvim" -export BROWSER="firefox" +export BROWSER="/home/iceyrazor/.local/bin/zen-x86_64.AppImage" export PREFIX=/usr export PATH="$PATH:$HOME/.cargo/bin:$HOME/stuff/scripts/system:$HOME/stuff/scripts/system/backup:$HOME/stuff/scripts/system/wlx:$HOME/stuff/scripts/system/youtube-playlist-cli:$HOME/.local/bin/blender-4.1.1-linux-x64:$HOME/stuff/manual-programs/app-images" export MANPAGER='nvim +Man!' @@ -33,31 +33,22 @@ export MANPAGER='nvim +Man!' export heartost="/home/iceyrazor/.steam/root/steamapps/music/Heartbound - OST" -export cutil=/home/iceyrazor/stuff/scripts/c/my_utils - -alias fukin="sudo $@" alias fukn="sudo $@" -alias fuckin="sudo $@" alias ls='ls --color=auto' -alias lss="fukin du -ah -d 1 | sort -hr" +alias lss="fukn du -ah -d 1 | sort -hr" alias lsu="lsblk --filter 'NAME=~\"sd[abcde]\"' -o NAME,MOUNTPOINTS" alias surf="WEBKIT_DISABLE_COMPOSITING_MODE=1 surf" alias lsblkfs="lsblk -o PATH,FSTYPE,MOUNTPOINT" alias grep='grep --color=auto' -alias fastfetch='fastfetch --localip-show-ipv4 0 --kitty-direct /home/iceyrazor/stuff/media/ICE/Sprite-0009.png --logo-width 40 --logo-height 20' +# alias fastfetch='fastfetch --localip-show-ipv4 0 --kitty-direct /home/iceyrazor/stuff/media/ICE/Sprite-0009.png --logo-width 40 --logo-height 20' +alias fastfetch='fastfetch --localip-show-ipv4 0' [ "$(cat /etc/hostname)" = "Kasino" ] && alias fukn="doas $@" -[ "$(cat /etc/hostname)" = "Kasino" ] && alias fukin="doas $@" -[ "$(cat /etc/hostname)" = "Kasino" ] && alias fuckin="doas $@" -alias numen="echo key x | fukin dotool && NUMEN_DMENU=rofi NUMEN_DMENU_OPTS='-show drun' LD_LIBRARY_PATH=/usr/lib/ numen & disown" - -#[ "$(cat /etc/hostname)" = "Kasino" ] && alias gaysex="zypper dup --allow-vendor-change" -#[ "$(cat /etc/hostname)" = "Kasino" ] && alias cleangaysex="zypper clean -a && fukin zypper ref && fukin zypper dup --allow-vendor-change" -[ "$(cat /etc/hostname)" = "Witchen" ] && alias gaysex="pacman -Syyu && paru -Syyu --aur" -[ "$(cat /etc/hostname)" = "Kasino" ] && alias gaysex="pacman -Syyu && paru -Syyu --aur" +[ "$(cat /etc/hostname)" = "Kan" ] && alias fukn="doas $@" +alias numen="echo key x | fukn dotool && NUMEN_DMENU=rofi NUMEN_DMENU_OPTS='-show drun' LD_LIBRARY_PATH=/usr/lib/ numen & disown" alias ascii="~/stuff/scripts/c/SDL/ascii/ascii" -alias watchlss="fukin watch \"du -ah -d 1 | sort -hr\"" +alias watchlss="fukn watch \"du -ah -d 1 | sort -hr\"" alias lfub=~/.local/bin/lf-gadgets/lf-ueberzug/lf-ueberzug alias lfk=~/.local/bin/lf-gadgets/lf-kitty/lf-kitty alias ovim=/usr/bin/vim @@ -70,14 +61,12 @@ alias fman="bash -c 'compgen -c' | fzf | xargs man" alias etask="$EDITOR stuff/scripts/system/task.sh" -#alias updateL='fukin /home/iceyrazor/update_list/update_list.sh ' -alias session="./Downloads/session-desktop-linux-x86_64-1.12.4.AppImage > /dev/null & disown" -alias simplex="_JAVA_AWT_WM_NONREPARENTING=1 ./Downloads/simplex-desktop-x86_64.AppImage > /dev/null & disown" -alias ygg="fukin bash -c 'mkdir /var/run/yggdrasil; yggdrasil -useconf < /etc/yggdrasil.conf'" -alias loki="./stuff/scripts/loki-toggle.sh" -alias lokig="fukin Lokinet-GUI.AppImage --no-sandbox > /dev/null & disown" +#alias updateL='fukn /home/iceyrazor/update_list/update_list.sh ' +alias music="nohup vlc /home/iceyrazor/stuff/scripts/system/youtube-playlist-cli/title_vids > /dev/null 2> /dev/null < /dev/null & disown && cd /home/iceyrazor/stuff/scripts/system/youtube-playlist-cli/title_vids && lfk" +alias ibuss="ibus-daemon -rxRd" +alias ygg="fukn bash -c 'mkdir /var/run/yggdrasil; yggdrasil -useconf < /etc/yggdrasil.conf'" alias alvr="WINIT_X11_SCALE_FACTOR=\"1\" /home/iceyrazor/stuff/manual-programs/dontsync/alvr_streamer_linux/bin/alvr_dashboard & disown" -alias obss="fukin obs && obs & disown" +alias obss="obs && obs --enable-media-stream & disown" alias get_channel_id="xargs curl -s | grep -Eo 'channel_id=.{0,50}' | sed 's/\".*//g' | fzf | xargs printf \"https://www.youtube.com/feeds/videos.xml?%s\" | xclip -selection clipboard" alias killa="~/stuff/killall.sh" @@ -86,40 +75,49 @@ alias bbacklap="~/stuff/scripts/system/backup/backup-tol.sh" alias bgit="~/stuff/scripts/system/backup/move-to-git.sh" alias vasm="~/stuff/manual-programs/vasm/vasm6502_oldstyle -Fbin -dotdir " alias pipes="pipes.sh -t 0 -p 3 -f 30 -r 2000" -alias rerules="fukin udevadm control --reload-rules && fukin udevadm trigger" -alias bri="fukin ~/stuff/scripts/system/bri.sh" -alias drkwll="nitrogen --head=0 --set-zoom-fill ~/stuff/media/gallifreyan/linux2.png" +alias bri="fukn ~/stuff/scripts/system/bri.sh" +# alias drkwll="nitrogen --head=0 --set-zoom-fill ~/stuff/media/gallifreyan/linux2.png && nitrogen --head=1 --set-zoom-fill ~/stuff/media/gallifreyan/linux2.png" +alias drkwll="nitrogen --head=0 --set-zoom-fill ~/stuff/media/wallpapers/dark_leaves.png && nitrogen --head=1 --set-zoom-fill ~/stuff/media/wallpapers/dark_leaves.png" # mounting -alias umsu="fukin umount u" -alias umsu2="fukin umount u2" -alias mswin="fukin mount -o umask=0,uid=nobody,gid=nobody /dev/sdb3 ~/windir" -alias umswin="fukin umount ~/windir" -alias msbak="doas cryptsetup open /dev/sda1 backups && doas mount /dev/mapper/backups ~/mnt-backups" # && fukin bindfs -u iceyrazor /mnt-backups ~/mnt-backups" -alias umsbak="doas umount ~/mnt-backups && doas cryptsetup close backups" # " fukin umount /mnt-backups && fukin cryptsetup close backups" -alias msfd="fukin mount /dev/sdc1 u2" -alias msf="fukin cryptsetup open /dev/sdc2 flashdrive && fukin mount /dev/mapper/flashdrive ~/u" -alias umsf="fukin umount ~/u && fukin cryptsetup close flashdrive" +alias umsu="fukn umount u" +alias umsu2="fukn umount u2" +alias mswin="fukn mount -o umask=0,uid=nobody,gid=nobody /dev/sdb3 ~/windir" +alias umswin="fukn umount ~/windir" +alias msbak="doas cryptsetup open /dev/sda1 backups && doas mount /dev/mapper/backups ~/mnt-backups" # && fukn bindfs -u iceyrazor /mnt-backups ~/mnt-backups" +alias umsbak="doas umount ~/mnt-backups && doas cryptsetup close backups" # " fukn umount /mnt-backups && fukn cryptsetup close backups" +alias msfd="fukn mount /dev/sdc1 u2" +alias msf="fukn cryptsetup open /dev/sdc2 flashdrive && fukn mount /dev/mapper/flashdrive ~/u" +alias umsf="fukn umount ~/u && fukn cryptsetup close flashdrive" alias cam="ffplay -input_format mjpeg -fast -fflags +nobuffer -i -framerate 30 -max_delay 100 -max_probe_packets 0 -analyzeduration 0 -flags +low_delay /dev/video0" alias sc="ffmpeg -f x11grab -framerate 1 -video_size 1920x1200 -i :0.0 -vframes 1 -crf 18 ~/Pictures/Screenshots/$(date '+%m-%d-%Y-%I-%M')_${RANDOM}_screenshot.jpeg" +alias sccam="ffmpeg -f video4linux2 -i /dev/v4l/by-id/usb-Sonix_Technology_Co.__Ltd._USB_2.0_Camera_SN0001-video-index0 -vframes 1 -video_size 1280x720 test.jpeg" alias sc2="escrotum -s ~/Pictures/%Y-%m-%d-%H%M%S_$wx$h_escrotum.png" alias scs="sleep 3s && ffmpeg -f x11grab -framerate 1 -video_size 1920x1200 -i :0.0 -vframes 1 -crf 18 output.jpeg" alias wwrite="watch -d grep -e Dirty: -e Writeback: /proc/meminfo" alias gol="~/stuff/scripts/c/SDL/game-of-life/game-of-life & disown" +alias vrinit="echo key x | fukn dotool && drkwll && killall xcompmgr && sleep 1s && wlx-layout.sh main" + alias statst="echo full_stat:true > ~/stuff/scripts/system/stbar/config.txt" alias statsf="echo full_stat:false > ~/stuff/scripts/system/stbar/config.txt" -alias get_drm="fukin cat /sys/module/nvidia_drm/parameters/modeset" +alias get_drm="fukn cat /sys/module/nvidia_drm/parameters/modeset" alias nodem="find . -name 'node_modules' -type d | xargs du -sh | sort -hr | fzf -m --header \"select witch ones to delete\" --preview 'cat $(dirname {})/package.json'|awk print '{print $2}' | xargs -r rm -rf" alias walltaker="stuff/manual-programs/git/walltaker-client/walltaker.sh" alias savewall="stuff/manual-programs/git/walltaker-client/save.sh" + +# alias session="./Downloads/session-desktop-linux-x86_64-1.12.4.AppImage > /dev/null & disown" +# alias simplex="_JAVA_AWT_WM_NONREPARENTING=1 ./Downloads/simplex-desktop-x86_64.AppImage > /dev/null & disown" +# alias loki="./stuff/scripts/loki-toggle.sh" +# alias lokig="fukn Lokinet-GUI.AppImage --no-sandbox > /dev/null & disown" + xset r rate 300 50 # xset r off diff --git a/.config/awesome/keys-US-colemak.lua b/.config/awesome/keys-US-colemak.lua new file mode 100644 index 0000000..a30377e --- /dev/null +++ b/.config/awesome/keys-US-colemak.lua @@ -0,0 +1,271 @@ +pcall(require, "luarocks.loader") + +-- Standard awesome library +local gears = require("gears") +local awful = require("awful") +require("awful.autofocus") +-- Notification library +local naughty = require("naughty") +local menubar = require("menubar") +local hotkeys_popup = require("awful.hotkeys_popup") + +local module = {} + +module.set_global_keys = function () +-- {{{ Key bindings +globalkeys = gears.table.join( + awful.key({ modkey, }, "F1", hotkeys_popup.show_help, + {description="show help", group="awesome"}), + awful.key({ modkey, }, "b", awful.tag.viewprev, + {description = "view previous", group = "tag"}), + awful.key({ modkey, }, "k", awful.tag.viewnext, + {description = "view next", group = "tag"}), + awful.key({ modkey, }, "Escape", awful.tag.history.restore, + {description = "go back", group = "tag"}), + + awful.key({ modkey, }, "n", + function () + awful.client.focus.byidx( 1) + end, + {description = "focus next by index", group = "client"} + ), + awful.key({ modkey, }, "e", + function () + awful.client.focus.byidx(-1) + end, + {description = "focus previous by index", group = "client"} + ), + awful.key({ modkey, }, "w", function () mymainmenu:show() end, + {description = "show main menu", group = "awesome"}), + + -- Layout manipulation + awful.key({ modkey, "Shift" }, "n", function () awful.client.swap.byidx( 1) end, + {description = "swap with next client by index", group = "client"}), + awful.key({ modkey, "Shift" }, "e", function () awful.client.swap.byidx( -1) end, + {description = "swap with previous client by index", group = "client"}), + awful.key({ modkey, "Control" }, "n", function () awful.screen.focus_relative( 1) end, + {description = "focus the next screen", group = "screen"}), + awful.key({ modkey, "Control" }, "e", function () awful.screen.focus_relative(-1) end, + {description = "focus the previous screen", group = "screen"}), + awful.key({ modkey, }, "l", awful.client.urgent.jumpto, + {description = "jump to urgent client", group = "client"}), + awful.key({ modkey, }, "Tab", + function () + awful.client.focus.history.previous() + if client.focus then + client.focus:raise() + end + end, + {description = "go back", group = "client"}), + + -- Standard program + awful.key({ modkey, }, "Return", function () awful.spawn(terminal) end, + {description = "open a terminal", group = "launcher"}), + awful.key({ modkey, "Control" }, "p", awesome.restart, + {description = "reload awesome", group = "awesome"}), + awful.key({ modkey, "Shift" }, "q", awesome.quit, + {description = "quit awesome", group = "awesome"}), + + awful.key({ modkey, "Shift" }, "u", show_my_desktop, {description = "show desktop", group = "awesome"}), + + awful.key({ modkey, }, "i", function () awful.tag.incmwfact( 0.05) end, + {description = "increase master width factor", group = "layout"}), + awful.key({ modkey, }, "h", function () awful.tag.incmwfact(-0.05) end, + {description = "decrease master width factor", group = "layout"}), + awful.key({ modkey, "Shift" }, "h", function () awful.tag.incnmaster( 1, nil, true) end, + {description = "increase the number of master clients", group = "layout"}), + awful.key({ modkey, "Shift" }, "i", function () awful.tag.incnmaster(-1, nil, true) end, + {description = "decrease the number of master clients", group = "layout"}), + awful.key({ modkey, "Control" }, "h", function () awful.tag.incncol( 1, nil, true) end, + {description = "increase the number of columns", group = "layout"}), + awful.key({ modkey, "Control" }, "i", function () awful.tag.incncol(-1, nil, true) end, + {description = "decrease the number of columns", group = "layout"}), + awful.key({ modkey, "Control" }, "space", function () awful.layout.inc( 1) end, + {description = "select next", group = "layout"}), + awful.key({ modkey, "Shift" }, "space", function () awful.layout.inc(-1) end, + {description = "select previous", group = "layout"}), + + awful.key({ modkey, "Shift", "Control" }, "k", + function () + local c = awful.client.restore() + -- Focus restored client + if c then + c:emit_signal( + "request::activate", "key.unminimize", {raise = true} + ) + end + end, + {description = "restore minimized", group = "client"}), + + -- Prompt + awful.key({ modkey }, "p", function () awful.screen.focused().mypromptbox:run() end, + {description = "run prompt", group = "launcher"}), + + awful.key({ modkey }, "s", function () os.execute("rofi -show drun") end, {description = "rofi drun", group = "launcher"}), + + awful.key({ modkey }, "x", + function () + awful.prompt.run { + prompt = "Run Lua code: ", + textbox = awful.screen.focused().mypromptbox.widget, + exe_callback = awful.util.eval, + history_path = awful.util.get_cache_dir() .. "/history_eval" + } + end, + {description = "lua execute prompt", group = "awesome"}), + -- Menubar + awful.key({ modkey }, ";", function() menubar.show() end, + {description = "show the menubar", group = "launcher"}), + + awful.key({ }, "XF86AudioPrev", function () + awful.spawn.with_shell("setxkbmap us") + awesome.restart() + end), + awful.key({ }, "XF86AudioNext", function () + awful.spawn.with_shell("setxkbmap us -variant colemak") + awesome.restart() + end), + + awful.key({ }, "XF86AudioPlay", function () awful.util.spawn(mpris.." -a PlayPause") end), + awful.key({ }, "XF86AudioStop", function () awful.util.spawn(mpris.." -a pause") end), + --awful.key({ }, "XF86AudioRaiseVolume", function () awful.util.spawn("amixer -D pulse sset Master 2%+", false) end), + awful.key({ }, "XF86AudioRaiseVolume", function () awful.util.spawn("pactl set-sink-volume @DEFAULT_SINK@ +2%", false) end), + awful.key({ }, "XF86AudioLowerVolume", function () awful.util.spawn("pactl set-sink-volume @DEFAULT_SINK@ -2%", false) end), + awful.key({ }, "XF86AudioMute", function () + awful.spawn("pactl set-source-mute @DEFAULT_SOURCE@ toggle", false) + awful.spawn.with_shell("notify-send 'mic' \"$(pactl get-source-mute @DEFAULT_SOURCE@)\"", false) + end), + --also pamixer -i 5 #to increase 5% + --pamixer -d 5 #to decrease 5% + + awful.key({ }, "Print", function() + awful.spawn.with_shell("ffmpeg -f x11grab -framerate 1 -video_size 1920x1200 -i :0.0 -vframes 1 -crf 0 ~/Pictures/Screenshots/$(date '+%m-%d-%Y-%I-%M')_${RANDOM}_screenshot.jpg") + gears.timer.start_new(3, function() + naughty.notify({title="screenshot taken",text="possibly"}) + return false -- Stop the timer after the first iteration + end) + end), + + awful.key({ "Shift" }, "Print", function() + awful.spawn.with_shell("/bin/flameshot screen") + end), + + awful.key({ }, "Print", function () awful.util.spawn("flameshot gui") end) +) + +-- Bind all key numbers to tags. +-- Be careful: we use keycodes to make it work on any keyboard layout. +-- This should map on the top row of your keyboard, usually 1 to 9. +for i = 1, 9 do + globalkeys = gears.table.join(globalkeys, + -- View tag only. + awful.key({ modkey }, "#" .. i + 9, + function () + local screen = awful.screen.focused() + local tag = screen.tags[i] + if tag then + tag:view_only() + end + end, + {description = "view tag #"..i, group = "tag"}), + -- Toggle tag display. + awful.key({ modkey, "Control" }, "#" .. i + 9, + function () + local screen = awful.screen.focused() + local tag = screen.tags[i] + if tag then + awful.tag.viewtoggle(tag) + end + end, + {description = "toggle tag #" .. i, group = "tag"}), + -- Move client to tag. + awful.key({ modkey, "Shift" }, "#" .. i + 9, + function () + if client.focus then + local tag = client.focus.screen.tags[i] + if tag then + client.focus:move_to_tag(tag) + end + end + end, + {description = "move focused client to tag #"..i, group = "tag"}), + -- Toggle tag on focused client. + awful.key({ modkey, "Control", "Shift" }, "#" .. i + 9, + function () + if client.focus then + local tag = client.focus.screen.tags[i] + if tag then + client.focus:toggle_tag(tag) + end + end + end, + {description = "toggle focused client on tag #" .. i, group = "tag"}) + ) +end + +end + + + +module.set_client_keys = function () +clientkeys = gears.table.join( + awful.key({ modkey, }, "t", + function (c) + c.fullscreen = not c.fullscreen + c:raise() + end, + {description = "toggle fullscreen", group = "client"}), + awful.key({ modkey, }, "q", function (c) c:kill() end, + {description = "close", group = "client"}), + awful.key({ modkey, }, "space", awful.client.floating.toggle , + {description = "toggle floating", group = "client"}), + awful.key({ modkey, }, "z", function (c) c:swap(awful.client.getmaster()) end, + {description = "move to master", group = "client"}), + awful.key({ modkey, }, "y", function (c) c:move_to_screen() end, + {description = "move to screen", group = "client"}), + awful.key({ modkey, }, "g", function (c) c.ontop = not c.ontop end, + {description = "toggle keep on top", group = "client"}), + awful.key({ modkey, "Shift" }, "r", function (c) c.sticky = not c.sticky end, + {description = "toggle sticky mode", group="client"}), + awful.key({ modkey, "Shift" }, "k", + function (c) + -- The client currently has the input focus, so it cannot be + -- minimized, since minimized clients can't have the focus. + c.minimized = true + end , + {description = "minimize", group = "client"}), + awful.key({ modkey, }, "m", + function (c) + c.maximized = not c.maximized + c:raise() + end , + {description = "(un)maximize", group = "client"}), + awful.key({ modkey, "Control" }, "m", + function (c) + c.maximized_vertical = not c.maximized_vertical + c:raise() + end , + {description = "(un)maximize vertically", group = "client"}), + awful.key({ modkey, "Shift" }, "m", + function (c) + c.maximized_horizontal = not c.maximized_horizontal + c:raise() + end , + {description = "(un)maximize horizontally", group = "client"}), + + awful.key({ modkey }, 0, + function() + local screen = awful.screen.focused() + for i = 1,9 do + local tag = screen.tags[i] + if tag and tag.selected==false then + awful.tag.viewtoggle(tag) + end + end + end, + {description = "view all tags", group = "tag"}) +) +end + + +return module diff --git a/.config/awesome/keys-US.lua b/.config/awesome/keys-US.lua new file mode 100644 index 0000000..8963612 --- /dev/null +++ b/.config/awesome/keys-US.lua @@ -0,0 +1,271 @@ +pcall(require, "luarocks.loader") + +-- Standard awesome library +local gears = require("gears") +local awful = require("awful") +require("awful.autofocus") +-- Notification library +local naughty = require("naughty") +local menubar = require("menubar") +local hotkeys_popup = require("awful.hotkeys_popup") + +local module = {} + +module.set_global_keys = function () +-- {{{ Key bindings +globalkeys = gears.table.join( + awful.key({ modkey, }, "F1", hotkeys_popup.show_help, + {description="show help", group="awesome"}), + awful.key({ modkey, }, "b", awful.tag.viewprev, + {description = "view previous", group = "tag"}), + awful.key({ modkey, }, "n", awful.tag.viewnext, + {description = "view next", group = "tag"}), + awful.key({ modkey, }, "Escape", awful.tag.history.restore, + {description = "go back", group = "tag"}), + + awful.key({ modkey, }, "j", + function () + awful.client.focus.byidx( 1) + end, + {description = "focus next by index", group = "client"} + ), + awful.key({ modkey, }, "k", + function () + awful.client.focus.byidx(-1) + end, + {description = "focus previous by index", group = "client"} + ), + awful.key({ modkey, }, "w", function () mymainmenu:show() end, + {description = "show main menu", group = "awesome"}), + + -- Layout manipulation + awful.key({ modkey, "Shift" }, "j", function () awful.client.swap.byidx( 1) end, + {description = "swap with next client by index", group = "client"}), + awful.key({ modkey, "Shift" }, "k", function () awful.client.swap.byidx( -1) end, + {description = "swap with previous client by index", group = "client"}), + awful.key({ modkey, "Control" }, "j", function () awful.screen.focus_relative( 1) end, + {description = "focus the next screen", group = "screen"}), + awful.key({ modkey, "Control" }, "k", function () awful.screen.focus_relative(-1) end, + {description = "focus the previous screen", group = "screen"}), + awful.key({ modkey, }, "u", awful.client.urgent.jumpto, + {description = "jump to urgent client", group = "client"}), + awful.key({ modkey, }, "Tab", + function () + awful.client.focus.history.previous() + if client.focus then + client.focus:raise() + end + end, + {description = "go back", group = "client"}), + + -- Standard program + awful.key({ modkey, }, "Return", function () awful.spawn(terminal) end, + {description = "open a terminal", group = "launcher"}), + awful.key({ modkey, "Control" }, "r", awesome.restart, + {description = "reload awesome", group = "awesome"}), + awful.key({ modkey, "Shift" }, "q", awesome.quit, + {description = "quit awesome", group = "awesome"}), + + awful.key({ modkey, "Shift" }, "o", show_my_desktop, {description = "show desktop", group = "awesome"}), + + awful.key({ modkey, }, "l", function () awful.tag.incmwfact( 0.05) end, + {description = "increase master width factor", group = "layout"}), + awful.key({ modkey, }, "h", function () awful.tag.incmwfact(-0.05) end, + {description = "decrease master width factor", group = "layout"}), + awful.key({ modkey, "Shift" }, "h", function () awful.tag.incnmaster( 1, nil, true) end, + {description = "increase the number of master clients", group = "layout"}), + awful.key({ modkey, "Shift" }, "l", function () awful.tag.incnmaster(-1, nil, true) end, + {description = "decrease the number of master clients", group = "layout"}), + awful.key({ modkey, "Control" }, "h", function () awful.tag.incncol( 1, nil, true) end, + {description = "increase the number of columns", group = "layout"}), + awful.key({ modkey, "Control" }, "l", function () awful.tag.incncol(-1, nil, true) end, + {description = "decrease the number of columns", group = "layout"}), + awful.key({ modkey, "Control" }, "space", function () awful.layout.inc( 1) end, + {description = "select next", group = "layout"}), + awful.key({ modkey, "Shift" }, "space", function () awful.layout.inc(-1) end, + {description = "select previous", group = "layout"}), + + awful.key({ modkey, "Shift", "Control" }, "n", + function () + local c = awful.client.restore() + -- Focus restored client + if c then + c:emit_signal( + "request::activate", "key.unminimize", {raise = true} + ) + end + end, + {description = "restore minimized", group = "client"}), + + -- Prompt + awful.key({ modkey }, "r", function () awful.screen.focused().mypromptbox:run() end, + {description = "run prompt", group = "launcher"}), + + awful.key({ modkey }, "d", function () os.execute("rofi -show drun") end, {description = "rofi drun", group = "launcher"}), + + awful.key({ modkey }, "x", + function () + awful.prompt.run { + prompt = "Run Lua code: ", + textbox = awful.screen.focused().mypromptbox.widget, + exe_callback = awful.util.eval, + history_path = awful.util.get_cache_dir() .. "/history_eval" + } + end, + {description = "lua execute prompt", group = "awesome"}), + -- Menubar + awful.key({ modkey }, "p", function() menubar.show() end, + {description = "show the menubar", group = "launcher"}), + + awful.key({ }, "XF86AudioPrev", function () + awful.spawn.with_shell("setxkbmap us") + awesome.restart() + end), + awful.key({ }, "XF86AudioNext", function () + awful.spawn.with_shell("setxkbmap us -variant colemak") + awesome.restart() + end), + + awful.key({ }, "XF86AudioPlay", function () awful.util.spawn(mpris.." -a PlayPause") end), + awful.key({ }, "XF86AudioStop", function () awful.util.spawn(mpris.." -a pause") end), + --awful.key({ }, "XF86AudioRaiseVolume", function () awful.util.spawn("amixer -D pulse sset Master 2%+", false) end), + awful.key({ }, "XF86AudioRaiseVolume", function () awful.util.spawn("pactl set-sink-volume @DEFAULT_SINK@ +2%", false) end), + awful.key({ }, "XF86AudioLowerVolume", function () awful.util.spawn("pactl set-sink-volume @DEFAULT_SINK@ -2%", false) end), + awful.key({ }, "XF86AudioMute", function () + awful.spawn("pactl set-source-mute @DEFAULT_SOURCE@ toggle", false) + awful.spawn.with_shell("notify-send 'mic' \"$(pactl get-source-mute @DEFAULT_SOURCE@)\"", false) + end), + --also pamixer -i 5 #to increase 5% + --pamixer -d 5 #to decrease 5% + + awful.key({ }, "Print", function() + awful.spawn.with_shell("ffmpeg -f x11grab -framerate 1 -video_size 1920x1200 -i :0.0 -vframes 1 -crf 0 ~/Pictures/Screenshots/$(date '+%m-%d-%Y-%I-%M')_${RANDOM}_screenshot.jpg") + gears.timer.start_new(3, function() + naughty.notify({title="screenshot taken",text="possibly"}) + return false -- Stop the timer after the first iteration + end) + end), + + awful.key({ "Shift" }, "Print", function() + awful.spawn.with_shell("/bin/flameshot screen") + end), + + awful.key({ "Control", "Shift" }, "Print", function () awful.util.spawn("flameshot gui") end) +) + +-- Bind all key numbers to tags. +-- Be careful: we use keycodes to make it work on any keyboard layout. +-- This should map on the top row of your keyboard, usually 1 to 9. +for i = 1, 9 do + globalkeys = gears.table.join(globalkeys, + -- View tag only. + awful.key({ modkey }, "#" .. i + 9, + function () + local screen = awful.screen.focused() + local tag = screen.tags[i] + if tag then + tag:view_only() + end + end, + {description = "view tag #"..i, group = "tag"}), + -- Toggle tag display. + awful.key({ modkey, "Control" }, "#" .. i + 9, + function () + local screen = awful.screen.focused() + local tag = screen.tags[i] + if tag then + awful.tag.viewtoggle(tag) + end + end, + {description = "toggle tag #" .. i, group = "tag"}), + -- Move client to tag. + awful.key({ modkey, "Shift" }, "#" .. i + 9, + function () + if client.focus then + local tag = client.focus.screen.tags[i] + if tag then + client.focus:move_to_tag(tag) + end + end + end, + {description = "move focused client to tag #"..i, group = "tag"}), + -- Toggle tag on focused client. + awful.key({ modkey, "Control", "Shift" }, "#" .. i + 9, + function () + if client.focus then + local tag = client.focus.screen.tags[i] + if tag then + client.focus:toggle_tag(tag) + end + end + end, + {description = "toggle focused client on tag #" .. i, group = "tag"}) + ) +end + +end + + + +module.set_client_keys = function () +clientkeys = gears.table.join( + awful.key({ modkey, }, "f", + function (c) + c.fullscreen = not c.fullscreen + c:raise() + end, + {description = "toggle fullscreen", group = "client"}), + awful.key({ modkey, }, "q", function (c) c:kill() end, + {description = "close", group = "client"}), + awful.key({ modkey, }, "space", awful.client.floating.toggle , + {description = "toggle floating", group = "client"}), + awful.key({ modkey, }, "z", function (c) c:swap(awful.client.getmaster()) end, + {description = "move to master", group = "client"}), + awful.key({ modkey, }, "o", function (c) c:move_to_screen() end, + {description = "move to screen", group = "client"}), + awful.key({ modkey, }, "t", function (c) c.ontop = not c.ontop end, + {description = "toggle keep on top", group = "client"}), + awful.key({ modkey, "Shift" }, "s", function (c) c.sticky = not c.sticky end, + {description = "toggle sticky mode", group="client"}), + awful.key({ modkey, "Shift" }, "n", + function (c) + -- The client currently has the input focus, so it cannot be + -- minimized, since minimized clients can't have the focus. + c.minimized = true + end , + {description = "minimize", group = "client"}), + awful.key({ modkey, }, "m", + function (c) + c.maximized = not c.maximized + c:raise() + end , + {description = "(un)maximize", group = "client"}), + awful.key({ modkey, "Control" }, "m", + function (c) + c.maximized_vertical = not c.maximized_vertical + c:raise() + end , + {description = "(un)maximize vertically", group = "client"}), + awful.key({ modkey, "Shift" }, "m", + function (c) + c.maximized_horizontal = not c.maximized_horizontal + c:raise() + end , + {description = "(un)maximize horizontally", group = "client"}), + + awful.key({ modkey }, 0, + function() + local screen = awful.screen.focused() + for i = 1,9 do + local tag = screen.tags[i] + if tag and tag.selected==false then + awful.tag.viewtoggle(tag) + end + end + end, + {description = "view all tags", group = "tag"}) +) +end + + +return module diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index d147ebd..06924fa 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -14,12 +14,15 @@ local beautiful = require("beautiful") local naughty = require("naughty") local menubar = require("menubar") local hotkeys_popup = require("awful.hotkeys_popup") + +Us_keys = require("keys-US") +Us_keys_colemak = require("keys-US-colemak") -- Enable hotkeys help widget for VIM and other apps -- when client with a matching name is opened: require("awful.hotkeys_popup.keys") local HOMEDIR="/home/iceyrazor" -local mpris=HOMEDIR.."/stuff/scripts/system/mpris_player_control" +mpris=HOMEDIR.."/stuff/scripts/system/mpris_player_control" local show_desktop = false @@ -219,7 +222,8 @@ awful.screen.connect_for_each_screen(function(s) -- Each screen has its own tag table. --awful.tag({ "1", "2", "3", "4", "5", "6", "7", "8", "9" }, s, awful.layout.layouts[2]) - awful.tag({ "  ", "  ", "  ", "  ", "  ", "  ", "  ", "  ", "  ", "  " }, s, awful.layout.layouts[2]) + --awful.tag({ "  ", "  ", "  ", "  ", "  ", "  ", "  ", "  ", "  ", "  " }, s, awful.layout.layouts[2]) + awful.tag({ "  ", "  ", "  ", "  ", "  ", "  ", "  ", "  ", "  ", "  " }, s, awful.layout.layouts[2]) -- Create a promptbox for each screen s.mypromptbox = awful.widget.prompt() @@ -304,244 +308,14 @@ root.buttons(gears.table.join( )) -- }}} --- {{{ Key bindings -globalkeys = gears.table.join( - awful.key({ modkey, }, "F1", hotkeys_popup.show_help, - {description="show help", group="awesome"}), - awful.key({ modkey, }, "b", awful.tag.viewprev, - {description = "view previous", group = "tag"}), - awful.key({ modkey, }, "n", awful.tag.viewnext, - {description = "view next", group = "tag"}), - awful.key({ modkey, }, "Escape", awful.tag.history.restore, - {description = "go back", group = "tag"}), - awful.key({ modkey, }, "j", - function () - awful.client.focus.byidx( 1) - end, - {description = "focus next by index", group = "client"} - ), - awful.key({ modkey, }, "k", - function () - awful.client.focus.byidx(-1) - end, - {description = "focus previous by index", group = "client"} - ), - awful.key({ modkey, }, "w", function () mymainmenu:show() end, - {description = "show main menu", group = "awesome"}), - - -- Layout manipulation - awful.key({ modkey, "Shift" }, "j", function () awful.client.swap.byidx( 1) end, - {description = "swap with next client by index", group = "client"}), - awful.key({ modkey, "Shift" }, "k", function () awful.client.swap.byidx( -1) end, - {description = "swap with previous client by index", group = "client"}), - awful.key({ modkey, "Control" }, "j", function () awful.screen.focus_relative( 1) end, - {description = "focus the next screen", group = "screen"}), - awful.key({ modkey, "Control" }, "k", function () awful.screen.focus_relative(-1) end, - {description = "focus the previous screen", group = "screen"}), - awful.key({ modkey, }, "u", awful.client.urgent.jumpto, - {description = "jump to urgent client", group = "client"}), - awful.key({ modkey, }, "Tab", - function () - awful.client.focus.history.previous() - if client.focus then - client.focus:raise() - end - end, - {description = "go back", group = "client"}), - - -- Standard program - awful.key({ modkey, }, "Return", function () awful.spawn(terminal) end, - {description = "open a terminal", group = "launcher"}), - awful.key({ modkey, "Control" }, "r", awesome.restart, - {description = "reload awesome", group = "awesome"}), - awful.key({ modkey, "Shift" }, "q", awesome.quit, - {description = "quit awesome", group = "awesome"}), - - awful.key({ modkey, "Shift" }, "o", show_my_desktop, {description = "show desktop", group = "awesome"}), - - awful.key({ modkey, }, "l", function () awful.tag.incmwfact( 0.05) end, - {description = "increase master width factor", group = "layout"}), - awful.key({ modkey, }, "h", function () awful.tag.incmwfact(-0.05) end, - {description = "decrease master width factor", group = "layout"}), - awful.key({ modkey, "Shift" }, "h", function () awful.tag.incnmaster( 1, nil, true) end, - {description = "increase the number of master clients", group = "layout"}), - awful.key({ modkey, "Shift" }, "l", function () awful.tag.incnmaster(-1, nil, true) end, - {description = "decrease the number of master clients", group = "layout"}), - awful.key({ modkey, "Control" }, "h", function () awful.tag.incncol( 1, nil, true) end, - {description = "increase the number of columns", group = "layout"}), - awful.key({ modkey, "Control" }, "l", function () awful.tag.incncol(-1, nil, true) end, - {description = "decrease the number of columns", group = "layout"}), - awful.key({ modkey, "Control" }, "space", function () awful.layout.inc( 1) end, - {description = "select next", group = "layout"}), - awful.key({ modkey, "Shift" }, "space", function () awful.layout.inc(-1) end, - {description = "select previous", group = "layout"}), - - awful.key({ modkey, "Shift", "Control" }, "n", - function () - local c = awful.client.restore() - -- Focus restored client - if c then - c:emit_signal( - "request::activate", "key.unminimize", {raise = true} - ) - end - end, - {description = "restore minimized", group = "client"}), - - -- Prompt - awful.key({ modkey }, "r", function () awful.screen.focused().mypromptbox:run() end, - {description = "run prompt", group = "launcher"}), - - awful.key({ modkey }, "d", function () os.execute("rofi -show drun") end, {description = "rofi drun", group = "launcher"}), - - awful.key({ modkey }, "x", - function () - awful.prompt.run { - prompt = "Run Lua code: ", - textbox = awful.screen.focused().mypromptbox.widget, - exe_callback = awful.util.eval, - history_path = awful.util.get_cache_dir() .. "/history_eval" - } - end, - {description = "lua execute prompt", group = "awesome"}), - -- Menubar - awful.key({ modkey }, "p", function() menubar.show() end, - {description = "show the menubar", group = "launcher"}), - - awful.key({ }, "XF86AudioNext", function () awful.util.spawn("mpc next") end), - awful.key({ }, "XF86AudioPrev", function () awful.util.spawn("mpc prev") end), - awful.key({ }, "XF86AudioPlay", function () awful.util.spawn(mpris.." -a PlayPause") end), - awful.key({ }, "XF86AudioStop", function () awful.util.spawn(mpris.." -a pause") end), - --awful.key({ }, "XF86AudioRaiseVolume", function () awful.util.spawn("amixer -D pulse sset Master 2%+", false) end), - awful.key({ }, "XF86AudioRaiseVolume", function () awful.util.spawn("pactl set-sink-volume @DEFAULT_SINK@ +2%", false) end), - awful.key({ }, "XF86AudioLowerVolume", function () awful.util.spawn("pactl set-sink-volume @DEFAULT_SINK@ -2%", false) end), - awful.key({ }, "XF86AudioMute", function () - awful.spawn("pactl set-source-mute @DEFAULT_SOURCE@ toggle", false) - awful.spawn.with_shell("notify-send 'mic' \"$(pactl get-source-mute @DEFAULT_SOURCE@)\"", false) - end), - --also pamixer -i 5 #to increase 5% - --pamixer -d 5 #to decrease 5% - - awful.key({ }, "Print", function() - awful.spawn.with_shell("ffmpeg -f x11grab -framerate 1 -video_size 1920x1200 -i :0.0 -vframes 1 -crf 0 ~/Pictures/Screenshots/$(date '+%m-%d-%Y-%I-%M')_${RANDOM}_screenshot.jpg") - gears.timer.start_new(3, function() - naughty.notify({title="screenshot taken",text="possibly"}) - return false -- Stop the timer after the first iteration - end) - end), - - awful.key({ "Shift" }, "Print", function() - awful.spawn.with_shell("/bin/flameshot screen") - end) -) - -clientkeys = gears.table.join( - awful.key({ modkey, }, "f", - function (c) - c.fullscreen = not c.fullscreen - c:raise() - end, - {description = "toggle fullscreen", group = "client"}), - awful.key({ modkey, }, "q", function (c) c:kill() end, - {description = "close", group = "client"}), - awful.key({ modkey, }, "space", awful.client.floating.toggle , - {description = "toggle floating", group = "client"}), - awful.key({ modkey, }, "z", function (c) c:swap(awful.client.getmaster()) end, - {description = "move to master", group = "client"}), - awful.key({ modkey, }, "o", function (c) c:move_to_screen() end, - {description = "move to screen", group = "client"}), - awful.key({ modkey, }, "t", function (c) c.ontop = not c.ontop end, - {description = "toggle keep on top", group = "client"}), - awful.key({ modkey, "Shift" }, "s", function (c) c.sticky = not c.sticky end, - {description = "toggle sticky mode", group="client"}), - awful.key({ modkey, "Shift" }, "n", - function (c) - -- The client currently has the input focus, so it cannot be - -- minimized, since minimized clients can't have the focus. - c.minimized = true - end , - {description = "minimize", group = "client"}), - awful.key({ modkey, }, "m", - function (c) - c.maximized = not c.maximized - c:raise() - end , - {description = "(un)maximize", group = "client"}), - awful.key({ modkey, "Control" }, "m", - function (c) - c.maximized_vertical = not c.maximized_vertical - c:raise() - end , - {description = "(un)maximize vertically", group = "client"}), - awful.key({ modkey, "Shift" }, "m", - function (c) - c.maximized_horizontal = not c.maximized_horizontal - c:raise() - end , - {description = "(un)maximize horizontally", group = "client"}), - - awful.key({ modkey }, 0, - function() - local screen = awful.screen.focused() - for i = 1,9 do - local tag = screen.tags[i] - if tag and tag.selected==false then - awful.tag.viewtoggle(tag) - end - end - end, - {description = "view all tags", group = "tag"}) -) - --- Bind all key numbers to tags. --- Be careful: we use keycodes to make it work on any keyboard layout. --- This should map on the top row of your keyboard, usually 1 to 9. -for i = 1, 9 do - globalkeys = gears.table.join(globalkeys, - -- View tag only. - awful.key({ modkey }, "#" .. i + 9, - function () - local screen = awful.screen.focused() - local tag = screen.tags[i] - if tag then - tag:view_only() - end - end, - {description = "view tag #"..i, group = "tag"}), - -- Toggle tag display. - awful.key({ modkey, "Control" }, "#" .. i + 9, - function () - local screen = awful.screen.focused() - local tag = screen.tags[i] - if tag then - awful.tag.viewtoggle(tag) - end - end, - {description = "toggle tag #" .. i, group = "tag"}), - -- Move client to tag. - awful.key({ modkey, "Shift" }, "#" .. i + 9, - function () - if client.focus then - local tag = client.focus.screen.tags[i] - if tag then - client.focus:move_to_tag(tag) - end - end - end, - {description = "move focused client to tag #"..i, group = "tag"}), - -- Toggle tag on focused client. - awful.key({ modkey, "Control", "Shift" }, "#" .. i + 9, - function () - if client.focus then - local tag = client.focus.screen.tags[i] - if tag then - client.focus:toggle_tag(tag) - end - end - end, - {description = "toggle focused client on tag #" .. i, group = "tag"}) - ) +--set keymap based on keyboard layout +if mykeyboardlayout._layout[1] == "us" then + Us_keys.set_global_keys() + Us_keys.set_client_keys() +else + Us_keys_colemak.set_global_keys() + Us_keys_colemak.set_client_keys() end clientbuttons = gears.table.join( @@ -590,7 +364,6 @@ awful.rules.rules = { "Arandr", "Blueman-manager", "Gpick", - "steam", "Kruler", "MessageWin", -- kalarm. "Sxiv", @@ -605,6 +378,8 @@ awful.rules.rules = { -- and the name shown there might not match defined rules here. name = { "Event Tester", -- xev. + "Vivecraft*", + "Mivecraft*", "LinVAM", }, role = { @@ -642,7 +417,7 @@ if screen[2] then screen[2]:fake_resize(1986,33,1792,1015) table.insert(awful.rules.rules, { rule_any = { - class = { "Mumble", "Gajim", "vesktop" } + class = { "Mumble", "gajim", "vesktop" } }, properties = { floating = true, screen = 2 } } diff --git a/.config/dwm/newsboat-fetch.sh b/.config/dwm/newsboat-fetch.sh index 1407591..5534489 100755 --- a/.config/dwm/newsboat-fetch.sh +++ b/.config/dwm/newsboat-fetch.sh @@ -9,6 +9,7 @@ newsboat_loop(){ if (( $unreadnum > 0 )); then notify-send "newsboat feed" "$unreads" fi + notify-send "Vitamins!" "take them" sleep 2h newsboat_loop } diff --git a/.config/lf/icons b/.config/lf/icons new file mode 100644 index 0000000..4022691 --- /dev/null +++ b/.config/lf/icons @@ -0,0 +1,377 @@ +# vim:ft=conf + +# These examples require Nerd Fonts or a compatible font to be used. +# See https://www.nerdfonts.com for more information. + +# default values from lf (with matching order) +# ln l # LINK +# or l # ORPHAN +# tw t # STICKY_OTHER_WRITABLE +# ow d # OTHER_WRITABLE +# st t # STICKY +# di d # DIR +# pi p # FIFO +# so s # SOCK +# bd b # BLK +# cd c # CHR +# su u # SETUID +# sg g # SETGID +# ex x # EXEC +# fi - # FILE + +# file types (with matching order) +ln  # LINK +or  # ORPHAN +tw t # STICKY_OTHER_WRITABLE +ow  # OTHER_WRITABLE +st t # STICKY +di  # DIR +pi p # FIFO +so s # SOCK +bd b # BLK +cd c # CHR +su u # SETUID +sg g # SETGID +ex  # EXEC +fi  # FILE + +# disable some default filetype icons, let them choose icon by filename +# ln  # LINK +# or  # ORPHAN +# tw # STICKY_OTHER_WRITABLE +# ow # OTHER_WRITABLE +# st # STICKY +# di  # DIR +# pi # FIFO +# so # SOCK +# bd # BLK +# cd # CHR +# su # SETUID +# sg # SETGID +# ex # EXEC +# fi  # FILE + +# file extensions (vim-devicons) +*.styl  +*.sass  +*.scss  +*.htm  +*.html  +*.slim  +*.haml  +*.ejs  +*.css  +*.less  +*.md  +*.mdx  +*.markdown  +*.rmd  +*.json  +*.webmanifest  +*.js  +*.mjs  +*.jsx  +*.rb  +*.gemspec  +*.rake  +*.php  +*.py  +*.pyc  +*.pyo  +*.pyd  +*.coffee  +*.mustache  +*.hbs  +*.conf  +*.ini  +*.yml  +*.yaml  +*.toml  +*.bat  +*.mk  +*.jpg  +*.jpeg  +*.bmp  +*.png  +*.webp  +*.gif  +*.ico  +*.twig  +*.cpp  +*.c++  +*.cxx  +*.cc  +*.cp  +*.c  +*.cs 󰌛 +*.h  +*.hh  +*.hpp  +*.hxx  +*.hs  +*.lhs  +*.nix  +*.lua  +*.java  +*.sh  +*.fish  +*.bash  +*.zsh  +*.ksh  +*.csh  +*.awk  +*.ps1  +*.ml λ +*.mli λ +*.diff  +*.db  +*.sql  +*.dump  +*.clj  +*.cljc  +*.cljs  +*.edn  +*.scala  +*.go  +*.dart  +*.xul  +*.sln  +*.suo  +*.pl  +*.pm  +*.t  +*.rss  +'*.f#'  +*.fsscript  +*.fsx  +*.fs  +*.fsi  +*.rs  +*.rlib  +*.d  +*.erl  +*.hrl  +*.ex  +*.exs  +*.eex  +*.leex  +*.heex  +*.vim  +*.ai  +*.psd  +*.psb  +*.ts  +*.tsx  +*.jl  +*.pp  +*.vue  +*.elm  +*.swift  +*.xcplayground  +*.tex 󰙩 +*.r 󰟔 +*.rproj 󰗆 +*.sol 󰡪 +*.pem  + +# file names (vim-devicons) (case-insensitive not supported in lf) +*gruntfile.coffee  +*gruntfile.js  +*gruntfile.ls  +*gulpfile.coffee  +*gulpfile.js  +*gulpfile.ls  +*mix.lock  +*dropbox  +*.ds_store  +*.gitconfig  +*.gitignore  +*.gitattributes  +*.gitlab-ci.yml  +*.bashrc  +*.zshrc  +*.zshenv  +*.zprofile  +*.vimrc  +*.gvimrc  +*_vimrc  +*_gvimrc  +*.bashprofile  +*favicon.ico  +*license  +*node_modules  +*react.jsx  +*procfile  +*dockerfile  +*docker-compose.yml  +*docker-compose.yaml  +*compose.yml  +*compose.yaml  +*rakefile  +*config.ru  +*gemfile  +*makefile  +*cmakelists.txt  +*robots.txt 󰚩 + +# file names (case-sensitive adaptations) +*Gruntfile.coffee  +*Gruntfile.js  +*Gruntfile.ls  +*Gulpfile.coffee  +*Gulpfile.js  +*Gulpfile.ls  +*Dropbox  +*.DS_Store  +*LICENSE  +*React.jsx  +*Procfile  +*Dockerfile  +*Docker-compose.yml  +*Docker-compose.yaml  +*Rakefile  +*Gemfile  +*Makefile  +*CMakeLists.txt  + +# file patterns (vim-devicons) (patterns not supported in lf) +# .*jquery.*\.js$  +# .*angular.*\.js$  +# .*backbone.*\.js$  +# .*require.*\.js$  +# .*materialize.*\.js$  +# .*materialize.*\.css$  +# .*mootools.*\.js$  +# .*vimrc.*  +# Vagrantfile$  + +# file patterns (file name adaptations) +*jquery.min.js  +*angular.min.js  +*backbone.min.js  +*require.min.js  +*materialize.min.js  +*materialize.min.css  +*mootools.min.js  +*vimrc  +Vagrantfile  + +# archives or compressed (extensions from dircolors defaults) +*.tar  +*.tgz  +*.arc  +*.arj  +*.taz  +*.lha  +*.lz4  +*.lzh  +*.lzma  +*.tlz  +*.txz  +*.tzo  +*.t7z  +*.zip  +*.z  +*.dz  +*.gz  +*.lrz  +*.lz  +*.lzo  +*.xz  +*.zst  +*.tzst  +*.bz2  +*.bz  +*.tbz  +*.tbz2  +*.tz  +*.deb  +*.rpm  +*.jar  +*.war  +*.ear  +*.sar  +*.rar  +*.alz  +*.ace  +*.zoo  +*.cpio  +*.7z  +*.rz  +*.cab  +*.wim  +*.swm  +*.dwm  +*.esd  + +# image formats (extensions from dircolors defaults) +*.jpg  +*.jpeg  +*.mjpg  +*.mjpeg  +*.gif  +*.bmp  +*.pbm  +*.pgm  +*.ppm  +*.tga  +*.xbm  +*.xpm  +*.tif  +*.tiff  +*.png  +*.svg  +*.svgz  +*.mng  +*.pcx  +*.mov  +*.mpg  +*.mpeg  +*.m2v  +*.mkv  +*.webm  +*.ogm  +*.mp4  +*.m4v  +*.mp4v  +*.vob  +*.qt  +*.nuv  +*.wmv  +*.asf  +*.rm  +*.rmvb  +*.flc  +*.avi  +*.fli  +*.flv  +*.gl  +*.dl  +*.xcf  +*.xwd  +*.yuv  +*.cgm  +*.emf  +*.ogv  +*.ogx  + +# audio formats (extensions from dircolors defaults) +*.aac  +*.au  +*.flac  +*.m4a  +*.mid  +*.midi  +*.mka  +*.mp3  +*.mpc  +*.ogg  +*.ra  +*.wav  +*.oga  +*.opus  +*.spx  +*.xspf  + +# other formats +*.pdf  diff --git a/.config/lf/lfrc b/.config/lf/lfrc index 785fb26..5573e90 100755 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -130,6 +130,25 @@ cmd Sxiv ${{ }} cmd clipf ${{ + # printf "$f" | xclip -selection clipboard + # xclip -selection clipboard -t "$(file -b --mime-type $f)" -i $f + # echo -n '$f' | xclip -sel clip -t text/uri-list -i +case "$(file -b --mime-type $f)" in +image/png|image/jpeg|image/gif) + xclip -selection clipboard -t image/png -i $f + ;; +video/mp4) + # !! doesnt work. no clue how todo uri-list. ICCCM section 2.6.2 is confusing + # echo -n '$f' | xclip -selection clipboard -t x-special/gnome-copied-files -i + xclip -selection clipboard -t text/uri-list -i $f + ;; +*) + xclip -selection clipboard -t "$(file -b --mime-type $f)" -i $f + ;; +esac +}} + +cmd clip-path ${{ printf "$f" | xclip -selection clipboard }} @@ -142,4 +161,8 @@ map DP delete map V vim map S Sxiv map C clipf +map clip-path map P filebrowser + + +set icons true diff --git a/.config/nvim/lua/yourmom/packer.lua b/.config/nvim/lua/yourmom/packer.lua index 6428021..c6216fc 100755 --- a/.config/nvim/lua/yourmom/packer.lua +++ b/.config/nvim/lua/yourmom/packer.lua @@ -16,6 +16,8 @@ return require('packer').startup(function(use) use { "rose-pine/neovim", as = "rose-pine" } + use "jbyuki/quickmath.nvim" + use { 'nvim-telescope/telescope.nvim', tag = '0.1.5', -- or , branch = '0.1.x', diff --git a/.config/nvim/lua/yourmom/remap.lua b/.config/nvim/lua/yourmom/remap.lua index dfa1b95..d0b7d05 100755 --- a/.config/nvim/lua/yourmom/remap.lua +++ b/.config/nvim/lua/yourmom/remap.lua @@ -104,6 +104,8 @@ local function toggle_auto_close() vim.keymap.set("i", "<", "<"); vim.keymap.set("i", ">", ">"); vim.keymap.set("i", "[", "["); + vim.keymap.set("i", "\"", "\""); + vim.keymap.set("i", "'", "'"); auto_close=false end end @@ -116,3 +118,145 @@ vim.keymap("i","", function() end) ]] + +local colemak_switch=false + +local colemak_tog = function() + if colemak_switch==true then + colemak_switch=false + vim.keymap.set("n","d","d") + vim.keymap.set("n","e","e") + vim.keymap.set("n","f","f") + vim.keymap.set("n","g","g") + vim.keymap.set("n","i","i") + vim.keymap.set("n","j","j") + vim.keymap.set("n","k","k") + vim.keymap.set("n","l","l") + vim.keymap.set("n","n","n") + vim.keymap.set("n","o","o") + vim.keymap.set("n","p","p") + vim.keymap.set("n","r","r") + vim.keymap.set("n","s","s") + vim.keymap.set("n","t","t") + vim.keymap.set("n","u","u") + vim.keymap.set("n","y","y") + vim.keymap.set("n","D","D") + vim.keymap.set("n","E","E") + vim.keymap.set("n","F","F") + vim.keymap.set("n","G","G") + vim.keymap.set("n","I","I") + vim.keymap.set("n","J","J") + vim.keymap.set("n","K","K") + vim.keymap.set("n","L","L") + vim.keymap.set("n","N","N") + vim.keymap.set("n","O","O") + vim.keymap.set("n","P","P") + vim.keymap.set("n","R","R") + vim.keymap.set("n","S","S") + vim.keymap.set("n","T","T") + vim.keymap.set("n","U","U") + vim.keymap.set("n","Y","Y") + + vim.keymap.set("v","d","d") + vim.keymap.set("v","e","e") + vim.keymap.set("v","f","f") + vim.keymap.set("v","g","g") + vim.keymap.set("v","i","i") + vim.keymap.set("v","j","j") + vim.keymap.set("v","k","k") + vim.keymap.set("v","l","l") + vim.keymap.set("v","n","n") + vim.keymap.set("v","o","o") + vim.keymap.set("v","p","p") + vim.keymap.set("v","r","r") + vim.keymap.set("v","s","s") + vim.keymap.set("v","t","t") + vim.keymap.set("v","u","u") + vim.keymap.set("v","y","y") + vim.keymap.set("v","D","D") + vim.keymap.set("v","E","E") + vim.keymap.set("v","F","F") + vim.keymap.set("v","G","G") + vim.keymap.set("v","I","I") + vim.keymap.set("v","J","J") + vim.keymap.set("v","K","K") + vim.keymap.set("v","L","L") + vim.keymap.set("v","N","N") + vim.keymap.set("v","O","O") + vim.keymap.set("v","P","P") + vim.keymap.set("v","R","R") + vim.keymap.set("v","S","S") + vim.keymap.set("v","T","T") + vim.keymap.set("v","U","U") + vim.keymap.set("v","Y","Y") + else + colemak_switch=true + vim.keymap.set("n","d","g") + vim.keymap.set("n","e","k") + vim.keymap.set("n","f","e") + vim.keymap.set("n","g","t") + vim.keymap.set("n","i","l") + vim.keymap.set("n","j","y") + vim.keymap.set("n","k","n") + vim.keymap.set("n","l","u") + vim.keymap.set("n","n","j") + vim.keymap.set("n","o","p") + vim.keymap.set("n","p","r") + vim.keymap.set("n","r","s") + vim.keymap.set("n","s","d") + vim.keymap.set("n","t","f") + vim.keymap.set("n","u","i") + vim.keymap.set("n","y","o") + vim.keymap.set("n","D","G") + vim.keymap.set("n","E","K") + vim.keymap.set("n","F","E") + vim.keymap.set("n","G","T") + vim.keymap.set("n","I","L") + vim.keymap.set("n","J","Y") + vim.keymap.set("n","K","N") + vim.keymap.set("n","L","U") + vim.keymap.set("n","N","J") + vim.keymap.set("n","O","P") + vim.keymap.set("n","P","R") + vim.keymap.set("n","R","S") + vim.keymap.set("n","S","D") + vim.keymap.set("n","T","F") + vim.keymap.set("n","U","I") + vim.keymap.set("n","Y","O") + + vim.keymap.set("v","d","g") + vim.keymap.set("v","e","k") + vim.keymap.set("v","f","e") + vim.keymap.set("v","g","t") + vim.keymap.set("v","i","l") + vim.keymap.set("v","j","y") + vim.keymap.set("v","k","n") + vim.keymap.set("v","l","u") + vim.keymap.set("v","n","j") + vim.keymap.set("v","o","p") + vim.keymap.set("v","p","r") + vim.keymap.set("v","r","s") + vim.keymap.set("v","s","d") + vim.keymap.set("v","t","f") + vim.keymap.set("v","u","i") + vim.keymap.set("v","y","o") + vim.keymap.set("v","D","G") + vim.keymap.set("v","E","K") + vim.keymap.set("v","F","E") + vim.keymap.set("v","G","T") + vim.keymap.set("v","I","L") + vim.keymap.set("v","J","Y") + vim.keymap.set("v","K","N") + vim.keymap.set("v","L","U") + vim.keymap.set("v","N","J") + vim.keymap.set("v","O","P") + vim.keymap.set("v","P","R") + vim.keymap.set("v","R","S") + vim.keymap.set("v","S","D") + vim.keymap.set("v","T","F") + vim.keymap.set("v","U","I") + vim.keymap.set("v","Y","O") + end +end + +vim.keymap.set("n", "r", colemak_tog) diff --git a/.tmux.conf b/.config/tmux/tmux.conf similarity index 100% rename from .tmux.conf rename to .config/tmux/tmux.conf diff --git a/.config/wezterm/wezterm.lua b/.config/wezterm/wezterm.lua new file mode 100755 index 0000000..91fb3c6 --- /dev/null +++ b/.config/wezterm/wezterm.lua @@ -0,0 +1,135 @@ +local wezterm = require 'wezterm' +local config = {} +local act = wezterm.action +config.default_prog = { 'zsh', '-l' } --config.font = wezterm.font 'Classic Console' config.font_size = 15 config.font = wezterm.font 'Source Code Pro' +config.show_tabs_in_tab_bar = false +config.enable_tab_bar = false +--config.font = wezterm.font 'CozetteVector' +config.font = wezterm.font_with_fallback { + --'B612', + 'Inconsolata', + -- 'CozetteVector', --has weird offset with japanese. きki becomes せse and vice versa + 'JetBrainsMono Nerd Font', + 'JetBrainsMono Nerd Font Mono', + 'IPAGothic', + 'FreeMono', +} +--config.font = wezterm.font 'Inconsolata' +config.font_size = 13 +--config.font = wezterm.font 'Caesar Dressing' +--config.font_size = 13 + +config.keys = { + { key = 'h', mods = 'SHIFT|CTRL', action = act.ActivatePaneDirection 'Left' }, + { key = 'h', mods = 'SHIFT|ALT|CTRL', action = act.AdjustPaneSize{ 'Left', 1 } }, + { key = 'l', mods = 'SHIFT|CTRL', action = act.ActivatePaneDirection 'Right' }, + { key = 'l', mods = 'SHIFT|ALT|CTRL', action = act.AdjustPaneSize{ 'Right', 1 } }, + { key = 'k', mods = 'SHIFT|CTRL', action = act.ActivatePaneDirection 'Up' }, + { key = 'k', mods = 'SHIFT|ALT|CTRL', action = act.AdjustPaneSize{ 'Up', 1 } }, + { key = 'j', mods = 'SHIFT|CTRL', action = act.ActivatePaneDirection 'Down' }, + { key = 'j', mods = 'SHIFT|ALT|CTRL', action = act.AdjustPaneSize{ 'Down', 1 } }, +} + +--config.window_background_image = "/home/iceyrazor/stuff/media/wallpapers/hfdsjkldysa87gr9eahgf4rjek ltjkedjkaslfjd salk 9270221.jpg" +--[[ +config.window_background_image_hsb = { + -- Darken the background image by reducing it to 1/3rd + brightness = 0.05, + + -- You can adjust the hue by scaling its value. + -- a multiplier of 1.0 leaves the value unchanged. + hue = 1.0, + + -- You can adjust the saturation also. + saturation = 1.0, +} +]]-- + +config.colors={ + foreground = '#e6e6e6', + --background = '#101010', + background = '#04000a', + cursor_fg = '#fabd2f', + ansi = { + '#263640', + '#d12f2c', + '#819400', + '#b08500', + '#2587cc', + '#696ebf', + '#289c93', + '#bfbaac', + }, + brights = { + '#4a697d', + '#fa3935', + '#a4bd00', + '#d9a400', + '#09a2f5', + '#8086e8', + '#00c5ba', + '#fdf6e3', + }, +} + +config.window_background_opacity = 0.8 + +local function tab_title(tab_info) + local title = tab_info.tab_title + -- if the tab title is explicitly set, take that + if title and #title > 0 then + return title + end + -- Otherwise, use the title from the active pane + -- in that tab + return tab_info.active_pane.title +end + +-- The filled in variant of the < symbol +local SOLID_LEFT_ARROW = wezterm.nerdfonts.pl_right_hard_divider + +-- The filled in variant of the > symbol +local SOLID_RIGHT_ARROW = wezterm.nerdfonts.pl_left_hard_divider + +config.use_fancy_tab_bar = false +config.show_new_tab_button_in_tab_bar = false +--[[ +wezterm.on( + 'format-tab-title', + function(tab, tabs, panes, config2, hover, max_width) + local edge_background = '#0b0022' + local background = '#1b1032' + local foreground = '#808080' + + if tab.is_active then + background = '#2b2042' + foreground = '#c0c0c0' + elseif hover then + background = '#3b3052' + foreground = '#909090' + end + + local edge_foreground = background + + local title = tab_title(tab) + + -- ensure that the titles fit in the available space, + -- and that we have room for the edges. + title = wezterm.truncate_right(title, max_width - 2) + + return { + { Background = { Color = edge_background } }, + { Foreground = { Color = edge_foreground } }, + { Text = SOLID_LEFT_ARROW }, + { Background = { Color = background } }, + { Foreground = { Color = foreground } }, + { Text = title }, + { Background = { Color = edge_background } }, + { Foreground = { Color = edge_foreground } }, + { Text = SOLID_RIGHT_ARROW }, + } + end +) +--]] + +return config diff --git a/.gtkrc-2.0 b/.gtkrc-2.0 deleted file mode 100644 index 8b780c2..0000000 --- a/.gtkrc-2.0 +++ /dev/null @@ -1,17 +0,0 @@ -# DO NOT EDIT! This file will be overwritten by LXAppearance. -# Any customization should be done in ~/.gtkrc-2.0.mine instead. - -include "/home/iceyrazor/.gtkrc-2.0.mine" -gtk-theme-name="Breeze-dark-gtk" -gtk-icon-theme-name="Adwaita" -gtk-font-name="Cantarell 11" -gtk-cursor-theme-size=0 -gtk-toolbar-style=GTK_TOOLBAR_BOTH -gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR -gtk-button-images=1 -gtk-menu-images=1 -gtk-enable-event-sounds=1 -gtk-enable-input-feedback-sounds=1 -gtk-xft-antialias=1 -gtk-xft-hinting=1 -gtk-xft-hintstyle="hintfull" diff --git a/.wezterm.lua b/.wezterm.lua deleted file mode 100755 index 0e135d7..0000000 --- a/.wezterm.lua +++ /dev/null @@ -1,113 +0,0 @@ -local wezterm = require 'wezterm' -local config = {} -local act = wezterm.action - -config.default_prog = { 'zsh', '-l' } - ---config.font = wezterm.font 'Classic Console' ---config.font_size = 15 ---config.font = wezterm.font 'Source Code Pro' -config.show_tabs_in_tab_bar = false -config.enable_tab_bar = false -config.font = wezterm.font 'CozetteVector' -config.font_size = 15 - -config.keys = { - { key = 'h', mods = 'SHIFT|CTRL', action = act.ActivatePaneDirection 'Left' }, - { key = 'h', mods = 'SHIFT|ALT|CTRL', action = act.AdjustPaneSize{ 'Left', 1 } }, - { key = 'l', mods = 'SHIFT|CTRL', action = act.ActivatePaneDirection 'Right' }, - { key = 'l', mods = 'SHIFT|ALT|CTRL', action = act.AdjustPaneSize{ 'Right', 1 } }, - { key = 'k', mods = 'SHIFT|CTRL', action = act.ActivatePaneDirection 'Up' }, - { key = 'k', mods = 'SHIFT|ALT|CTRL', action = act.AdjustPaneSize{ 'Up', 1 } }, - { key = 'j', mods = 'SHIFT|CTRL', action = act.ActivatePaneDirection 'Down' }, - { key = 'j', mods = 'SHIFT|ALT|CTRL', action = act.AdjustPaneSize{ 'Down', 1 } }, -} - -config.colors={ - foreground = '#e6e6e6', - --background = '#101010', - background = '#04000a', - cursor_fg = '#fabd2f', - ansi = { - '#263640', - '#d12f2c', - '#819400', - '#b08500', - '#2587cc', - '#696ebf', - '#289c93', - '#bfbaac', - }, - brights = { - '#4a697d', - '#fa3935', - '#a4bd00', - '#d9a400', - '#09a2f5', - '#8086e8', - '#00c5ba', - '#fdf6e3', - }, -} - -config.window_background_opacity = 0.8 - -local function tab_title(tab_info) - local title = tab_info.tab_title - -- if the tab title is explicitly set, take that - if title and #title > 0 then - return title - end - -- Otherwise, use the title from the active pane - -- in that tab - return tab_info.active_pane.title -end - --- The filled in variant of the < symbol -local SOLID_LEFT_ARROW = wezterm.nerdfonts.pl_right_hard_divider - --- The filled in variant of the > symbol -local SOLID_RIGHT_ARROW = wezterm.nerdfonts.pl_left_hard_divider - -config.use_fancy_tab_bar = false -config.show_new_tab_button_in_tab_bar = false ---[[ -wezterm.on( - 'format-tab-title', - function(tab, tabs, panes, config2, hover, max_width) - local edge_background = '#0b0022' - local background = '#1b1032' - local foreground = '#808080' - - if tab.is_active then - background = '#2b2042' - foreground = '#c0c0c0' - elseif hover then - background = '#3b3052' - foreground = '#909090' - end - - local edge_foreground = background - - local title = tab_title(tab) - - -- ensure that the titles fit in the available space, - -- and that we have room for the edges. - title = wezterm.truncate_right(title, max_width - 2) - - return { - { Background = { Color = edge_background } }, - { Foreground = { Color = edge_foreground } }, - { Text = SOLID_LEFT_ARROW }, - { Background = { Color = background } }, - { Foreground = { Color = foreground } }, - { Text = title }, - { Background = { Color = edge_background } }, - { Foreground = { Color = edge_foreground } }, - { Text = SOLID_RIGHT_ARROW }, - } - end -) ---]] - -return config diff --git a/.zshrc b/.zshrc index bfecd2c..ffa6211 100755 --- a/.zshrc +++ b/.zshrc @@ -2,6 +2,8 @@ # Initialization code that may require console input (password prompts, [y/n] # confirmations, etc.) must go above this block; everything else may go below. +~/stuff/scripts/system/neoboot.sh + if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" fi @@ -26,10 +28,18 @@ function vi-yank-xclip { zle -N vi-yank-xclip bindkey -M vicmd ' y' vi-yank-xclip -source ~/.profile +#fzf search +source <(fzf --zsh) + +source ~/.config/.profile #bash --login -i -c 'source ~/.profile' source ~/.config/zsh/powerlevel10k/powerlevel10k.zsh-theme +# bindkey -a h backward-char +# bindkey -a i forward-char +# bindkey -a n down-history +# bindkey -a e up-history + # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh diff --git a/README.md b/README.md index e3d6d27..66e1d99 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # hi this is just some configs and stuffs i decided to put on my github +eg my dotfiles # requirements - for dwm or awesome @@ -22,23 +23,27 @@ this is just some configs and stuffs i decided to put on my github - installing dwm, dmenu, and surf - cd into respective directory - sudo make clean install - - startx + - startx #for dwm - for neovim - packer - for urlview - urlview - terminal - primary wezterm - - secondary rxvt-unicode less memory usage + - secondary rxvt-unicode # less memory usage +- ibus + - ibus-mozc # for japanese input - font - ttf-inconsolata - login - lightdm - lightdm-gtk-greeter +- lxappearance # for setting gtk theme - theme - - breeze-dark-gtk - manual download. put in usr/share/themes + - Amy-Dark-GTK # manual download. put in usr/share/themes - for qt to gtk theme - qt6gtk2 - - qt5-styleplugins + - qt5gtk2 - background setter - nitrogen +- numen # voice control, manual setup - file manager - lf - pcmanfm @@ -50,9 +55,14 @@ this is just some configs and stuffs i decided to put on my github - pipewire-pulse - qpwgraph - onscreen keys - screenkey -- compositor - picom +- compositor + - xcompmgr # primarily + - picom # for fancy ness - inetutils - for normal ftp -- escrotum-git for screenshots +- screenshots + - flameshot #higher rez than ffmpeg + - ffmpeg + - not really escrotum-git - tor stuff - tor - torsocks diff --git a/stuff/scripts/system/backup/backup.sh b/stuff/scripts/system/backup/backup.sh index 3391ec6..e49996e 100755 --- a/stuff/scripts/system/backup/backup.sh +++ b/stuff/scripts/system/backup/backup.sh @@ -15,7 +15,7 @@ fsyncb () { fi } -syncfile="stuff .bash_profile .bashrc .surf/styles .wezterm.lua .tmux.conf .gtkrc-2.0 .profile .urlview .vimrc .xinitrc .Xresources .zshrc .p10k.zsh .newsboat .gnupg .ssh .local/bin/lf-gadgets .config/dwm .config/awesome .config/wlxoverlay .config/vesktop/themes .config/gtk-3.0 .config/rofi .config/lf .config/mutt .config/zsh .config/picom.conf .config/nvim .config/atuin .config/screenkey.json .config/vesktop/themes .keepass .config/Pinta .local/share/applications/custom" +syncfile="stuff .bash_profile .bashrc .surf/styles .gtkrc-2.0 .urlview .vimrc .xinitrc .Xresources .zshrc .p10k.zsh .gnupg .ssh .local/bin/lf-gadgets .config/dwm .config/wezterm .config/.profile .config/tmux .config/wireplumber .config/FreeTube .config/awesome .config/wlxoverlay .config/newsboat .config/vesktop/themes .config/gtk-3.0 .config/rofi .config/lf .config/mutt .config/zsh .config/picom.conf .config/nvim .config/atuin .config/screenkey.json .config/vesktop/themes .keepass .config/Pinta .local/share/applications/custom" # se shit syncfile="$syncfile /home/iceyrazor/.local/share/Steam/steamapps/compatdata/244850/pfx/drive_c/users/steamuser/AppData/Roaming/SpaceEngineers/Blueprints /home/iceyrazor/.local/share/Steam/steamapps/compatdata/244850/pfx/drive_c/users/steamuser/AppData/Roaming/SpaceEngineers/IngameScripts /home/iceyrazor/.local/share/Steam/steamapps/compatdata/244850/pfx/drive_c/users/steamuser/AppData/Roaming/SpaceEngineers/Saves" diff --git a/stuff/scripts/system/backup/copy-to-git.sh b/stuff/scripts/system/backup/copy-to-git.sh index 921c051..b05ef89 100755 --- a/stuff/scripts/system/backup/copy-to-git.sh +++ b/stuff/scripts/system/backup/copy-to-git.sh @@ -11,7 +11,7 @@ fsync () { fi } -syncfile=".bash_profile .bashrc .gtkrc-2.0 .tmux.conf .wezterm.lua .profile .urlview .vimrc .Xresources .zshrc .p10k.zsh .config/dwm .config/awesome .config/rofi .config/lf .config/picom.conf .config/nvim .config/atuin .config/screenkey.json stuff/manual-programs/suckless" +syncfile=".urlview .vimrc .Xresources .zshrc .p10k.zsh .config/.profile .config/wezterm .config/dwm .config/tmux .config/awesome .config/rofi .config/lf .config/picom.conf .config/nvim .config/atuin .config/screenkey.json stuff/manual-programs/suckless" syncfile="$syncfile stuff/scripts/system/stbar stuff/scripts/system/url-handler.sh stuff/scripts/system/backup/copy-to-git.sh stuff/scripts/system/backup/backup.sh" syncfile="$syncfile stuff/scripts/system/neoboot.sh stuff/scripts/system/math.sh stuff/scripts/system/bri.sh stuff/scripts/system/restart-pipe.sh stuff/scripts/system/set-pri-java.sh" diff --git a/stuff/scripts/system/neoboot.sh b/stuff/scripts/system/neoboot.sh index 9c64015..9933d3e 100755 --- a/stuff/scripts/system/neoboot.sh +++ b/stuff/scripts/system/neoboot.sh @@ -3,10 +3,11 @@ normal() { randnum=$(($RANDOM % 2)) if [ "$randnum" == "1" ]; then - # fastfetch --localip-show-ipv4 0 # | lolcat -as 10000 -S 100 - fortune | cowsay -f fox | lolcat + fastfetch --localip-show-ipv4 0 | lolcat -S 100 # | lolcat -as 10000 -S 100 + # fortune | cowsay -f fox | lolcat else - fortune | cowsay -f dragon | lolcat + # fortune | cowsay -f dragon | lolcat + uwufetch | lolcat fi printf "\n--------------------------------------------------------\n" | lolcat lsblk --filter 'NAME=~"sd[abcde]"' -o NAME,MOUNTPOINTS | lolcat