Compare commits

..

No commits in common. "b08b77e1dd555265165a532bdcc380abe1243b40" and "f82eb9493d936f9c3f9cddc81b5b0df7cb3f3b19" have entirely different histories.

4 changed files with 61 additions and 164 deletions

View File

@ -1,14 +1,12 @@
monitor = HDMI-A-1, preferred, auto, 1.25
$terminal = ghostty
$fileManager = thunar
$menu = fuzzel
$fileManager = dolphin
$menu = wofi --show drun
exec-once = hyprpaper
exec-once = waybar
exec-once = xrdb -merge "$HOME/.Xresources"
exec-once = thunar --daemon
exec-once = dunst
env = XCURSOR_SIZE,24
env = HYPRCURSOR_SIZE,24
@ -19,7 +17,7 @@ general {
border_size = 4
col.active_border = rgb(f12711) rgb(f5af19) 45deg
col.active_border = rgb(5e72eb) rgb(ff9190) 45deg
col.inactive_border = rgba(595959aa)
resize_on_border = false
@ -34,47 +32,29 @@ xwayland {
force_zero_scaling = true
}
# {{{ Decoration
# See https://wiki.hyprland.org/Configuring/Variables/#decoration
decoration {
rounding = 10
rounding_power = 2.0
rounding_power = 2
active_opacity = 1.0
inactive_opacity = 1.0
fullscreen_opacity = 1.0
dim_inactive = false
dim_strength = 0.5
# See https://wiki.hyprland.org/Configuring/Variables/#shadow
shadow {
enabled = false
color = rgba(1a1a1aee)
range = 8
enabled = true
range = 4
render_power = 3
sharp = false
ignore_window = true
offset = 0 0
scale = 1.0
color = rgba(1a1a1aee)
}
# See https://wiki.hyprland.org/Configuring/Variables/#blur
blur {
enabled = false
size = 8
enabled = true
size = 3
passes = 1
ignore_opacity = true
noise = 0.1
contrast = 0.9
brightness = 0.8
vibrancy = 0.1696
}
}
# }}}
# {{{ Animations
# See https://wiki.hyprland.org/Configuring/Animations/
animations {
enabled = yes, please :)
@ -103,7 +83,6 @@ animations {
animation = workspacesIn, 1, 1.21, almostLinear, fade
animation = workspacesOut, 1, 1.94, almostLinear, fade
}
# }}}
# Ref https://wiki.hyprland.org/Configuring/Workspace-Rules/
# "Smart gaps" / "No gaps when only"
@ -129,10 +108,14 @@ misc {
}
#############
### INPUT ###
#############
# https://wiki.hyprland.org/Configuring/Variables/#input
input {
kb_layout = de
# kb_variant = neo_qwertz
kb_variant = neo_qwertz
kb_model = pc105
kb_options =
kb_rules =
@ -158,20 +141,23 @@ device {
sensitivity = -0.5
}
# {{{ Keybindings
###################
### KEYBINDINGS ###
###################
# See https://wiki.hyprland.org/Configuring/Keywords/
$mainMod = SUPER # Sets "Windows" key as main modifier
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, return, exec, $terminal
bind = $mainMod, Q, killactive,
bind = $mainMod, M, exit,
bind = $mainMod, V, togglefloating,
bind = $mainMod, F, fullscreen, 1
bind = $mainMod SHIFT, F, fullscreen, 0
bind = $mainMod, return, exec, $terminal
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, V, togglefloating,
bind = $mainMod, R, exec, $menu
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle
# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
@ -179,11 +165,6 @@ bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d
bind = $mainMod, H, movefocus, l
bind = $mainMod, L, movefocus, r
bind = $mainMod, K, movefocus, u
bind = $mainMod, J, movefocus, d
# Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
@ -234,22 +215,18 @@ bindl = , XF86AudioPause, exec, playerctl play-pause
bindl = , XF86AudioPlay, exec, playerctl play-pause
bindl = , XF86AudioPrev, exec, playerctl previous
# }}}
# {{{ Window Rules
##############################
### WINDOWS AND WORKSPACES ###
##############################
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
# Example windowrule
# windowrule = float,class:^(kitty)$,title:^(kitty)$
# Ignore maximize requests from apps. You'll probably like this.
windowrule = suppressevent maximize, class:.*
# Use `hyprctl clients` to find the class of an application
windowrule = workspace 1, class:vivaldi.*
windowrule = workspace 3, class:discord
windowrule = workspace 3, class:Signal
windowrule = workspace 5, class:Spotify
# Fix some dragging issues with XWayland
windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
# }}}

View File

@ -8,5 +8,3 @@
@define-color red-gradient #D32F2F;
@define-color blue #0091EA;
@define-color blue-gradient #00B0FF;
@define-color purple #651FFF;
@define-color purple-gradient #7C4DFF;

View File

@ -1,113 +1,52 @@
// Waybar Config
// https://github.com/Alexays/Waybar
// Marvin Elsen <contact@marvinelsen.com>
// See https://github.com/Alexays/Waybar/wiki/Configuration#bar-config
{
"layer": "top",
"position": "top",
"modules-left": ["hyprland/workspaces"],
"modules-center": ["clock#date", "clock#time"],
"modules-right": ["tray", "pulseaudio#input", "pulseaudio#output", "bluetooth", "network"],
// See https://github.com/Alexays/Waybar/wiki/Module:-Hyprland
"modules-right": ["tray", "network", "bluetooth"],
"hyprland/workspaces": {
"format": "{icon}",
"format-icons": {
"1": "一",
"2": "二",
"3": "三",
"4": "四",
"5": "五",
"6": "六",
"7": "七",
"8": "八",
"9": "九",
"10": "十"
},
"on-scroll-up": "hyprctl dispatch workspace +1",
"on-scroll-down": "hyprctl dispatch workspace -1",
"format": "{name}",
"persistent-workspaces": {
"*": 5
"*": 5,
}
},
// See https://github.com/Alexays/Waybar/wiki/Module:-Bluetooth
"bluetooth": {
"format-on": "󰂯 On",
"format-connected": "󰂱 On",
"format-off": "󰂲 Off",
"format-disabled": "󰂲 Disabled",
"format-no-controller": "󰂲 No Controller",
"tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected",
"tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected:\n\n{device_enumerate}",
"tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}",
"tooltip-format-enumerate-connected": "{device_alias}\t{device_address}",
"tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%",
"on-click": "rfkill toggle bluetooth"
"tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%"
},
// See https://github.com/Alexays/Waybar/wiki/Module:-PulseAudio
"pulseaudio#input": {
"format": "{format_source}",
"format-source": "󰍬 {volume}%",
"format-source-muted": "󰍭 Muted",
"on-click": "pactl set-source-mute @DEFAULT_SOURCE@ toggle",
"on-click-right": "pavucontrol --tab=4",
"on-scroll-up": "pactl set-source-volume @DEFAULT_SOURCE@ +5%",
"on-scroll-down": "pactl set-source-volume @DEFAULT_SOURCE@ -5%",
"tooltip": false
},
// See https://github.com/Alexays/Waybar/wiki/Module:-PulseAudio
"pulseaudio#output": {
"pulseaudio": {
"tooltip": false,
"scroll-step": 5,
"format": "{icon} {volume}%",
"format-muted": "󰖁 Muted",
"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
"on-click-right": "pavucontrol",
"format-muted": "{icon} {volume}%",
"on-click":"pactl set-sink-mute @DEFAULT_SINK@ toggle",
"format-icons": {
"default": ["", "", ""],
"headphone": "󰋋",
"speaker": "󰓃"
"default": ["", "", ""]
}
},
"scroll-step": 5
},
// See https://github.com/Alexays/Waybar/wiki/Module:-Network
"network": {
"format-wifi": "󰖩 Online",
"format-ethernet": "󰛳 Online",
"format-disconnected": "󰲜 Offline",
"tooltip-format-ethernet": "{ifname}\t{ipaddr}",
"tooltip-format-wifi": "{essid}\t{signalStrength}%",
"tooltip-format-disconnected": "Disconnected",
"family": "ipv4"
"tooltip-format-ethernet": "{ifname}\t{ipaddr}"
},
// See https://github.com/Alexays/Waybar/wiki/Module:-Tray
"tray": {
"icon-size": 18,
"tray":{
"icon-size":18,
"spacing": 10,
"show-passive-items": true
},
// See https://github.com/Alexays/Waybar/wiki/Module:-Clock
"clock#date": {
"format": "{:%a %b %d}",
"tooltip-format": "<tt>{calendar}</tt>",
"calendar": {
"mode": "month",
"mode-mon-col": 3,
"weeks-pos": "right",
"format": {
"months": "<span color='#ffead3'><b>{}</b></span>",
"days": "<span color='#ecc6d9'><b>{}</b></span>",
"weeks": "<span color='#99ffdd'><b>W{}</b></span>",
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
"today": "<span color='#ff6699'><b><u>{}</u></b></span>"
}
"interval": 60,
"format": "{:%a %b %d}"
},
"actions": {
"on-click-right": "mode",
"on-scroll-up": "shift_up",
"on-scroll-down": "shift_down"
}
},
// See https://github.com/Alexays/Waybar/wiki/Module:-Clock
"clock#time": {
"format": "{:%H:%M}",
"tooltip": false
"interval": 60,
"format": "{:%H:%M}"
}
}

View File

@ -1,11 +1,7 @@
/* Waybar Style */
/* https://github.com/Alexays/Waybar */
/* Marvin Elsen <contact@marvinelsen.com */
/* See https://github.com/Alexays/Waybar/wiki/Styling */
@import "colors.css";
* {
border: none;
font-family: "Inter SemiBold", "FantasqueSansM Nerd Font";
font-size: 1rem;
}
@ -14,6 +10,10 @@ window#waybar {
background: transparent;
}
window#waybar.hidden {
opacity: 0.2;
}
#waybar .module {
margin-top: 8px;
@ -46,7 +46,6 @@ window#waybar {
#workspaces button {
border-radius: 16px;
color: @text;
border-radius: 20px;
}
#workspaces button.empty {
@ -89,19 +88,3 @@ window#waybar {
background: linear-gradient(0deg, @red 0%, @red-gradient 100%);
}
#pulseaudio.input {
background: linear-gradient(0deg, @purple 0%, @purple-gradient 100%);
}
#pulseaudio.input.source-muted {
background: linear-gradient(0deg, @red 0%, @red-gradient 100%);
}
#pulseaudio.output {
background: linear-gradient(0deg, @purple 0%, @purple-gradient 100%);
}
#pulseaudio.output.muted {
background: linear-gradient(0deg, @red 0%, @red-gradient 100%);
}