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
|
# Load network manager applet
|
||||||
# START NM APPLET
|
# START NM APPLET
|
||||||
exec-once = nm-applet --indicator
|
exec-once = nm-applet --indicator
|
||||||
# END NM APPLET
|
|
||||||
|
|
||||||
# Start gnome-keyring
|
# Start gnome-keyring
|
||||||
exec-once = 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 = border, 1, 10, default
|
||||||
animation = borderangle, 1, 8, default
|
animation = borderangle, 1, 8, default
|
||||||
animation = fade, 1, 7, default
|
animation = fade, 1, 7, default
|
||||||
animation = workspaces, 1, 2, default,
|
animation = workspaces, 1, 2, default
|
||||||
}
|
}
|
||||||
|
|
||||||
dwindle {
|
dwindle {
|
||||||
@@ -118,7 +118,7 @@ gestures {
|
|||||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||||
workspace_swipe = on
|
workspace_swipe = on
|
||||||
workspace_swipe_fingers = 3
|
workspace_swipe_fingers = 3
|
||||||
workspace_swipe_distance = 150
|
workspace_swipe_distance = 500
|
||||||
}
|
}
|
||||||
|
|
||||||
misc {
|
misc {
|
||||||
@@ -245,7 +245,27 @@ bind = CTRL ALT, P, exec, nbfc set -f 0 1 -a
|
|||||||
# Lid Switch
|
# Lid Switch
|
||||||
bindl=,switch:Lid Switch, exec, hyprlock
|
bindl=,switch:Lid Switch, exec, hyprlock
|
||||||
|
|
||||||
|
# Gamemode
|
||||||
|
bind = WIN, F1, exec, ~/.config/hypr/gamemode.sh
|
||||||
|
|
||||||
# Debug
|
# Debug
|
||||||
#debug{
|
#debug{
|
||||||
# overlay = true
|
# 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",
|
"layer": "top",
|
||||||
"height": 30,
|
"height": 30,
|
||||||
"spacing": 5,
|
"spacing": 5,
|
||||||
// Choose the order of the modules
|
|
||||||
"modules-left": [
|
"modules-left": [
|
||||||
"group/group-cpu",
|
"group/group-cpu",
|
||||||
"hyprland/workspaces"
|
"hyprland/workspaces"
|
||||||
@@ -12,10 +11,11 @@
|
|||||||
],
|
],
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
"custom/pacman",
|
"custom/pacman",
|
||||||
|
"gamemode",
|
||||||
"tray",
|
"tray",
|
||||||
"network",
|
"network",
|
||||||
"pulseaudio",
|
"pulseaudio",
|
||||||
"backlight",
|
"backlight",
|
||||||
"battery",
|
"battery",
|
||||||
"clock",
|
"clock",
|
||||||
"group/group-power"
|
"group/group-power"
|
||||||
@@ -24,26 +24,37 @@
|
|||||||
"separate-outputs": true
|
"separate-outputs": true
|
||||||
},
|
},
|
||||||
"hyprland/workspaces": {
|
"hyprland/workspaces": {
|
||||||
"format": "{icon}",
|
"format": "{icon}",
|
||||||
"on-click": "activate",
|
"on-click": "activate",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"1": "",
|
"1": "",
|
||||||
"2": "",
|
"2": "",
|
||||||
"3": "",
|
"3": "",
|
||||||
"4": "",
|
"4": "",
|
||||||
"5": "",
|
"5": "",
|
||||||
"6": "",
|
"6": "",
|
||||||
"7": "",
|
"7": "",
|
||||||
"8": " ",
|
"8": " ",
|
||||||
"9": "",
|
"9": "",
|
||||||
"10": "",
|
"10": "",
|
||||||
"urgent": "",
|
"urgent": "",
|
||||||
"default": ""
|
"default": ""
|
||||||
},
|
},
|
||||||
"sort-by-number": true
|
"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": {
|
"tray": {
|
||||||
//"icon-size": 21,
|
|
||||||
"spacing": 10
|
"spacing": 10
|
||||||
},
|
},
|
||||||
"custom/pacman": {
|
"custom/pacman": {
|
||||||
@@ -59,32 +70,31 @@
|
|||||||
"format": "{:%H:%M}"
|
"format": "{:%H:%M}"
|
||||||
},
|
},
|
||||||
"battery": {
|
"battery": {
|
||||||
"interval": 10,
|
"interval": 10,
|
||||||
"format": "{icon}",
|
"format": "{icon}",
|
||||||
"format-charging": "",
|
"format-charging": "",
|
||||||
"format-icons": [ "", "", "", "", "", "", "", "", "", "", "" ],
|
"format-icons": ["", "", "", "", "", "", "", "", "", "", ""],
|
||||||
"tooltip-format": "{capacity}% capacity"
|
"tooltip-format": "{capacity}% capacity"
|
||||||
},
|
},
|
||||||
"network": {
|
"network": {
|
||||||
"interval": 60,
|
"interval": 60,
|
||||||
"format": "{ifname}",
|
"format": "{ifname}",
|
||||||
"format-wifi": "{essid}", //
|
"format-wifi": "{essid}",
|
||||||
"format-disconnected": "",
|
"format-disconnected": "",
|
||||||
"tooltip-format": "Connected to {essid}",
|
"tooltip-format": "Connected to {essid}",
|
||||||
"on-click": "gnome-terminal -- nmtui"
|
"on-click": "gnome-terminal -- nmtui"
|
||||||
},
|
},
|
||||||
"pulseaudio": {
|
"pulseaudio": {
|
||||||
// "scroll-step": 1, // %, can be a float
|
|
||||||
"format": "{icon} {volume}%",
|
"format": "{icon} {volume}%",
|
||||||
"format-muted": "",
|
"format-muted": "",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"default": ["", "", ""],
|
"default": ["", "", ""],
|
||||||
"headphone": "",
|
"headphone": "",
|
||||||
"hands-free": "",
|
"hands-free": "",
|
||||||
"headset": "",
|
"headset": "",
|
||||||
"phone": "",
|
"phone": "",
|
||||||
"portable": "",
|
"portable": "",
|
||||||
"car": "",
|
"car": ""
|
||||||
},
|
},
|
||||||
"tooltip-format": "{volume}% volume",
|
"tooltip-format": "{volume}% volume",
|
||||||
"on-click": "pavucontrol"
|
"on-click": "pavucontrol"
|
||||||
@@ -97,7 +107,7 @@
|
|||||||
"transition-left-to-right": false
|
"transition-left-to-right": false
|
||||||
},
|
},
|
||||||
"modules": [
|
"modules": [
|
||||||
"user", // First element is the "group leader" and won't ever be hidden
|
"user",
|
||||||
"idle_inhibitor",
|
"idle_inhibitor",
|
||||||
"custom/quit",
|
"custom/quit",
|
||||||
"custom/sleep",
|
"custom/sleep",
|
||||||
@@ -132,23 +142,22 @@
|
|||||||
"on-triple-click": "shutdown now"
|
"on-triple-click": "shutdown now"
|
||||||
},
|
},
|
||||||
"idle_inhibitor": {
|
"idle_inhibitor": {
|
||||||
"format": "{icon}",
|
"format": "{icon}",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"activated": "",
|
"activated": "",
|
||||||
"deactivated": ""
|
"deactivated": ""
|
||||||
},
|
},
|
||||||
"tooltip": true,
|
"tooltip": true,
|
||||||
"tooltip-format-activated": "Idle inhibitor on",
|
"tooltip-format-activated": "Idle inhibitor on",
|
||||||
"tooltip-format-deactivated": "Idle inhibitor off"
|
"tooltip-format-deactivated": "Idle inhibitor off"
|
||||||
},
|
},
|
||||||
"user": {
|
"user": {
|
||||||
"format": "{user} ",
|
"format": "{user} ",
|
||||||
"interval": 60,
|
"interval": 60,
|
||||||
"height": 30,
|
"height": 30,
|
||||||
"width": 30,
|
"width": 30,
|
||||||
"icon": false,
|
"icon": false
|
||||||
}
|
},
|
||||||
,
|
|
||||||
"backlight": {
|
"backlight": {
|
||||||
"format": "{icon} {percent}%",
|
"format": "{icon} {percent}%",
|
||||||
"format-icons": ["", "", ""]
|
"format-icons": ["", "", ""]
|
||||||
@@ -161,7 +170,7 @@
|
|||||||
"transition-right-to-left": true
|
"transition-right-to-left": true
|
||||||
},
|
},
|
||||||
"modules": [
|
"modules": [
|
||||||
"custom/arch", // First element is the "group leader" and won't ever be hidden
|
"custom/arch",
|
||||||
"cpu",
|
"cpu",
|
||||||
"memory"
|
"memory"
|
||||||
]
|
]
|
||||||
@@ -172,14 +181,13 @@
|
|||||||
"max-length": 10
|
"max-length": 10
|
||||||
},
|
},
|
||||||
"custom/arch": {
|
"custom/arch": {
|
||||||
"format": " ",
|
"format": " ",
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
},
|
},
|
||||||
"memory": {
|
"memory": {
|
||||||
"interval": 30,
|
"interval": 30,
|
||||||
"format": " {used:0.1f}G/{total:0.1f}G"
|
"format": " {used:0.1f}G/{total:0.1f}G"
|
||||||
}
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -49,3 +49,4 @@
|
|||||||
.config/gh/
|
.config/gh/
|
||||||
.config/libreoffice/
|
.config/libreoffice/
|
||||||
.config/session/
|
.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