Compare commits

...

6 Commits

  1. 10
      .config/MangoHud/MangoHud.conf
  2. 7
      .config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
  3. 6
      .emerald/theme/theme.ini
  4. 6
      .emerald/themes/Gind/theme.ini
  5. 95
      Scripts/game-dummy.sh
  6. 3
      Scripts/gamemode-end.sh
  7. 3
      Scripts/gamemode-start.sh
  8. 13
      Scripts/lollypop-volumne-ctrl.sh
  9. 2
      Scripts/lollypopVolumne50.sh
  10. 2
      Scripts/lollypopVolumne75.sh

10
.config/MangoHud/MangoHud.conf

@ -5,7 +5,7 @@ toggle_fps_limit=Shift_L+F1
# 1 = Off (IMMEDIATE_KHR)
# 2 = Mailbox (VSync with uncapped FPS) (MAILBOX_KHR)
# 3 = On (FIFO_KHR)
vsync=3
vsync=0
# -1 = Adaptive sync
# 0 = Off
# 1 = On
@ -17,17 +17,21 @@ gpu_temp
gpu_core_clock
gpu_mem_clock
gpu_power
gpu_fan
gpu_junction_temp
gpu_load_change
gpu_load_value=50,90
gpu_load_color=FFFFFF,FFAA7F,CC0000
gpu_text=RX6800
gpu_color=EB5B5B
gpu_voltage
vram
vram_color=EB5B5B
cpu_stats
cpu_temp
cpu_power
cpu_mhz
core_bars
cpu_load_change
core_load_change
cpu_load_value=50,90
@ -58,13 +62,11 @@ vkbasalt
gamemode
gamepad_battery
media_player_color=FFFFFF
custom_text=GPU Voltage
custom_text_color=EB5B5B
exec=cat /sys/class/hwmon/hwmon3/in0_input
time
no_display
background_alpha=0.4
font_size=24
text_outline_thickness=1.0
background_color=020202
position=top-left

7
.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml

@ -29,6 +29,7 @@
<property name="&lt;Super&gt;r" type="empty">
<property name="startup-notify" type="empty"/>
</property>
<property name="&lt;Alt&gt;&lt;Super&gt;s" type="empty"/>
<property name="&lt;Control&gt;&lt;Alt&gt;Delete" type="empty"/>
<property name="&lt;Control&gt;Escape" type="empty"/>
</property>
@ -55,8 +56,6 @@
</property>
<property name="&lt;Primary&gt;&lt;Shift&gt;Escape" type="string" value="xfce4-taskmanager"/>
<property name="Print" type="string" value="gnome-screenshot --interactive"/>
<property name="&lt;Shift&gt;AudioLowerVolume" type="string" value="lollypopVolumne50.sh"/>
<property name="&lt;Shift&gt;AudioRaiseVolume" type="string" value="lollypopVolumne75.sh"/>
<property name="AudioRaiseVolume" type="string" value="notifyVolumn.sh -r"/>
<property name="AudioMute" type="string" value="notifyVolumn.sh -t"/>
<property name="AudioLowerVolume" type="string" value="notifyVolumn.sh -l"/>
@ -65,6 +64,8 @@
<property name="AudioPlay" type="string" value="lollypop-mprisctl.sh play-pause"/>
<property name="&lt;Primary&gt;&lt;Alt&gt;r" type="string" value="reload-compiz.sh"/>
<property name="Calculator" type="string" value="gnome-calculator"/>
<property name="&lt;Shift&gt;AudioLowerVolume" type="string" value="lollypop-volumne-ctrl.sh &quot;-&quot;"/>
<property name="&lt;Shift&gt;AudioRaiseVolume" type="string" value="lollypop-volumne-ctrl.sh &quot;+&quot;"/>
</property>
</property>
<property name="xfwm4" type="empty">
@ -123,8 +124,8 @@
<property name="&lt;Primary&gt;F12" type="empty"/>
<property name="&lt;Super&gt;KP_Left" type="empty"/>
<property name="&lt;Super&gt;KP_Right" type="empty"/>
<property name="&lt;Super&gt;KP_Up" type="empty"/>
<property name="&lt;Super&gt;KP_Down" type="empty"/>
<property name="&lt;Super&gt;KP_Up" type="empty"/>
<property name="&lt;Super&gt;KP_Page_Up" type="empty"/>
<property name="&lt;Super&gt;KP_Home" type="empty"/>
<property name="&lt;Super&gt;KP_End" type="empty"/>

6
.emerald/theme/theme.ini

@ -438,9 +438,9 @@ horizontal_offset=0
[shadow]
shadow_color=#000000
shadow_opacity=0.5
shadow_radius=5
shadow_offset_x=3
shadow_offset_y=3
shadow_radius=11
shadow_offset_x=1
shadow_offset_y=2
[extra_grab]
top=0

6
.emerald/themes/Gind/theme.ini

@ -438,9 +438,9 @@ horizontal_offset=0
[shadow]
shadow_color=#000000
shadow_opacity=0.5
shadow_radius=5
shadow_offset_x=3
shadow_offset_y=3
shadow_radius=11
shadow_offset_x=1
shadow_offset_y=2
[extra_grab]
top=0

95
Scripts/game-dummy.sh

@ -1,30 +1,87 @@
#!/bin/bash
export DXVK_LOG_LEVEL=none
export DXVK_ASYNC=1
export RADV_PERFTEST=sam,rt
export VKD3D_CONFIG=dxr11
#export ENABLE_GAMESCOPE_WSI=1
export LD_BIND_NOW=1
#export MESA_LOADER_DRIVER_OVERRIDE=zink
export RADV_PERFTEST=sam,rt,gpl
export STEAM_COMPAT_CLIENT_INSTALL_PATH=/home/alex/.steam
#export VKD3D_CONFIG=dxr,dxr11
#export VKD3D_FEATURE_LEVEL=12_2
export WINEDEBUG=-all
export WINEDLLOVERRIDES=winedbg.exe=d
export WINEFSYNC=1
#export NO_GAMEMODE=1
#export WINEDEBUG=-all
#export WINEDLLOVERRIDES=winedbg.exe=
command="gamescope -f -U -o 30 -w 1920 -h 1080 -- gamemoderun mangohud ENABLE_VKBASALT=1"
if [[ "$@" == *"SteamLaunch"* ]]; then
$command "$@"
#xfce4-terminal -e "bash -c $command "$@";bash"
exit 0
height=1200
width=1920
if [ $(xrandr --prop | grep 18180103803c22782aeed5a356509f26) ]; then
height=1080
fi
if [ -z $STEAM_COMPAT_DATA_PATH ]; then
export STEAM_COMPAT_DATA_PATH="/home/alex/.wine_proton"
fi
command="gamescope -f -F nis -o 30 -w $width -h $height -- gamemoderun mangohud --dlsym ENABLE_VKBASALT=1"
#command="gamescope -U -o 30 -w 1280 -h 800 -- gamemoderun mangohud ENABLE_VKBASALT=1"
if [ $NO_GAMESCOPE ]; then
command="gamemoderun mangohud ENABLE_VKBASALT=1"
fi
cd "$1"
wine="wine"
if [ "$3" ]; then
wine="$3"
if [ $NO_GAMEMODE ]; then
notify-send 'Starte ohne gamemode' --icon=emblem-games
command="gamescope -f -F nis -o 30 -w $width -h $height -- mangohud ENABLE_VKBASALT=1"
fi
if [ "$4" != "true" ]; then
wine="$wine explorer /desktop=,1920x1080"
if [[ "$@" == *"/mnt/gaming/"* || $GAMING_HDD ]]; then
notifyId=$(notify-send 'Fahre Festplatte hoch' 'Geduld junger Padawan...' --icon=drive-harddisk -p)
$(output="$(echo -n $(sudo hdparm -S 0 /dev/sda))"; notify-send 'Festplatte läuft' "$output" --icon=drive-harddisk -r $notifyId) &
fi
if [ $# -eq 1 ]; then
$command "$1"
elif [[ "$@" == *"SteamLaunch"* ]] || [[ "$@" == *"/Heroic/"* ]]; then
$command "$@"
else
cd "$1"
wine="wine"
if [ "$3" ]; then
wine="$3"
if [ "$wine" == "staging" ]; then
wine="/opt/wine-tkg-staging-fsync-git-opt/bin/wine"
fi
fi
if [ "$4" != "true" ] && [[ "$wine" != *"proton"* ]]; then
wine="$wine explorer /desktop=Game,${width}x${height}"
fi
if [ "$wine" == "proton" ]; then
command="$command /home/alex/.local/share/Steam/compatibilitytools.d/GE-Proton7-55/proton run '$1$2'"
elif [ "$wine" == "proton-exp" ]; then
command="$command /home/alex/.local/share/Steam/steamapps/common/Proton\ -\ Experimental/proton run '$1$2'"
elif [ "$wine" == "proton-7" ]; then
command="$command /home/alex/.local/share/Steam/steamapps/common/Proton\ 7.0/proton run '$1$2'"
elif [ "$wine" == "proton-8" ]; then
command="$command /home/alex/.local/share/Steam/steamapps/common/Proton\ 8.0/proton run '$1$2'"
elif [ "$wine" == "proton-ge" ]; then
command="$command /home/alex/.local/share/Steam/compatibilitytools.d/GE-Proton8-14/proton run '$1$2'"
elif [ "$wine" == "proton-ge-13" ]; then
command="$command /home/alex/.local/share/Steam/compatibilitytools.d/GE-Proton8-13/proton run '$1$2'"
else
command="$command $wine $2"
fi
#xfce4-terminal -e "bash -c \"$command\";bash"
#echo $wine
#echo $command
bash -c "$command"
#sudo killall $(echo $2 | cut -d ' ' -f1)
#sudo killall explorer.exe
fi
command="$command $wine $2"
#xfce4-terminal -e "bash -c \"$command\";bash"
bash -c "$command"
if [[ "$@" == *"/mnt/gaming/"* || $GAMING_HDD ]]; then
output="$(echo -n $(sudo hdparm -S 60 /dev/sda))"
notify-send 'Setze Timeout für Festplatte' "$output" --icon=drive-harddisk
fi

3
Scripts/gamemode-end.sh

@ -2,7 +2,8 @@
#dbus-send --session --dest=org.cairodock.CairoDock /org/cairodock/CairoDock org.cairodock.CairoDock.Reload string:"config-file=/home/alex/.config/cairo-dock/current_theme/plug-ins/System-Monitor/System-Monitor.conf"
#dbus-send --session --dest=org.cairodock.CairoDock /org/cairodock/CairoDock org.cairodock.CairoDock.Reload string:"config-file=/home/alex/.config/cairo-dock/current_theme/cairo-dock.conf"
#xfconf-query -c xfce4-notifyd -p /do-not-disturb -s false
notify-send 'Gamemode ended' '' --icon=dialog-information
notify-send 'Gamemode ended' --icon=emblem-games
corectrl --toggle-manual-profile "gamemode"
#export vblank_mode=0
#killall gamescope
#Standby on

3
Scripts/gamemode-start.sh

@ -1,6 +1,7 @@
#cp /home/alex/.config/cairo-dock/current_theme/System-Monitor-off.conf /home/alex/.config/cairo-dock/current_theme/plug-ins/System-Monitor/System-Monitor.conf
#dbus-send --session --dest=org.cairodock.CairoDock /org/cairodock/CairoDock org.cairodock.CairoDock.Reload string:"config-file=/home/alex/.config/cairo-dock/current_theme/plug-ins/System-Monitor/System-Monitor.conf"
notify-send 'Gamemode started' '' --icon=dialog-information
notify-send 'Gamemode started' --icon=emblem-games
corectrl --toggle-manual-profile "gamemode"
#export vblank_mode=1
#xfconf-query -c xfce4-notifyd -p /do-not-disturb -s true
#Standby off 3h

13
Scripts/lollypop-volumne-ctrl.sh

@ -0,0 +1,13 @@
#!/bin/bash
expireTimeNotifyOSD=3000
currentId=2
tmpFile=/tmp/currentLollypopVolumnNotifyId
currentVolume=$(dbus-send --print-reply --session --dest=org.mpris.MediaPlayer2.Lollypop /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Get string:'org.mpris.MediaPlayer2.Player' string:'Volume' | grep -Eo '[+-]?[0-9]+([.][0-9]+)?' | tail -n 1)
operator=$1
newVolume=$(echo $currentVolume $operator 0.05 | bc)
newVolumeAsInt=$(echo $newVolume | cut -c 2-3)
dbus-send --print-reply --session --dest=org.mpris.MediaPlayer2.Lollypop /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Set string:'org.mpris.MediaPlayer2.Player' string:'Volume' variant:double:$newVolume
notify-send "Volume $newVolumeAsInt" "test" -p -t $expireTimeNotifyOSD -r $currentId -i org.gnome.Lollypop -h int:value:$newVolumeAsInt > $tmpFile
l

2
Scripts/lollypopVolumne50.sh

@ -1,2 +0,0 @@
#!/bin/bash
dbus-send --print-reply --session --dest=org.mpris.MediaPlayer2.Lollypop /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Set string:'org.mpris.MediaPlayer2.Player' string:'Volume' variant:double:0.55

2
Scripts/lollypopVolumne75.sh

@ -1,2 +0,0 @@
#!/bin/bash
dbus-send --print-reply --session --dest=org.mpris.MediaPlayer2.Lollypop /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Set string:'org.mpris.MediaPlayer2.Player' string:'Volume' variant:double:0.8
Loading…
Cancel
Save