added gamemode module waybar
This commit is contained in:
@@ -1 +0,0 @@
|
||||
/dev/dri/pci-0000:01:00.0-card
|
||||
@@ -20,7 +20,7 @@ exec-once = waybar
|
||||
# Load network manager applet
|
||||
# START NM APPLET
|
||||
exec-once = nm-applet --indicator
|
||||
# END NM APPLET
|
||||
|
||||
|
||||
# Start gnome-keyring
|
||||
exec-once = gnome-keyring
|
||||
|
||||
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env sh
|
||||
HYPRGAMEMODE=$(hyprctl getoption animations:enabled | awk 'NR==1{print $2}')
|
||||
if [ "$HYPRGAMEMODE" = 1 ] ; then
|
||||
hyprctl --batch "\
|
||||
keyword animations:enabled 0;\
|
||||
keyword decoration:drop_shadow 0;\
|
||||
keyword decoration:blur:enabled 0;\
|
||||
keyword general:gaps_in 0;\
|
||||
keyword general:gaps_out 0;\
|
||||
keyword general:border_size 1;\
|
||||
keyword decoration:rounding 0"
|
||||
exit
|
||||
fi
|
||||
hyprctl reload
|
||||
@@ -100,7 +100,7 @@ animations {
|
||||
animation = border, 1, 10, default
|
||||
animation = borderangle, 1, 8, default
|
||||
animation = fade, 1, 7, default
|
||||
animation = workspaces, 1, 2, default,
|
||||
animation = workspaces, 1, 2, default
|
||||
}
|
||||
|
||||
dwindle {
|
||||
@@ -118,7 +118,7 @@ gestures {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
workspace_swipe = on
|
||||
workspace_swipe_fingers = 3
|
||||
workspace_swipe_distance = 150
|
||||
workspace_swipe_distance = 500
|
||||
}
|
||||
|
||||
misc {
|
||||
@@ -245,7 +245,27 @@ bind = CTRL ALT, P, exec, nbfc set -f 0 1 -a
|
||||
# Lid Switch
|
||||
bindl=,switch:Lid Switch, exec, hyprlock
|
||||
|
||||
# Gamemode
|
||||
bind = WIN, F1, exec, ~/.config/hypr/gamemode.sh
|
||||
|
||||
# Debug
|
||||
#debug{
|
||||
# overlay = true
|
||||
#}
|
||||
|
||||
# Game Rules
|
||||
# steam
|
||||
windowrulev2 = fullscreen,class:^steam_app\d+$
|
||||
windowrulev2 = monitor 1,class:^steam_app_\d+$
|
||||
windowrulev2 = workspace 10,class:^steam_app_\d+$
|
||||
|
||||
# cyberpunk
|
||||
windowrulev2 = fullscreen,class:(cyberpunk2077.exe)
|
||||
windowrulev2 = monitor 1,class:(cyberpunk2077.exe)
|
||||
windowrulev2 = workspace 10,class:(cyberpunk2077.exe)
|
||||
|
||||
# hollowknight
|
||||
windowrulev2 = fullscreen,class:(hollow_knight.exe)
|
||||
windowrulev2 = monitor 1,class:(hollow_knight.exe)
|
||||
windowrulev2 = workspace 10,class:(hollow_knight.exe)
|
||||
workspace = 10, border:false, rounding:false,gapsin:0,gapsout:0,shadow:false,rounding:false,decorare:false,on-created-empty:bash ~/.config/hypr/gamemode.sh
|
||||
|
||||
+61
-53
@@ -2,7 +2,6 @@
|
||||
"layer": "top",
|
||||
"height": 30,
|
||||
"spacing": 5,
|
||||
// Choose the order of the modules
|
||||
"modules-left": [
|
||||
"group/group-cpu",
|
||||
"hyprland/workspaces"
|
||||
@@ -12,10 +11,11 @@
|
||||
],
|
||||
"modules-right": [
|
||||
"custom/pacman",
|
||||
"gamemode",
|
||||
"tray",
|
||||
"network",
|
||||
"pulseaudio",
|
||||
"backlight",
|
||||
"pulseaudio",
|
||||
"backlight",
|
||||
"battery",
|
||||
"clock",
|
||||
"group/group-power"
|
||||
@@ -24,26 +24,37 @@
|
||||
"separate-outputs": true
|
||||
},
|
||||
"hyprland/workspaces": {
|
||||
"format": "{icon}",
|
||||
"on-click": "activate",
|
||||
"format-icons": {
|
||||
"1": "",
|
||||
"2": "",
|
||||
"3": "",
|
||||
"4": "",
|
||||
"5": "",
|
||||
"6": "",
|
||||
"7": "",
|
||||
"8": " ",
|
||||
"9": "",
|
||||
"10": "",
|
||||
"urgent": "",
|
||||
"default": ""
|
||||
},
|
||||
"sort-by-number": true
|
||||
"format": "{icon}",
|
||||
"on-click": "activate",
|
||||
"format-icons": {
|
||||
"1": "",
|
||||
"2": "",
|
||||
"3": "",
|
||||
"4": "",
|
||||
"5": "",
|
||||
"6": "",
|
||||
"7": "",
|
||||
"8": " ",
|
||||
"9": "",
|
||||
"10": "",
|
||||
"urgent": "",
|
||||
"default": ""
|
||||
},
|
||||
"sort-by-number": true
|
||||
},
|
||||
"gamemode": {
|
||||
"format": "{glyph}",
|
||||
"format-alt": "{glyph} {count}",
|
||||
"glyph": "",
|
||||
"hide-not-running": true,
|
||||
"use-icon": true,
|
||||
"icon-name": "input-gaming-symbolic",
|
||||
"icon-spacing": 4,
|
||||
"icon-size": 20,
|
||||
"tooltip": true,
|
||||
"tooltip-format": "Games running: {count}"
|
||||
},
|
||||
"tray": {
|
||||
//"icon-size": 21,
|
||||
"spacing": 10
|
||||
},
|
||||
"custom/pacman": {
|
||||
@@ -59,32 +70,31 @@
|
||||
"format": "{:%H:%M}"
|
||||
},
|
||||
"battery": {
|
||||
"interval": 10,
|
||||
"interval": 10,
|
||||
"format": "{icon}",
|
||||
"format-charging": "",
|
||||
"format-icons": [ "", "", "", "", "", "", "", "", "", "", "" ],
|
||||
"format-icons": ["", "", "", "", "", "", "", "", "", "", ""],
|
||||
"tooltip-format": "{capacity}% capacity"
|
||||
},
|
||||
"network": {
|
||||
"interval": 60,
|
||||
"format": "{ifname}",
|
||||
"format-wifi": "{essid}", //
|
||||
"interval": 60,
|
||||
"format": "{ifname}",
|
||||
"format-wifi": "{essid}",
|
||||
"format-disconnected": "",
|
||||
"tooltip-format": "Connected to {essid}",
|
||||
"on-click": "gnome-terminal -- nmtui"
|
||||
},
|
||||
"pulseaudio": {
|
||||
// "scroll-step": 1, // %, can be a float
|
||||
"format": "{icon} {volume}%",
|
||||
"format-muted": "",
|
||||
"format-icons": {
|
||||
"default": ["", "", ""],
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": ""
|
||||
},
|
||||
"tooltip-format": "{volume}% volume",
|
||||
"on-click": "pavucontrol"
|
||||
@@ -97,7 +107,7 @@
|
||||
"transition-left-to-right": false
|
||||
},
|
||||
"modules": [
|
||||
"user", // First element is the "group leader" and won't ever be hidden
|
||||
"user",
|
||||
"idle_inhibitor",
|
||||
"custom/quit",
|
||||
"custom/sleep",
|
||||
@@ -132,23 +142,22 @@
|
||||
"on-triple-click": "shutdown now"
|
||||
},
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
},
|
||||
"tooltip": true,
|
||||
"tooltip-format-activated": "Idle inhibitor on",
|
||||
"tooltip-format-deactivated": "Idle inhibitor off"
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
},
|
||||
"tooltip": true,
|
||||
"tooltip-format-activated": "Idle inhibitor on",
|
||||
"tooltip-format-deactivated": "Idle inhibitor off"
|
||||
},
|
||||
"user": {
|
||||
"format": "{user} ",
|
||||
"format": "{user} ",
|
||||
"interval": 60,
|
||||
"height": 30,
|
||||
"width": 30,
|
||||
"icon": false,
|
||||
}
|
||||
,
|
||||
"icon": false
|
||||
},
|
||||
"backlight": {
|
||||
"format": "{icon} {percent}%",
|
||||
"format-icons": ["", "", ""]
|
||||
@@ -161,7 +170,7 @@
|
||||
"transition-right-to-left": true
|
||||
},
|
||||
"modules": [
|
||||
"custom/arch", // First element is the "group leader" and won't ever be hidden
|
||||
"custom/arch",
|
||||
"cpu",
|
||||
"memory"
|
||||
]
|
||||
@@ -172,14 +181,13 @@
|
||||
"max-length": 10
|
||||
},
|
||||
"custom/arch": {
|
||||
"format": " ",
|
||||
"tooltip": false
|
||||
"format": " ",
|
||||
"tooltip": false
|
||||
},
|
||||
"memory": {
|
||||
"interval": 30,
|
||||
"format": " {used:0.1f}G/{total:0.1f}G"
|
||||
}
|
||||
"interval": 30,
|
||||
"format": " {used:0.1f}G/{total:0.1f}G"
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -49,3 +49,4 @@
|
||||
.config/gh/
|
||||
.config/libreoffice/
|
||||
.config/session/
|
||||
.config/qBittorrent/
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
base-devel git paru pipewire lib32-pipewire lib32-pipewire-jack noisetorch-bin pipewire-alsa wireplumber pipewire-pulse alsa-firmware pipewire-alsa pavucontrol hyprland dunst xdg-desktop-portal-hyprland polkit-kde-agent qt5-wayland qt6-wayland sddm kitty gnome-terminal thunar thunar-archive-plugin hypridle hyprpaper hyprpicker hyprlock brightnessctl xorg-xev gvfs gnome-terminal kate nwg-look-bin papirus-icon-theme network-manager-applet cliphist pywal ccache networkmanager qt6ct qt5ct emote rofi-lbonn-wayland wlogout waybar ttf-fira-sans gnome-keyring eww noto-fonts noto-fonts-cjk ttf-font-awesome noto-fonts-emoji noto-fonts-extra nerd-fonts eog gwenview cava iniparser fftw nordic-theme python-clickgen bibita-cursor-theme lxappearance breeze ark ntfs-3g veracrypt nemo mpv mangohud gamemode lib32-gamemode libreoffice-fresh webapp-manager goverlay github-cli
|
||||
base-devel git paru pipewire lib32-pipewire lib32-pipewire-jack noisetorch-bin pipewire-alsa wireplumber pipewire-pulse alsa-firmware pipewire-alsa pavucontrol hyprland dunst xdg-desktop-portal-hyprland polkit-kde-agent qt5-wayland qt6-wayland sddm kitty gnome-terminal thunar thunar-archive-plugin hypridle hyprpaper hyprpicker hyprlock brightnessctl xorg-xev gvfs gnome-terminal kate nwg-look-bin papirus-icon-theme network-manager-applet cliphist pywal ccache networkmanager qt6ct qt5ct emote rofi-lbonn-wayland wlogout waybar ttf-fira-sans gnome-keyring eww noto-fonts noto-fonts-cjk ttf-font-awesome noto-fonts-emoji noto-fonts-extra nerd-fonts eog gwenview cava iniparser fftw nordic-theme python-clickgen bibita-cursor-theme lxappearance breeze ark ntfs-3g veracrypt nemo mpv mangohud lib32-mangohud gamemode lib32-gamemode libreoffice-fresh webapp-manager goverlay github-cli
|
||||
|
||||
Reference in New Issue
Block a user