Compare commits
12 Commits
Author | SHA1 | Date | |
---|---|---|---|
a91635139f | |||
d3a2cb9712 | |||
7304d7ecc6 | |||
32b5b5c163 | |||
073c4f21a1 | |||
7fc603a784 | |||
216a380916 | |||
707ab939dc | |||
ab7aafc9c8 | |||
894c6c2a9a | |||
1b3b007906 | |||
|
546aefe946 |
53
alacritty/alacritty.toml
Normal file
53
alacritty/alacritty.toml
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
|
||||||
|
[cursor.style]
|
||||||
|
shape = "Underline"
|
||||||
|
|
||||||
|
[env]
|
||||||
|
TERM = "xterm-256color"
|
||||||
|
|
||||||
|
[font]
|
||||||
|
size = 13
|
||||||
|
|
||||||
|
[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"
|
||||||
|
|
||||||
|
[terminal.shell]
|
||||||
|
args = ["--login"]
|
||||||
|
program = "/bin/zsh"
|
||||||
|
|
||||||
|
[window]
|
||||||
|
opacity = 0.5
|
||||||
|
padding = {x = 25, y = 25}
|
||||||
|
|
||||||
|
[general]
|
||||||
|
import = ["/home/trianta/.config/alacritty/catppuccin/catppuccin-frappe.toml"]
|
||||||
|
|
||||||
|
[terminal]
|
||||||
|
|
75
alacritty/catppuccin/catppuccin-frappe.toml
Normal file
75
alacritty/catppuccin/catppuccin-frappe.toml
Normal file
@ -0,0 +1,75 @@
|
|||||||
|
[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"
|
75
alacritty/catppuccin/catppuccin-latte.toml
Normal file
75
alacritty/catppuccin/catppuccin-latte.toml
Normal file
@ -0,0 +1,75 @@
|
|||||||
|
[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"
|
75
alacritty/catppuccin/catppuccin-macchiato.toml
Normal file
75
alacritty/catppuccin/catppuccin-macchiato.toml
Normal file
@ -0,0 +1,75 @@
|
|||||||
|
[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"
|
75
alacritty/catppuccin/catppuccin-mocha.toml
Normal file
75
alacritty/catppuccin/catppuccin-mocha.toml
Normal file
@ -0,0 +1,75 @@
|
|||||||
|
[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"
|
9
deploy.sh
Executable file
9
deploy.sh
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
#!/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 waybar..."
|
||||||
|
rsync --recursive $(dirname "$0")/waybar/ ~/.config/waybar
|
||||||
|
echo "Syncing complete!"
|
61
hypr/frappe.conf
Normal file
61
hypr/frappe.conf
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
$rosewaterAlpha = f2d5cf
|
||||||
|
$flamingoAlpha = eebebe
|
||||||
|
$pinkAlpha = f4b8e4
|
||||||
|
$mauveAlpha = ca9ee6
|
||||||
|
$redAlpha = e78284
|
||||||
|
$maroonAlpha = ea999c
|
||||||
|
$peachAlpha = ef9f76
|
||||||
|
$yellowAlpha = e5c890
|
||||||
|
$greenAlpha = a6d189
|
||||||
|
$tealAlpha = 81c8be
|
||||||
|
$skyAlpha = 99d1db
|
||||||
|
$sapphireAlpha = 85c1dc
|
||||||
|
$blueAlpha = 8caaee
|
||||||
|
$lavenderAlpha = babbf1
|
||||||
|
|
||||||
|
$textAlpha = c6d0f5
|
||||||
|
$subtext1Alpha = b5bfe2
|
||||||
|
$subtext0Alpha = a5adce
|
||||||
|
|
||||||
|
$overlay2Alpha = 949cbb
|
||||||
|
$overlay1Alpha = 838ba7
|
||||||
|
$overlay0Alpha = 737994
|
||||||
|
|
||||||
|
$surface2Alpha = 626880
|
||||||
|
$surface1Alpha = 51576d
|
||||||
|
$surface0Alpha = 414559
|
||||||
|
|
||||||
|
$baseAlpha = 303446
|
||||||
|
$mantleAlpha = 292c3c
|
||||||
|
$crustAlpha = 232634
|
||||||
|
|
||||||
|
$rosewater = 0xfff2d5cf
|
||||||
|
$flamingo = 0xffeebebe
|
||||||
|
$pink = 0xfff4b8e4
|
||||||
|
$mauve = 0xffca9ee6
|
||||||
|
$red = 0xffe78284
|
||||||
|
$maroon = 0xffea999c
|
||||||
|
$peach = 0xffef9f76
|
||||||
|
$yellow = 0xffe5c890
|
||||||
|
$green = 0xffa6d189
|
||||||
|
$teal = 0xff81c8be
|
||||||
|
$sky = 0xff99d1db
|
||||||
|
$sapphire = 0xff85c1dc
|
||||||
|
$blue = 0xff8caaee
|
||||||
|
$lavender = 0xffbabbf1
|
||||||
|
|
||||||
|
$text = 0xffc6d0f5
|
||||||
|
$subtext1 = 0xffb5bfe2
|
||||||
|
$subtext0 = 0xffa5adce
|
||||||
|
|
||||||
|
$overlay2 = 0xff949cbb
|
||||||
|
$overlay1 = 0xff838ba7
|
||||||
|
$overlay0 = 0xff737994
|
||||||
|
|
||||||
|
$surface2 = 0xff626880
|
||||||
|
$surface1 = 0xff51576d
|
||||||
|
$surface0 = 0xff414559
|
||||||
|
|
||||||
|
$base = 0xff303446
|
||||||
|
$mantle = 0xff292c3c
|
||||||
|
$crust = 0xff232634
|
325
hypr/hyprland.conf
Executable file
325
hypr/hyprland.conf
Executable file
@ -0,0 +1,325 @@
|
|||||||
|
source = ~/.config/hypr/frappe.conf # Catppuccin colorscheme
|
||||||
|
|
||||||
|
# < Start Section >
|
||||||
|
# monitors
|
||||||
|
|
||||||
|
monitor = eDP-1, highrr, 0x0, 1.00
|
||||||
|
monitor = , highrr, 1920x0, 1.00
|
||||||
|
|
||||||
|
# < End Section >
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# < Start Section >
|
||||||
|
# startup applications
|
||||||
|
|
||||||
|
# environment launches
|
||||||
|
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # for XDPH
|
||||||
|
exec-once = dbus-update-activation-environment --systemd --all
|
||||||
|
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||||
|
exec-once = /usr/lib/polkit-kde-authentication-agent-1 # authentication dialogue for GUI apps
|
||||||
|
exec-once = gsettings set org.gnome.desktop.interface gtk-theme 'Catppuccin-Mocha'
|
||||||
|
exec-once = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
|
||||||
|
|
||||||
|
exec-once = waybar -c ~/.config/waybar/config
|
||||||
|
exec-once = dunst
|
||||||
|
exec-once = swww-daemon
|
||||||
|
exec-once = syncthing --no-browser
|
||||||
|
|
||||||
|
# main applications
|
||||||
|
#exec-once = discord --enable-features=UseOzonePlatform --ozone-platform=wayland
|
||||||
|
exec-once = spotify --disable-gpu
|
||||||
|
exec-once = alacritty
|
||||||
|
exec-once = firefox
|
||||||
|
#exec-once = taskset -c 1-7 steam
|
||||||
|
#exec-once = taskset -c 1-7 gamescope -W 3200 -H 1100 -b -- steam
|
||||||
|
exec-once = bolt
|
||||||
|
|
||||||
|
# < End Section >
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# < Start Section >
|
||||||
|
# workspace rules
|
||||||
|
|
||||||
|
workspace = 1, monitor:eDP-1, persistent:true, default:true
|
||||||
|
workspace = 2, monitor:eDP-1, persistent:true
|
||||||
|
workspace = 3, monitor:eDP-1, persistent:true
|
||||||
|
workspace = 4, monitor:eDP-1, persistent:true
|
||||||
|
workspace = 5, monitor:eDP-1, persistent:true
|
||||||
|
|
||||||
|
# last workspace for hdmi
|
||||||
|
workspace = 6, monitor:HDMI-A-1
|
||||||
|
|
||||||
|
# < End Section >
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# < Start Section >
|
||||||
|
# variables
|
||||||
|
|
||||||
|
|
||||||
|
general {
|
||||||
|
gaps_in = 0
|
||||||
|
gaps_out = 4
|
||||||
|
border_size = 0
|
||||||
|
col.active_border = 0x000000
|
||||||
|
col.inactive_border = 0x000000
|
||||||
|
layout = master
|
||||||
|
resize_on_border = false
|
||||||
|
}
|
||||||
|
|
||||||
|
decoration {
|
||||||
|
drop_shadow = false
|
||||||
|
rounding = 0
|
||||||
|
dim_special = 0.3
|
||||||
|
fullscreen_opacity = 1.0
|
||||||
|
|
||||||
|
blur {
|
||||||
|
enabled = true
|
||||||
|
special = true
|
||||||
|
size = 6
|
||||||
|
passes = 3
|
||||||
|
new_optimizations = true
|
||||||
|
ignore_opacity = true
|
||||||
|
xray = false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
animations {
|
||||||
|
enabled = true
|
||||||
|
bezier = wind, 0.05, 0.9, 0.1, 1.05
|
||||||
|
bezier = winIn, 0.1, 1.1, 0.1, 1.1
|
||||||
|
bezier = winOut, 0.3, -0.3, 0, 1
|
||||||
|
bezier = liner, 1, 1, 1, 1
|
||||||
|
animation = windows, 1, 6, wind, slide
|
||||||
|
animation = windowsIn, 1, 6, winIn, slide
|
||||||
|
animation = windowsOut, 1, 5, winOut, slide
|
||||||
|
animation = windowsMove, 1, 5, wind, slide
|
||||||
|
animation = border, 1, 1, liner
|
||||||
|
animation = borderangle, 1, 30, liner, loop
|
||||||
|
animation = fade, 1, 10, default
|
||||||
|
animation = workspaces, 1, 5, wind
|
||||||
|
}
|
||||||
|
|
||||||
|
input {
|
||||||
|
kb_layout = us
|
||||||
|
kb_options = caps:escape
|
||||||
|
follow_mouse = 2
|
||||||
|
mouse_refocus = false;
|
||||||
|
|
||||||
|
sensitivity = 0
|
||||||
|
force_no_accel = 1
|
||||||
|
touchpad {
|
||||||
|
natural_scroll = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
gestures {
|
||||||
|
workspace_swipe = false
|
||||||
|
}
|
||||||
|
|
||||||
|
group {
|
||||||
|
col.border_active = rgba(ca9ee6ff) rgba(f2d5cfff) 45deg
|
||||||
|
col.border_inactive = rgba(b4befecc) rgba(6c7086cc) 45deg
|
||||||
|
col.border_locked_active = rgba(ca9ee6ff) rgba(f2d5cfff) 45deg
|
||||||
|
col.border_locked_inactive = rgba(b4befecc) rgba(6c7086cc) 45deg
|
||||||
|
}
|
||||||
|
|
||||||
|
misc {
|
||||||
|
disable_hyprland_logo = true
|
||||||
|
disable_splash_rendering = true
|
||||||
|
force_default_wallpaper = 0
|
||||||
|
vrr = 1
|
||||||
|
vfr = true
|
||||||
|
}
|
||||||
|
|
||||||
|
xwayland {
|
||||||
|
# latest configuration
|
||||||
|
# use_nearset_neighbor
|
||||||
|
# force_zero_scaling
|
||||||
|
# current configuration
|
||||||
|
use_nearest_neighbor = true
|
||||||
|
force_zero_scaling = false
|
||||||
|
}
|
||||||
|
|
||||||
|
cursor {
|
||||||
|
no_hardware_cursors = true
|
||||||
|
inactive_timeout = 2
|
||||||
|
no_warps = false
|
||||||
|
default_monitor = DP-1
|
||||||
|
}
|
||||||
|
|
||||||
|
debug {
|
||||||
|
disable_logs = true
|
||||||
|
#disable_logs
|
||||||
|
}
|
||||||
|
|
||||||
|
# Disable touchscreen
|
||||||
|
device {
|
||||||
|
name = gxtp7386:00-27c6:011a
|
||||||
|
enabled = false
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# < End Section >
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# < Start Section >
|
||||||
|
# dwindle layout
|
||||||
|
|
||||||
|
dwindle {
|
||||||
|
pseudotile = true
|
||||||
|
preserve_split = true
|
||||||
|
}
|
||||||
|
|
||||||
|
# < End Section >
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# < Start Section >
|
||||||
|
# master layout
|
||||||
|
|
||||||
|
master {
|
||||||
|
new_status = master
|
||||||
|
}
|
||||||
|
|
||||||
|
# < End Section >
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# < Start Section >
|
||||||
|
# window rules
|
||||||
|
|
||||||
|
# core
|
||||||
|
workspace = w[t1], gapsout:0, border:0, rounding:0
|
||||||
|
windowrulev2 = suppressevent maximize, class:^(.*)$
|
||||||
|
windowrulev2 = opacity 0.80 0.80,class:^(.*)$
|
||||||
|
windowrulev2 = opacity 0.80 0.70,class:^(pavucontrol)$
|
||||||
|
windowrulev2 = opacity 0.80 0.70,class:^(org.kde.polkit-kde-authentication-agent-1)$
|
||||||
|
windowrulev2 = float, class:^(qt5ct)$
|
||||||
|
windowrulev2 = float, class:^(nwg-look)$
|
||||||
|
windowrulev2 = float, class:^(pavucontrol)$
|
||||||
|
windowrulev2 = float, class:^(org.kde.polkit-kde-authentication-agent-1)$
|
||||||
|
|
||||||
|
# main
|
||||||
|
windowrulev2 = workspace 1 silent, class:^(discord)$
|
||||||
|
windowrulev2 = workspace 1 silent, class:^(vesktop)$
|
||||||
|
windowrulev2 = workspace 1 silent, class:^(thunderbird)$
|
||||||
|
windowrulev2 = workspace 1 silent, class:^(Dopamine)$
|
||||||
|
windowrulev2 = workspace 1 silent, class:^(spotify)$
|
||||||
|
windowrulev2 = workspace 2 silent, class:^(Alacritty)$
|
||||||
|
windowrulev2 = workspace 3 silent, class:^(firefox)$
|
||||||
|
|
||||||
|
# development
|
||||||
|
windowrulev2 = float, class:^(VirtualBox.*)$
|
||||||
|
windowrulev2 = float, title:^(SnakePlusPlus)$
|
||||||
|
windowrulev2 = center, title:^(SnakePlusPlus)$
|
||||||
|
windowrulev2 = opacity 0.4, title:^(SnakePlusPlus)$
|
||||||
|
windowrulev2 = float, title:^(TetrisPlusPlus)$
|
||||||
|
windowrulev2 = center, title:^(TetrisPlusPlus)$
|
||||||
|
windowrulev2 = workspace 5 silent, class:^(aquamarine)$
|
||||||
|
windowrulev2 = fullscreen, class:^(aquamarine)$
|
||||||
|
|
||||||
|
# layer rules
|
||||||
|
layerrule = blur,waybar
|
||||||
|
layerrule = ignorezero, waybar
|
||||||
|
|
||||||
|
# < End Section >
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# < Start Section >
|
||||||
|
# keybinds
|
||||||
|
|
||||||
|
# main modifier
|
||||||
|
$mainMod = SUPER
|
||||||
|
|
||||||
|
# passthrough
|
||||||
|
bind = , mouse:275, pass, ^(discord)$
|
||||||
|
bind = SHIFT, mouse:275, pass, ^(discord)$
|
||||||
|
|
||||||
|
# core binds
|
||||||
|
bind = $mainMod SHIFT, Q, killactive,
|
||||||
|
bind = $mainMod SHIFT, M, exit
|
||||||
|
bind = $mainMod, SPACE, togglefloating,
|
||||||
|
bind = $mainMod, F, fullscreen,
|
||||||
|
bind = $mainMod SHIFT, L, exec, hyprlock
|
||||||
|
bind = $mainMod $CONTROL, ESCAPE, exec, killall waybar || waybar # toggle waybar
|
||||||
|
bind = $mainMod SHIFT, J, togglesplit, # dwindle
|
||||||
|
bind = $mainMod SHIFT, SPACE, pseudo, # dwindle
|
||||||
|
|
||||||
|
# main application shortcuts
|
||||||
|
bind = $mainMod, RETURN, exec, alacritty
|
||||||
|
bind = $mainMod SHIFT, S, exec, grim -g "$(slurp)" - | wl-copy
|
||||||
|
bind = $mainMod SHIFT, 7, exec, taskset -c 1-7 prismlauncher
|
||||||
|
bind = $mainMod, S, exec, pkill -x rofi || rofi -show drun
|
||||||
|
|
||||||
|
# generic audio control
|
||||||
|
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%
|
||||||
|
|
||||||
|
# custom audio control
|
||||||
|
binde = $mainMod, F1, exec, playerctl play-pause
|
||||||
|
binde = $mainMod, F2, exec, playerctl previous
|
||||||
|
binde = $mainMod, F3, exec, playerctl next
|
||||||
|
|
||||||
|
# Laptop binds
|
||||||
|
binde = , XF86MonBrightnessDown, exec, brightnessctl set 5%-
|
||||||
|
binde = , XF86MonBrightnessUp, exec, brightnessctl set 5%+
|
||||||
|
|
||||||
|
# move focus
|
||||||
|
bind = $mainMod, h, movefocus, l
|
||||||
|
bind = $mainMod, l, movefocus, r
|
||||||
|
bind = $mainMod, k, movefocus, u
|
||||||
|
bind = $mainMod, j, movefocus, d
|
||||||
|
|
||||||
|
# workspaces
|
||||||
|
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, 6, workspace, 6
|
||||||
|
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
|
||||||
|
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
||||||
|
bind = $mainMod ALT, 1, movetoworkspacesilent, 1
|
||||||
|
bind = $mainMod ALT, 2, movetoworkspacesilent, 2
|
||||||
|
bind = $mainMod ALT, 3, movetoworkspacesilent, 3
|
||||||
|
bind = $mainMod ALT, 4, movetoworkspacesilent, 4
|
||||||
|
bind = $mainMod ALT, 5, movetoworkspacesilent, 5
|
||||||
|
bind = $mainMod ALT, 6, movetoworkspacesilent, 6
|
||||||
|
|
||||||
|
# resizing windows
|
||||||
|
binde = $mainMod, right, resizeactive, 5 0
|
||||||
|
binde = $mainMod, left, resizeactive, -5 0
|
||||||
|
binde = $mainMod, up, resizeactive, 0 -5
|
||||||
|
binde = $mainMod, down, resizeactive, 0 5
|
||||||
|
bindm = $mainMod, mouse:272, movewindow
|
||||||
|
bindm = $mainMod, mouse:273, resizewindow
|
||||||
|
|
||||||
|
# < End Section >
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# < Start Section >
|
||||||
|
# environment variables
|
||||||
|
|
||||||
|
env = XDG_CURRENT_DESKTOP,Hyprland
|
||||||
|
env = XDG_SESSION_DESKTOP,Hyprland
|
||||||
|
env = MOZ_ENABLE_WAYLAND,1
|
||||||
|
env = HYPRCURSOR_THEME, rose-pine-hyprcursor
|
||||||
|
env = HYPRCURSOR_SIZE, 24
|
||||||
|
|
||||||
|
# < End Section >
|
||||||
|
|
79
hypr/hyprlock.conf
Normal file
79
hypr/hyprlock.conf
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
source = $HOME/.config/hypr/frappe.conf
|
||||||
|
|
||||||
|
$accent = $mauve
|
||||||
|
$accentAlpha = $mauveAlpha
|
||||||
|
$font = JetBrainsMono Nerd Font
|
||||||
|
|
||||||
|
# GENERAL
|
||||||
|
general {
|
||||||
|
disable_loading_bar = true
|
||||||
|
hide_cursor = true
|
||||||
|
}
|
||||||
|
|
||||||
|
# BACKGROUND
|
||||||
|
background {
|
||||||
|
monitor = eDP-1
|
||||||
|
path = ~/.profile/background-locked.png
|
||||||
|
blur_passes = 0
|
||||||
|
color = $base
|
||||||
|
}
|
||||||
|
|
||||||
|
# TIME
|
||||||
|
label {
|
||||||
|
monitor = eDP-1
|
||||||
|
text = cmd[update:30000] echo "$(date +"%R")"
|
||||||
|
color = $text
|
||||||
|
font_size = 90
|
||||||
|
font_family = $font
|
||||||
|
position = -30, 0
|
||||||
|
halign = right
|
||||||
|
valign = top
|
||||||
|
}
|
||||||
|
|
||||||
|
# DATE
|
||||||
|
label {
|
||||||
|
monitor = eDP-1
|
||||||
|
text = cmd[update:43200000] echo "$(date +"%A, %d %B %Y")"
|
||||||
|
color = $text
|
||||||
|
font_size = 25
|
||||||
|
font_family = $font
|
||||||
|
position = -30, -150
|
||||||
|
halign = right
|
||||||
|
valign = top
|
||||||
|
}
|
||||||
|
|
||||||
|
# USER AVATAR
|
||||||
|
|
||||||
|
image {
|
||||||
|
monitor = eDP-1
|
||||||
|
path = ~/.profile/pfp.png
|
||||||
|
size = 100
|
||||||
|
border_color = $accent
|
||||||
|
|
||||||
|
position = 0, 75
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
}
|
||||||
|
|
||||||
|
# INPUT FIELD
|
||||||
|
input-field {
|
||||||
|
monitor = eDP-1
|
||||||
|
size = 300, 60
|
||||||
|
outline_thickness = 4
|
||||||
|
dots_size = 0.2
|
||||||
|
dots_spacing = 0.2
|
||||||
|
dots_center = true
|
||||||
|
outer_color = $accent
|
||||||
|
inner_color = $surface0
|
||||||
|
font_color = $text
|
||||||
|
fade_on_empty = false
|
||||||
|
placeholder_text = <span foreground="##$textAlpha"><i> Logged in as </i><span foreground="##$accentAlpha">$USER</span></span>
|
||||||
|
hide_input = false
|
||||||
|
check_color = $accent
|
||||||
|
fail_color = $red
|
||||||
|
fail_text = <i>$FAIL <b>($ATTEMPTS)</b></i>
|
||||||
|
capslock_color = $yellow
|
||||||
|
position = 0, -35
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
}
|
12
update.sh
Executable file
12
update.sh
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
echo "Syncing dotfiles with alacritty..."
|
||||||
|
rsync --delete --recursive ~/.config/alacritty $(dirname "$0")
|
||||||
|
|
||||||
|
echo "Syncing dotfiles with hypr..."
|
||||||
|
rsync --delete --recursive ~/.config/hypr $(dirname "$0")
|
||||||
|
|
||||||
|
echo "Syncing dotfiles with waybar..."
|
||||||
|
rsync --delete --recursive ~/.config/waybar $(dirname "$0")
|
||||||
|
|
||||||
|
echo "Syncing complete!"
|
129
waybar/config
Normal file
129
waybar/config
Normal file
@ -0,0 +1,129 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"name": "main",
|
||||||
|
"layer": "bottom",
|
||||||
|
"position": "top",
|
||||||
|
"height": 40,
|
||||||
|
"spacing": 0,
|
||||||
|
"output": "eDP-1",
|
||||||
|
"reload_style_on_change": true,
|
||||||
|
"modules-left": [
|
||||||
|
"custom/appmenu",
|
||||||
|
"disk",
|
||||||
|
"memory",
|
||||||
|
"cpu",
|
||||||
|
"custom/gpu",
|
||||||
|
"temperature"
|
||||||
|
],
|
||||||
|
"modules-center": [
|
||||||
|
"hyprland/workspaces"
|
||||||
|
],
|
||||||
|
"modules-right": [
|
||||||
|
"tray",
|
||||||
|
"wireplumber",
|
||||||
|
"network#wifi",
|
||||||
|
"clock",
|
||||||
|
"custom/poweroff"
|
||||||
|
],
|
||||||
|
"battery": {
|
||||||
|
"interval": 20,
|
||||||
|
"states": {
|
||||||
|
"warning": 30,
|
||||||
|
"critical": 15
|
||||||
|
},
|
||||||
|
"format": "{icon} {capacity}%",
|
||||||
|
"format-icons": [" ", " ", " ", " ", " "],
|
||||||
|
"max-length": 25
|
||||||
|
},
|
||||||
|
"clock": {
|
||||||
|
"interval": 1,
|
||||||
|
"format": "<b>{:%I:%M:%S %p}</b>",
|
||||||
|
"format-alt": "{:%Y-%m-%d}",
|
||||||
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
|
||||||
|
},
|
||||||
|
"cpu": {
|
||||||
|
"format": " {usage}%",
|
||||||
|
"interval": 5,
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
"disk": {
|
||||||
|
"format": " {percentage_used}%",
|
||||||
|
"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": {
|
||||||
|
"format": "{icon} {temperatureC}°C ",
|
||||||
|
"format-icons": ["", "", "", "", ""],
|
||||||
|
"hwmon-path": "/sys/class/thermal/thermal_zone2/temp",
|
||||||
|
"critical-threshold": 80,
|
||||||
|
"interval": 5
|
||||||
|
},
|
||||||
|
"temperature": {
|
||||||
|
"critical-threshold": 80,
|
||||||
|
"format": "{icon} {temperatureC}°C",
|
||||||
|
"format-icons": ["", "", "", "", ""],
|
||||||
|
"hwmon-path": "/sys/class/hwmon/hwmon4/temp1_input"
|
||||||
|
},
|
||||||
|
"network#wifi": {
|
||||||
|
"interface": "wlo1",
|
||||||
|
"format-wifi": " {signalStrength}%",
|
||||||
|
"format-disconnected": "",
|
||||||
|
"tooltip-format": "{ifname}: {ipaddr}/{cidr}"
|
||||||
|
},
|
||||||
|
"sway/mode": {
|
||||||
|
"format": "<span style=\"italic\">{}</span>"
|
||||||
|
},
|
||||||
|
"hyprland/workspaces": {
|
||||||
|
"format": "{icon}",
|
||||||
|
"sort-by-number": true,
|
||||||
|
"all-outputs": true,
|
||||||
|
"disable-scroll": true,
|
||||||
|
"active-only": false,
|
||||||
|
"format-icons": {
|
||||||
|
"active": "",
|
||||||
|
"default": "",
|
||||||
|
"persistent": "",
|
||||||
|
},
|
||||||
|
"persistent-workspaces": {
|
||||||
|
"1": [ ],
|
||||||
|
"2": [ ],
|
||||||
|
"3": [ ],
|
||||||
|
"4": [ ],
|
||||||
|
"5": [ ]
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
"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/appmenu": {
|
||||||
|
"format": "",
|
||||||
|
"on-click": "pkill -x rofi || rofi -show drun"
|
||||||
|
},
|
||||||
|
"custom/poweroff": {
|
||||||
|
"tooltip": false,
|
||||||
|
"format": " ",
|
||||||
|
"on-click": "pgrep poweroff.sh || $HOME/.config/waybar/scripts/poweroff.sh"
|
||||||
|
},
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
37
waybar/frappe.css
Normal file
37
waybar/frappe.css
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
/*
|
||||||
|
*
|
||||||
|
* Catppuccin Frappe palette
|
||||||
|
* Maintainer: rubyowo
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
@define-color base #303446;
|
||||||
|
@define-color mantle #292c3c;
|
||||||
|
@define-color crust #232634;
|
||||||
|
|
||||||
|
@define-color text #c6d0f5;
|
||||||
|
@define-color subtext0 #a5adce;
|
||||||
|
@define-color subtext1 #b5bfe2;
|
||||||
|
|
||||||
|
@define-color surface0 #414559;
|
||||||
|
@define-color surface1 #51576d;
|
||||||
|
@define-color surface2 #626880;
|
||||||
|
|
||||||
|
@define-color overlay0 #737994;
|
||||||
|
@define-color overlay1 #838ba7;
|
||||||
|
@define-color overlay2 #949cbb;
|
||||||
|
|
||||||
|
@define-color blue #8caaee;
|
||||||
|
@define-color lavender #babbf1;
|
||||||
|
@define-color sapphire #85c1dc;
|
||||||
|
@define-color sky #99d1db;
|
||||||
|
@define-color teal #81c8be;
|
||||||
|
@define-color green #a6d189;
|
||||||
|
@define-color yellow #e5c890;
|
||||||
|
@define-color peach #ef9f76;
|
||||||
|
@define-color maroon #ea999c;
|
||||||
|
@define-color red #e78284;
|
||||||
|
@define-color mauve #ca9ee6;
|
||||||
|
@define-color pink #f4b8e4;
|
||||||
|
@define-color flamingo #eebebe;
|
||||||
|
@define-color rosewater #f2d5cf;
|
19
waybar/scripts/get_weather.sh
Executable file
19
waybar/scripts/get_weather.sh
Executable file
@ -0,0 +1,19 @@
|
|||||||
|
#!/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\"}"
|
27
waybar/scripts/poweroff.sh
Executable file
27
waybar/scripts/poweroff.sh
Executable file
@ -0,0 +1,27 @@
|
|||||||
|
#!/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
|
18
waybar/scripts/spotify.sh
Executable file
18
waybar/scripts/spotify.sh
Executable file
@ -0,0 +1,18 @@
|
|||||||
|
#!/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"\"}"
|
84
waybar/style.css
Executable file
84
waybar/style.css
Executable file
@ -0,0 +1,84 @@
|
|||||||
|
@import "frappe.css";
|
||||||
|
|
||||||
|
* {
|
||||||
|
border: none;
|
||||||
|
border-radius: 0px;
|
||||||
|
min-height: 0;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 14px;
|
||||||
|
font-family: "Hack Nerd Font";
|
||||||
|
}
|
||||||
|
|
||||||
|
window#waybar {
|
||||||
|
background-color: alpha(@crust, 0.3);
|
||||||
|
border-radius: 0px;
|
||||||
|
border-bottom: 0px solid @overlay0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button {
|
||||||
|
color: @peach;
|
||||||
|
border-radius: 8px;
|
||||||
|
margin: 4px 2px;
|
||||||
|
padding: 0px 8px;
|
||||||
|
padding-right: 12px; /* why?? */
|
||||||
|
transition: all 0.4s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.active {
|
||||||
|
background-color: alpha(@peach, 0.2);
|
||||||
|
transition: all 0.4s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modules-left,
|
||||||
|
.modules-center,
|
||||||
|
.modules-right {
|
||||||
|
padding-top: 0px;
|
||||||
|
padding-bottom: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modules-left {
|
||||||
|
padding-left: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modules-right {
|
||||||
|
padding-right: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#clock,
|
||||||
|
#cpu,
|
||||||
|
#disk,
|
||||||
|
#memory,
|
||||||
|
#temperature,
|
||||||
|
#tray,
|
||||||
|
#wireplumber,
|
||||||
|
#workspaces,
|
||||||
|
#network,
|
||||||
|
#custom-appmenu,
|
||||||
|
#custom-gpu,
|
||||||
|
#custom-poweroff,
|
||||||
|
#custom-weather {
|
||||||
|
background-color: transparent;
|
||||||
|
border-radius: 10px;
|
||||||
|
border: ;
|
||||||
|
margin-left: 6px;
|
||||||
|
margin-right: 6px;
|
||||||
|
color: @peach;
|
||||||
|
min-width: 45px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#network {
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-appmenu,
|
||||||
|
#workspaces label,
|
||||||
|
#network {
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#clock {
|
||||||
|
min-width: 80px;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user