Browse Source

Wack

master
SolitudeSF 5 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 }
27 27
 fn pqiv { e $conf/pqivrc }
28 28
 fn mpv { e $conf/mpv/mpv.conf }
29 29
 fn ncmpcpp { e $@setini $conf/ncmpcpp/config }
30
+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 }
9 9
 
10 10
 -exports- = [&]
11 11
 
12
-
13 12
 {
14 13
   use theme
15 14
   use completers

+ 3
- 3
kak/kakrc View File

@@ -1,7 +1,6 @@
1 1
 # Merge and manually source plugins
2 2
 eval %sh{
3
-    cat $(find "$kak_config/autosource" -name '*\.kak') >/tmp/kakmerge.kak
4
-    printf %s 'source /tmp/kakmerge.kak'
3
+    cat $(find "$kak_config/autosource" -name '*\.kak')
5 4
 }
6 5
 
7 6
 # Initialization
@@ -28,7 +27,7 @@ addhl global/ column 80 default,rgb:303030
28 27
 addhl global/ regex '\h+$' 0:default,red
29 28
 addhl global/ regex \b(TODO|FIXME|XXX|NOTE)\b 0:default+rb
30 29
 addhl global/ show-matching
31
-addhl global/ wrap -word -indent -marker 
30
+addhl global/ wrap -word -indent -marker ''
32 31
 addhl global/ dynregex '%reg{/}' 0:+u
33 32
 addhl global/ dynregex '%opt{curword}' 0:+b
34 33
 
@@ -164,6 +163,7 @@ hook global BufCreate .*srcpkgs/.+/template$ %{
164 163
 hook global BufCreate .*/\.?((sx|xinit)(rc)?|profile) %{ set buffer filetype sh }
165 164
 hook global BufCreate .*\.ino %{ set buffer filetype cpp }
166 165
 hook global BufCreate .*\.cs %{ addhl window/java }
166
+hook global BufCreate .*\.rasi %{ set buffer filetype css }
167 167
 
168 168
 # Filetype settings
169 169
 hook global WinSetOption filetype=sh %{

+ 1
- 1
ntr/templates/polybar View File

@@ -62,7 +62,7 @@ label-empty =
62 62
 
63 63
 [module/xwindow]
64 64
 type = internal/xwindow
65
-label = %title:0:60:…%
65
+label = %title:0:80:…%
66 66
 
67 67
 [module/mpd]
68 68
 type = internal/mpd

+ 4
- 3
profile View File

@@ -6,6 +6,8 @@ XDG_RUNTIME_DIR=/tmp/runtime-$USER
6 6
 XBPS_DISTDIR=$HOME/git/void-packages
7 7
 DOTS_DIR=$HOME/dot
8 8
 
9
+mkdir -p $XDG_RUNTIME_DIR
10
+
9 11
 # Override system variables
10 12
 PATH=$HOME/bin:$HOME/.nimble/bin:$DOTS_DIR/bin:$PATH
11 13
 
@@ -21,7 +23,6 @@ GTK2_RC_FILES=$XDG_CONFIG_HOME/gtk-2.0/gtkrc
21 23
 LESSHISTFILE="-"
22 24
 GNUPGHOME=$XDG_DATA_HOME/gnupg
23 25
 GPG_AGENT_INFO=$GNUPGHOME/S.gpg-agent:0:1
24
-DBUS_SESSION_BUS_ADDRESS="unix:path=$XDG_RUNTIME_DIR/S.dbus"
25 26
 
26 27
 _JAVA_AWT_WM_NONREPARENTING=1
27 28
 _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true'
@@ -31,7 +32,7 @@ export \
31 32
  XDG_DATA_HOME XDG_RUNTIME_DIR XDG_CACHE_HOME XDG_CONFIG_HOME XDG_RUNTIME_DIR \
32 33
  XBPS_DISTDIR DOTS_DIR GTK2_RC_FILES LESSHISTFILE TERMINAL EDITOR VISUAL \
33 34
  PAGER MANPAGER GPG_TTY GPG_AGENT_INFO GNUPGHOME QT_QPA_PLATFORMTHEME \
34
- _JAVA_AWT_WM_NONREPARENTING _JAVA_OPTIONS DBUS_SESSION_BUS_ADDRESS
35
+ _JAVA_AWT_WM_NONREPARENTING _JAVA_OPTIONS
35 36
 
36 37
 # Init sharable {ssh,gpg}-agent
37 38
 if [ -z "$SSH_AUTH_SOCK" ]; then
@@ -43,6 +44,6 @@ fi
43 44
 
44 45
 # Start X or shell
45 46
 if [ -z "$DISPLAY" ] && [ "$GPG_TTY" = /dev/tty1 ]; then
46
-	exec dbus-launch --sh-syntax sx
47
+	exec dbus-launch sx
47 48
 fi
48 49
 exec elvish

+ 0
- 134
rofi View File

@@ -1,134 +0,0 @@
1
-configuration {
2
-        modi: "run,drun";
3
-        width: 55;
4
-        lines: 25;
5
-        columns: 2;
6
-        font: "Iosevka SS04 12";
7
-/*      bw: 1;*/
8
-/*      location: 0;*/
9
-/*      padding: 5;*/
10
-/*      yoffset: 0;*/
11
-/*      xoffset: 0;*/
12
-/*      fixed-num-lines: true;*/
13
-        show-icons: true;
14
-        terminal: "kitty -1";
15
-        ssh-client: "ssh";
16
-        ssh-command: "{terminal} {ssh-client} {host}";
17
-        run-command: "{cmd}";
18
-/*      run-list-command: "";*/
19
-        run-shell-command: "{terminal} {cmd}";
20
-/*      window-command: "xkill -id {window}";*/
21
-/*      window-match-fields: "all";*/
22
-/*      drun-icon-theme: ;*/
23
-        drun-match-fields: "name,generic,exec,categories,comment";
24
-/*      drun-show-actions: false;*/
25
-        drun-display-format: "{name} [({comment})]";
26
-/*      disable-history: false;*/
27
-/*      sort: false;*/
28
-/*      levenshtein-sort: false;*/
29
-/*      case-sensitive: false;*/
30
-/*      cycle: true;*/
31
-/*      sidebar-mode: false;*/
32
-/*      eh: 1;*/
33
-/*      auto-select: false;*/
34
-/*      parse-hosts: false;*/
35
-/*      parse-known-hosts: true;*/
36
-/*      combi-modi: "window,run";*/
37
-        matching: "normal";
38
-/*      tokenize: true;*/
39
-/*      m: "-5";*/
40
-/*      filter: ;*/
41
-/*      fullscreen: false;*/
42
-/*      dpi: -1;*/
43
-/*      threads: 0;*/
44
-/*      scroll-method: 0;*/
45
-/*      fake-background: "screenshot";*/
46
-/*      click-to-exit: true;*/
47
-/*      show-match: true;*/
48
-        theme: "~/.etc/rofi/theme";
49
-/*      color-normal: ;*/
50
-/*      color-urgent: ;*/
51
-/*      color-active: ;*/
52
-/*      color-window: ;*/
53
-/*      max-history-size: 25;*/
54
-/*      combi-hide-mode-prefix: false;*/
55
-/*      pid: "/home/solitude/.cache/rofi.pid";*/
56
-        display-window: "▣";
57
-/*      display-windowcd: ;*/
58
-        display-run: "▲";
59
-        display-ssh: "◆";
60
-        display-drun: "▶";
61
-/*      display-combi: ;*/
62
-/*      display-keys: ;*/
63
-/*      kb-primary-paste: "Control+V,Shift+Insert";*/
64
-/*      kb-secondary-paste: "Control+v,Insert";*/
65
-/*      kb-clear-line: "Control+w";*/
66
-/*      kb-move-front: "Control+a";*/
67
-/*      kb-move-end: "Control+e";*/
68
-/*      kb-move-word-back: "Alt+b";*/
69
-/*      kb-move-word-forward: "Alt+f";*/
70
-/*      kb-move-char-back: "Left,Control+b";*/
71
-/*      kb-move-char-forward: "Right,Control+f";*/
72
-/*      kb-remove-word-back: "Control+Alt+h,Control+BackSpace";*/
73
-/*      kb-remove-word-forward: "Control+Alt+d";*/
74
-/*      kb-remove-char-forward: "Delete,Control+d";*/
75
-/*      kb-remove-char-back: "BackSpace,Control+h";*/
76
-/*      kb-remove-to-eol: "Control+k";*/
77
-/*      kb-remove-to-sol: "Control+u";*/
78
-/*      kb-accept-entry: "Control+j,Control+m,Return,KP_Enter";*/
79
-/*      kb-accept-custom: "Control+Return";*/
80
-/*      kb-accept-alt: "Shift+Return";*/
81
-/*      kb-delete-entry: "Shift+Delete";*/
82
-/*      kb-mode-next: "Shift+Right,Control+Tab";*/
83
-/*      kb-mode-previous: "Shift+Left,Control+ISO_Left_Tab";*/
84
-/*      kb-row-left: "Control+Page_Up";*/
85
-/*      kb-row-right: "Control+Page_Down";*/
86
-/*      kb-row-up: "Up,Control+p,ISO_Left_Tab";*/
87
-/*      kb-row-down: "Down,Control+n";*/
88
-/*      kb-row-tab: "Tab";*/
89
-/*      kb-page-prev: "Page_Up";*/
90
-/*      kb-page-next: "Page_Down";*/
91
-/*      kb-row-first: "Home,KP_Home";*/
92
-/*      kb-row-last: "End,KP_End";*/
93
-/*      kb-row-select: "Control+space";*/
94
-/*      kb-screenshot: "Alt+S";*/
95
-/*      kb-toggle-case-sensitivity: "grave,dead_grave";*/
96
-/*      kb-toggle-sort: "Alt+grave";*/
97
-/*      kb-cancel: "Escape,Control+g,Control+bracketleft";*/
98
-/*      kb-custom-1: "Alt+1";*/
99
-/*      kb-custom-2: "Alt+2";*/
100
-/*      kb-custom-3: "Alt+3";*/
101
-/*      kb-custom-4: "Alt+4";*/
102
-/*      kb-custom-5: "Alt+5";*/
103
-/*      kb-custom-6: "Alt+6";*/
104
-/*      kb-custom-7: "Alt+7";*/
105
-/*      kb-custom-8: "Alt+8";*/
106
-/*      kb-custom-9: "Alt+9";*/
107
-/*      kb-custom-10: "Alt+0";*/
108
-/*      kb-custom-11: "Alt+exclam";*/
109
-/*      kb-custom-12: "Alt+at";*/
110
-/*      kb-custom-13: "Alt+numbersign";*/
111
-/*      kb-custom-14: "Alt+dollar";*/
112
-/*      kb-custom-15: "Alt+percent";*/
113
-/*      kb-custom-16: "Alt+dead_circumflex";*/
114
-/*      kb-custom-17: "Alt+ampersand";*/
115
-/*      kb-custom-18: "Alt+asterisk";*/
116
-/*      kb-custom-19: "Alt+parenleft";*/
117
-/*      kb-select-1: "Super+1";*/
118
-/*      kb-select-2: "Super+2";*/
119
-/*      kb-select-3: "Super+3";*/
120
-/*      kb-select-4: "Super+4";*/
121
-/*      kb-select-5: "Super+5";*/
122
-/*      kb-select-6: "Super+6";*/
123
-/*      kb-select-7: "Super+7";*/
124
-/*      kb-select-8: "Super+8";*/
125
-/*      kb-select-9: "Super+9";*/
126
-/*      kb-select-10: "Super+0";*/
127
-/*      ml-row-left: "ScrollLeft";*/
128
-/*      ml-row-right: "ScrollRight";*/
129
-/*      ml-row-up: "ScrollUp";*/
130
-/*      ml-row-down: "ScrollDown";*/
131
-/*      me-select-entry: "MousePrimary";*/
132
-/*      me-accept-entry: "MouseDPrimary";*/
133
-/*      me-accept-custom: "Control+MouseDPrimary";*/
134
-}

+ 21
- 0
rofi.rasi View File

@@ -0,0 +1,21 @@
1
+configuration {
2
+        modi: "run,drun";
3
+        width: 55;
4
+        lines: 25;
5
+        columns: 2;
6
+        font: "Iosevka SS04 12";
7
+        show-icons: true;
8
+        terminal: "kitty -1";
9
+        ssh-client: "ssh";
10
+        ssh-command: "{terminal} {ssh-client} {host}";
11
+        run-command: "{cmd}";
12
+        run-shell-command: "{terminal} {cmd}";
13
+        drun-match-fields: "name,generic,exec,categories,comment";
14
+        drun-display-format: "{name} [({comment})]";
15
+        matching: "normal";
16
+        theme: "theme";
17
+        display-window: "▣";
18
+        display-run: "▲";
19
+        display-ssh: "◆";
20
+        display-drun: "▶";
21
+}

Loading…
Cancel
Save