diff --git a/.config/hypr/animations.conf b/.config/hypr/animations.conf index 0de1b881..103cb9ff 100644 --- a/.config/hypr/animations.conf +++ b/.config/hypr/animations.conf @@ -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 diff --git a/.config/hypr/exec.conf b/.config/hypr/exec.conf index 6d04f73c..841eda70 100644 --- a/.config/hypr/exec.conf +++ b/.config/hypr/exec.conf @@ -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 diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 848ca7a4..6254574c 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -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 diff --git a/.config/hypr/hyprlock.conf b/.config/hypr/hyprlock.conf index b6a86d33..f9b07ca8 100644 --- a/.config/hypr/hyprlock.conf +++ b/.config/hypr/hyprlock.conf @@ -36,11 +36,11 @@ input-field { # Current time label { monitor = DP-1 - text = cmd[update:1300] echo " $(date +"%H:%M") " + text = cmd[update:1300] echo " $(date +"%H:%M:%S") " 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 = Password... # 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 = Password... # 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 " $(date +"%H:%M") " - 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 $USER - 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 -} diff --git a/.config/hypr/monitors.conf b/.config/hypr/monitors.conf new file mode 100644 index 00000000..0806a78c --- /dev/null +++ b/.config/hypr/monitors.conf @@ -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 diff --git a/.config/hypr/scripts/dolphin.sh b/.config/hypr/scripts/dolphin.sh new file mode 100755 index 00000000..f72d0cc4 --- /dev/null +++ b/.config/hypr/scripts/dolphin.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +sleep 5 && XDG_MENU_PREFIX=arch- kbuildsycoca6 diff --git a/.config/hypr/windowrule.conf b/.config/hypr/windowrule.conf index 35aef775..7b8f76bf 100644 --- a/.config/hypr/windowrule.conf +++ b/.config/hypr/windowrule.conf @@ -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 diff --git a/.config/hypr/workspaces.conf b/.config/hypr/workspaces.conf new file mode 100644 index 00000000..e69de29b diff --git a/.config/wallpapers/ai-generated-8519946_1920.jpg b/.config/wallpapers/ai-generated-8519946_1920.jpg new file mode 100644 index 00000000..03aea922 Binary files /dev/null and b/.config/wallpapers/ai-generated-8519946_1920.jpg differ diff --git a/.config/wallpapers/wallhaven-3l828y.jpg b/.config/wallpapers/wallhaven-3l828y.jpg new file mode 100644 index 00000000..3386e17a Binary files /dev/null and b/.config/wallpapers/wallhaven-3l828y.jpg differ diff --git a/.config/wlogout/icons/lock.png b/.config/wlogout/icons/lock.png new file mode 100644 index 00000000..2925c262 Binary files /dev/null and b/.config/wlogout/icons/lock.png differ diff --git a/.config/wlogout/icons/logout.png b/.config/wlogout/icons/logout.png new file mode 100644 index 00000000..8a259220 Binary files /dev/null and b/.config/wlogout/icons/logout.png differ diff --git a/.config/wlogout/icons/reboot.png b/.config/wlogout/icons/reboot.png new file mode 100644 index 00000000..e5fd221a Binary files /dev/null and b/.config/wlogout/icons/reboot.png differ diff --git a/.config/wlogout/icons/shutdown.png b/.config/wlogout/icons/shutdown.png new file mode 100644 index 00000000..663ca033 Binary files /dev/null and b/.config/wlogout/icons/shutdown.png differ diff --git a/.config/wlogout/layout b/.config/wlogout/layout new file mode 100644 index 00000000..7890bc47 --- /dev/null +++ b/.config/wlogout/layout @@ -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" +} + diff --git a/.config/wlogout/style.css b/.config/wlogout/style.css new file mode 100644 index 00000000..8e8113c2 --- /dev/null +++ b/.config/wlogout/style.css @@ -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; +} +