Browse Source

Wack

master
SolitudeSF 9 months ago
parent
commit
5788e743be
Signed by: SolitudeSF <solitudesf@protonmail.com> GPG Key ID: 789B06817C385387
7 changed files with 30 additions and 142 deletions
  1. 1
    0
      elvish/lib/config.elv
  2. 0
    1
      elvish/rc.elv
  3. 3
    3
      kak/kakrc
  4. 1
    1
      ntr/templates/polybar
  5. 4
    3
      profile
  6. 0
    134
      rofi
  7. 21
    0
      rofi.rasi

+ 1
- 0
elvish/lib/config.elv View File

@@ -27,3 +27,4 @@ fn kak { e $conf/kak/kakrc }
fn pqiv { e $conf/pqivrc }
fn mpv { e $conf/mpv/mpv.conf }
fn ncmpcpp { e $@setini $conf/ncmpcpp/config }
fn bedrock { e /bedrock/etc/bedrock.conf }

+ 0
- 1
elvish/rc.elv View File

@@ -9,7 +9,6 @@ fn xr [@a]{ sudo xbps-remove -R $@a }

-exports- = [&]


{
use theme
use completers

+ 3
- 3
kak/kakrc View File

@@ -1,7 +1,6 @@
# Merge and manually source plugins
eval %sh{
cat $(find "$kak_config/autosource" -name '*\.kak') >/tmp/kakmerge.kak
printf %s 'source /tmp/kakmerge.kak'
cat $(find "$kak_config/autosource" -name '*\.kak')
}

# Initialization
@@ -28,7 +27,7 @@ addhl global/ column 80 default,rgb:303030
addhl global/ regex '\h+$' 0:default,red
addhl global/ regex \b(TODO|FIXME|XXX|NOTE)\b 0:default+rb
addhl global/ show-matching
addhl global/ wrap -word -indent -marker
addhl global/ wrap -word -indent -marker ''
addhl global/ dynregex '%reg{/}' 0:+u
addhl global/ dynregex '%opt{curword}' 0:+b

@@ -164,6 +163,7 @@ hook global BufCreate .*srcpkgs/.+/template$ %{
hook global BufCreate .*/\.?((sx|xinit)(rc)?|profile) %{ set buffer filetype sh }
hook global BufCreate .*\.ino %{ set buffer filetype cpp }
hook global BufCreate .*\.cs %{ addhl window/java }
hook global BufCreate .*\.rasi %{ set buffer filetype css }

# Filetype settings
hook global WinSetOption filetype=sh %{

+ 1
- 1
ntr/templates/polybar View File

@@ -62,7 +62,7 @@ label-empty =

[module/xwindow]
type = internal/xwindow
label = %title:0:60:…%
label = %title:0:80:…%

[module/mpd]
type = internal/mpd

+ 4
- 3
profile View File

@@ -6,6 +6,8 @@ XDG_RUNTIME_DIR=/tmp/runtime-$USER
XBPS_DISTDIR=$HOME/git/void-packages
DOTS_DIR=$HOME/dot

mkdir -p $XDG_RUNTIME_DIR

# Override system variables
PATH=$HOME/bin:$HOME/.nimble/bin:$DOTS_DIR/bin:$PATH

@@ -21,7 +23,6 @@ GTK2_RC_FILES=$XDG_CONFIG_HOME/gtk-2.0/gtkrc
LESSHISTFILE="-"
GNUPGHOME=$XDG_DATA_HOME/gnupg
GPG_AGENT_INFO=$GNUPGHOME/S.gpg-agent:0:1
DBUS_SESSION_BUS_ADDRESS="unix:path=$XDG_RUNTIME_DIR/S.dbus"

_JAVA_AWT_WM_NONREPARENTING=1
_JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true'
@@ -31,7 +32,7 @@ export \
XDG_DATA_HOME XDG_RUNTIME_DIR XDG_CACHE_HOME XDG_CONFIG_HOME XDG_RUNTIME_DIR \
XBPS_DISTDIR DOTS_DIR GTK2_RC_FILES LESSHISTFILE TERMINAL EDITOR VISUAL \
PAGER MANPAGER GPG_TTY GPG_AGENT_INFO GNUPGHOME QT_QPA_PLATFORMTHEME \
_JAVA_AWT_WM_NONREPARENTING _JAVA_OPTIONS DBUS_SESSION_BUS_ADDRESS
_JAVA_AWT_WM_NONREPARENTING _JAVA_OPTIONS

# Init sharable {ssh,gpg}-agent
if [ -z "$SSH_AUTH_SOCK" ]; then
@@ -43,6 +44,6 @@ fi

# Start X or shell
if [ -z "$DISPLAY" ] && [ "$GPG_TTY" = /dev/tty1 ]; then
exec dbus-launch --sh-syntax sx
exec dbus-launch sx
fi
exec elvish

+ 0
- 134
rofi View File

@@ -1,134 +0,0 @@
configuration {
modi: "run,drun";
width: 55;
lines: 25;
columns: 2;
font: "Iosevka SS04 12";
/* bw: 1;*/
/* location: 0;*/
/* padding: 5;*/
/* yoffset: 0;*/
/* xoffset: 0;*/
/* fixed-num-lines: true;*/
show-icons: true;
terminal: "kitty -1";
ssh-client: "ssh";
ssh-command: "{terminal} {ssh-client} {host}";
run-command: "{cmd}";
/* run-list-command: "";*/
run-shell-command: "{terminal} {cmd}";
/* window-command: "xkill -id {window}";*/
/* window-match-fields: "all";*/
/* drun-icon-theme: ;*/
drun-match-fields: "name,generic,exec,categories,comment";
/* drun-show-actions: false;*/
drun-display-format: "{name} [({comment})]";
/* disable-history: false;*/
/* sort: false;*/
/* levenshtein-sort: false;*/
/* case-sensitive: false;*/
/* cycle: true;*/
/* sidebar-mode: false;*/
/* eh: 1;*/
/* auto-select: false;*/
/* parse-hosts: false;*/
/* parse-known-hosts: true;*/
/* combi-modi: "window,run";*/
matching: "normal";
/* tokenize: true;*/
/* m: "-5";*/
/* filter: ;*/
/* fullscreen: false;*/
/* dpi: -1;*/
/* threads: 0;*/
/* scroll-method: 0;*/
/* fake-background: "screenshot";*/
/* click-to-exit: true;*/
/* show-match: true;*/
theme: "~/.etc/rofi/theme";
/* color-normal: ;*/
/* color-urgent: ;*/
/* color-active: ;*/
/* color-window: ;*/
/* max-history-size: 25;*/
/* combi-hide-mode-prefix: false;*/
/* pid: "/home/solitude/.cache/rofi.pid";*/
display-window: "▣";
/* display-windowcd: ;*/
display-run: "▲";
display-ssh: "◆";
display-drun: "▶";
/* display-combi: ;*/
/* display-keys: ;*/
/* kb-primary-paste: "Control+V,Shift+Insert";*/
/* kb-secondary-paste: "Control+v,Insert";*/
/* kb-clear-line: "Control+w";*/
/* kb-move-front: "Control+a";*/
/* kb-move-end: "Control+e";*/
/* kb-move-word-back: "Alt+b";*/
/* kb-move-word-forward: "Alt+f";*/
/* kb-move-char-back: "Left,Control+b";*/
/* kb-move-char-forward: "Right,Control+f";*/
/* kb-remove-word-back: "Control+Alt+h,Control+BackSpace";*/
/* kb-remove-word-forward: "Control+Alt+d";*/
/* kb-remove-char-forward: "Delete,Control+d";*/
/* kb-remove-char-back: "BackSpace,Control+h";*/
/* kb-remove-to-eol: "Control+k";*/
/* kb-remove-to-sol: "Control+u";*/
/* kb-accept-entry: "Control+j,Control+m,Return,KP_Enter";*/
/* kb-accept-custom: "Control+Return";*/
/* kb-accept-alt: "Shift+Return";*/
/* kb-delete-entry: "Shift+Delete";*/
/* kb-mode-next: "Shift+Right,Control+Tab";*/
/* kb-mode-previous: "Shift+Left,Control+ISO_Left_Tab";*/
/* kb-row-left: "Control+Page_Up";*/
/* kb-row-right: "Control+Page_Down";*/
/* kb-row-up: "Up,Control+p,ISO_Left_Tab";*/
/* kb-row-down: "Down,Control+n";*/
/* kb-row-tab: "Tab";*/
/* kb-page-prev: "Page_Up";*/
/* kb-page-next: "Page_Down";*/
/* kb-row-first: "Home,KP_Home";*/
/* kb-row-last: "End,KP_End";*/
/* kb-row-select: "Control+space";*/
/* kb-screenshot: "Alt+S";*/
/* kb-toggle-case-sensitivity: "grave,dead_grave";*/
/* kb-toggle-sort: "Alt+grave";*/
/* kb-cancel: "Escape,Control+g,Control+bracketleft";*/
/* kb-custom-1: "Alt+1";*/
/* kb-custom-2: "Alt+2";*/
/* kb-custom-3: "Alt+3";*/
/* kb-custom-4: "Alt+4";*/
/* kb-custom-5: "Alt+5";*/
/* kb-custom-6: "Alt+6";*/
/* kb-custom-7: "Alt+7";*/
/* kb-custom-8: "Alt+8";*/
/* kb-custom-9: "Alt+9";*/
/* kb-custom-10: "Alt+0";*/
/* kb-custom-11: "Alt+exclam";*/
/* kb-custom-12: "Alt+at";*/
/* kb-custom-13: "Alt+numbersign";*/
/* kb-custom-14: "Alt+dollar";*/
/* kb-custom-15: "Alt+percent";*/
/* kb-custom-16: "Alt+dead_circumflex";*/
/* kb-custom-17: "Alt+ampersand";*/
/* kb-custom-18: "Alt+asterisk";*/
/* kb-custom-19: "Alt+parenleft";*/
/* kb-select-1: "Super+1";*/
/* kb-select-2: "Super+2";*/
/* kb-select-3: "Super+3";*/
/* kb-select-4: "Super+4";*/
/* kb-select-5: "Super+5";*/
/* kb-select-6: "Super+6";*/
/* kb-select-7: "Super+7";*/
/* kb-select-8: "Super+8";*/
/* kb-select-9: "Super+9";*/
/* kb-select-10: "Super+0";*/
/* ml-row-left: "ScrollLeft";*/
/* ml-row-right: "ScrollRight";*/
/* ml-row-up: "ScrollUp";*/
/* ml-row-down: "ScrollDown";*/
/* me-select-entry: "MousePrimary";*/
/* me-accept-entry: "MouseDPrimary";*/
/* me-accept-custom: "Control+MouseDPrimary";*/
}

+ 21
- 0
rofi.rasi View File

@@ -0,0 +1,21 @@
configuration {
modi: "run,drun";
width: 55;
lines: 25;
columns: 2;
font: "Iosevka SS04 12";
show-icons: true;
terminal: "kitty -1";
ssh-client: "ssh";
ssh-command: "{terminal} {ssh-client} {host}";
run-command: "{cmd}";
run-shell-command: "{terminal} {cmd}";
drun-match-fields: "name,generic,exec,categories,comment";
drun-display-format: "{name} [({comment})]";
matching: "normal";
theme: "theme";
display-window: "▣";
display-run: "▲";
display-ssh: "◆";
display-drun: "▶";
}

Loading…
Cancel
Save