control: update dotfiles to v0.1.0

This commit is contained in:
trianta 2025-03-03 23:46:53 -06:00
parent d3a2cb9712
commit a91635139f
4 changed files with 178 additions and 171 deletions

View File

@ -1,4 +1,3 @@
import = ["/home/trianta/.config/alacritty/catppuccin/catppuccin-frappe.toml"]
[cursor.style] [cursor.style]
shape = "Underline" shape = "Underline"
@ -39,7 +38,7 @@ key = "End"
mode = "~Alt" mode = "~Alt"
mods = "Shift" mods = "Shift"
[shell] [terminal.shell]
args = ["--login"] args = ["--login"]
program = "/bin/zsh" program = "/bin/zsh"
@ -47,3 +46,8 @@ program = "/bin/zsh"
opacity = 0.5 opacity = 0.5
padding = {x = 25, y = 25} padding = {x = 25, y = 25}
[general]
import = ["/home/trianta/.config/alacritty/catppuccin/catppuccin-frappe.toml"]
[terminal]

View File

@ -23,7 +23,7 @@ exec-once = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
exec-once = waybar -c ~/.config/waybar/config exec-once = waybar -c ~/.config/waybar/config
exec-once = dunst exec-once = dunst
exec-once = swww init exec-once = swww-daemon
exec-once = syncthing --no-browser exec-once = syncthing --no-browser
# main applications # main applications
@ -58,42 +58,36 @@ workspace = 6, monitor:HDMI-A-1
# < Start Section > # < Start Section >
# variables # variables
general { general {
gaps_in = 0 gaps_in = 0
gaps_out = 0 gaps_out = 4
border_size = 0 border_size = 0
col.active_border = $peach col.active_border = 0x000000
#col.inactive_border = $peach col.inactive_border = 0x000000
layout = dwindle layout = master
resize_on_border = false resize_on_border = false
# old border colors
#col.active_border = rgba(ca9ee6ff) rgba(f2d5cfff) 45deg
#col.inactive_border = rgba(b4befecc) rgba(6c7086cc) 45deg
} }
decoration { decoration {
#rounding = 0
rounding = 6
drop_shadow = false drop_shadow = false
rounding = 0
dim_special = 0.3 dim_special = 0.3
fullscreen_opacity = 1.0 fullscreen_opacity = 1.0
#active_opacity = 1.0
#inactive_opacity = 0.9
blur { blur {
enabled = yes enabled = true
special = true special = true
size = 6 size = 6
passes = 3 passes = 3
new_optimizations = on new_optimizations = true
ignore_opacity = on ignore_opacity = true
xray = false xray = false
} }
} }
animations { animations {
enabled = yes enabled = true
bezier = wind, 0.05, 0.9, 0.1, 1.05 bezier = wind, 0.05, 0.9, 0.1, 1.05
bezier = winIn, 0.1, 1.1, 0.1, 1.1 bezier = winIn, 0.1, 1.1, 0.1, 1.1
bezier = winOut, 0.3, -0.3, 0, 1 bezier = winOut, 0.3, -0.3, 0, 1
@ -110,18 +104,19 @@ animations {
input { input {
kb_layout = us kb_layout = us
kb_options = caps:escape
follow_mouse = 2 follow_mouse = 2
mouse_refocus = false; mouse_refocus = false;
sensitivity = 0 sensitivity = 0
force_no_accel = 1 force_no_accel = 1
touchpad { touchpad {
natural_scroll = no natural_scroll = true
} }
} }
gestures { gestures {
workspace_swipe = off workspace_swipe = false
} }
group { group {
@ -141,8 +136,8 @@ misc {
xwayland { xwayland {
# latest configuration # latest configuration
# use_nearset_neighbor = true # use_nearset_neighbor
# force_zero_scaling = true # force_zero_scaling
# current configuration # current configuration
use_nearest_neighbor = true use_nearest_neighbor = true
force_zero_scaling = false force_zero_scaling = false
@ -157,7 +152,7 @@ cursor {
debug { debug {
disable_logs = true disable_logs = true
#disable_logs = false #disable_logs
} }
# Disable touchscreen # Disable touchscreen
@ -175,8 +170,8 @@ device {
# dwindle layout # dwindle layout
dwindle { dwindle {
pseudotile = yes pseudotile = true
preserve_split = yes preserve_split = true
} }
# < End Section > # < End Section >
@ -187,9 +182,7 @@ dwindle {
# master layout # master layout
master { master {
# TODO: replace when out of git version new_status = master
#new_status = master
new_is_master = true
} }
# < End Section > # < End Section >
@ -200,6 +193,8 @@ master {
# window rules # window rules
# core # 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.80,class:^(.*)$
windowrulev2 = opacity 0.80 0.70,class:^(pavucontrol)$ windowrulev2 = opacity 0.80 0.70,class:^(pavucontrol)$
windowrulev2 = opacity 0.80 0.70,class:^(org.kde.polkit-kde-authentication-agent-1)$ windowrulev2 = opacity 0.80 0.70,class:^(org.kde.polkit-kde-authentication-agent-1)$
@ -207,27 +202,25 @@ windowrulev2 = float, class:^(qt5ct)$
windowrulev2 = float, class:^(nwg-look)$ windowrulev2 = float, class:^(nwg-look)$
windowrulev2 = float, class:^(pavucontrol)$ windowrulev2 = float, class:^(pavucontrol)$
windowrulev2 = float, class:^(org.kde.polkit-kde-authentication-agent-1)$ windowrulev2 = float, class:^(org.kde.polkit-kde-authentication-agent-1)$
#windowrulev2 = float, class:^(steam)$
# main # main
windowrulev2 = workspace 1 silent, class:^(discord)$ windowrulev2 = workspace 1 silent, class:^(discord)$
windowrulev2 = workspace 1 silent, class:^(Spotify)$ 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 2 silent, class:^(Alacritty)$
windowrulev2 = workspace 3 silent, class:^(firefox)$ windowrulev2 = workspace 3 silent, class:^(firefox)$
windowrulev2 = workspace 4 silent, class:^(steam)$
windowrulev2 = workspace 4 silent, title:^(Minecraft.*)$
windowrulev2 = workspace 4 silent, class:^(steam_app_.*)$
windowrulev2 = workspace 4 silent, class:^(steam_proton)$
windowrulev2 = workspace 4 silent, class:^(hl2_linux)$
windowrulev2 = workspace 4 silent, class:^(gamescope)$
windowrulev2 = workspace 5 silent, class:^(Bolt.*)$
# development # development
windowrulev2 = pseudo, title:^(SnakePlusPlus)$ windowrulev2 = float, class:^(VirtualBox.*)$
windowrulev2 = float, title:^(SnakePlusPlus)$
windowrulev2 = center, title:^(SnakePlusPlus)$ windowrulev2 = center, title:^(SnakePlusPlus)$
windowrulev2 = opacity 0.4, title:^(SnakePlusPlus)$ windowrulev2 = opacity 0.4, title:^(SnakePlusPlus)$
windowrulev2 = float, title:^(TetrisPlusPlus)$ windowrulev2 = float, title:^(TetrisPlusPlus)$
windowrulev2 = center, title:^(TetrisPlusPlus)$ windowrulev2 = center, title:^(TetrisPlusPlus)$
windowrulev2 = workspace 5 silent, class:^(aquamarine)$
windowrulev2 = fullscreen, class:^(aquamarine)$
# layer rules # layer rules
layerrule = blur,waybar layerrule = blur,waybar

View File

@ -1,27 +1,27 @@
[ [
{ {
"name": "main", "name": "main",
"layer": "top", "layer": "bottom",
"position": "top", "position": "top",
"height": 38, "height": 40,
"spacing": 4, "spacing": 0,
"margin-top": 0,
"margin-bottom": 0,
"output": "eDP-1", "output": "eDP-1",
"reload_style_on_change": true, "reload_style_on_change": true,
"modules-left": [ "modules-left": [
"custom/appmenu",
"disk", "disk",
"memory", "memory",
"cpu", "cpu",
"temperature", "custom/gpu",
"pulseaudio" "temperature"
],
"modules-center": [
"hyprland/workspaces"
], ],
"modules-center": ["hyprland/workspaces"],
"modules-right": [ "modules-right": [
"tray", "tray",
"wireplumber",
"network#wifi", "network#wifi",
"custom/weather",
"battery",
"clock", "clock",
"custom/poweroff" "custom/poweroff"
], ],
@ -43,10 +43,11 @@
}, },
"cpu": { "cpu": {
"format": " {usage}%", "format": " {usage}%",
"interval": 5,
"tooltip": false "tooltip": false
}, },
"disk": { "disk": {
"format": " {}%", "format": " {percentage_used}%",
"tooltip-format": "{used} / {total} used" "tooltip-format": "{used} / {total} used"
}, },
"idle_inhibitor": { "idle_inhibitor": {
@ -60,6 +61,13 @@
"format": " {}%", "format": " {}%",
"tooltip-format": "{used:0.1f}G / {total:0.1f}G used" "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": { "temperature": {
"critical-threshold": 80, "critical-threshold": 80,
"format": "{icon} {temperatureC}°C", "format": "{icon} {temperatureC}°C",
@ -68,10 +76,13 @@
}, },
"network#wifi": { "network#wifi": {
"interface": "wlo1", "interface": "wlo1",
"format-wifi": " {signalStrength}%", "format-wifi": "󰣺 {signalStrength}%",
"format-disconnected": "", "format-disconnected": "󰣽",
"tooltip-format": "{ifname}: {ipaddr}/{cidr}" "tooltip-format": "{ifname}: {ipaddr}/{cidr}"
}, },
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},
"hyprland/workspaces": { "hyprland/workspaces": {
"format": "{icon}", "format": "{icon}",
"sort-by-number": true, "sort-by-number": true,
@ -79,9 +90,9 @@
"disable-scroll": true, "disable-scroll": true,
"active-only": false, "active-only": false,
"format-icons": { "format-icons": {
"default": "", "active": "",
"persistent": "", "default": "",
"active": "" "persistent": "",
}, },
"persistent-workspaces": { "persistent-workspaces": {
"1": [ ], "1": [ ],
@ -90,53 +101,29 @@
"4": [ ], "4": [ ],
"5": [ ] "5": [ ]
} }
}, },
"wlr/taskbar": { "wireplumber": {
"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": ""
}
},
"pulseaudio": {
"format": " {volume}%", "format": " {volume}%",
"format-muted": " 0%", "format-muted": " 0%",
"on-click": "pavucontrol",
"on-click-right": "helvum",
"max-volume": 100, "max-volume": 100,
"scroll-step": 0 "scroll-step": 5
}, },
"tray": { "tray": {
"icon-size": 21, "icon-size": 21,
"spacing": 10 "spacing": 10
}, },
"custom/spotify": { "custom/appmenu": {
"interval": 1, "format": "",
"return-type": "json", "on-click": "pkill -x rofi || rofi -show drun"
"exec": "~/.config/waybar/scripts/spotify.sh",
"exec-if": "pgrep spotify",
"escape": true
}, },
"custom/poweroff": { "custom/poweroff": {
"tooltip": false, "tooltip": false,
"format": " ", "format": " ",
"on-click": "bash ~/.config/waybar/scripts/poweroff.sh" "on-click": "pgrep poweroff.sh || $HOME/.config/waybar/scripts/poweroff.sh"
}, },
"custom/weather": {
"exec": "~/.config/waybar/scripts/get_weather.sh Belleville+Illinois",
"return-type": "json",
"format": "{}",
"tooltip": true,
"interval": 3600
}
} }
] ]

View File

@ -10,52 +10,75 @@
} }
window#waybar { window#waybar {
background: alpha(@mantle, 0.6); background-color: alpha(@crust, 0.3);
border-radius: 0px; border-radius: 0px;
} border-bottom: 0px solid @overlay0;
window#waybar.hidden {
opacity: 0.2;
} }
#workspaces button { #workspaces button {
color: @peach; color: @peach;
transition: all 0.1s ease; border-radius: 8px;
margin: 4px 2px;
padding: 0px 8px;
padding-right: 12px; /* why?? */
transition: all 0.4s ease;
} }
#workspaces button.active { #workspaces button.active {
background-color: alpha(@peach, 0.2); background-color: alpha(@peach, 0.2);
border-radius: 2px; transition: all 0.4s ease;
transition: all 0.1s ease;
} }
.modules-left, .modules-left,
.modules-center, .modules-center,
.modules-right { .modules-right {
padding-top: 2px; padding-top: 0px;
padding-bottom: 6px; padding-bottom: 0px;
}
.modules-left {
padding-left: 0px;
}
.modules-right {
padding-right: 0px;
} }
#battery,
#clock, #clock,
#cpu, #cpu,
#disk, #disk,
#memory, #memory,
#network,
#temperature, #temperature,
#tray, #tray,
#pulseaudio, #wireplumber,
#workspaces,
#network,
#custom-appmenu,
#custom-gpu,
#custom-poweroff, #custom-poweroff,
#custom-weather { #custom-weather {
background-color: @base; background-color: transparent;
border-radius: 10px; border-radius: 10px;
border: 1px solid @overlay0; border: ;
margin-left: 6px; margin-left: 6px;
margin-right: 6px; margin-right: 6px;
color: @peach; color: @peach;
min-width: 60px; min-width: 45px;
} }
#clock { #network {
min-width: 100px; margin: 0px;
padding: 0px;
} }
#custom-appmenu,
#workspaces label,
#network {
font-size: 14px;
}
#clock {
min-width: 80px;
}