Hyprdots ^^

This commit is contained in:
2023-12-20 09:01:47 +01:00
parent a798e382b6
commit 82cb616675
5 changed files with 106 additions and 41 deletions

View File

@@ -4,4 +4,5 @@ swww init;
flameshot & disown; flameshot & disown;
/usr/lib/mate-polkit/polkit-mate-authentication-agent-1 & /usr/lib/mate-polkit/polkit-mate-authentication-agent-1 &
wayvnc & disown; wayvnc & disown;
touchegg & disown;
$HOME/.config/waybar/launcher.sh $HOME/.config/waybar/launcher.sh

View File

@@ -77,14 +77,20 @@ bind=SUPER,Z,exec,alacritty
bind=SUPERSHIFT,Z,exec,kitty bind=SUPERSHIFT,Z,exec,kitty
bind=SUPER,X,killactive, bind=SUPER,X,killactive,
bind=SUPER_SHIFT,Q,exit, bind=SUPER_SHIFT,Q,exit,
bind=SUPER,E,exec,nemo bind=SUPER,E,exec,nemo
bind=SUPERSHIFT,E,exec,kitty ranger
bind=SUPER,F,fullscreen,1 bind=SUPER,F,fullscreen,1
bind=SUPERSHIFT,F,fullscreen,0 bind=SUPERSHIFT,F,fullscreen,0
bind=SUPERSHIFT,L,exec,gtklock
bind=SUPERSHIFT,L,exec,hyprlock
bind=SUPER,T,togglefloating, bind=SUPER,T,togglefloating,
bind=SUPER,R,exec,wofi --show drun -o DP-3 bind=SUPER,R,exec,wofi --show drun -o DP-3
bind=SUPER,P,pseudo, bind=SUPER,P,pseudo,
bind=SUPER,SPACE,exec,rofi -modi drun,run,window,calc -show drun bind=SUPER,SPACE,exec,rofi -modi drun,run,window,calc -show drun
bind=SUPER,C,pin
bind=SUPERSHIFT,R,hyprload,reload bind=SUPERSHIFT,R,hyprload,reload
bind=SUPERSHIFT,U,hyprload,update bind=SUPERSHIFT,U,hyprload,update
@@ -147,6 +153,22 @@ windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$
windowrulev2 = pin,class:^(scrcpy)$ windowrulev2 = pin,class:^(scrcpy)$
windowrulev2 = move onscreen 100%-30,class:^(scrcpy)$ windowrulev2 = move onscreen 100%-30,class:^(scrcpy)$
windowrulev2 = float,class:^(flameshot)$
windowrulev2 = pin,class:^(flameshot)$
windowrulev2 = opacity 0.0 override 0.0 override,title:^(Espanso Sync Tool)$
windowrulev2 = float,title:^(Espanso Sync Tool)$
windowrulev2 = size 0.1 0.1,title:^(Espanso Sync Tool)$
windowrulev2 = move 100% 100%,title:^(Espanso Sync Tool)$
# Envars; to play along with wayland nicely
env = QT_QPA_PLATFORM,wayland;xcb
env = CLUTTER_BACKEND,wayland
env = GDK_BACKEND,wayland,x11
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
env = QT_QPA_PLATFORMTHEME,qt5ct
plugin:hyprfocus { plugin:hyprfocus {
enabled = yes enabled = yes

View File

@@ -5,7 +5,7 @@
// "width": 1280, // Waybar width // "width": 1280, // Waybar width
"spacing": 4, // Gaps between modules (4px) "spacing": 4, // Gaps between modules (4px)
// Choose the order of the modules // Choose the order of the modules
"modules-left": ["custom/archicon","hyprland/workspaces", "sway/mode", "sway/scratchpad", "custom/media"], "modules-left": ["custom/archicon","hyprland/workspaces", "custom/media", ],
"modules-center": ["hyprland/window"], "modules-center": ["hyprland/window"],
"modules-right": ["mpd", "idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "keyboard-state", "sway/language", "battery", "clock", "tray"], "modules-right": ["mpd", "idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "keyboard-state", "sway/language", "battery", "clock", "tray"],
// Modules configuration // Modules configuration
@@ -80,8 +80,8 @@
"idle_inhibitor": { "idle_inhibitor": {
"format": "{icon}", "format": "{icon}",
"format-icons": { "format-icons": {
"activated": "", "activated": "󰅶",
"deactivated": "" "deactivated": "󰾪"
} }
}, },
"tray": { "tray": {
@@ -90,8 +90,8 @@
}, },
"clock": { "clock": {
// "timezone": "America/New_York", // "timezone": "America/New_York",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>", "tooltip-format": "<big>{:%d %B %Y}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{:%Y-%m-%d}" "format-alt": "{:%Y-%m-%d}",
}, },
"cpu": { "cpu": {
"format": "{usage}% ", "format": "{usage}% ",
@@ -146,9 +146,9 @@
"format-source": "{volume}% ", "format-source": "{volume}% ",
"format-source-muted": "", "format-source-muted": "",
"format-icons": { "format-icons": {
"headphone": "", "headphone": "󰋋",
"hands-free": "", "hands-free": "󰟅",
"headset": "", "headset": "󰋎",
"phone": "", "phone": "",
"portable": "", "portable": "",
"car": "", "car": "",

View File

@@ -0,0 +1,38 @@
/*
*
* Catppuccin Macchiato palette
* Maintainer: rubyowo
*
*/
@define-color base #24273a;
@define-color mantle #1e2030;
@define-color crust #181926;
@define-color text #cad3f5;
@define-color subtext0 #a5adcb;
@define-color subtext1 #b8c0e0;
@define-color surface0 #363a4f;
@define-color surface1 #494d64;
@define-color surface2 #5b6078;
@define-color overlay0 #6e738d;
@define-color overlay1 #8087a2;
@define-color overlay2 #939ab7;
@define-color blue #8aadf4;
@define-color lavender #b7bdf8;
@define-color sapphire #7dc4e4;
@define-color sky #91d7e3;
@define-color teal #8bd5ca;
@define-color green #a6da95;
@define-color yellow #eed49f;
@define-color peach #f5a97f;
@define-color maroon #ee99a0;
@define-color red #ed8796;
@define-color mauve #c6a0f6;
@define-color pink #f5bde6;
@define-color flamingo #f0c6c6;
@define-color rosewater #f4dbd6;

View File

@@ -1,12 +1,13 @@
@import "macchiato.css";
* { * {
/* `otf-font-awesome` is required to be installed for icons */ /* `otf-font-awesome` is required to be installed for icons */
font-family: "NotoSans NFP", FontAwesome, Roboto, Helvetica, Arial, sans-serif; font-family: "NotoSans Nerd Font Propo", FontAwesome, Roboto, Helvetica, Arial, sans-serif;
font-size: 13px; font-size: 13px;
} }
window#waybar { window#waybar {
background-color: rgba(43, 48, 59, 0.5); background-color: shade(@base, 1);/* rgba(43, 48, 59, 0.5);*/
border-bottom: 3px solid rgba(100, 114, 125, 0.5); border-bottom: 3px solid shade(@overlay2, 0.5);
color: #ffffff; color: #ffffff;
transition-property: background-color; transition-property: background-color;
transition-duration: .5s; transition-duration: .5s;
@@ -30,10 +31,9 @@ window#waybar.termite {
} }
window#waybar.chromium { window#waybar.chromium {
background-color: #000000; background-color: @base;
border: none; border: none;
} }
button { button {
/* Use box-shadow instead of border so the text isn't offset */ /* Use box-shadow instead of border so the text isn't offset */
box-shadow: inset 0 -3px transparent; box-shadow: inset 0 -3px transparent;
@@ -59,19 +59,19 @@ button:hover {
} }
#workspaces button.active { #workspaces button.active {
background-color: #64727D; background-color: @overlay1;
box-shadow: inset 0 -3px #ffffff; box-shadow: inset 0 -3px #ffffff;
} }
#workspaces button.urgent { #workspaces button.urgent {
background-color: #eb4d4b; background-color: @red;
} }
#mode { #mode {
background-color: #64727D; background-color: #64727D;
border-bottom: 3px solid #ffffff; border-bottom: 3px solid #ffffff;
} }
#cava,
#clock, #clock,
#battery, #battery,
#cpu, #cpu,
@@ -89,7 +89,7 @@ button:hover {
#scratchpad, #scratchpad,
#mpd { #mpd {
padding: 0 10px; padding: 0 10px;
color: #ffffff; color: @text;
} }
#window, #window,
@@ -108,23 +108,23 @@ button:hover {
} }
#clock { #clock {
background-color: #64727D; background-color: inherit;
} }
#battery { #battery {
background-color: #ffffff; background-color: #ffffff;
color: #000000; color: @base;
} }
#battery.charging, #battery.plugged { #battery.charging, #battery.plugged {
color: #ffffff; color: @base;
background-color: #26A65B; background-color: @green;
} }
@keyframes blink { @keyframes blink {
to { to {
background-color: #ffffff; background-color: #ffffff;
color: #000000; color: @base;
} }
} }
@@ -139,16 +139,17 @@ button:hover {
} }
label:focus { label:focus {
background-color: #000000; background-color: @base;
} }
#cpu { #cpu {
background-color: #2ecc71; background-color: @teal;
color: #000000; color: @surface0;
} }
#memory { #memory {
background-color: #9b59b6; background-color: @mauve;
color: @surface0;
} }
#disk { #disk {
@@ -156,34 +157,36 @@ label:focus {
} }
#backlight { #backlight {
background-color: #90b1b1; background-color: @teal;
color: @base;
} }
#network { #network {
background-color: #2980b9; background-color: @sky;
color: @base;
} }
#network.disconnected { #network.disconnected {
background-color: #f53c3c; background-color: @red;
} }
#pulseaudio { #pulseaudio {
background-color: #f1c40f; background-color: @yellow;
color: #000000; color: @base;
} }
#pulseaudio.muted { #pulseaudio.muted {
background-color: #90b1b1; background-color: @peach;
color: #2a5c45; color: @base;
} }
#wireplumber { #wireplumber {
background-color: #fff0f5; background-color: @yellow;
color: #000000; color: @base;
} }
#wireplumber.muted { #wireplumber.muted {
background-color: #f53c3c; background-color: @peach;
} }
#custom-media { #custom-media {
@@ -202,6 +205,7 @@ label:focus {
#temperature { #temperature {
background-color: #f0932b; background-color: #f0932b;
color: @base;
} }
#temperature.critical { #temperature.critical {
@@ -209,7 +213,7 @@ label:focus {
} }
#tray { #tray {
background-color: #2980b9; /*background-color: @crust;*/
} }
#tray > .passive { #tray > .passive {
@@ -218,7 +222,7 @@ label:focus {
#tray > .needs-attention { #tray > .needs-attention {
-gtk-icon-effect: highlight; -gtk-icon-effect: highlight;
background-color: #eb4d4b; background-color: @maroon;
} }
#idle_inhibitor { #idle_inhibitor {
@@ -256,8 +260,8 @@ label:focus {
} }
#keyboard-state { #keyboard-state {
background: #97e1ad; background: @sky;
color: #000000; color: @base;
padding: 0 0px; padding: 0 0px;
margin: 0 5px; margin: 0 5px;
min-width: 16px; min-width: 16px;