Compare commits
10 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
d004c496b7 | ||
|
67f91626b9 | ||
cf2bf87146 | |||
ae7cc50cac | |||
158fa4ce30 | |||
8ded1fd74a | |||
8d716fffcb | |||
b177001197 | |||
1dd73e4d87 | |||
4870752e55 |
@ -1,48 +0,0 @@
|
|||||||
import = ["/home/trianta/.config/alacritty/catppuccin/catppuccin-mocha.toml"]
|
|
||||||
|
|
||||||
[cursor.style]
|
|
||||||
shape = "Underline"
|
|
||||||
|
|
||||||
[env]
|
|
||||||
TERM = "xterm-256color"
|
|
||||||
|
|
||||||
[font]
|
|
||||||
size = 11
|
|
||||||
|
|
||||||
[colors]
|
|
||||||
footer_bar = { foreground = "#181818", background = "#d8d8d8" }
|
|
||||||
|
|
||||||
[font.normal]
|
|
||||||
family = "HackNerdFont"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
action = "ScrollPageUp"
|
|
||||||
key = "PageUp"
|
|
||||||
mode = "~Alt"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
action = "ScrollPageDown"
|
|
||||||
key = "PageDown"
|
|
||||||
mode = "~Alt"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
action = "ScrollToTop"
|
|
||||||
key = "Home"
|
|
||||||
mode = "~Alt"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[[keyboard.bindings]]
|
|
||||||
action = "ScrollToBottom"
|
|
||||||
key = "End"
|
|
||||||
mode = "~Alt"
|
|
||||||
mods = "Shift"
|
|
||||||
|
|
||||||
[shell]
|
|
||||||
args = ["--login"]
|
|
||||||
program = "/bin/zsh"
|
|
||||||
|
|
||||||
[window]
|
|
||||||
opacity = 0.5
|
|
||||||
|
|
@ -1,75 +0,0 @@
|
|||||||
[colors.primary]
|
|
||||||
background = "#303446"
|
|
||||||
foreground = "#C6D0F5"
|
|
||||||
dim_foreground = "#C6D0F5"
|
|
||||||
bright_foreground = "#C6D0F5"
|
|
||||||
|
|
||||||
[colors.cursor]
|
|
||||||
text = "#303446"
|
|
||||||
cursor = "#F2D5CF"
|
|
||||||
|
|
||||||
[colors.vi_mode_cursor]
|
|
||||||
text = "#303446"
|
|
||||||
cursor = "#BABBF1"
|
|
||||||
|
|
||||||
[colors.search.matches]
|
|
||||||
foreground = "#303446"
|
|
||||||
background = "#A5ADCE"
|
|
||||||
|
|
||||||
[colors.search.focused_match]
|
|
||||||
foreground = "#303446"
|
|
||||||
background = "#A6D189"
|
|
||||||
|
|
||||||
[colors.footer_bar]
|
|
||||||
foreground = "#303446"
|
|
||||||
background = "#A5ADCE"
|
|
||||||
|
|
||||||
[colors.hints.start]
|
|
||||||
foreground = "#303446"
|
|
||||||
background = "#E5C890"
|
|
||||||
|
|
||||||
[colors.hints.end]
|
|
||||||
foreground = "#303446"
|
|
||||||
background = "#A5ADCE"
|
|
||||||
|
|
||||||
[colors.selection]
|
|
||||||
text = "#303446"
|
|
||||||
background = "#F2D5CF"
|
|
||||||
|
|
||||||
[colors.normal]
|
|
||||||
black = "#51576D"
|
|
||||||
red = "#E78284"
|
|
||||||
green = "#A6D189"
|
|
||||||
yellow = "#E5C890"
|
|
||||||
blue = "#8CAAEE"
|
|
||||||
magenta = "#F4B8E4"
|
|
||||||
cyan = "#81C8BE"
|
|
||||||
white = "#B5BFE2"
|
|
||||||
|
|
||||||
[colors.bright]
|
|
||||||
black = "#626880"
|
|
||||||
red = "#E78284"
|
|
||||||
green = "#A6D189"
|
|
||||||
yellow = "#E5C890"
|
|
||||||
blue = "#8CAAEE"
|
|
||||||
magenta = "#F4B8E4"
|
|
||||||
cyan = "#81C8BE"
|
|
||||||
white = "#A5ADCE"
|
|
||||||
|
|
||||||
[colors.dim]
|
|
||||||
black = "#51576D"
|
|
||||||
red = "#E78284"
|
|
||||||
green = "#A6D189"
|
|
||||||
yellow = "#E5C890"
|
|
||||||
blue = "#8CAAEE"
|
|
||||||
magenta = "#F4B8E4"
|
|
||||||
cyan = "#81C8BE"
|
|
||||||
white = "#B5BFE2"
|
|
||||||
|
|
||||||
[[colors.indexed_colors]]
|
|
||||||
index = 16
|
|
||||||
color = "#EF9F76"
|
|
||||||
|
|
||||||
[[colors.indexed_colors]]
|
|
||||||
index = 17
|
|
||||||
color = "#F2D5CF"
|
|
@ -1,75 +0,0 @@
|
|||||||
[colors.primary]
|
|
||||||
background = "#EFF1F5"
|
|
||||||
foreground = "#4C4F69"
|
|
||||||
dim_foreground = "#4C4F69"
|
|
||||||
bright_foreground = "#4C4F69"
|
|
||||||
|
|
||||||
[colors.cursor]
|
|
||||||
text = "#EFF1F5"
|
|
||||||
cursor = "#DC8A78"
|
|
||||||
|
|
||||||
[colors.vi_mode_cursor]
|
|
||||||
text = "#EFF1F5"
|
|
||||||
cursor = "#7287FD"
|
|
||||||
|
|
||||||
[colors.search.matches]
|
|
||||||
foreground = "#EFF1F5"
|
|
||||||
background = "#6C6F85"
|
|
||||||
|
|
||||||
[colors.search.focused_match]
|
|
||||||
foreground = "#EFF1F5"
|
|
||||||
background = "#40A02B"
|
|
||||||
|
|
||||||
[colors.footer_bar]
|
|
||||||
foreground = "#EFF1F5"
|
|
||||||
background = "#6C6F85"
|
|
||||||
|
|
||||||
[colors.hints.start]
|
|
||||||
foreground = "#EFF1F5"
|
|
||||||
background = "#DF8E1D"
|
|
||||||
|
|
||||||
[colors.hints.end]
|
|
||||||
foreground = "#EFF1F5"
|
|
||||||
background = "#6C6F85"
|
|
||||||
|
|
||||||
[colors.selection]
|
|
||||||
text = "#EFF1F5"
|
|
||||||
background = "#DC8A78"
|
|
||||||
|
|
||||||
[colors.normal]
|
|
||||||
black = "#5C5F77"
|
|
||||||
red = "#D20F39"
|
|
||||||
green = "#40A02B"
|
|
||||||
yellow = "#DF8E1D"
|
|
||||||
blue = "#1E66F5"
|
|
||||||
magenta = "#EA76CB"
|
|
||||||
cyan = "#179299"
|
|
||||||
white = "#ACB0BE"
|
|
||||||
|
|
||||||
[colors.bright]
|
|
||||||
black = "#6C6F85"
|
|
||||||
red = "#D20F39"
|
|
||||||
green = "#40A02B"
|
|
||||||
yellow = "#DF8E1D"
|
|
||||||
blue = "#1E66F5"
|
|
||||||
magenta = "#EA76CB"
|
|
||||||
cyan = "#179299"
|
|
||||||
white = "#BCC0CC"
|
|
||||||
|
|
||||||
[colors.dim]
|
|
||||||
black = "#5C5F77"
|
|
||||||
red = "#D20F39"
|
|
||||||
green = "#40A02B"
|
|
||||||
yellow = "#DF8E1D"
|
|
||||||
blue = "#1E66F5"
|
|
||||||
magenta = "#EA76CB"
|
|
||||||
cyan = "#179299"
|
|
||||||
white = "#ACB0BE"
|
|
||||||
|
|
||||||
[[colors.indexed_colors]]
|
|
||||||
index = 16
|
|
||||||
color = "#FE640B"
|
|
||||||
|
|
||||||
[[colors.indexed_colors]]
|
|
||||||
index = 17
|
|
||||||
color = "#DC8A78"
|
|
@ -1,75 +0,0 @@
|
|||||||
[colors.primary]
|
|
||||||
background = "#24273A"
|
|
||||||
foreground = "#CAD3F5"
|
|
||||||
dim_foreground = "#CAD3F5"
|
|
||||||
bright_foreground = "#CAD3F5"
|
|
||||||
|
|
||||||
[colors.cursor]
|
|
||||||
text = "#24273A"
|
|
||||||
cursor = "#F4DBD6"
|
|
||||||
|
|
||||||
[colors.vi_mode_cursor]
|
|
||||||
text = "#24273A"
|
|
||||||
cursor = "#B7BDF8"
|
|
||||||
|
|
||||||
[colors.search.matches]
|
|
||||||
foreground = "#24273A"
|
|
||||||
background = "#A5ADCB"
|
|
||||||
|
|
||||||
[colors.search.focused_match]
|
|
||||||
foreground = "#24273A"
|
|
||||||
background = "#A6DA95"
|
|
||||||
|
|
||||||
[colors.footer_bar]
|
|
||||||
foreground = "#24273A"
|
|
||||||
background = "#A5ADCB"
|
|
||||||
|
|
||||||
[colors.hints.start]
|
|
||||||
foreground = "#24273A"
|
|
||||||
background = "#EED49F"
|
|
||||||
|
|
||||||
[colors.hints.end]
|
|
||||||
foreground = "#24273A"
|
|
||||||
background = "#A5ADCB"
|
|
||||||
|
|
||||||
[colors.selection]
|
|
||||||
text = "#24273A"
|
|
||||||
background = "#F4DBD6"
|
|
||||||
|
|
||||||
[colors.normal]
|
|
||||||
black = "#494D64"
|
|
||||||
red = "#ED8796"
|
|
||||||
green = "#A6DA95"
|
|
||||||
yellow = "#EED49F"
|
|
||||||
blue = "#8AADF4"
|
|
||||||
magenta = "#F5BDE6"
|
|
||||||
cyan = "#8BD5CA"
|
|
||||||
white = "#B8C0E0"
|
|
||||||
|
|
||||||
[colors.bright]
|
|
||||||
black = "#5B6078"
|
|
||||||
red = "#ED8796"
|
|
||||||
green = "#A6DA95"
|
|
||||||
yellow = "#EED49F"
|
|
||||||
blue = "#8AADF4"
|
|
||||||
magenta = "#F5BDE6"
|
|
||||||
cyan = "#8BD5CA"
|
|
||||||
white = "#A5ADCB"
|
|
||||||
|
|
||||||
[colors.dim]
|
|
||||||
black = "#494D64"
|
|
||||||
red = "#ED8796"
|
|
||||||
green = "#A6DA95"
|
|
||||||
yellow = "#EED49F"
|
|
||||||
blue = "#8AADF4"
|
|
||||||
magenta = "#F5BDE6"
|
|
||||||
cyan = "#8BD5CA"
|
|
||||||
white = "#B8C0E0"
|
|
||||||
|
|
||||||
[[colors.indexed_colors]]
|
|
||||||
index = 16
|
|
||||||
color = "#F5A97F"
|
|
||||||
|
|
||||||
[[colors.indexed_colors]]
|
|
||||||
index = 17
|
|
||||||
color = "#F4DBD6"
|
|
@ -1,75 +0,0 @@
|
|||||||
[colors.primary]
|
|
||||||
background = "#1E1E2E"
|
|
||||||
foreground = "#CDD6F4"
|
|
||||||
dim_foreground = "#CDD6F4"
|
|
||||||
bright_foreground = "#CDD6F4"
|
|
||||||
|
|
||||||
[colors.cursor]
|
|
||||||
text = "#1E1E2E"
|
|
||||||
cursor = "#F5E0DC"
|
|
||||||
|
|
||||||
[colors.vi_mode_cursor]
|
|
||||||
text = "#1E1E2E"
|
|
||||||
cursor = "#B4BEFE"
|
|
||||||
|
|
||||||
[colors.search.matches]
|
|
||||||
foreground = "#1E1E2E"
|
|
||||||
background = "#A6ADC8"
|
|
||||||
|
|
||||||
[colors.search.focused_match]
|
|
||||||
foreground = "#1E1E2E"
|
|
||||||
background = "#A6E3A1"
|
|
||||||
|
|
||||||
[colors.footer_bar]
|
|
||||||
foreground = "#1E1E2E"
|
|
||||||
background = "#A6ADC8"
|
|
||||||
|
|
||||||
[colors.hints.start]
|
|
||||||
foreground = "#1E1E2E"
|
|
||||||
background = "#F9E2AF"
|
|
||||||
|
|
||||||
[colors.hints.end]
|
|
||||||
foreground = "#1E1E2E"
|
|
||||||
background = "#A6ADC8"
|
|
||||||
|
|
||||||
[colors.selection]
|
|
||||||
text = "#1E1E2E"
|
|
||||||
background = "#F5E0DC"
|
|
||||||
|
|
||||||
[colors.normal]
|
|
||||||
black = "#45475A"
|
|
||||||
red = "#F38BA8"
|
|
||||||
green = "#A6E3A1"
|
|
||||||
yellow = "#F9E2AF"
|
|
||||||
blue = "#89B4FA"
|
|
||||||
magenta = "#F5C2E7"
|
|
||||||
cyan = "#94E2D5"
|
|
||||||
white = "#BAC2DE"
|
|
||||||
|
|
||||||
[colors.bright]
|
|
||||||
black = "#585B70"
|
|
||||||
red = "#F38BA8"
|
|
||||||
green = "#A6E3A1"
|
|
||||||
yellow = "#F9E2AF"
|
|
||||||
blue = "#89B4FA"
|
|
||||||
magenta = "#F5C2E7"
|
|
||||||
cyan = "#94E2D5"
|
|
||||||
white = "#A6ADC8"
|
|
||||||
|
|
||||||
[colors.dim]
|
|
||||||
black = "#45475A"
|
|
||||||
red = "#F38BA8"
|
|
||||||
green = "#A6E3A1"
|
|
||||||
yellow = "#F9E2AF"
|
|
||||||
blue = "#89B4FA"
|
|
||||||
magenta = "#F5C2E7"
|
|
||||||
cyan = "#94E2D5"
|
|
||||||
white = "#BAC2DE"
|
|
||||||
|
|
||||||
[[colors.indexed_colors]]
|
|
||||||
index = 16
|
|
||||||
color = "#FAB387"
|
|
||||||
|
|
||||||
[[colors.indexed_colors]]
|
|
||||||
index = 17
|
|
||||||
color = "#F5E0DC"
|
|
15
deploy.sh
15
deploy.sh
@ -1,15 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
echo "Syncing user with alacritty..."
|
|
||||||
rsync --recursive $(dirname "$0")/alacritty/ ~/.config/alacritty
|
|
||||||
echo "Syncing user with hypr..."
|
|
||||||
rsync --recursive $(dirname "$0")/hypr/ ~/.config/hypr
|
|
||||||
echo "Syncing user with nvim..."
|
|
||||||
rsync --recursive $(dirname "$0")/nvim/ ~/.config/nvim
|
|
||||||
echo "Syncing user with tmux..."
|
|
||||||
echo " Note: prefix + I for tmux setup"
|
|
||||||
mkdir -p ~/tmux
|
|
||||||
rsync --recursive $(dirname "$0")/tmux/tmux.conf ~/.config/tmux/tmux.conf
|
|
||||||
echo "Syncing user with waybar..."
|
|
||||||
rsync --recursive $(dirname "$0")/waybar/ ~/.config/waybar
|
|
||||||
echo "Syncing complete!"
|
|
@ -1,181 +0,0 @@
|
|||||||
# Config home wiki: https://wiki.hyprland.org
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
|
||||||
|
|
||||||
# Day
|
|
||||||
monitor=DP-2, highrr, 0x1080, 1, bitdepth, 10, vrr, 1
|
|
||||||
monitor=DP-3, highrr, 760x0, 1, vrr, 1
|
|
||||||
workspace = DP-3, 5
|
|
||||||
|
|
||||||
# Night
|
|
||||||
#monitor=DP-2, highrr, 0x0, 1, bitdepth, 10, vrr, 0
|
|
||||||
#monitor=DP-3, disable
|
|
||||||
|
|
||||||
# Main workspace
|
|
||||||
workspace = DP-2, 1
|
|
||||||
|
|
||||||
# Color: Catppuccin Mocha
|
|
||||||
source=~/.config/hypr/mocha.conf
|
|
||||||
|
|
||||||
# Launch applications
|
|
||||||
exec-once = hyprpaper
|
|
||||||
exec-once = waybar -c ~/.config/waybar/config.json
|
|
||||||
exec-once = syncthing --no-browser
|
|
||||||
exec-once = hyprctl setcursor Catppuccin-Mocha-Lavender 24
|
|
||||||
exec-once = xwaylandvideobridge
|
|
||||||
exec-once = linux-discord-rich-presence -c ~/.config/linux-discord-rich-presencerc
|
|
||||||
|
|
||||||
|
|
||||||
# Slow launch fix
|
|
||||||
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
|
||||||
|
|
||||||
# Default env vars.
|
|
||||||
env = XCURSOR_SIZE,20
|
|
||||||
|
|
||||||
# Nvidia environment variables
|
|
||||||
env = LIBVA_DRIVER_NAME,nvidia
|
|
||||||
env = XDG_SESSION_TYPE,wayland
|
|
||||||
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
|
||||||
env = WLR_NO_HARDWARE_CURSORS,1
|
|
||||||
#env = GBM_BACKEND,nvidia-drm
|
|
||||||
#env = WLR_DRM_NO_ATOMIC,1
|
|
||||||
|
|
||||||
# Nvidia G-Sync
|
|
||||||
env = __GL_GSYNC_ALLOWED,1
|
|
||||||
env = __GL_VRR_ALLOWED,1
|
|
||||||
|
|
||||||
input {
|
|
||||||
kb_layout = us
|
|
||||||
follow_mouse = 2
|
|
||||||
sensitivity = -.75 # -1.0 - 1.0, 0 means no modification.
|
|
||||||
}
|
|
||||||
|
|
||||||
general {
|
|
||||||
gaps_in = 5
|
|
||||||
gaps_out = 10
|
|
||||||
border_size = 0
|
|
||||||
col.active_border = 0xee$lavenderAlpha 45deg
|
|
||||||
col.inactive_border = 0xaa$overlay0Alpha
|
|
||||||
layout = dwindle
|
|
||||||
allow_tearing = false
|
|
||||||
}
|
|
||||||
|
|
||||||
decoration {
|
|
||||||
rounding = 10
|
|
||||||
blur {
|
|
||||||
enabled = yes
|
|
||||||
size = 12
|
|
||||||
passes = 1
|
|
||||||
}
|
|
||||||
|
|
||||||
drop_shadow = yes
|
|
||||||
shadow_range = 4
|
|
||||||
shadow_render_power = 3
|
|
||||||
col.shadow = 0xee$baseAlpha
|
|
||||||
|
|
||||||
active_opacity = 1.0
|
|
||||||
inactive_opacity = 0.9
|
|
||||||
}
|
|
||||||
|
|
||||||
animations {
|
|
||||||
enabled = yes
|
|
||||||
animation = windows, 1, 8, default
|
|
||||||
animation = windowsOut, 1, 8, default
|
|
||||||
animation = border, 1, 8, default
|
|
||||||
animation = borderangle, 1, 8, default
|
|
||||||
animation = fade, 1, 8, default
|
|
||||||
animation = workspaces, 1, 8, default, slidefade 80%
|
|
||||||
}
|
|
||||||
|
|
||||||
dwindle {
|
|
||||||
pseudotile = yes
|
|
||||||
preserve_split = yes
|
|
||||||
}
|
|
||||||
|
|
||||||
master {
|
|
||||||
new_is_master = true
|
|
||||||
}
|
|
||||||
|
|
||||||
misc {
|
|
||||||
disable_hyprland_logo = true
|
|
||||||
disable_splash_rendering = true
|
|
||||||
force_default_wallpaper = 0
|
|
||||||
vrr = 1
|
|
||||||
}
|
|
||||||
|
|
||||||
# General window rules
|
|
||||||
windowrule = float, ^(SnakePlusPlus)$
|
|
||||||
windowrule = center, ^(SnakePlusPlus)$
|
|
||||||
windowrule = opacity 0.6, ^(SnakePlusPlus)$
|
|
||||||
windowrule = float, ^(TetrisPlusPlus)$
|
|
||||||
windowrule = center, ^(TetrisPlusPlus)$
|
|
||||||
windowrulev2 = pseudo,class:^(firefox.*)$
|
|
||||||
windowrulev2 = pseudo,class:^(Alacritty.*)$
|
|
||||||
windowrulev2 = opacity 0.6 override 0.6 override,class:(Spotify)
|
|
||||||
|
|
||||||
# Game window rules
|
|
||||||
windowrulev2 = pseudo, class:(Minecraft.*)
|
|
||||||
windowrulev2 = size 2646 1108, class:(Minecraft.*)
|
|
||||||
windowrulev2 = pseudo, title:(Warframe.*)
|
|
||||||
windowrulev2 = size 2646 1108, title:(Warframe.*)
|
|
||||||
|
|
||||||
# Super bind
|
|
||||||
$mainMod = SUPER
|
|
||||||
|
|
||||||
# Passthrough
|
|
||||||
bind = , mouse:275, pass, ^(discord)$
|
|
||||||
|
|
||||||
# Tiling binds
|
|
||||||
bind = $mainMod SHIFT, Q, killactive,
|
|
||||||
bind = $mainMod, SPACE, togglefloating,
|
|
||||||
bind = $mainMod SHIFT, M, exit,
|
|
||||||
bind = $mainMod SHIFT, J, togglesplit, # dwindle
|
|
||||||
bind = $mainMod SHIFT, P, pseudo, # dwindle
|
|
||||||
bind = $mainMod, F, fullscreen,
|
|
||||||
|
|
||||||
# Exec binds
|
|
||||||
bind = $mainMod SHIFT, E, exec, dolphin
|
|
||||||
bind = $mainMod SHIFT, S, exec, grim -g "$(slurp)" - | wl-copy
|
|
||||||
bind = $mainMod SHIFT, L, exec, swaylock -e -c cba6f7 -i /home/trianta/pics/catppuccin/misc/Street.jpg
|
|
||||||
bind = $mainMod, RETURN, exec, alacritty
|
|
||||||
bind = $mainMod, S, exec, wofi --show drun
|
|
||||||
|
|
||||||
|
|
||||||
# Audio binds
|
|
||||||
binde = , XF86AudioPlay, exec, playerctl play-pause
|
|
||||||
binde = , XF86AudioStop, exec, playerctl stop
|
|
||||||
binde = , XF86AudioPrev, exec, playerctl previous
|
|
||||||
binde = , XF86AudioNext, exec, playerctl next
|
|
||||||
binde = , XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
|
|
||||||
binde = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5%
|
|
||||||
binde = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5%
|
|
||||||
|
|
||||||
bind = $mainMod, h, movefocus, l
|
|
||||||
bind = $mainMod, l, movefocus, r
|
|
||||||
bind = $mainMod, k, movefocus, u
|
|
||||||
bind = $mainMod, j, movefocus, d
|
|
||||||
|
|
||||||
bind = $mainMod, 1, workspace, 1
|
|
||||||
bind = $mainMod, 2, workspace, 2
|
|
||||||
bind = $mainMod, 3, workspace, 3
|
|
||||||
bind = $mainMod, 4, workspace, 4
|
|
||||||
bind = $mainMod, 5, workspace, 5
|
|
||||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
|
||||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
|
||||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
|
||||||
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
|
||||||
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
|
||||||
|
|
||||||
# Custom resize bind
|
|
||||||
# bindsym $mod+ctrl+0 resize set width 3440px height 1440px
|
|
||||||
#binde = $mainMod SHIFT, ], setactivesize, 2646 1108
|
|
||||||
|
|
||||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
|
||||||
bindm = $mainMod, mouse:272, movewindow
|
|
||||||
bindm = $mainMod, mouse:273, resizewindow
|
|
||||||
|
|
||||||
# Resize windows with arrow keys
|
|
||||||
binde = $mainMod, right, resizeactive, 10 0
|
|
||||||
binde = $mainMod, left, resizeactive, -10 0
|
|
||||||
binde = $mainMod, up, resizeactive, 0 10
|
|
||||||
binde = $mainMod, down, resizeactive, 0 -10
|
|
||||||
|
|
@ -1,23 +0,0 @@
|
|||||||
splash = false
|
|
||||||
# Preset 1
|
|
||||||
#preload = /home/trianta/pics/squirrel-coffee.png
|
|
||||||
#preload = /home/trianta/pics/dbb7hcs-1f9e8f0a-c4c7-4fc9-baf6-9e075ce86e30.jpg
|
|
||||||
#wallpaper = DP-2,/home/trianta/pics/squirrel-coffee.png
|
|
||||||
#wallpaper = DP-3,/home/trianta/pics/dbb7hcs-1f9e8f0a-c4c7-4fc9-baf6-9e075ce86e30.jpg
|
|
||||||
|
|
||||||
# Preset 2 (Cyberpunk bright)
|
|
||||||
#preload = ~/pics/P7SL1tk.jpeg
|
|
||||||
#preload = ~/pics/cyberpunk.jpg
|
|
||||||
#wallpaper = DP-2, ~/pics/P7SL1tk.jpeg
|
|
||||||
#wallpaper = DP-3, ~/pics/cyberpunk.jpg
|
|
||||||
|
|
||||||
# Preset 3 (Cyberpunk minimalistic)
|
|
||||||
preload = ~/pics/analog-shadowscape.png
|
|
||||||
preload = ~/pics/monochrome-kanji-art.png
|
|
||||||
wallpaper = DP-2, ~/pics/analog-shadowscape.png
|
|
||||||
wallpaper = DP-3, ~/pics/monochrome-kanji-art.png
|
|
||||||
|
|
||||||
|
|
||||||
# Single monitor
|
|
||||||
#preload = ~/pics/P7SL1tk.jpeg
|
|
||||||
#wallpaper = DP-2, ~/pics/P7SL1tk.jpeg
|
|
@ -1,61 +0,0 @@
|
|||||||
$rosewaterAlpha = fff5e0dc
|
|
||||||
$flamingoAlpha = fff2cdcd
|
|
||||||
$pinkAlpha = fff5c2e7
|
|
||||||
$mauveAlpha = ffcba6f7
|
|
||||||
$redAlpha = fff38ba8
|
|
||||||
$maroonAlpha = ffeba0ac
|
|
||||||
$peachAlpha = fffab387
|
|
||||||
$yellowAlpha = fff9e2af
|
|
||||||
$greenAlpha = ffa6e3a1
|
|
||||||
$tealAlpha = ff94e2d5
|
|
||||||
$skyAlpha = ff89dceb
|
|
||||||
$sapphireAlpha = ff74c7ec
|
|
||||||
$blueAlpha = ff89b4fa
|
|
||||||
$lavenderAlpha = ffb4befe
|
|
||||||
|
|
||||||
$textAlpha = ffcdd6f4
|
|
||||||
$subtext1Alpha = ffbac2de
|
|
||||||
$subtext0Alpha = ffa6adc8
|
|
||||||
|
|
||||||
$overlay2Alpha = ff9399b2
|
|
||||||
$overlay1Alpha = ff7f849c
|
|
||||||
$overlay0Alpha = ff6c7086
|
|
||||||
|
|
||||||
$surface2Alpha = ff585b70
|
|
||||||
$surface1Alpha = ff45475a
|
|
||||||
$surface0Alpha = ff313244
|
|
||||||
|
|
||||||
$baseAlpha = ff1e1e2e
|
|
||||||
$mantleAlpha = ff181825
|
|
||||||
$crustAlpha = ff11111b
|
|
||||||
|
|
||||||
$rosewater = 0xfff5e0dc
|
|
||||||
$flamingo = 0xfff2cdcd
|
|
||||||
$pink = 0xfff5c2e7
|
|
||||||
$mauve = 0xffcba6f7
|
|
||||||
$red = 0xfff38ba8
|
|
||||||
$maroon = 0xffeba0ac
|
|
||||||
$peach = 0xfffab387
|
|
||||||
$yellow = 0xfff9e2af
|
|
||||||
$green = 0xffa6e3a1
|
|
||||||
$teal = 0xff94e2d5
|
|
||||||
$sky = 0xff89dceb
|
|
||||||
$sapphire = 0xff74c7ec
|
|
||||||
$blue = 0xff89b4fa
|
|
||||||
$lavender = 0xffb4befe
|
|
||||||
|
|
||||||
$text = 0xffcdd6f4
|
|
||||||
$subtext1 = 0xffbac2de
|
|
||||||
$subtext0 = 0xffa6adc8
|
|
||||||
|
|
||||||
$overlay2 = 0xff9399b2
|
|
||||||
$overlay1 = 0xff7f849c
|
|
||||||
$overlay0 = 0xff6c7086
|
|
||||||
|
|
||||||
$surface2 = 0xff585b70
|
|
||||||
$surface1 = 0xff45475a
|
|
||||||
$surface0 = 0xff313244
|
|
||||||
|
|
||||||
$base = 0xff1e1e2e
|
|
||||||
$mantle = 0xff181825
|
|
||||||
$crust = 0xff11111b
|
|
@ -1,27 +0,0 @@
|
|||||||
-- Telescope
|
|
||||||
local builtin = require('telescope.builtin')
|
|
||||||
vim.keymap.set('n', '<leader>pf', builtin.find_files, {})
|
|
||||||
vim.keymap.set('n', '<C-p>', builtin.git_files, {})
|
|
||||||
vim.keymap.set('n', '<leader>ps', function()
|
|
||||||
builtin.grep_string({ search = vim.fn.input("Grep > ") })
|
|
||||||
end)
|
|
||||||
|
|
||||||
-- Harpoon
|
|
||||||
local mark = require("harpoon.mark")
|
|
||||||
local ui = require("harpoon.ui")
|
|
||||||
vim.keymap.set("n", "<leader>a", mark.add_file)
|
|
||||||
vim.keymap.set("n", "<C-t>", ui.toggle_quick_menu)
|
|
||||||
|
|
||||||
vim.keymap.set("n", "<C-q>", function() ui.nav_file(1) end)
|
|
||||||
vim.keymap.set("n", "<C-w>", function() ui.nav_file(2) end)
|
|
||||||
vim.keymap.set("n", "<C-e>", function() ui.nav_file(3) end)
|
|
||||||
vim.keymap.set("n", "<C-r>", function() ui.nav_file(4) end)
|
|
||||||
|
|
||||||
-- Zenmode
|
|
||||||
vim.keymap.set("n", "<leader>pz", function()
|
|
||||||
require("zen-mode").toggle({
|
|
||||||
window = {
|
|
||||||
width = 90,
|
|
||||||
}
|
|
||||||
})
|
|
||||||
end)
|
|
@ -1,46 +0,0 @@
|
|||||||
-- lsp-zero
|
|
||||||
local lsp = require('lsp-zero')
|
|
||||||
|
|
||||||
lsp.preset('recommended')
|
|
||||||
lsp.setup()
|
|
||||||
|
|
||||||
-- Treesitter
|
|
||||||
vim.opt.runtimepath:append("~/.local/share/nvim/parsers")
|
|
||||||
|
|
||||||
require'nvim-treesitter.configs'.setup {
|
|
||||||
-- A list of parser names, or "all" (the five listed parsers should always be installed)
|
|
||||||
ensure_installed = { "c", "cpp", "javascript", "lua", "vim" },
|
|
||||||
|
|
||||||
-- Install parsers synchronously (only applied to `ensure_installed`)
|
|
||||||
sync_install = false,
|
|
||||||
|
|
||||||
-- Automatically install missing parsers when entering buffer
|
|
||||||
-- Recommendation: set to false if you don't have `tree-sitter` CLI installed locally
|
|
||||||
auto_install = true,
|
|
||||||
|
|
||||||
parser_install_dir = "~/.local/share/nvim/parsers",
|
|
||||||
|
|
||||||
highlight = {
|
|
||||||
enable = true,
|
|
||||||
|
|
||||||
-- Setting this to true will run `:h syntax` and tree-sitter at the same time.
|
|
||||||
-- Set this to `true` if you depend on 'syntax' being enabled (like for indentation).
|
|
||||||
-- Using this option may slow down your editor, and you may see some duplicate highlights.
|
|
||||||
-- Instead of true it can also be a list of languages
|
|
||||||
additional_vim_regex_highlighting = false,
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
-- Obsidian
|
|
||||||
vim.opt.conceallevel = 1
|
|
||||||
|
|
||||||
-- Colors
|
|
||||||
function ColorMyPencils(color)
|
|
||||||
color = color or "catppuccin-frappe"
|
|
||||||
vim.cmd.colorscheme(color)
|
|
||||||
|
|
||||||
vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
|
|
||||||
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
|
|
||||||
end
|
|
||||||
|
|
||||||
ColorMyPencils()
|
|
@ -1,2 +0,0 @@
|
|||||||
require('trianta')
|
|
||||||
|
|
@ -1,23 +0,0 @@
|
|||||||
{
|
|
||||||
"LuaSnip": { "branch": "master", "commit": "82108e7e31cc6fc223cc5df5cae6d89f70bb199f" },
|
|
||||||
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
|
|
||||||
"cmp-nvim-lsp": { "branch": "main", "commit": "5af77f54de1b16c34b23cba810150689a3a90312" },
|
|
||||||
"cmp-nvim-lua": { "branch": "main", "commit": "f12408bdb54c39c23e67cab726264c10db33ada8" },
|
|
||||||
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
|
|
||||||
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
|
|
||||||
"friendly-snippets": { "branch": "main", "commit": "69a2c1675b66e002799f5eef803b87a12f593049" },
|
|
||||||
"harpoon": { "branch": "master", "commit": "ccae1b9bec717ae284906b0bf83d720e59d12b91" },
|
|
||||||
"lsp-zero.nvim": { "branch": "v1.x", "commit": "aa36afcf7a59fbd98008c9a434593c423d3d649a" },
|
|
||||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "3ba1b92b771f33256b4969d696b82c8ae7075364" },
|
|
||||||
"mason.nvim": { "branch": "main", "commit": "e110bc3be1a7309617cecd77bfe4bf86ba1b8134" },
|
|
||||||
"nvim": { "branch": "main", "commit": "5e36ca599f4aa41bdd87fbf2c5aae4397ac55074" },
|
|
||||||
"nvim-cmp": { "branch": "main", "commit": "538e37ba87284942c1d76ed38dd497e54e65b891" },
|
|
||||||
"nvim-lspconfig": { "branch": "master", "commit": "7eed8b2150192e5ad05e1886fdf133493ddf2928" },
|
|
||||||
"nvim-treesitter": { "branch": "master", "commit": "97ba59c6f532072e456b3d1f2413560e689c132b" },
|
|
||||||
"obsidian.nvim": { "branch": "main", "commit": "a9ae6b20560d716a5f9b89252e4ea29c8e64617a" },
|
|
||||||
"playground": { "branch": "master", "commit": "ba48c6a62a280eefb7c85725b0915e021a1a0749" },
|
|
||||||
"plenary.nvim": { "branch": "master", "commit": "55d9fe89e33efd26f532ef20223e5f9430c8b0c0" },
|
|
||||||
"telescope.nvim": { "branch": "0.1.x", "commit": "d90956833d7c27e73c621a61f20b29fdb7122709" },
|
|
||||||
"todo-comments.nvim": { "branch": "main", "commit": "4a6737a8d70fe1ac55c64dfa47fcb189ca431872" },
|
|
||||||
"twilight.nvim": { "branch": "main", "commit": "8b7b50c0cb2dc781b2f4262a5ddd57571556d1e4" }
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
require("trianta.remap")
|
|
||||||
require("trianta.lazy")
|
|
||||||
require("trianta.set")
|
|
@ -1,144 +0,0 @@
|
|||||||
-- This file can be loaded by calling `lua require('plugins')` from your init.vim
|
|
||||||
|
|
||||||
-- Only required if you have packer configured as `opt`
|
|
||||||
vim.cmd [[packadd lazy.nvim]]
|
|
||||||
|
|
||||||
return require('lazy').setup({
|
|
||||||
-- Packer can manage itself
|
|
||||||
"folke/lazy.nvim",
|
|
||||||
{
|
|
||||||
"folke/todo-comments.nvim",
|
|
||||||
dependencies = { "nvim-lua/plenary.nvim" },
|
|
||||||
opts = {
|
|
||||||
-- your configuration comes here
|
|
||||||
-- or leave it empty to use the default settings
|
|
||||||
-- refer to the configuration section below
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{ "catppuccin/nvim", as = "catppuccin" },
|
|
||||||
{
|
|
||||||
"nvim-telescope/telescope.nvim", branch = '0.1.x',
|
|
||||||
-- or , branch = '0.1.x',
|
|
||||||
dependencies = {"nvim-lua/plenary.nvim"},
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
|
||||||
"nvim-treesitter/nvim-treesitter",
|
|
||||||
build = ":TSUpdate",
|
|
||||||
},
|
|
||||||
"nvim-treesitter/playground",
|
|
||||||
"ThePrimeagen/harpoon",
|
|
||||||
{
|
|
||||||
'VonHeikemen/lsp-zero.nvim',
|
|
||||||
branch = 'v1.x',
|
|
||||||
dependencies = {
|
|
||||||
-- LSP Support
|
|
||||||
"neovim/nvim-lspconfig", -- Required
|
|
||||||
'williamboman/mason.nvim', -- Optional
|
|
||||||
'williamboman/mason-lspconfig.nvim', -- Optional
|
|
||||||
|
|
||||||
-- Autocompletion
|
|
||||||
'hrsh7th/nvim-cmp', -- Required
|
|
||||||
'hrsh7th/cmp-nvim-lsp', -- Required
|
|
||||||
'hrsh7th/cmp-buffer', -- Optional
|
|
||||||
'hrsh7th/cmp-path', -- Optional
|
|
||||||
'saadparwaiz1/cmp_luasnip', -- Optional
|
|
||||||
'hrsh7th/cmp-nvim-lua', -- Optional
|
|
||||||
|
|
||||||
-- Snippets
|
|
||||||
'L3MON4D3/LuaSnip', -- Required
|
|
||||||
'rafamadriz/friendly-snippets', -- Optional
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"epwalsh/obsidian.nvim",
|
|
||||||
version = "*", -- recommended, use latest release instead of latest commit
|
|
||||||
lazy = true,
|
|
||||||
ft = "markdown",
|
|
||||||
dependencies = {
|
|
||||||
"nvim-lua/plenary.nvim",
|
|
||||||
},
|
|
||||||
opts = {
|
|
||||||
workspaces = {
|
|
||||||
{
|
|
||||||
name = "trinote",
|
|
||||||
path = "~/sync/obsidian/Trinote/",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
ui = {
|
|
||||||
enable = true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"folke/twilight.nvim",
|
|
||||||
opts = {
|
|
||||||
dimming = {
|
|
||||||
alpha = 0.25, -- amount of dimming
|
|
||||||
-- we try to get the foreground from the highlight groups or fallback color
|
|
||||||
color = { "Normal", "#ffffff" },
|
|
||||||
term_bg = "#000000", -- if guibg=NONE, this will be used to calculate text color
|
|
||||||
inactive = false, -- when true, other windows will be fully dimmed (unless they contain the same buffer)
|
|
||||||
},
|
|
||||||
context = 10, -- amount of lines we will try to show around the current line
|
|
||||||
treesitter = true, -- use treesitter when available for the filetype
|
|
||||||
-- treesitter is used to automatically expand the visible text,
|
|
||||||
-- but you can further control the types of nodes that should always be fully expanded
|
|
||||||
expand = { -- for treesitter, we we always try to expand to the top-most ancestor with these types
|
|
||||||
"function",
|
|
||||||
"method",
|
|
||||||
"table",
|
|
||||||
"if_statement",
|
|
||||||
},
|
|
||||||
exclude = {}, -- exclude these filetypes
|
|
||||||
},
|
|
||||||
},
|
|
||||||
-- Lua
|
|
||||||
{
|
|
||||||
"folke/zen-mode.nvim",
|
|
||||||
opts = {
|
|
||||||
-- your configuration comes here
|
|
||||||
-- or leave it empty to use the default settings
|
|
||||||
-- refer to the configuration section below
|
|
||||||
{
|
|
||||||
window = {
|
|
||||||
backdrop = 0.95, -- shade the backdrop of the Zen window. Set to 1 to keep the same as Normal
|
|
||||||
-- height and width can be:
|
|
||||||
-- * an absolute number of cells when > 1
|
|
||||||
-- * a percentage of the width / height of the editor when <= 1
|
|
||||||
-- * a function that returns the width or the height
|
|
||||||
width = 120, -- width of the Zen window
|
|
||||||
height = 1, -- height of the Zen window
|
|
||||||
-- by default, no options are changed for the Zen window
|
|
||||||
-- uncomment any of the options below, or add other vim.wo options you want to apply
|
|
||||||
options = {
|
|
||||||
-- signcolumn = "no", -- disable signcolumn
|
|
||||||
-- number = false, -- disable number column
|
|
||||||
-- relativenumber = false, -- disable relative numbers
|
|
||||||
-- cursorline = false, -- disable cursorline
|
|
||||||
-- cursorcolumn = false, -- disable cursor column
|
|
||||||
-- foldcolumn = "0", -- disable fold column
|
|
||||||
-- list = false, -- disable whitespace characters
|
|
||||||
},
|
|
||||||
},
|
|
||||||
plugins = {
|
|
||||||
options = {
|
|
||||||
enabled = true,
|
|
||||||
ruler = false, -- disables the ruler text in the cmd line area
|
|
||||||
showcmd = false, -- disables the command in the last line of the screen
|
|
||||||
-- you may turn on/off statusline in zen mode by setting 'laststatus'
|
|
||||||
-- statusline will be shown only if 'laststatus' == 3
|
|
||||||
laststatus = 0, -- turn off the statusline in zen mode
|
|
||||||
},
|
|
||||||
twilight = { enabled = true }, -- enable to start Twilight when zen mode opens
|
|
||||||
},
|
|
||||||
-- callback where you can add custom code when the Zen window opens
|
|
||||||
on_open = function(win)
|
|
||||||
end,
|
|
||||||
-- callback where you can add custom code when the Zen window closes
|
|
||||||
on_close = function()
|
|
||||||
end,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
})
|
|
@ -1,2 +0,0 @@
|
|||||||
vim.g.mapleader = " "
|
|
||||||
vim.keymap.set("n", "<leader>pv", vim.cmd.Ex)
|
|
@ -1,26 +0,0 @@
|
|||||||
vim.opt.nu = true
|
|
||||||
|
|
||||||
vim.opt.tabstop = 4
|
|
||||||
vim.opt.softtabstop = 4
|
|
||||||
vim.opt.shiftwidth = 4
|
|
||||||
vim.opt.expandtab = true
|
|
||||||
|
|
||||||
vim.opt.smartindent = true
|
|
||||||
|
|
||||||
vim.opt.wrap = true
|
|
||||||
|
|
||||||
vim.opt.hlsearch = false
|
|
||||||
vim.opt.incsearch = true
|
|
||||||
|
|
||||||
vim.opt.termguicolors = true
|
|
||||||
|
|
||||||
vim.opt.scrolloff = 8
|
|
||||||
vim.opt.signcolumn = "yes"
|
|
||||||
|
|
||||||
vim.opt.updatetime = 50
|
|
||||||
|
|
||||||
vim.opt.colorcolumn = "80"
|
|
||||||
|
|
||||||
vim.g.mapleader = " "
|
|
||||||
|
|
||||||
vim.opt.mouse = ""
|
|
@ -1,12 +0,0 @@
|
|||||||
# Start panels at 1
|
|
||||||
set -g base-index 1
|
|
||||||
set -g pane-base-index 1
|
|
||||||
set-window-option -g pane-base-index 1
|
|
||||||
set-option -g renumber-windows on
|
|
||||||
|
|
||||||
# Plugins
|
|
||||||
set -g @plugin 'catppuccin/tmux'
|
|
||||||
set -g @catppuccin_flavour 'mocha' # or frappe, latte, mocha
|
|
||||||
set -g @plugin 'tmux-plugins/tpm'
|
|
||||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
|
||||||
run '/usr/share/tmux-plugin-manager/tpm'
|
|
13
update.sh
13
update.sh
@ -1,13 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
echo "Syncing dotfiles with alacritty..."
|
|
||||||
rsync --recursive ~/.config/alacritty $(dirname "$0")
|
|
||||||
echo "Syncing dotfiles with hypr..."
|
|
||||||
rsync --recursive ~/.config/hypr $(dirname "$0")
|
|
||||||
echo "Syncing dotfiles with nvim..."
|
|
||||||
rsync --recursive ~/.config/nvim $(dirname "$0")
|
|
||||||
echo "Syncing dotfiles with tmux..."
|
|
||||||
rsync ~/.config/tmux/tmux.conf $(dirname "$0")/tmux/tmux.conf
|
|
||||||
echo "Syncing dotfiles with waybar..."
|
|
||||||
rsync --recursive ~/.config/waybar $(dirname "$0")
|
|
||||||
echo "Syncing complete!"
|
|
@ -1,125 +0,0 @@
|
|||||||
[
|
|
||||||
{
|
|
||||||
"name": "main",
|
|
||||||
"layer": "top",
|
|
||||||
"position": "top",
|
|
||||||
"height": 34,
|
|
||||||
"spacing": 4,
|
|
||||||
"margin-top": 10,
|
|
||||||
"margin-bottom": 0,
|
|
||||||
"output": "DP-2",
|
|
||||||
"modules-left": [
|
|
||||||
"wireplumber",
|
|
||||||
"disk",
|
|
||||||
"memory",
|
|
||||||
"cpu",
|
|
||||||
"temperature"
|
|
||||||
],
|
|
||||||
"modules-center": ["wlr/taskbar"],
|
|
||||||
"modules-right": [
|
|
||||||
"hyprland/workspaces",
|
|
||||||
"tray",
|
|
||||||
"custom/weather",
|
|
||||||
"network#ethernet",
|
|
||||||
"clock",
|
|
||||||
"custom/poweroff"
|
|
||||||
],
|
|
||||||
"clock": {
|
|
||||||
"interval": 1,
|
|
||||||
"format": "<b>{:%H:%M:%S}</b>",
|
|
||||||
"format-alt": "{:%Y-%m-%d}",
|
|
||||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
|
|
||||||
},
|
|
||||||
"cpu": {
|
|
||||||
"format": " {usage}%",
|
|
||||||
"tooltip": false
|
|
||||||
},
|
|
||||||
"disk": {
|
|
||||||
"format": " {}%",
|
|
||||||
"tooltip-format": "{used} / {total} used"
|
|
||||||
},
|
|
||||||
"idle_inhibitor": {
|
|
||||||
"format": "{icon}",
|
|
||||||
"format-icons": {
|
|
||||||
"activated": "",
|
|
||||||
"deactivated": ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"memory": {
|
|
||||||
"format": " {}%",
|
|
||||||
"tooltip-format": "{used:0.1f}G / {total:0.1f}G used"
|
|
||||||
},
|
|
||||||
"temperature": {
|
|
||||||
"critical-threshold": 80,
|
|
||||||
"format": " {icon} {temperatureC}°C ",
|
|
||||||
"format-icons": ["", "", "", "", ""],
|
|
||||||
"hwmon-path": "/sys/class/thermal/thermal_zone2/temp"
|
|
||||||
},
|
|
||||||
"network#ethernet": {
|
|
||||||
"interface": "enp*",
|
|
||||||
"format-ethernet": "",
|
|
||||||
"format-wifi": "",
|
|
||||||
"format-linked": "",
|
|
||||||
"format-disconnected": "",
|
|
||||||
"tooltip-format": "{ifname}: {ipaddr}/{cidr}",
|
|
||||||
"on-click": "nm-connection-editor"
|
|
||||||
},
|
|
||||||
"sway/mode": {
|
|
||||||
"format": "<span style=\"italic\">{}</span>"
|
|
||||||
},
|
|
||||||
"hyprland/workspaces": {
|
|
||||||
"format": "{name}",
|
|
||||||
"sort-by-number": true,
|
|
||||||
"all-outputs": true
|
|
||||||
},
|
|
||||||
"wlr/taskbar": {
|
|
||||||
"format": "{name}",
|
|
||||||
"icon-size": 32,
|
|
||||||
"tooltip": false,
|
|
||||||
"on-click": "activate",
|
|
||||||
"on-click-right": "close",
|
|
||||||
"all-outputs": true,
|
|
||||||
"ignore-list": [
|
|
||||||
"xwaylandvideobridge"
|
|
||||||
],
|
|
||||||
"rewrite": {
|
|
||||||
"(.*)Firefox Web Browser": "",
|
|
||||||
"(.*)Discord": "",
|
|
||||||
"(.*)Alacritty": "",
|
|
||||||
"Steam(.*)": "",
|
|
||||||
"(.*)Spotify": ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"wireplumber": {
|
|
||||||
"format": " {volume}%",
|
|
||||||
"format-muted": " 0%",
|
|
||||||
"on-click": "pavucontrol",
|
|
||||||
"on-click-right": "helvum",
|
|
||||||
"max-volume": 100,
|
|
||||||
"scroll-step": 5
|
|
||||||
},
|
|
||||||
"tray": {
|
|
||||||
"icon-size": 21,
|
|
||||||
"spacing": 10
|
|
||||||
},
|
|
||||||
"custom/spotify": {
|
|
||||||
"interval": 1,
|
|
||||||
"return-type": "json",
|
|
||||||
"exec": "~/.config/waybar/scripts/spotify.sh",
|
|
||||||
"exec-if": "pgrep spotify",
|
|
||||||
"escape": true
|
|
||||||
},
|
|
||||||
"custom/poweroff": {
|
|
||||||
"tooltip": false,
|
|
||||||
"format": " ",
|
|
||||||
"on-click": "bash $HOME/.config/waybar/scripts/poweroff.sh"
|
|
||||||
},
|
|
||||||
"custom/weather": {
|
|
||||||
"exec": "$HOME/.config/waybar/scripts/get_weather.sh Belleville+Illinois",
|
|
||||||
"return-type": "json",
|
|
||||||
"format": "{}",
|
|
||||||
"tooltip": true,
|
|
||||||
"interval": 3600
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
@ -1,37 +0,0 @@
|
|||||||
/*
|
|
||||||
*
|
|
||||||
* Catppuccin Mocha palette
|
|
||||||
* Maintainer: rubyowo
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
@define-color base #1e1e2e;
|
|
||||||
@define-color mantle #181825;
|
|
||||||
@define-color crust #11111b;
|
|
||||||
|
|
||||||
@define-color text #cdd6f4;
|
|
||||||
@define-color subtext0 #a6adc8;
|
|
||||||
@define-color subtext1 #bac2de;
|
|
||||||
|
|
||||||
@define-color surface0 #313244;
|
|
||||||
@define-color surface1 #45475a;
|
|
||||||
@define-color surface2 #585b70;
|
|
||||||
|
|
||||||
@define-color overlay0 #6c7086;
|
|
||||||
@define-color overlay1 #7f849c;
|
|
||||||
@define-color overlay2 #9399b2;
|
|
||||||
|
|
||||||
@define-color blue #89b4fa;
|
|
||||||
@define-color lavender #b4befe;
|
|
||||||
@define-color sapphire #74c7ec;
|
|
||||||
@define-color sky #89dceb;
|
|
||||||
@define-color teal #94e2d5;
|
|
||||||
@define-color green #a6e3a1;
|
|
||||||
@define-color yellow #f9e2af;
|
|
||||||
@define-color peach #fab387;
|
|
||||||
@define-color maroon #eba0ac;
|
|
||||||
@define-color red #f38ba8;
|
|
||||||
@define-color mauve #cba6f7;
|
|
||||||
@define-color pink #f5c2e7;
|
|
||||||
@define-color flamingo #f2cdcd;
|
|
||||||
@define-color rosewater #f5e0dc;
|
|
@ -1,19 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
# get_weather.sh
|
|
||||||
for i in {1..5}
|
|
||||||
do
|
|
||||||
text=$(curl -s "https://wttr.in/$1?format=1")
|
|
||||||
if [[ $? == 0 ]]
|
|
||||||
then
|
|
||||||
text=$(echo "$text" | sed -E "s/\s+/ /g")
|
|
||||||
tooltip=$(curl -s "https://wttr.in/$1?format=4")
|
|
||||||
if [[ $? == 0 ]]
|
|
||||||
then
|
|
||||||
tooltip=$(echo "$tooltip" | sed -E "s/\s+/ /g")
|
|
||||||
echo "{\"text\":\"$text\", \"tooltip\":\"$tooltip\"}"
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
sleep 2
|
|
||||||
done
|
|
||||||
echo "{\"text\":\"error\", \"tooltip\":\"error\"}"
|
|
@ -1,27 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
case $(wofi -d -L 6 -l 3 -W 100 -x -100 -y 10 \
|
|
||||||
-D dynamic_lines=true << EOF | sed 's/^ *//'
|
|
||||||
Shutdown
|
|
||||||
Reboot
|
|
||||||
Log off
|
|
||||||
Sleep
|
|
||||||
Lock
|
|
||||||
Cancel
|
|
||||||
EOF
|
|
||||||
) in
|
|
||||||
"Shutdown")
|
|
||||||
systemctl poweroff
|
|
||||||
;;
|
|
||||||
"Reboot")
|
|
||||||
systemctl reboot
|
|
||||||
;;
|
|
||||||
"Sleep")
|
|
||||||
systemctl suspend
|
|
||||||
;;
|
|
||||||
"Lock")
|
|
||||||
loginctl lock-session
|
|
||||||
;;
|
|
||||||
"Log off")
|
|
||||||
hyprctl dispatch exit
|
|
||||||
;;
|
|
||||||
esac
|
|
@ -1,18 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
class=$(playerctl metadata --player=spotify --format '{{lc(status)}}')
|
|
||||||
icon=""
|
|
||||||
|
|
||||||
if [[ $class == "playing" ]]; then
|
|
||||||
info=$(playerctl metadata --player=spotify --format '{{artist}} - {{title}}')
|
|
||||||
if [[ ${#info} > 40 ]]; then
|
|
||||||
info=$(echo $info | cut -c1-40)"..."
|
|
||||||
fi
|
|
||||||
text=$info" "$icon
|
|
||||||
elif [[ $class == "paused" ]]; then
|
|
||||||
text=$icon
|
|
||||||
elif [[ $class == "stopped" ]]; then
|
|
||||||
text=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo -e "{\"text\":\""$text"\", \"class\":\""$class"\"}"
|
|
@ -1,92 +0,0 @@
|
|||||||
@import "mocha.css";
|
|
||||||
|
|
||||||
* {
|
|
||||||
border: none;
|
|
||||||
border-radius: 0px;
|
|
||||||
min-height: 0;
|
|
||||||
font-size: 15px;
|
|
||||||
font-family: "Hack Nerd Font";
|
|
||||||
/*background: @base;*/
|
|
||||||
}
|
|
||||||
|
|
||||||
window#waybar {
|
|
||||||
background-color: transparent;
|
|
||||||
color: #ffffff;
|
|
||||||
transition-property: background-color;
|
|
||||||
transition-duration: .5s;
|
|
||||||
}
|
|
||||||
|
|
||||||
window#waybar.hidden {
|
|
||||||
opacity: 0.2;
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button {
|
|
||||||
border-radius: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button:hover {
|
|
||||||
color: black;
|
|
||||||
border-bottom: 3px solid #ffffff;
|
|
||||||
}
|
|
||||||
|
|
||||||
#mode {
|
|
||||||
background-color: #64727D;
|
|
||||||
border-bottom: 3px solid #ffffff;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Sections */
|
|
||||||
|
|
||||||
.modules-left,
|
|
||||||
.modules-center,
|
|
||||||
.modules-right {
|
|
||||||
border-radius: 20px;
|
|
||||||
border: 3px solid @crust;
|
|
||||||
padding: 0 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#clock,
|
|
||||||
#cpu,
|
|
||||||
#disk,
|
|
||||||
#memory,
|
|
||||||
#network,
|
|
||||||
#temperature,
|
|
||||||
#taskbar,
|
|
||||||
#tray,
|
|
||||||
#workspaces,
|
|
||||||
#wireplumber,
|
|
||||||
#custom-poweroff,
|
|
||||||
#custom-weather,
|
|
||||||
#custom-spotify {
|
|
||||||
padding: 0 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.modules-left {
|
|
||||||
background-image: linear-gradient(90deg, @base, @surface0, @surface2);
|
|
||||||
}
|
|
||||||
|
|
||||||
.modules-center {
|
|
||||||
background-image: linear-gradient(270deg, @base, @overlay2, @base);
|
|
||||||
}
|
|
||||||
|
|
||||||
.modules-right {
|
|
||||||
background-image: linear-gradient(270deg, @base, @surface0, @surface2);
|
|
||||||
}
|
|
||||||
|
|
||||||
#wireplumber{
|
|
||||||
color: @sapphire;
|
|
||||||
}
|
|
||||||
#disk {
|
|
||||||
color: @peach;
|
|
||||||
}
|
|
||||||
#memory {
|
|
||||||
color: @teal;
|
|
||||||
}
|
|
||||||
#cpu {
|
|
||||||
color: @lavender;
|
|
||||||
}
|
|
||||||
#temperature {
|
|
||||||
color: @sky;
|
|
||||||
}
|
|
||||||
#taskbar button {
|
|
||||||
color: @rosewater;
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user