This commit is contained in:
xsghetti 2024-05-25 21:11:17 -04:00
parent b1061c59ea
commit 7198388d16
16 changed files with 134 additions and 88 deletions

View file

@ -4,7 +4,7 @@ general {
gaps_in = 4
gaps_out = 10
border_size = 2
col.active_border = $foreground
col.active_border = $color4
col.inactive_border = $color4 color6 $color7 $color1 30deg
resize_on_border = true
@ -22,7 +22,7 @@ decoration {
blur {
enabled = true
size = 4
size = 2
passes = 3
new_optimizations = true
ignore_opacity = on

View file

@ -10,3 +10,6 @@ exec-once = swaync
exec-once = pypr
exec-once = hyprpm reload
exec-once = hypridle
exec-once = hyprctl output create headless
exec-once = wayvnc 0.0.0.0
exec-once = /home/crux/.config/hypr/scripts/dolphin.sh

View file

@ -11,9 +11,9 @@ source = ~/.cache/wal/colors-hyprland.conf
#monitor = ,preferred,auto,1
#Desktop
monitor = DP-1, 1920x1080@100, 0x0, 1
monitor = DP-1, 1920x1080@100, 0x250, 1
monitor = DP-2, 1920x1080@100, auto, 1
# monitor = HDMI-A-1, transform, 3
monitor = DP-2, transform, 3
workspace = 1, persistent:true,monitor:DP-1,default:true
workspace = 2, persistent:true,monitor:DP-1
workspace = 3, persistent:true,monitor:DP-1
@ -25,14 +25,9 @@ workspace = 8, persistent:true,monitor:DP-2
workspace = 9, persistent:true,monitor:DP-2
workspace = 0, persistent:true,monitor:DP-2
#Laptop
monitor = eDP-1, 1920x1080@144, 0x0, 1
workspace = 1, persistent:true,monitor:eDP-1,default:true
workspace = 2, persistent:true,monitor:eDP-1
workspace = 3, persistent:true,monitor:eDP-1
workspace = 4, persistent:true,monitor:eDP-1
workspace = 5, persistent:true,monitor:eDP-1
# Laptop
# monitor = eDP-1, 1920x1080@144, auto, 1
# workspace = eDP-1,1
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
@ -47,7 +42,7 @@ $terminal = kitty
$fileManager = dolphin
$menu = rofi -show drun
$browser = firefox
$discord = discord --enable-features=UseOzonePlatform --ozone-platform=wayland
$discord = discord # --enable-features=UseOzonePlatform --ozone-platform=wayland
# Some default env vars.
env = XCURSOR_SIZE,24
@ -132,3 +127,4 @@ source = ~/.config/hypr/keybindings.conf
source = ~/.config/hypr/windowrule.conf
source = ~/.config/hypr/animations.conf
source = ~/.config/hypr/exec.conf
source = ~/.config/hypr/monitors.conf

View file

@ -36,11 +36,11 @@ input-field {
# Current time
label {
monitor = DP-1
text = cmd[update:1300] echo "<b><big> $(date +"%H:%M") </big></b>"
text = cmd[update:1300] echo "<b><big> $(date +"%H:%M:%S") </big></b>"
color = $color7
font_size = 64
font_family = JetBrains Mono Nerd Font 10
position = 0, 16
position = 0, 50
halign = center
valign = center
}
@ -65,7 +65,7 @@ label {
color = $color7
font_size = 16
font_family = JetBrains Mono Nerd Font 10
position = 0, 30
position = 0, 20
halign = center
valign = bottom
}
@ -79,77 +79,5 @@ label {
font_family = Noto Sans
position = 110, 70
halign = center
valign = centerinput-field {
monitor = DP-1
size = 250, 50
outline_thickness = 3
dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
dots_spacing = 0.64 # Scale of dots' absolute size, 0.0 - 1.0
dots_center = true
outer_color = $color1
inner_color = $color0
font_color = $color7
fade_on_empty = true
placeholder_text = <i>Password...</i> # Text rendered in the input box when it's empty.
hide_input = false
position = 0, 50
halign = center
valign = bottom
}
}
# Laptop
input-field {
monitor = eDP-1
size = 250, 50
outline_thickness = 3
dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
dots_spacing = 0.64 # Scale of dots' absolute size, 0.0 - 1.0
dots_center = true
outer_color = $color1
inner_color = $color0
font_color = $color7
fade_on_empty = true
placeholder_text = <i>Password...</i> # Text rendered in the input box when it's empty.
hide_input = false
position = 0, 60
halign = center
valign = bottom
}
# Current time
label {
monitor = eDP-1
text = cmd[update:1300] echo "<b><big> $(date +"%H:%M") </big></b>"
color = $color7
font_size = 64
font_family = JetBrains Mono Nerd Font 10
position = 0, 16
halign = center
valign = center
}
# User label
label {
monitor = eDP-1
text = Hey <span text_transform="capitalize" size="larger">$USER</span>
color = $color7
font_size = 20
font_family = JetBrains Mono Nerd Font 10
position = 0, 0
halign = center
valign = center
}
# Type to unlock
label {
monitor = eDP-1
text = Type to unlock!
color = $color7
font_size = 16
font_family = JetBrains Mono Nerd Font 10
position = 0, 30
halign = center
valign = bottom
}

View file

@ -0,0 +1,6 @@
# Generated by nwg-displays on 2024-05-21 at 17:25:37. Do not edit manually.
monitor=DP-1,1920x1080@100.0,0x438,1.0
monitor=DP-2,1920x1080@100.0,1920x0,1.0
monitor=DP-2,transform,3
monitor=HEADLESS-2,1920x1080@60.0,3000x840,1.0

View file

@ -0,0 +1,3 @@
#!/bin/bash
sleep 5 && XDG_MENU_PREFIX=arch- kbuildsycoca6

View file

@ -12,6 +12,7 @@ windowrulev2= opacity 0.80 0.80,class:^(discord)$
windowrulev2= opacity 0.80 0.80,class:^(lutris)$
windowrulev2= opacity 0.80 0.80,class:^(steam)$
windowrulev2= opacity 0.80 0.80,class:^(kitty)$
windowrulev2= opacity 0.80 0.80,class:^(kitty-dropterm)$
windowrulev2 = float,class:^(nwg-look)$
windowrulev2 = float,class:^(org.kde.ark)$
windowrulev2 = float,class:^(eog)$ #Imageviewer-Gtk

View file

Binary file not shown.

After

Width:  |  Height:  |  Size: 389 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4 KiB

21
.config/wlogout/layout Normal file
View file

@ -0,0 +1,21 @@
{
"label" : "lock",
"action" : "hyprlock",
"keybind" : "l"
}
{
"label" : "reboot",
"action" : "systemctl reboot",
"keybind" : "r"
}
{
"label" : "logout",
"action" : "loginctl terminate-user $USER",
"keybind" : "e"
}
{
"label" : "shutdown",
"action" : "systemctl poweroff",
"keybind" : "s"
}

88
.config/wlogout/style.css Normal file
View file

@ -0,0 +1,88 @@
/* _ _ _ __ _____ _____ _____ _____ _____
| | | | | | | __| | | |_ _|
| | | | |__| | | | | | | | | | |
|_____|_____|_____|_____|_____|_____| |_| STYLE
by Bina
*/
/* pywal colors */
@import '../../.cache/wal/colors-waybar.css';
/* general */
* {
background-image: none;
transition: 20ms;
box-shadow: none;
}
window {
background-image: image(url("/home/crux/.config/rofi/.current_wallpaper"));
}
button {
color: #FFFFFF;
background-color: @color1;
background-position: center;
background-repeat: no-repeat;
background-size: 20%;
border: solid 3px @color7;
border-radius: 10px;
outline-style: none;
}
/* options */
#lock {
background-color: @color1;
background-image: image(url("icons/lock.png"));
border-radius: 5px 0px 0px 0px;
margin : 100px 0px 0px 550px;
}
#reboot {
background-color: @color2;
background-image: image(url("icons/reboot.png"));
border-radius: 0px 0px 0px 5px;
margin : 0px 0px 100px 550px;
}
#logout {
background-color: @color3;
background-image: image(url("icons/logout.png"));
border-radius: 0px 5px 0px 0px;
margin : 100px 550px 0px 0px;
}
#shutdown {
background-color: @color4;
background-image: image(url("icons/shutdown.png"));
border-radius: 0px 0px 5px 0px;
margin : 0px 550px 100px 0px;
}
/* options on hover */
button:hover {
background-size: 25%;
}
button:hover#lock {
border-radius: 10px 10px 0px 10px;
margin : 80px 0px 0px 530px;
}
button:hover#reboot {
border-radius: 10px 0px 10px 10px;
margin : 0px 0px 80px 530px;
}
button:hover#logout {
border-radius: 10px 10px 10px 0px;
margin : 80px 530px 0px 0px;
}
button:hover#shutdown {
border-radius: 0px 10px 10px 10px;
margin: 0px 530px 80px 0px;
}