This commit is contained in:
coast 2025-09-26 23:59:51 +03:30
parent 51eaee25e2
commit 6cff77968a
3 changed files with 24 additions and 15 deletions

View file

@ -16,7 +16,8 @@
################
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=eDP-1, disable
#monitor=eDP-1, disable
monitor=eDP-1,1920x1080@60,auto,1
monitor=HDMI-A-1,1920x1080@75,auto,1
@ -29,7 +30,7 @@ monitor=HDMI-A-1,1920x1080@75,auto,1
# Set programs that you use
$terminal = kitty
$fileManager = pcmanfm
$menu = wofi --show drun
$menu = wmenu-run -l 10
$reload_waybar = pkill waybar; waybar &
#################
@ -48,6 +49,11 @@ exec-once = hyprctl setcursor Adwaita 24
exec-once = hyprpaper &
cursor {
inactive_timeout = 30
no_hardware_cursors = true
}
#############################
### ENVIRONMENT VARIABLES ###
#############################
@ -82,8 +88,8 @@ env = HYPRCURSOR_SIZE,24
# https://wiki.hyprland.org/Configuring/Variables/#general
general {
gaps_in = 0
gaps_out = 0
gaps_in = 5
gaps_out = 10
border_size = 2
@ -197,6 +203,9 @@ input {
kb_options =
kb_rules =
repeat_rate = 35
repeat_delay = 200
follow_mouse = 1
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
@ -231,7 +240,7 @@ bind = $mainMod, Return, exec, $terminal
bind = $mainMod, S, killactive,
bind = $mainMod, M, exit,
bind = $mainMod, F, exec, $fileManager
bind = $mainMod, V, togglefloating,
bind = $mainMod, SPACE, togglefloating,
bind = $mainMod, R, exec, $menu
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle

View file

@ -1,3 +1,3 @@
preload = ~/Pictures/Wallpapers/wallhaven-v9mzkp_1920x1080.png
wallpaper = HDMI-A-1,~/Pictures/Wallpapers/wallhaven-v9mzkp_1920x1080.png
wallpaper = eDP-1,~/Pictures/Wallpapers/wallhaven-v9mzkp_1920x1080.png
preload = ~/Pictures/Wallpapers/flowers.png
wallpaper = HDMI-A-1,~/Pictures/Wallpapers/flowers.png
wallpaper = eDP-1,~/Pictures/Wallpapers/flowers.png

View file

@ -26,13 +26,13 @@
struct menu *menu_create(menu_callback callback) {
struct menu *menu = calloc(1, sizeof(struct menu));
menu->strncmp = strncmp;
menu->font = "Departure Mono 13";
menu->normalbg = 0x000000ff; // black background
menu->normalfg = 0xa8dceeff; // cyan text
menu->promptbg = 0x000000ff; // black background
menu->promptfg = 0xa8dceeff; // cyan text
menu->selectionbg = 0xa8dceeff; // cyan background
menu->selectionfg = 0x000000ff; // black text
menu->font = "Ubuntu Mono 17";
menu->normalbg = 0x1c1c1cff;
menu->normalfg = 0xB0B0B0ff;
menu->promptbg = 0x1c1c1cff;
menu->promptfg = 0xB0B0B0ff;
menu->selectionbg = 0xB0B0B0ff;
menu->selectionfg = 0x1c1c1cff;
menu->callback = callback;
menu->test_surface = cairo_image_surface_create(CAIRO_FORMAT_ARGB32, 1, 1);