This commit is contained in:
Stephan Raabe 2023-08-21 10:46:13 +02:00
parent 18131d6f2a
commit f89702dbbb
5 changed files with 97 additions and 85 deletions

View File

@ -81,6 +81,9 @@ alias setkb='setxkbmap de;echo "Keyboard set back to de."'
# ----------------------------------------------------- # -----------------------------------------------------
alias res1='xrandr --output DisplayPort-0 --mode 2560x1440 --rate 120' alias res1='xrandr --output DisplayPort-0 --mode 2560x1440 --rate 120'
alias res2='xrandr --output DisplayPort-0 --mode 1920x1080 --rate 120' alias res2='xrandr --output DisplayPort-0 --mode 1920x1080 --rate 120'
alias r1='hyprctl keyword monitor ,preferred,auto,1'
alias r2='hyprctl keyword monitor ,1920x1080,auto,1'
export PATH="/usr/lib/ccache/bin/:$PATH" export PATH="/usr/lib/ccache/bin/:$PATH"

View File

@ -12,7 +12,7 @@
# Monitor Setup # Monitor Setup
# See https://wiki.hyprland.org/Configuring/Monitors/ # See https://wiki.hyprland.org/Configuring/Monitors/
# ----------------------------------------------------- # -----------------------------------------------------
monitor=,preferred,auto,auto monitor=,preferred,auto,1
# ----------------------------------------------------- # -----------------------------------------------------
# Autostart # Autostart
@ -57,10 +57,10 @@ general {
gaps_out = 20 gaps_out = 20
border_size = 3 border_size = 3
# Single Color for active window # Single Color for active window
col.active_border = $color11 col.active_border = rgba(ffffffee)
# Color Gradient for active window # Color Gradient for active window
# col.active_border = $color11 $background $background $color14 45deg # col.active_border = $color11 $background $background $color14 45deg
col.inactive_border = rgba(ffffffee) col.inactive_border = $color11
layout = dwindle layout = dwindle
} }
@ -73,15 +73,17 @@ decoration {
enabled = true enabled = true
size = 3 size = 3
passes = 1 passes = 1
new_optimizations = on
blurls = waybar
} }
active_opacity = 1.0 active_opacity = 1.0
inactive_opacity = 0.9 inactive_opacity = 0.9
fullscreen_opacity = 1.0 fullscreen_opacity = 1.0
drop_shadow = true drop_shadow = true
shadow_range = 4 shadow_range = 30
shadow_render_power = 3 shadow_render_power = 3
col.shadow = rgba(1a1a1aee) col.shadow = 0x66000000
} }
# ----------------------------------------------------- # -----------------------------------------------------
@ -102,23 +104,18 @@ animations {
# Layouts # Layouts
# ----------------------------------------------------- # -----------------------------------------------------
dwindle { dwindle {
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more pseudotile = true
pseudotile = true # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below preserve_split = true
preserve_split = true # you probably want this
} }
master { master {
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
new_is_master = true new_is_master = true
} }
gestures { gestures {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
workspace_swipe = false workspace_swipe = false
} }
# Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
device:epic-mouse-v1 { device:epic-mouse-v1 {
sensitivity = -0.5 sensitivity = -0.5
} }

View File

@ -1,20 +1,20 @@
@define-color foreground #c2c3c4; @define-color foreground #bfc2c2;
@define-color background #0d0f16; @define-color background #000b0d;
@define-color cursor #c2c3c4; @define-color cursor #bfc2c2;
@define-color color0 #0d0f16; @define-color color0 #000b0d;
@define-color color1 #9B93B3; @define-color color1 #21ACC5;
@define-color color2 #D1939D; @define-color color2 #63B7C6;
@define-color color3 #99A3CF; @define-color color3 #7AC2CD;
@define-color color4 #ADB2D5; @define-color color4 #8BBAC9;
@define-color color5 #C7B9D2; @define-color color5 #90C8D1;
@define-color color6 #B2C2DE; @define-color color6 #AED3D8;
@define-color color7 #c2c3c4; @define-color color7 #bfc2c2;
@define-color color8 #494b50; @define-color color8 #3f4849;
@define-color color9 #9B93B3; @define-color color9 #21ACC5;
@define-color color10 #D1939D; @define-color color10 #63B7C6;
@define-color color11 #99A3CF; @define-color color11 #7AC2CD;
@define-color color12 #ADB2D5; @define-color color12 #8BBAC9;
@define-color color13 #C7B9D2; @define-color color13 #90C8D1;
@define-color color14 #B2C2DE; @define-color color14 #AED3D8;
@define-color color15 #c2c3c4; @define-color color15 #bfc2c2;

View File

@ -2,21 +2,24 @@
"layer": "top", // Waybar at top layer "layer": "top", // Waybar at top layer
"height": 30, // Waybar height (to be removed for auto height) "height": 30, // Waybar height (to be removed for auto height)
"spacing": 4, // Gaps between modules (4px) "spacing": 4, // Gaps between modules (4px)
"margin-top": 0,
"margin-left": 0,
"margin-right": 0,
"modules-left": [ "modules-left": [
"custom/appmenu", "custom/appmenu",
"wlr/workspaces", // "custom/brave",
"custom/brave",
"custom/outlook", "custom/outlook",
"custom/teams", "custom/teams",
"custom/calculator", // "custom/calculator",
"custom/chatgpt", "custom/chatgpt",
"custom/lookingglass" "custom/lookingglass"
// "hyprland/window"
], ],
"modules-center": [ "modules-center": [
"hyprland/window" "wlr/workspaces",
], ],
"modules-right": [ "modules-right": [
"hyprland/language", // "hyprland/language",
"keyboard-state", "keyboard-state",
"pulseaudio", "pulseaudio",
"cpu", "cpu",
@ -27,7 +30,16 @@
"tray" "tray"
], ],
"wlr/workspaces" : { "wlr/workspaces" : {
"on-click": "activate" "on-click": "activate",
"active-only": false,
"all-outputs": true,
"format": "{icon}",
"format-icons": {
"urgent": "",
"active": "",
"default": "",
"sort-by-number": true
}
}, },
"custom/outlook": { "custom/outlook": {
"format": "", "format": "",
@ -54,7 +66,7 @@
"on-click": "~/dotfiles/scripts/looking-glass.sh" "on-click": "~/dotfiles/scripts/looking-glass.sh"
}, },
"custom/appmenu": { "custom/appmenu": {
"format": "", "format": "",
"on-click": "~/dotfiles/scripts/applauncher.sh" "on-click": "~/dotfiles/scripts/applauncher.sh"
}, },
"custom/exit": { "custom/exit": {

View File

@ -3,59 +3,51 @@
* { * {
font-family: "Fira Sans Semibold", FontAwesome, Roboto, Helvetica, Arial, sans-serif; font-family: "Fira Sans Semibold", FontAwesome, Roboto, Helvetica, Arial, sans-serif;
font-size: 14px; font-size: 14px;
border-radius: 4px; border-radius: 20px;
} }
window#waybar { window#waybar {
background-color: rgba(0,0,0,0.3); background-color: rgba(0,0,0,0.8);
/* border-bottom: 3px solid rgba(100, 114, 125, 0.5); */ /* border-bottom: 3px solid rgba(100, 114, 125, 0.5); */
color: #FFFFFF; color: #FFFFFF;
background: transparent;
transition-property: background-color; transition-property: background-color;
transition-duration: .5s; transition-duration: .5s;
border-radius: 0; border-radius: 20;
}
window#waybar.hidden {
opacity: 0.2;
}
window#waybar.termite {
background-color: #3F3F3F;
}
window#waybar.chromium {
background-color: #000000;
border: none;
} }
/*
button { button {
/* box-shadow: inset 0 -3px transparent; */ box-shadow: inset 0 -3px transparent;
border: none; border: none;
border-radius: 0; border-radius: 0;
} }
*/
button:hover {
background: inherit;
box-shadow: inset 0 0px @foreground;
}
#workspaces button { #workspaces button {
padding: 0 10px; padding: 0px 10px;
color: #ffffff; border-radius: 10px;
} color: #FFFFFF;
/* font-weight:bold; */
#workspaces button:hover { border:0;
background-color: @foreground;
color: @background;
} }
#workspaces button.active { #workspaces button.active {
background-color: @color11;
color: #FFFFFF; color: #FFFFFF;
border-radius: 15px;
font-weight:bold;
border:0;
} }
#workspaces button:hover {
color: #FFFFFF;
border-radius: 15px;
border:0;
}
#workspaces button.focused { #workspaces button.focused {
background-color: @foreground; color: #FFFFFF;
border-radius: 15px;
font-weight:bold;
} }
#workspaces button.urgent { #workspaces button.urgent {
@ -82,19 +74,21 @@ button:hover {
#mode, #mode,
#idle_inhibitor, #idle_inhibitor,
#scratchpad, #scratchpad,
#language,
#mpd { #mpd {
margin: 6px 6px; margin: 6px 10px 6px 0px;
padding: 0 10px; padding: 0 0px;
color: #ffffff; color: #ffffff;
font-size:14;
} }
#window, #window,
#workspaces { #workspaces {
margin: 0 10px 0 6px; margin: 5 10px 5 10px;
background-color:@color11;
opacity:0.8;
} }
.modules-left > widget:first-child > #workspaces { .modules-left > widget:first-child > #workspaces {
margin-left: 0; margin-left: 0;
} }
@ -104,24 +98,28 @@ button:hover {
} }
#custom-appmenu { #custom-appmenu {
margin-left:10; margin-left:16;
font-size:18;
font-weight:bold;
} }
#custom-brave, #custom-outlook, #custom-teams, #custom-chatgpt, #custom-calculator { #custom-appmenu, #custom-brave, #custom-outlook, #custom-teams, #custom-chatgpt, #custom-calculator, #custom-lookingglass {
margin-right:10px; margin-right:10px;
font-size:16px;
} }
#custom-exit { #custom-exit {
margin-right: 10px; margin-right: 10px;
font-size:16px;
} }
#clock { #clock {
background-color: @color11; background-color: transparent;
font-size:18;
} }
#battery { #battery {
background-color: #ffffff; color: @color11;
color: #000000;
} }
#battery.charging, #battery.plugged { #battery.charging, #battery.plugged {
@ -151,13 +149,11 @@ label:focus {
} }
#cpu { #cpu {
background-color: @foreground; background-color: transparent;
color: #000000;
} }
#memory { #memory {
background-color: @foreground; background-color: transparent;
color:#000000;
} }
#disk { #disk {
@ -177,8 +173,7 @@ label:focus {
} }
#pulseaudio { #pulseaudio {
background-color: @foreground; background-color: transparent;
color: #000000;
} }
#pulseaudio.muted { #pulseaudio.muted {
@ -259,6 +254,7 @@ label:focus {
} }
#language { #language {
color:#FFFFFF;
/* /*
background: #00b093; background: #00b093;
color: #740864; color: #740864;
@ -284,6 +280,10 @@ label:focus {
background: rgba(0, 0, 0, 0.2); background: rgba(0, 0, 0, 0.2);
} }
#window {
margin:0;
}
#scratchpad { #scratchpad {
background: rgba(0, 0, 0, 0.2); background: rgba(0, 0, 0, 0.2);
} }