I would rather be playing Hell Divers 2.

This commit is contained in:
coolnsx
2025-02-03 17:15:30 +05:30
parent 014f28a2ce
commit 3b7b76130c
19 changed files with 317 additions and 150 deletions

View File

@@ -1,5 +1,6 @@
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=eDP-1,highrr,auto,1.5,vrr,0,bitdepth,10
#monitor=eDP-1,highrr,auto,1,vrr,0,bitdepth,10
monitor=eDP-1,highrr,auto,1
$hypr_dir="$HOME/.config/hypr"
$accent=6FAAFF
@@ -55,7 +56,7 @@ general {
gaps_in = 1
gaps_out = 1
border_size = 3
border_size = 2
col.active_border = rgb($accent)
col.inactive_border = rgba(484848aa)
resize_on_border=false
@@ -118,7 +119,12 @@ misc {
}
xwayland {
force_zero_scaling = false
force_zero_scaling = false
}
ecosystem {
no_update_news = true
no_donation_nag = true
}
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
@@ -168,7 +174,6 @@ bindm = $mainMod, mouse:273, resizewindow
#applications shortcuts
bind = $mainMod, F4, exec, $HOME/repos_scripts/ani-new
bind = $mainMod, F5, exec, $hypr_dir/wifi
bind = $mainMod, return, exec, [workspace 2] foot
bind = $mainMod, Q, exec, $hypr_dir/dmenu_run_history
bind = $mainMod, G, exec, $hypr_dir/rungame
@@ -176,33 +181,33 @@ bind = $mainMod, SPACE, exec, $hypr_dir/bemoji
bind = $mainMod, A, exec, [workspace 1] $browser
bind = $mainMod, C, exec, [workspace 3] zeditor
bind = $mainMod, E, exec, [workspace 3] pcmanfm
bind = $mainMod, B, exec, $hypr_dir/bkmark "add"
bind = $mainMod, I, exec, $hypr_dir/bkmark
bind = $mainMod SHIFT, I, exec, $hypr_dir/bkmark "copy"
bind = $mainMod, B, exec, $hypr_dir/bkmark "add"
bind = $mainMod SHIFT, B, exec, $hypr_dir/bkmark "rm"
#bind = $mainMod SHIFT, L, exit,
bind = $mainMod SHIFT, L, exit,
bind = $mainMod, L, exec, loginctl lock-session
bind = $mainMod, F11, exec, $hypr_dir/info
#bind = $mainMod, F10, exec, $hypr_dir/bluetooth
bind = $mainMod, F6, exec, $hypr_dir/workspace
bind = $mainMod SHIFT, F6, exec, $hypr_dir/workspace "toggle"
bind = $mainMod, F1, exec, $hypr_dir/screenshot 'selclip'
bind = $mainMod SHIFT, F1, exec, $hypr_dir/screenshot 'fullclip'
bind = ,Print, exec, $hypr_dir/screenshot 'fullsave'
bind = $mainMod SHIFT, Print, exec, $hypr_dir/screenshot 'fullclip'
bind = $mainMod,Print, exec, $hypr_dir/screenshot 'fullsave'
bind = $mainMod, F12, exec, $hypr_dir/date
bind = $mainMod, Delete, exec, $hypr_dir/workspace 'list'
#media keys
binde =, XF86AudioLowerVolume, exec, $hypr_dir/volume set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 2%-
binde =, XF86AudioRaiseVolume, exec, $hypr_dir/volume set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 2%+
binde =, XF86AudioMute, exec, $hypr_dir/volume set-mute @DEFAULT_AUDIO_SINK@ toggle
#xf86 keys
binde =, XF86AudioLowerVolume, exec, $hypr_dir/volume set-volume -l 1.4 @DEFAULT_SINK@ 2%-
binde =, XF86AudioRaiseVolume, exec, $hypr_dir/volume set-volume -l 1.4 @DEFAULT_SINK@ 2%+
binde =, XF86AudioMute, exec, $hypr_dir/volume set-mute @DEFAULT_SINK@ toggle
binde =, XF86AudioMicMute, exec, $hypr_dir/volume set-mute @DEFAULT_SOURCE@ toggle
binde =, XF86AudioPlay, exec, echo cycle pause | socat - "/tmp/yt-music/yt-music-mpvsocket"
binde =, XF86AudioPause, exec, echo cycle pause | socat - "/tmp/yt-music/yt-music-mpvsocket"
binde =, XF86Launch2, exec, $HOME/repos_scripts/yt-music search_play #why not :)
binde =, XF86AudioNext, exec, $HOME/repos_scripts/yt-music play_next
binde =, XF86AudioPrev, exec, $HOME/repos_scripts/yt-music play_next menu
binde = $mainMod, XF86Favorites, exec, $HOME/repos_scripts/yt-music search_play #why not :)
binde =, XF86HangupPhone, exec, $HOME/repos_scripts/yt-music play_next
binde =, XF86PickupPhone, exec, $HOME/repos_scripts/yt-music play_next menu
binde =, XF86MonBrightnessUp, exec, $hypr_dir/brightness '+'
binde =, XF86MonBrightnessDown, exec, $hypr_dir/brightness '-'
bind = , XF86SelectiveScreenshot, exec, $hypr_dir/screenshot 'selclip'
bind = , XF86Display, exec, $hypr_dir/workspace "toggle"
bind = , XF86NotificationCenter, exec, $hypr_dir/info
bind = $mainMod, F8, exec, $hypr_dir/wifi
#windows rules
windowrulev2 = workspace 1,class:^(google-chrome)$
@@ -232,7 +237,7 @@ exec-once = dbus-update-activation-environment --systemd --all
exec-once = hypridle
exec-once = ssh-agent
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec-once = swaybg -i $HOME/.config/wall/4.jpg -m fill
exec-once = xrdb -merge $HOME/.config/.Xresource
exec-once = swaybg -i $HOME/.config/wall/1.png -m fill
exec-once = $hypr_dir/workspace 'focus'
exec-once = $hypr_dir/battery
exec-once = $hypr_dir/themes

View File

@@ -1,10 +1,15 @@
$foreground = rgb($GLOBAL_ACCENT)
#general {
# enable_fingerprint = true
# fingerprint_ready_message = Slap yo finger
# fingerprint_present_message = Scanning...
#}
background {
monitor =
color = rgb(0,0,0)
hide_cursor = true
#path = screenshot
#blur_passes = 4
@@ -35,9 +40,9 @@ input-field {
outer_color = $foreground
inner_color = rgb(0,0,0)
font_color = $foreground
fade_on_empty = true
fade_on_empty = false
fade_timeout = 1000
placeholder_text = <i><span foreground="##$GLOBAL_ACCENT">Input Password...</span></i> # Text rendered in the input box when it's empty.
placeholder_text = <i><span foreground="##$GLOBAL_ACCENT">Type Your Password...</span></i> # Text rendered in the input box when it's empty.
hide_input = false
rounding = -1
check_color = rgb(204, 136, 34)
@@ -50,7 +55,7 @@ input-field {
invert_numlock = false
swap_font_color = false
position = 0, -300
position = 0, -400
halign = center
valign = center
}

View File

@@ -2,7 +2,7 @@
gamedir="$HOME/games"
games=$(find "$gamedir" -maxdepth 2 -type f -name '*.exe' -executable | sed "s|$gamedir/||g;/[U|u]nin.*/d")
games=$(find "$gamedir" -maxdepth 5 -type f -name '*.exe' -executable | sed "s|$gamedir/||g;/[U|u]nin.*/d")
[ -z "$games" ] && notify-send -e -u critical "No games installed" && exit 1
game=$(printf '%s\n' "$games" | bemenu --fn 'IBM Plex Sans 15' -i -c -W 0.5 -B 3 -p "PLAY GAME: " -l 15 -P ">> " --bdr="#$GLOBAL_ACCENT" --tf="#$GLOBAL_ACCENT" --hf="#$GLOBAL_ACCENT")
@@ -17,4 +17,8 @@ notify-send -e -h "string:x-canonical-private-synchronous:${0##*/}" -i "wine" "L
trap 'wineserver -k' INT HUP
WINEFSYNC=1 WINEESYNC=1 MANGOHUD=1 gamemoderun wine "$gamename"
#DXVK_CONFIG=dxgi.hideAmdGpu=True WINEFSYNC=1 WINEESYNC=1 MANGOHUD=1 gamescope -W 1280 -H 800 -r 60 -- gamemoderun wine "$gamename"
#hyprctl keyword monitor "eDP-1",'1280x800@120','auto','1'
WINEFSYNC=1 WINEESYNC=1 MANGOHUD=1 gamemoderun wine "$gamename" -windowed
#hyprctl keyword monitor "eDP-1",highrr,'auto','1.5'

5
hypr/themes Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/sh
gsettings set org.gnome.desktop.interface gtk-theme Materia-dark
gsettings set org.gnome.desktop.interface icon-theme ePapirus-Dark
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'

View File

@@ -2,9 +2,10 @@
setup_dual_monitor() {
monitor=$(hyprctl monitors | sed -nE 's|.*(HDMI-A-[0-9]).*|\1|p')
[ -z "$monitor" ] && monitor=$(hyprctl monitors | sed -nE 's|.* (DP-[0-9]).*|\1|p')
if [ -n "$monitor" ]; then
notify-send -e "Setting up dual monitor workflow"
hyprctl keyword monitor "$(hyprctl monitors | sed -nE 's|.*(HDMI-A-[0-9]).*|\1|p')",highres,auto,1
hyprctl keyword monitor "$monitor",highres,auto,1
hyprctl dispatch moveworkspacetomonitor "1 0"
hyprctl dispatch moveworkspacetomonitor "2 0"
hyprctl dispatch moveworkspacetomonitor "3 1"
@@ -16,7 +17,7 @@ setup_dual_monitor() {
handle_it() {
[ -z "$1" ] || notify-send -e "$1"
choice=$(printf "Mirror\nExtend" | bemenu --fn 'IBM Plex Sans 15' -i -c -W 0.2 -B 3 -l 20 -p "what to do??: " -m 1 --bdr="#$GLOBAL_ACCENT" --tf="#$GLOBAL_ACCENT" --hf="#$GLOBAL_ACCENT")
choice=$(printf "Extend\nMirror" | bemenu --fn 'IBM Plex Sans 15' -i -c -W 0.2 -B 3 -l 20 -p "what to do??: " -m 1 --bdr="#$GLOBAL_ACCENT" --tf="#$GLOBAL_ACCENT" --hf="#$GLOBAL_ACCENT")
[ -z "$choice" ] && return 0
notify-send -e "${choice}ing screen"
if [ "$choice" = "Extend" ]; then