switched to river

This commit is contained in:
λmolinae 2025-08-12 23:01:17 -06:00
parent cef35c17b9
commit 292301ce60
204 changed files with 3513 additions and 965 deletions

View file

@ -1,86 +1,18 @@
{
"display": {
"separator": "- "
},
"modules": [
"break",
{
"type": "title",
"keyWidth": 10
},
"break",
{
"type": "os",
"key": "󰟀 ",
"keyColor": "34", // = color4
},
{
"type": "kernel",
"key": " ",
"keyColor": "34",
},
{
"type": "cpu",
"key": " ",
"keyColor": "34",
},
{
"type": "memory",
"key": " ",
"keyColor": "34",
},
{
"type": "packages",
"format": "{} (apk)",
"key": "󰏓 ",
"keyColor": "34",
},
{
"type": "shell",
"key": " ",
"keyColor": "34",
},
{
"type": "terminal",
"key": " ",
"keyColor": "34",
},
{
"type": "wm",
"key": " ",
"keyColor": "34",
},
{
"type": "cursor",
"key": "󰇀 ",
"keyColor": "34",
},
{
"type": "terminalfont",
"key": "󰛖 ",
"keyColor": "34",
},
{
"type": "uptime",
"key": "󱎫 ",
"keyColor": "34",
},
{
"type": "media",
"key": "󰎇 ",
"keyColor": "34",
},
{
"type": "player",
"key": "󰲑 ",
"keyColor": "34",
},
"break",
{
"type": "custom",
"format": "\u001b[31m \u001b[31m \u001b[32m \u001b[33m \u001b[34m \u001b[35m \u001b[36m "
},
"break",
"break",
]
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
"logo": {
"type": "none"
},
"modules": [
"break",
"title",
"separator",
"os",
"packages",
"shell",
"wm",
"terminal",
"break"
]
}

View file

@ -2,10 +2,10 @@
shell=/bin/zsh
term=xterm-256color
title=foot
font=CommitMono,Arimo Nerd Font
font=CommitMono
letter-spacing=0
dpi-aware=yes
include = ~/.cache/hellwal/foot-colors.ini
include = ~/.cache/wal/colors-foot.ini
[colors]
alpha=0.85

View file

@ -1,22 +0,0 @@
[main]
dpi-aware=yes
icon-theme=Papirus-Dark
width=24
font=CommitMono,Arimo Nerd Font
lines=14
line-height=16
horizontal-pad=24
fields=name,generic,comment,categories,filename,keywords
terminal=footclient -e
prompt="> "
show-actions=yes
exit-on-keyboard-focus-loss=yes
include = ~/.cache/hellwal/fuzzel-colors.ini
[border]
radius=0
width=2
[dmenu]
exit-immediately-if-empty=yes

13
.config/gtk-3.0/gtk.css Normal file
View file

@ -0,0 +1,13 @@
/* No (default) title bar on wayland */
headerbar.default-decoration {
/* You may need to tweak these values depending on your GTK theme */
margin-bottom: 50px;
margin-top: -100px;
}
/* rm -rf window shadows */
window.csd, /* gtk4? */
window.csd decoration { /* gtk3 */
box-shadow: none;
}

View file

@ -1,45 +0,0 @@
/* Generated by hellwal - example how to use alpha*/
:root {
--wallpaper: url("%%wallpaper%%");
--background: #%%background%%;
--foreground: #%%foreground%%;
--cursor: #%%cursor%%;
--border: #%%border%%;
--color0: #%%color0.hex%%;
--color1: #%%color1.hex%%;
--color2: #%%color2.hex%%;
--color3: #%%color3.hex%%;
--color4: #%%color4.hex%%;
--color0a: #%%color0 alpha=0.8 %%;
--color1a: #%%color1.hex alpha=0.8 %%;
--color14a: #%%color14 alpha=0.3 %%;
--color15a: #%%color15.hex alpha=0.3 %%;
--color0rgb: rgb(%%color0.rgb%%);
--color1rgb: rgb(%%color1.rgb%%);
--color2rgb: rgb(%%color2.rgb%%);
--color3rgb: rgb(%%color3.rgb%%);
--color4rgb: rgb(%%color4.rgb%%);
--color0rgba: rgba(%%color0.rgb alpha=.9%%);
--color1rgba: rgba(%%color1.rgb alpha=.9%%);
--color2rgba: rgba(%%color2.rgb alpha=.9%%);
--color3rgba: rgba(%%color3.rgb alpha=.7%%);
--color4rgba: rgba(%%color4.rgb alpha=.7%%);
}

View file

@ -1,21 +0,0 @@
#%% background.hex %%
#%% foreground.hex %%
#%% cursor.hex %%
#%% border.hex %%
#%% color0.hex %%
#%% color1.hex %%
#%% color2.hex %%
#%% color3.hex %%
#%% color4.hex %%
#%% color5.hex %%
#%% color6.hex %%
#%% color7.hex %%
#%% color8.hex %%
#%% color9.hex %%
#%% color10.hex %%
#%% color11.hex %%
#%% color12.hex %%
#%% color13.hex %%
#%% color14.hex %%
#%% color15.hex %%

View file

@ -1,21 +0,0 @@
%% background.rgb %%
%% foreground.rgb %%
%% cursor.rgb %%
%% border.rgb %%
%% color0.rgb %%
%% color1.rgb %%
%% color2.rgb %%
%% color3.rgb %%
%% color4.rgb %%
%% color5.rgb %%
%% color6.rgb %%
%% color7.rgb %%
%% color8.rgb %%
%% color9.rgb %%
%% color10.rgb %%
%% color11.rgb %%
%% color12.rgb %%
%% color13.rgb %%
%% color14.rgb %%
%% color15.rgb %%

View file

@ -1,26 +0,0 @@
/* Generated by hellwal */
:root {
--wallpaper: url("%%wallpaper%%");
--background: #%%background%%;
--foreground: #%%foreground%%;
--cursor: #%%cursor%%;
--border: #%%border%%;
--color0: #%%color0.hex%%;
--color1: #%%color1.hex%%;
--color2: #%%color2.hex%%;
--color3: #%%color3.hex%%;
--color4: #%%color4.hex%%;
--color5: #%%color5.hex%%;
--color6: #%%color6.hex%%;
--color7: #%%color7.hex%%;
--color8: #%%color8.hex%%;
--color9: #%%color9.hex%%;
--color10: #%%color10.hex%%;
--color11: #%%color11.hex%%;
--color12: #%%color12.hex%%;
--color13: #%%color13.hex%%;
--color14: #%%color14.hex%%;
--color15: #%%color15.hex%%;
}

View file

@ -1,29 +0,0 @@
{
"wallpaper": "%%wallpaper%%",
"alpha": "100",
"special": {
"background": "#%%background%%",
"foreground": "#%%foreground%%",
"cursor": "#%%cursor%%",
"border": "#%%border%%"
},
"colors": {
"color0": "#%%color0.hex%%",
"color1": "#%%color1.hex%%",
"color2": "#%%color2.hex%%",
"color3": "#%%color3.hex%%",
"color4": "#%%color4.hex%%",
"color5": "#%%color5.hex%%",
"color6": "#%%color6.hex%%",
"color7": "#%%color7.hex%%",
"color8": "#%%color8.hex%%",
"color9": "#%%color9.hex%%",
"color10": "#%%color10.hex%%",
"color11": "#%%color11.hex%%",
"color12": "#%%color12.hex%%",
"color13": "#%%color13.hex%%",
"color14": "#%%color14.hex%%",
"color15": "#%%color15.hex%%"
}
}

View file

@ -1,26 +0,0 @@
// SCSS Variables
// Generated by 'hellwal'
$wallpaper: "%%wallpaper%%";
// Special
$background: #%%background%%;
$foreground: #%%foreground%%;
$cursor: #%%cursor%%;
// Colors
$color0: #%%color0.hex%%;
$color1: #%%color1.hex%%;
$color2: #%%color2.hex%%;
$color3: #%%color3.hex%%;
$color4: #%%color4.hex%%;
$color5: #%%color5.hex%%;
$color6: #%%color6.hex%%;
$color7: #%%color7.hex%%;
$color8: #%%color8.hex%%;
$color9: #%%color9.hex%%;
$color10: #%%color10.hex%%;
$color11: #%%color11.hex%%;
$color12: #%%color12.hex%%;
$color13: #%%color13.hex%%;
$color14: #%%color14.hex%%;
$color15: #%%color15.hex%%;

View file

@ -1,21 +0,0 @@
let g:hellwal_0 = '#%% color0.hex %%'
let g:hellwal_1 = '#%% color1.hex %%'
let g:hellwal_2 = '#%% color2.hex %%'
let g:hellwal_3 = '#%% color3.hex %%'
let g:hellwal_4 = '#%% color4.hex %%'
let g:hellwal_5 = '#%% color5.hex %%'
let g:hellwal_6 = '#%% color6.hex %%'
let g:hellwal_7 = '#%% color7.hex %%'
let g:hellwal_8 = '#%% color8.hex %%'
let g:hellwal_9 = '#%% color9.hex %%'
let g:hellwal_10 = '#%% color10.hex %%'
let g:hellwal_11 = '#%% color11.hex %%'
let g:hellwal_12 = '#%% color12.hex %%'
let g:hellwal_13 = '#%% color13.hex %%'
let g:hellwal_14 = '#%% color14.hex %%'
let g:hellwal_15 = '#%% color15.hex %%'
let g:hellwal_background = '#%% background.hex %%'
let g:hellwal_foreground = '#%% foreground.hex %%'
let g:hellwal_border = '#%% border.hex %%'
let g:hellwal_cursor = '#%% cursor.hex %%'

View file

@ -1,5 +0,0 @@
static uint32_t colors[][3] = {
/* fg bg */
[SchemeNorm] = { 0x%%color15.hex%%ff, 0x%%color0.hex%%ff },
[SchemeSel] = { 0x%%color15.hex%%ff, 0x%%color2.hex%%ff },
};

View file

@ -1,21 +0,0 @@
--background: #%% background.hex %%;
--foreground: #%% foreground.hex %%;
--cursor: #%% cursor.hex %%;
--border: #%% border.hex %%;
--color0: #%% color0.hex %%;
--color1: #%% color1.hex %%;
--color2: #%% color2.hex %%;
--color3: #%% color3.hex %%;
--color4: #%% color4.hex %%;
--color5: #%% color5.hex %%;
--color6: #%% color6.hex %%;
--color7: #%% color7.hex %%;
--color8: #%% color8.hex %%;
--color9: #%% color9.hex %%;
--color10: #%% color10.hex %%;
--color11: #%% color11.hex %%;
--color12: #%% color12.hex %%;
--color13: #%% color13.hex %%;
--color14: #%% color14.hex %%;
--color15: #%% color15.hex %%;

View file

@ -1,9 +0,0 @@
#define WALLPAPER "%%wallpaper%%"
static const float rootcolor[] = COLOR(0x%%color0.hex%%ff);
static uint32_t colors[][3] = {
/* fg bg border */
[SchemeNorm] = { 0x%%color15.hex%%ff, 0x%%color0.hex%%ff, 0x%%color8.hex%%ff },
[SchemeSel] = { 0x%%color15.hex%%ff, 0x%%color2.hex%%ff, 0x%%color1.hex%%ff },
[SchemeUrg] = { 0x%%color15.hex%%ff, 0x%%color1.hex%%ff, 0x%%color2.hex%%ff },
};

View file

@ -1,6 +0,0 @@
#define WALLPAPER "%%wallpaper%%"
static const float rootcolor[] = COLOR(0x%%color0.hex%%ff);
static const float bordercolor[] = COLOR(0x%%color2.hex%%ff);
static const float focuscolor[] = COLOR(0x%%color2.hex%%ff);
static const float urgentcolor[] = COLOR(0x%%color1.hex%%ff);

View file

@ -1,23 +0,0 @@
[colors]
background=%%background%%
foreground=%%foreground%%
regular0=%%color0.hex%%
regular1=%%color1.hex%%
regular2=%%color2.hex%%
regular3=%%color3.hex%%
regular4=%%color4.hex%%
regular5=%%color5.hex%%
regular6=%%color6.hex%%
regular7=%%color7.hex%%
bright0=%%color8.hex%%
bright1=%%color9.hex%%
bright2=%%color10.hex%%
bright3=%%color11.hex%%
bright4=%%color12.hex%%
bright5=%%color13.hex%%
bright6=%%color14.hex%%
bright7=%%color15.hex%%
[cursor]
color=%%cursor%% %%border%%

View file

@ -1,21 +0,0 @@
background = "#%% background.hex %%"
foreground = "#%% foreground.hex %%"
cursor = "#%% cursor.hex %%"
border = "#%% border.hex %%"
color0 = "#%% color0.hex %%"
color1 = "#%% color1.hex %%"
color2 = "#%% color2.hex %%"
color3 = "#%% color3.hex %%"
color4 = "#%% color4.hex %%"
color5 = "#%% color5.hex %%"
color6 = "#%% color6.hex %%"
color7 = "#%% color7.hex %%"
color8 = "#%% color8.hex %%"
color9 = "#%% color9.hex %%"
color10 = "#%% color10.hex %%"
color11 = "#%% color11.hex %%"
color12 = "#%% color12.hex %%"
color13 = "#%% color13.hex %%"
color14 = "#%% color14.hex %%"
color15 = "#%% color15.hex %%"

View file

@ -1,19 +0,0 @@
$background = rgb(%%background%%)
$foreground = rgb(%%foreground%%)
$color0 = rgb(%%color0%%)
$color1 = rgb(%%color1%%)
$color2 = rgb(%%color2%%)
$color3 = rgb(%%color3%%)
$color4 = rgb(%%color4%%)
$color5 = rgb(%%color5%%)
$color6 = rgb(%%color6%%)
$color7 = rgb(%%color7%%)
$color8 = rgb(%%color8%%)
$color9 = rgb(%%color9%%)
$color10 = rgb(%%color10%%)
$color11 = rgb(%%color11%%)
$color12 = rgb(%%color12%%)
$color13 = rgb(%%color13%%)
$color14 = rgb(%%color14%%)
$color15 = rgb(%%color15%%)

View file

@ -1,3 +0,0 @@
background-color=#%%background%%
text-color=#%%foreground%%
border-color=#%%color1%%

View file

@ -1,167 +0,0 @@
* {
active-background: #%% color2.hex %%;
active-foreground: #%% foreground.hex %%;
normal-background: #%% background.hex %%;
normal-foreground: #%% foreground.hex %%;
urgent-background: #%% color1.hex %%;
urgent-foreground: #%% foreground.hex %%;
alternate-active-background: #%% background.hex %%;
alternate-active-foreground: #%% foreground.hex %%;
alternate-normal-background: #%% background.hex %%;
alternate-normal-foreground: #%% foreground.hex %%;
alternate-urgent-background: #%% background.hex %%;
alternate-urgent-foreground: #%% foreground.hex %%;
selected-active-background: #%% color1.hex %%;
selected-active-foreground: #%% foreground.hex %%;
selected-normal-background: #%% color2.hex %%;
selected-normal-foreground: #%% foreground.hex %%;
selected-urgent-background: #%% color3.hex %%;
selected-urgent-foreground: #%% foreground.hex %%;
background-color: #%% background.hex %%;
background: #%% background.hex %%;
foreground: #%% foreground.hex %%;
border-color: @active-background;
spacing: 2;
}
window {
background-color: @background;
border-color: @active-background;
border: 3;
padding: 2.5ch;
}
mainbox {
border: 0;
padding: 0;
}
message {
border: 2px 0px 0px;
border-color: @border-color;
padding: 1px;
}
textbox {
text-color: @foreground;
}
inputbar {
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
}
textbox-prompt-colon {
expand: false;
str: ":";
margin: 0px 0.3em 0em 0em;
text-color: @normal-foreground;
}
listview {
fixed-height: 0;
border: 2px 0px 0px;
border-color: @border-color;
spacing: 2px;
scrollbar: true;
padding: 2px 0px 0px;
}
element {
order: 0;
padding: 1px;
}
element-text, element-icon {
background-color: inherit;
text-color: inherit;
}
element.normal.normal {
background-color: @normal-background;
text-color: @normal-foreground;
}
element.normal.urgent {
background-color: @urgent-background;
text-color: @urgent-foreground;
}
element.normal.active {
background-color: @active-background;
text-color: @active-foreground;
}
element.selected.normal {
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
}
element.selected.urgent {
background-color: @selected-urgent-background;
text-color: @selected-urgent-foreground;
}
element.selected.active {
background-color: @selected-active-background;
text-color: @selected-active-foreground;
}
element.alternate.normal {
background-color: @alternate-normal-background;
text-color: @alternate-normal-foreground;
}
element.alternate.urgent {
background-color: @alternate-urgent-background;
text-color: @alternate-urgent-foreground;
}
element.alternate.active {
background-color: @alternate-active-background;
text-color: @alternate-active-foreground;
}
scrollbar {
width: 4px;
border: 0;
handle-width: 8px;
padding: 0;
}
sidebar {
border: 2px 0px 0px;
border-color: @border-color;
}
button {
text-color: @normal-foreground;
}
button.selected {
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
}
inputbar {
spacing: 0;
text-color: @normal-foreground;
padding: 1px;
}
case-indicator {
spacing: 0;
text-color: @normal-foreground;
}
entry {
spacing: 0;
text-color: @normal-foreground;
}
prompt {
spacing: 0;
text-color: @normal-foreground;
}

View file

@ -1,31 +0,0 @@
# Set term colors script - Generated by hellwal
# Colors from 0-15
printf "\033]4;0;#%%color0.hex%%\033\\"
printf "\033]4;1;#%%color1.hex%%\033\\"
printf "\033]4;2;#%%color2.hex%%\033\\"
printf "\033]4;3;#%%color3.hex%%\033\\"
printf "\033]4;4;#%%color4.hex%%\033\\"
printf "\033]4;5;#%%color5.hex%%\033\\"
printf "\033]4;6;#%%color6.hex%%\033\\"
printf "\033]4;7;#%%color7.hex%%\033\\"
printf "\033]4;8;#%%color8.hex%%\033\\"
printf "\033]4;9;#%%color9.hex%%\033\\"
printf "\033]4;10;#%%color10.hex%%\033\\"
printf "\033]4;11;#%%color11.hex%%\033\\"
printf "\033]4;12;#%%color12.hex%%\033\\"
printf "\033]4;13;#%%color13.hex%%\033\\"
printf "\033]4;14;#%%color14.hex%%\033\\"
printf "\033]4;15;#%%color15.hex%%\033\\"
# Background
printf "\033]11;#%%background%%\033\\";
# Foreground
printf "\033]10;#%%foreground%%\033\\";
# Cursor
printf "\033]12;#%%cursor%%\033\\";
# Border
printf "\033]7044;#%%border%%\033\\";

View file

@ -1,35 +0,0 @@
# Generated by hellwal
wallpaper='%%wallpaper%%'
background='%%background%%'
foreground='%%foreground%%'
cursor='%%cursor%%'
border='%%border%%'
color0='%%color0.hex%%'
color1='%%color1.hex%%'
color2='%%color2.hex%%'
color3='%%color3.hex%%'
color4='%%color4.hex%%'
color5='%%color5.hex%%'
color6='%%color6.hex%%'
color7='%%color7.hex%%'
color8='%%color8.hex%%'
color9='%%color9.hex%%'
color10='%%color10.hex%%'
color11='%%color11.hex%%'
color12='%%color12.hex%%'
color13='%%color13.hex%%'
color14='%%color14.hex%%'
color15='%%color15.hex%%'
# FZF colors
export FZF_DEFAULT_OPTS="
$FZF_DEFAULT_OPTS
--color fg:7,bg:0,hl:1,fg+:232,bg+:1,hl+:255
--color info:7,prompt:2,spinner:1,pointer:232,marker:1
"
# Fix LS_COLORS being unreadable.
export LS_COLORS="${LS_COLORS}:su=30;41:ow=30;42:st=30;44:"

View file

@ -1,35 +0,0 @@
# Generated by hellwal
set wallpaper '%%wallpaper%%'
set background '%%background%%'
set foreground '%%foreground%%'
set cursor '%%cursor%%'
set border '%%border%%'
set color0 '%%color0.hex%%'
set color1 '%%color1.hex%%'
set color2 '%%color2.hex%%'
set color3 '%%color3.hex%%'
set color4 '%%color4.hex%%'
set color5 '%%color5.hex%%'
set color6 '%%color6.hex%%'
set color7 '%%color7.hex%%'
set color8 '%%color8.hex%%'
set color9 '%%color9.hex%%'
set color10 '%%color10.hex%%'
set color11 '%%color11.hex%%'
set color12 '%%color12.hex%%'
set color13 '%%color13.hex%%'
set color14 '%%color14.hex%%'
set color15 '%%color15.hex%%'
# FZF colors
export FZF_DEFAULT_OPTS="
$FZF_DEFAULT_OPTS
--color fg:7,bg:0,hl:1,fg+:232,bg+:1,hl+:255
--color info:7,prompt:2,spinner:1,pointer:232,marker:1
"
# Fix LS_COLORS being unreadable.
export LS_COLORS="$LS_COLORS:su=30;41:ow=30;42:st=30;44:"

View file

@ -1,21 +0,0 @@
@define-color background #%%background%%;
@define-color foreground #%%foreground%%;
@define-color cursor #%%cursor%%;
@define-color border #%%border%%;
@define-color color0 #%%color0.hex%%;
@define-color color1 #%%color1.hex%%;
@define-color color2 #%%color2.hex%%;
@define-color color3 #%%color3.hex%%;
@define-color color4 #%%color4.hex%%;
@define-color color5 #%%color5.hex%%;
@define-color color6 #%%color6.hex%%;
@define-color color7 #%%color7.hex%%;
@define-color color8 #%%color8.hex%%;
@define-color color9 #%%color9.hex%%;
@define-color color10 #%%color10.hex%%;
@define-color color11 #%%color11.hex%%;
@define-color color12 #%%color12.hex%%;
@define-color color13 #%%color13.hex%%;
@define-color color14 #%%color14.hex%%;
@define-color color15 #%%color15.hex%%;

View file

@ -1,34 +0,0 @@
set recolor "true"
set recolor-keephue "true"
set completion-bg "#%%background%%"
set completion-fg "#%%foreground%%"
set completion-group-bg "#%%background%%"
set completion-group-fg "#%%color2%%"
set completion-highlight-bg "#%%foreground%%"
set completion-highlight-fg "#%%background%%"
set recolor-lightcolor "#%%background%%"
set recolor-darkcolor "#%%foreground%%"
set default-bg "#%%background%%"
set inputbar-bg "#%%background%%"
set inputbar-fg "#%%foreground%%"
set notification-bg "#%%background%%"
set notification-fg "#%%foreground%%"
set notification-error-bg "#%%color1%%"
set notification-error-fg "#%%foreground%%"
set notification-warning-bg "#%%color1%%"
set notification-warning-fg "#%%foreground%%"
set statusbar-bg "#%%background%%"
set statusbar-fg "#%%foreground%%"
set index-bg "#%%background%%"
set index-fg "#%%foreground%%"
set index-active-bg "#%%foreground%%"
set index-active-fg "#%%background%%"
set render-loading-bg "#%%background%%"
set render-loading-fg "#%%foreground%%"
set window-title-home-tilde true
set statusbar-basename true
set selection-clipboard clipboard

View file

@ -1,4 +1,4 @@
include=/home/amolinae/.cache/hellwal/mako-colors
include=/home/amolinae/.cache/wal/colors-mako
sort=-time
layer=top
width=250
@ -10,7 +10,7 @@ icons=1
max-icon-size=64
default-timeout=5000
ignore-timeout=1
font=Inconsolata 11
font=CommitMono 11
[app-name=spotify_player]

9
.config/mpv/mpv.conf Normal file
View file

@ -0,0 +1,9 @@
[image]
osc=no
osd-level=0
cursor-autohide=no
hr-seek=yes
image-display-duration=inf
loop-playlist=inf
loop-file=inf
mute=yes

@ -1 +0,0 @@
Subproject commit a02ec2e544b4defa8c319bf9bc831a2736522fdf

110
.config/river/init Executable file
View file

@ -0,0 +1,110 @@
#!/bin/sh
source $HOME/.cache/wal/colors-wal-river
# Set background and border color
riverctl background-color "0x$background"
riverctl border-color-focused "0x$color1"
riverctl border-color-unfocused "0x$color2"
riverctl spawn "slstatus | dam"
riverctl spawn "wbg "$wallpaper""
riverctl spawn "swayidle"
riverctl spawn "mako"
riverctl focus-follows-cursor always
riverctl xcursor-theme macOS 28
riverctl keyboard-layout latam
riverctl input pointer-1739-0-Synaptics_TM3276-022 events disabled
# ModKey
mod="Super"
term="foot"
menu="mew-drun"
browser="librewolf"
# Shortcuts
riverctl map normal $mod+Shift Return spawn "$term" # Terminal
riverctl map normal $mod R spawn "$menu" # Launcher
riverctl map normal $mod+Shift Q spawn "sysutils"
riverctl map normal $mod+Shift Space spawn "emojimenu"
riverctl map normal $mod E spawn "$term --title lf lf"
riverctl map normal $mod V spawn "$term --title ncpamixer ncpamixer"
riverctl map normal $mod S spawn "$term --title Spotify spotify_player"
riverctl map normal $mod+Shift spawn "$browser"
riverctl map normal $mod+Shift C spawn "camera"
riverctl map normal $mod L spawn "swaylock"
riverctl map normal $mod+Shift S spawn "aws -r"
riverctl map normal None Print spawn "aws -f"
riverctl map normal None+Shift Print spawn "art"
riverctl map normal $mod Q close
riverctl map normal Super Return zoom
riverctl map-pointer normal $mod BTN_LEFT move-view
riverctl map-pointer normal $mod BTN_RIGHT resize-view
riverctl map normal $mod D spawn "river-shifttags --shift +1"
riverctl map normal $mod A spawn "river-shifttags --shift -1"
# River
riverctl default-attach-mode after 1
# Rivercarro
riverctl map normal $mod+Shift W send-layout-cmd rivercarro "main-location top"
riverctl map normal $mod+Shift D send-layout-cmd rivercarro "main-location right"
riverctl map normal $mod+Shift A send-layout-cmd rivercarro "main-location left"
riverctl map normal $mod+Shift M send-layout-cmd rivercarro "main-location monocle"
riverctl map normal $mod N send-layout-cmd rivercarro "main-location-cycle left,right,top,monocle"
riverctl map normal $mod Z send-layout-cmd rivercarro "main-ratio -0.05"
riverctl map normal $mod X send-layout-cmd rivercarro "main-ratio +0.05"
riverctl map normal $mod+Shift H send-layout-cmd rivercarro "main-count +1"
riverctl map normal $mod+Shift L send-layout-cmd rivercarro "main-count -1"
for i in $(seq 1 9)
do
tags=$((1 << ($i - 1)))
riverctl map normal Super $i set-focused-tags $tags
riverctl map normal Super+Shift $i set-view-tags $tags
riverctl map normal Super+Control $i toggle-focused-tags $tags
riverctl map normal Super+Shift+Control $i toggle-view-tags $tags
done
all_tags=$(((1 << 32) - 1))
riverctl map normal Super 0 set-focused-tags $all_tags
riverctl map normal Super+Shift 0 set-view-tags $all_tags
# Super+Space to toggle float
riverctl map normal Super Space toggle-float
# Super+F to toggle fullscreen
riverctl map normal Super F toggle-fullscreen
for mode in normal locked
do
riverctl map normal None XF86AudioRaiseVolume spawn "wpctl set-volume -l 1.0 @DEFAULT_SINK@ 5%+ && pkill -RTMIN+2 slstatus"
riverctl map normal None XF86AudioLowerVolume spawn "wpctl set-volume -l 1.0 @DEFAULT_SINK@ 5%- && pkill -RTMIN+2 slstatus"
riverctl map normal None XF86AudioMute spawn "wpctl set-mute @DEFAULT_SINK@ toggle && pkill -RTMIN+2 slstatus"
riverctl map normal None XF86MonBrightnessUp spawn "brillo -a -u 125000 -q -A 5 && pkill -RTMIN+4 slstatus"
riverctl map normal None XF86MonBrightnessDown spawn "brillo -a -u 125000 -q -U 5 && pkill -RTMIN+4 slstatus"
done
riverctl set-repeat 25 600
riverctl hide-cursor when-typing enabled
# Make all views with an app-id that starts with "float" and title "foo" start floating.
riverctl rule-add -app-id "mpv" -title "webcam" float
# Make all views with app-id "bar" and any title use client-side decorations
riverctl rule-add -app-id "librewolf" ssd
riverctl rule-add -app-id "firefox" ssd
riverctl rule-add -app-id "org.pwmt.zathura" ssd
# River will send the process group of the init executable SIGTERM on exit.
riverctl default-layout rivercarro
rivercarro -outer-gaps 4 -inner-gaps 4 -per-tag -no-smart-gaps &

View file

@ -1,6 +1,5 @@
timeout 145 'brillo -O'
timeout 150 'brillo -a -u 150000 -S 5' resume 'brillo -u 150000 -I'
timeout 180 'swaylock -f'
timeout 300 'wlr-randr --output eDP-1 --off' resume 'wlr-randr --output eDP-1 --on'
timeout 1800 'loginctl suspend'
before-sleep 'swaylock -f'

View file

@ -1,4 +1,4 @@
image="$HOME/Pictures/desktop.png"
image="/home/amolinae/Pictures/Wallpapers/vatican.jpg"
clock
indicator
ignore-empty-password

View file

@ -0,0 +1,5 @@
static uint32_t colors[][3] = {{
/* fg bg */
[SchemeNorm] = {{ 0x{color15.strip}ff, 0x{color0.strip}ff }},
[SchemeSel] = {{ 0x{color15.strip}ff, 0x{color2.strip}ff }},
}};

View file

@ -0,0 +1,9 @@
#define WALLPAPER "{wallpaper}"
static const float rootcolor[] = COLOR(0x{color0.strip}ff);
static uint32_t colors[][3] = {{
/* fg bg border */
[SchemeNorm] = {{ 0x{color15.strip}ff, 0x{color0.strip}ff, 0x{color8.strip}ff }},
[SchemeSel] = {{ 0x{color15.strip}ff, 0x{color2.strip}ff, 0x{color1.strip}ff }},
[SchemeUrg] = {{ 0x{color15.strip}ff, 0x{color1.strip}ff, 0x{color2.strip}ff }},
}};

View file

@ -0,0 +1,6 @@
static uint32_t colors[][2] = {{
/* fg bg */
[SchemeNorm] = {{ 0x{color15.strip}ff, 0x{color0.strip}ff }},
[SchemeSel] = {{ 0x{color15.strip}ff, 0x{color2.strip}ff }},
[SchemeOut] = {{ 0x{color15.strip}ff, 0x{color1.strip}ff }},
}};

View file

@ -0,0 +1,22 @@
wallpaper="{wallpaper}"
background="{background.strip}"
foreground="{foreground.strip}"
curstor="{cursor.strip}"
border="{color8.strip}"
color0="{color0.strip}"
color1="{color1.strip}"
color2="{color2.strip}"
color3="{color3.strip}"
color4="{color4.strip}"
color5="{color5.strip}"
color6="{color6.strip}"
color7="{color7.strip}"
color8="{color8.strip}"
color9="{color9.strip}"
color10="{color10.strip}"
color11="{color11.strip}"
color12="{color12.strip}"
color13="{color13.strip}"
color14="{color14.strip}"
color15="{color15.strip}"

View file

@ -2,4 +2,4 @@ set selection-clipboard clipboard
map D set "first-page-column 1:1"
map <C-d> set "first-page-column 1:2"
include /home/amolinae/.cache/hellwal/zathura-colors
include /home/amolinae/.cache/wal/colors-zathura

1522
.config/zsh/.zcompdump Normal file

File diff suppressed because it is too large Load diff

View file

@ -15,3 +15,6 @@ export XDG_CACHE_HOME="$HOME/.cache"
export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc"
export WGETRC="$XDG_CONFIG_HOME/wget/wgetrc"
export CARGO_HOME="$XDG_DATA_HOME"/cargo
export MAKEFLAGS="-j$(nproc)"

View file

@ -1,3 +1,7 @@
case $(tty) in /dev/tty[0-9]*)
source .cache/wal/colors-tty.sh
esac
autoload -U colors && colors # Load colors
PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[red]%}@%{$fg[yellow]%}%M %{$fg[yellow]%}%~%{$fg[red]%}]%{$reset_color%}$%b "
@ -46,70 +50,21 @@ _comp_options+=(globdots) # Include hidden files.
zstyle ':completion:*' cache-path "$XDG_CACHE_HOME"/zsh/zcompcache
compinit -d "$XDG_CACHE_HOME"/zsh/zcompdump-$ZSH_VERSION
# vi mode
bindkey -v
export KEYTIMEOUT=1
# Use vim keys in tab complete menu:
bindkey -M menuselect 'h' vi-backward-char
bindkey -M menuselect 'k' vi-up-line-or-history
bindkey -M menuselect 'l' vi-forward-char
bindkey -M menuselect 'j' vi-down-line-or-history
bindkey -v '^?' backward-delete-char
# Change cursor shape for different vi modes.
function zle-keymap-select () {
case $KEYMAP in
vicmd) echo -ne '\e[1 q';; # block
viins|main) echo -ne '\e[5 q';; # beam
esac
}
zle -N zle-keymap-select
zle-line-init() {
zle -K viins # initiate `vi insert` as keymap (can be removed if `bindkey -V` has been set elsewhere)
echo -ne "\e[5 q"
}
zle -N zle-line-init
echo -ne '\e[5 q' # Use beam shape cursor on startup.
preexec() { echo -ne '\e[5 q' ;} # Use beam shape cursor for each new prompt.
# Use lf to switch directories and bind it to ctrl-o
lfcd () {
tmp="$(mktemp -uq)"
trap 'rm -f $tmp >/dev/null 2>&1 && trap - HUP INT QUIT TERM PWR EXIT' HUP INT QUIT TERM PWR EXIT
lf -last-dir-path="$tmp" "$@"
if [ -f "$tmp" ]; then
dir="$(cat "$tmp")"
[ -d "$dir" ] && [ "$dir" != "$(pwd)" ] && cd "$dir"
fi
}
bindkey -s '^o' '^ulfcd\n'
bindkey -s '^a' '^ubc -lq\n'
bindkey -s '^f' '^ucd "$(dirname "$(fzf)")"\n'
bindkey '^[[P' delete-char
# Edit line in vim with ctrl-e:
autoload edit-command-line; zle -N edit-command-line
bindkey '^e' edit-command-line
bindkey -M vicmd '^[[P' vi-delete-char
bindkey -M vicmd '^e' edit-command-line
bindkey -M visual '^[[P' vi-delete
# Aliases
alias sudo='doas'
alias neofetch='fastfetch'
alias cp='cp -i'
alias mv="mv -i"
alias ls='ls -lah'
alias vim='nvim'
alias wal='hellwal -q'
alias patch='bwroot patch'
alias tcc='bwroot tcc'
alias g++='bwroot g++'
alias gcc='bwroot gcc'
alias clang='bwroot clang'
alias make='bwroot make'
alias wal='bwroot wal --cols16'
# Commands
fastfetch

View file

@ -2,10 +2,10 @@
# amolinae's recording tool
screencast(){
case $(printf "%s\n" "󰍬 Mic ON" "󰍭 Mic OFF" | fuzzel -d -l 3) in
"󰍬 Mic ON")
case $(printf "%s\n" "󰍬 Mic ON" "󰍭 Mic OFF" | mew) in
"󰍬 Mic ON")
wf-recorder -D -a -f ~/Videos/Recordings/recording_$(date +"%Y-%m-%d_%H:%M:%S.mp4") ;;
"󰍭 Mic OFF")
"󰍭 Mic OFF")
wf-recorder -D --audio="$(pactl list short sources | grep output | awk '{print $2}')" -f ~/Videos/Recordings/recording_$(date +"%Y-%m-%d_%H:%M:%S.mp4") ;;
esac
}
@ -21,10 +21,10 @@ kill(){
}
menu(){
case $(printf "%s\n" "󰻒 Screencast" "󰕧 Video only" "󰕨 Stop recording" | fuzzel -d -l 4) in
"󰻒 Screencast") screencast;;
"󰕧 Video only") video;;
"󰕨 Stop recording") kill;;
case $(printf "%s\n" "󰻒 Screencast" "󰕧 Video only" "󰕨 Stop recording" | mew) in
"󰻒 Screencast") screencast;;
"󰕧 Video only") video;;
"󰕨 Stop recording") kill;;
*) kill;;
esac
}

View file

@ -1,6 +1,6 @@
#!/bin/sh
ROOT="${HOME:-/home/amolinae}/Documents/Miscellaneous/alpchroot"
ROOT="$HOME/Documents/Miscellaneous/alpchroot"
case "$1" in
*)

2
.local/bin/dam Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
LD_LIBRARY_PATH="$HOME"/Documents/Miscellaneous/alpchroot/usr/lib "$HOME"/.local/src/dam/dam "$@"

View file

@ -1,4 +0,0 @@
#!/bin/zsh -l
/usr/libexec/pipewire-launcher >/dev/null 2>&1
slstatus | dbus-run-session dwl >/dev/null 2>&1
touch /tmp/swaylock-sleep && inotifyd swaylock /tmp/swaylock-sleep

View file

@ -1,7 +1,7 @@
#!/bin/sh
# Get user selection via fuzzel from emoji file.
chosen="$(cut -d ';' -f1 ~/.local/share/misc/chars/* | fuzzel -d | sed "s/ .*//")"
chosen="$(cut -d ';' -f1 ~/.local/share/misc/chars/* | mew -f "CommitMono:size=18" -l 12 | sed "s/ .*//")"
# Exit if none chosen.
[ -z "$chosen" ] && exit

View file

@ -1,2 +0,0 @@
#!/bin/sh
LD_LIBRARY_PATH="$HOME"/Documents/Miscelleaneous/alpchroot/usr/lib "$HOME"/.local/src/hellwal/hellwal "$@"

2
.local/bin/imv Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
exec mpv --profile=image "$@" >/dev/null 2>&1

View file

@ -1,2 +1,2 @@
#!/bin/sh
LD_LIBRARY_PATH="$HOME"/Documents/Miscelleaneous/alpchroot/usr/lib "$HOME"/.local/src/dwl/dwl "$@"
LD_LIBRARY_PATH="$HOME"/Documents/Miscelleaneous/alpchroot/usr/lib "$HOME"/.local/src/mew/mew "$@"

28
.local/bin/mew-drun Executable file
View file

@ -0,0 +1,28 @@
#!/bin/sh
cache=""$HOME"/.cache/mew_drun"
dirs="$HOME/.local/share/applications/ /usr/share/applications/"
build_cache() {
find $dirs -type f -name "*.desktop" | \
xargs -n1 basename | \
sed 's/\.desktop$//' | \
sort -u > $cache
}
check_cache() {
[ -f "$cache" ] || build_cache
for d in $dirs; do
[ "$d" -nt "$cache" ] && return 0
done
find $dirs -type f -name '*.desktop' -newer "$cache" -print -quit | \
grep -q . && return 0
return 1
}
check_cache && build_cache
choice="$(mew < "$cache")"
gtk-launch $choice

View file

@ -1,7 +1,7 @@
#!/bin/sh
if [[ ! -z "$(pgrep wf-recorder)" ]]; then
printf " [ REC 󰑊 ] \n"
printf " | REC 󰑊 \n"
else
printf " \n"
fi

5
.local/bin/riverlaunch Executable file
View file

@ -0,0 +1,5 @@
#!/bin/zsh -l
/usr/libexec/pipewire-launcher >/dev/null 2>&1
dbus-run-session river
exec touch /tmp/swaylock-sleep && inotifyd swaylock /tmp/swaylock-sleep

36
.local/bin/setbg Executable file
View file

@ -0,0 +1,36 @@
#!/bin/sh
recompile(){
cd "$HOME"/.local/src/"$1"; touch config.h
bwroot make clean install >/dev/null 2>&1
}
set_palette(){
riverctl background-color "0x$background"
riverctl border-color-focused "0x$color1"
riverctl border-color-unfocused "0x$color2"
sed -i "s|^image=\".*\"|image=\"$wallpaper\"|" $HOME/.config/swaylock/config
makoctl reload
kill $(pidof wbg) || echo "Executing wbg" && wbg $wallpaper >/dev/null 2>&1 &
notify-send " Enjoy your color palette!"
}
if [ -f "$1" ]; then
bwroot wal -i "$1" --cols16
else
echo "ERROR: Invalid file"; exit 1
fi
source $HOME/.cache/wal/colors-wal-river
for i in "dam" "mew"; do
recompile "$i"; echo "Applying colorscheme to $i"
if [ "$i" == "dam" ]; then
kill "$(pidof dam)" || echo "Executing bar" && slstatus | dam &
fi
done
set_palette

View file

@ -1,12 +0,0 @@
#!/bin/sh
steps="5"
device="intel_backlight"
delay="125000"
case "$1" in
increase) brillo -s $device -u $delay -q -A $steps ;;
decrease) brillo -s $device -u $delay -q -U $steps ;;
-h|*) echo "usage: setbr increase|decrease" >&2; exit 1; ;;
esac
pkill -RTMIN+4 slstatus

View file

@ -1,19 +0,0 @@
#!/bin/sh
steps="5"
dev=@DEFAULT_SINK@
! [ "$1" = '-m' ] || { dev=@DEFAULT_SOURCE@; shift; }
send_signal(){
if [ "$dev" == "@DEFAULT_SINK@" ]; then
pkill -RTMIN+2 slstatus
elif [ "$dev" == "@DEFAULT_SOURCE@" ]; then
pkill -RTMIN+3 slstatus
fi
}
case "$1" in
mute) wpctl set-mute "$dev" toggle; send_signal ;;
up) wpctl set-volume -l 1.0 "$dev" "$steps"%+; send_signal ;;
down) wpctl set-volume -l 1.0 "$dev" "$steps"%-; send_signal ;;
-h|*) echo "usage: setvol [-m] up|down|mute" >&2; exit 1; ;;
esac

View file

@ -1,29 +1,32 @@
#!/bin/sh
case $(printf "%s\n" " Lock session" "󰍃 Log out" "󱂬 Kill process" "󰤄 Suspend" " Reboot" "󰐥 Shut down" | fuzzel -d -l 7) in
" Lock session")
swaylock
;;
"󰍃 Log out")
if pidof dwl > /dev/null; then
kill "$(pidof dwl)"
elif pidof river > /dev/null; then
kill "$(pidof river)"
fi
;;
"󱂬 Kill process")
ps -o pid,comm,user | \
main(){
case $(printf "%s\n" " Lock session" "󰍃 Log out" "󱂬 Kill process" "󰤄 Suspend" " Reboot" "󰐥 Shut down" | mew) in
" Lock session")
swaylock
;;
"󰍃 Log out")
if pidof dwl > /dev/null; then
kill "$(pidof dwl)"
elif pidof river > /dev/null; then
kill "$(pidof river)"
fi
;;
"󱂬 Kill process")
ps -o pid,comm,user | \
awk -v u="$USER" '$3 == u { print $1, $2 }' | \
fuzzel -d -l 10 -p "Kill: " | awk '{ print $1 }' | \
mew -p "Kill: " -l 8 | awk '{ print $1 }' | \
xargs -r kill
;;
"󰤄 Suspend")
loginctl suspend
;;
" Reboot")
loginctl reboot
;;
"󰐥 Shut down")
loginctl poweroff
esac
;;
"󰤄 Suspend")
loginctl suspend
;;
" Reboot")
loginctl reboot
;;
"󰐥 Shut down")
loginctl poweroff
esac
}
main; exit

14
.local/bin/welcome Executable file
View file

@ -0,0 +1,14 @@
#!/bin/sh
data="$HOME/.local/share/misc/welcome/data"
line=1
while true; do
clear; sed -n "$line,+4p" "$data"
printf "\n%s\n" "Press [ SHIFT ] + [ F1 ] to open the manual, Press [ CTRL ] + [ C ] to exit"
line=$((line+5))
[ "$(wc -l < "$data")" -lt "$line" ] && line=1
sleep 5
done

View file

@ -1,3 +0,0 @@
[Icon Theme]
Name=macOS-White
Inherits="macOS-White"

View file

@ -1 +0,0 @@
link

View file

@ -1 +0,0 @@
left_ptr

View file

@ -1 +0,0 @@
bottom_right_corner

View file

@ -1 +0,0 @@
top_side

View file

@ -1 +0,0 @@
bottom_right_corner

View file

@ -1 +0,0 @@
plus

View file

@ -1 +0,0 @@
crossed_circle

View file

@ -1 +0,0 @@
move

View file

@ -1 +0,0 @@
sb_h_double_arrow

View file

@ -1 +0,0 @@
cross

View file

@ -1 +0,0 @@
left_ptr

View file

@ -1 +0,0 @@
question_arrow

Some files were not shown because too many files have changed in this diff Show more