init
This commit is contained in:
22
.bashrc
Normal file
22
.bashrc
Normal file
@@ -0,0 +1,22 @@
|
||||
#
|
||||
# ~/.bashrc
|
||||
#
|
||||
|
||||
# If not running interactively, don't do anything
|
||||
#[[ $- != *i* ]] && return
|
||||
|
||||
PS1='[\u@\h \W]\$ '
|
||||
fastfetch
|
||||
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
|
||||
alias dir='dir --color=auto'
|
||||
alias grep='grep --color=auto'
|
||||
alias hw='hwinfo --short'
|
||||
alias ls='eza -al --color=always --group-directories-first --icons'
|
||||
alias mirror='sudo cachyos-rate-mirrors'
|
||||
alias please=sudo
|
||||
alias tb='nc termbin.com 9999'
|
||||
alias update='sudo pacman -Syu'
|
||||
alias wget='wget -c '
|
||||
alias search='yay -Ss'
|
||||
11
.config/MangoHud/MangoHud.conf
Normal file
11
.config/MangoHud/MangoHud.conf
Normal file
@@ -0,0 +1,11 @@
|
||||
fps_color_change=1
|
||||
fps_limit=180
|
||||
no_display=0
|
||||
position=top-left
|
||||
background_alpha=0
|
||||
font_size=24
|
||||
font_file=/home/shamiiow/Documents/fonts/Minecraft.otf
|
||||
cpu_temp=1
|
||||
gpu_temp=1
|
||||
ram=1
|
||||
percent_fps_1=1
|
||||
94
.config/OpenTabletDriver/settings.json
Normal file
94
.config/OpenTabletDriver/settings.json
Normal file
@@ -0,0 +1,94 @@
|
||||
{
|
||||
"Revision": "0.6.6.2",
|
||||
"Profiles": [
|
||||
{
|
||||
"Tablet": "XP-Pen Star G430S V2",
|
||||
"OutputMode": {
|
||||
"Path": "OpenTabletDriver.Desktop.Output.LinuxArtistMode",
|
||||
"Settings": [],
|
||||
"Enable": true
|
||||
},
|
||||
"Filters": [],
|
||||
"AbsoluteModeSettings": {
|
||||
"Display": {
|
||||
"Width": 4480.0,
|
||||
"Height": 1440.0,
|
||||
"X": 2240.0,
|
||||
"Y": 720.0,
|
||||
"Rotation": 0.0
|
||||
},
|
||||
"Tablet": {
|
||||
"Width": 101.6,
|
||||
"Height": 47.8125,
|
||||
"X": 50.8,
|
||||
"Y": 39.509144,
|
||||
"Rotation": 0.0
|
||||
},
|
||||
"EnableClipping": true,
|
||||
"EnableAreaLimiting": false,
|
||||
"LockAspectRatio": true
|
||||
},
|
||||
"RelativeModeSettings": {
|
||||
"XSensitivity": 10.0,
|
||||
"YSensitivity": 10.0,
|
||||
"RelativeRotation": 0.0,
|
||||
"RelativeResetDelay": "00:00:00.1000000"
|
||||
},
|
||||
"Bindings": {
|
||||
"TipActivationThreshold": 1.0,
|
||||
"TipButton": {
|
||||
"Path": "OpenTabletDriver.Desktop.Binding.AdaptiveBinding",
|
||||
"Settings": [
|
||||
{
|
||||
"Property": "Binding",
|
||||
"Value": "Tip"
|
||||
}
|
||||
],
|
||||
"Enable": true
|
||||
},
|
||||
"EraserActivationThreshold": 1.0,
|
||||
"EraserButton": {
|
||||
"Path": "OpenTabletDriver.Desktop.Binding.AdaptiveBinding",
|
||||
"Settings": [
|
||||
{
|
||||
"Property": "Binding",
|
||||
"Value": "Eraser"
|
||||
}
|
||||
],
|
||||
"Enable": true
|
||||
},
|
||||
"PenButtons": [
|
||||
{
|
||||
"Path": "OpenTabletDriver.Desktop.Binding.AdaptiveBinding",
|
||||
"Settings": [
|
||||
{
|
||||
"Property": "Binding",
|
||||
"Value": "Button 1"
|
||||
}
|
||||
],
|
||||
"Enable": true
|
||||
},
|
||||
{
|
||||
"Path": "OpenTabletDriver.Desktop.Binding.AdaptiveBinding",
|
||||
"Settings": [
|
||||
{
|
||||
"Property": "Binding",
|
||||
"Value": "Button 2"
|
||||
}
|
||||
],
|
||||
"Enable": true
|
||||
}
|
||||
],
|
||||
"AuxButtons": [],
|
||||
"MouseButtons": [],
|
||||
"MouseScrollUp": null,
|
||||
"MouseScrollDown": null,
|
||||
"DisablePressure": false,
|
||||
"DisableTilt": false
|
||||
}
|
||||
}
|
||||
],
|
||||
"LockUsableAreaDisplay": true,
|
||||
"LockUsableAreaTablet": true,
|
||||
"Tools": []
|
||||
}
|
||||
21
.config/fastfetch/ascii
Normal file
21
.config/fastfetch/ascii
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
⣿⣆⠱⣝⡵⣝⢅⠙⣿⢕⢕⢕⢕⢝⣥⢒⠅⣿⣿⣿⡿⣳⣌⠪⡪⣡⢑
|
||||
⣿⣿⣦⠹⣳⣳⣕⢅⠈⢗⢕⢕⢕⢕⢕⢈⢆⠟⠋⠉⠁⠉⠉⠁⠈⠼⢐
|
||||
⢰⣶⣶⣦⣝⢝⢕⢕⠅⡆⢕⢕⢕⢕⢕⣴⠏⣠⡶⠛⡉⡉⡛⢶⣦⡀⠐
|
||||
⡄⢻⢟⣿⣿⣷⣕⣕⣅⣿⣔⣕⣵⣵⣿⣿⢠⣿⢠⣮⡈⣌⠨⠅⠹⣷⡀
|
||||
⡵⠟⠈⢀⣀⣀⡀⠉⢿⣿⣿⣿⣿⣿⣿⣿⣼⣿⢈⡋⠴⢿⡟⣡⡇⣿⡇
|
||||
⠁⣠⣾⠟⡉⡉⡉⠻⣦⣻⣿⣿⣿⣿⣿⣿⣿⣿⣧⠸⣿⣦⣥⣿⡇⡿⣰
|
||||
⢰⣿⡏⣴⣌⠈⣌⠡⠈⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣬⣉⣉⣁⣄⢖⢕
|
||||
⢻⣿⡇⢙⠁⠴⢿⡟⣡⡆⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣵
|
||||
⣄⣻⣿⣌⠘⢿⣷⣥⣿⠇⣿⣿⣿⣿⣿⣿⠛⠻⣿⣿⣿⣿⣿⣿⣿⣿⣿
|
||||
⢄⠻⣿⣟⠿⠦⠍⠉⣡⣾⣿⣿⣿⣿⣿⣿⢸⣿⣦⠙⣿⣿⣿⣿⣿⣿⣿
|
||||
⡑⣑⣈⣻⢗⢟⢞⢝⣻⣿⣿⣿⣿⣿⣿⣿⠸⣿⠿⠃⣿⣿⣿⣿⣿⣿⡿
|
||||
⡵⡈⢟⢕⢕⢕⢕⣵⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣶⣿⣿⣿⣿⣿⠿⠋⣀
|
||||
111
.config/fastfetch/config.jsonc
Normal file
111
.config/fastfetch/config.jsonc
Normal file
@@ -0,0 +1,111 @@
|
||||
{
|
||||
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
|
||||
"logo": {
|
||||
"source": "~/.config/fastfetch/ascii",
|
||||
"color": {
|
||||
"1": "38;2;255;209;220"
|
||||
}
|
||||
},
|
||||
"display": {
|
||||
"separator": " "
|
||||
},
|
||||
"modules": [
|
||||
"break",
|
||||
"break",
|
||||
"break",
|
||||
"break",
|
||||
"break",
|
||||
"break",
|
||||
"break",
|
||||
{
|
||||
"type": "os",
|
||||
"key": " ",
|
||||
"keyColor": "38;2;152;255;152" // = color4
|
||||
},
|
||||
{
|
||||
"type": "kernel",
|
||||
"key": " ",
|
||||
"keyColor": "38;2;152;255;152"
|
||||
},
|
||||
{
|
||||
"type": "packages",
|
||||
"key": " ",
|
||||
"keyColor": "38;2;152;255;152"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"key": " ",
|
||||
"keyColor": "38;2;152;255;152"
|
||||
},
|
||||
{
|
||||
"type": "terminal",
|
||||
"key": " ",
|
||||
"keyColor": "38;2;152;255;152"
|
||||
},
|
||||
{
|
||||
"type": "wm",
|
||||
"key": " ",
|
||||
"keyColor": "38;2;152;255;152"
|
||||
},
|
||||
{
|
||||
"type": "cursor",
|
||||
"key": " ",
|
||||
"keyColor": "38;2;152;255;152"
|
||||
},
|
||||
{
|
||||
"type": "terminalfont",
|
||||
"key": " ",
|
||||
"keyColor": "38;2;152;255;152"
|
||||
},
|
||||
{
|
||||
"type": "uptime",
|
||||
"key": " ",
|
||||
"keyColor": "38;2;152;255;152"
|
||||
},
|
||||
{
|
||||
"type": "datetime",
|
||||
"format": "{1}-{3}-{11}",
|
||||
"key": " ",
|
||||
"keyColor": "38;2;152;255;152"
|
||||
},
|
||||
{
|
||||
"type": "media",
|
||||
"key": " ",
|
||||
"keyColor": "38;2;152;255;152"
|
||||
},
|
||||
{
|
||||
"type": "player",
|
||||
"key": " ",
|
||||
"keyColor": "38;2;152;255;152"
|
||||
},
|
||||
{
|
||||
"type": "CPU",
|
||||
"key": "⚙ ",
|
||||
"keyColor": "38;2;152;255;152"
|
||||
},
|
||||
{
|
||||
"type": "GPU",
|
||||
"key": " ",
|
||||
"keyColor": "38;2;152;255;152"
|
||||
},
|
||||
{
|
||||
"type": "memory",
|
||||
"key": " ",
|
||||
"keyColor": "38;2;152;255;152"
|
||||
},
|
||||
{
|
||||
"type": "monitor",
|
||||
"key": "🖼 ",
|
||||
"keyColor": "38;2;152;255;152"
|
||||
},
|
||||
"break",
|
||||
"break",
|
||||
"break",
|
||||
"break",
|
||||
"break",
|
||||
"break",
|
||||
"break",
|
||||
"break",
|
||||
"break"
|
||||
]
|
||||
}
|
||||
62
.config/foot/foot.ini
Normal file
62
.config/foot/foot.ini
Normal file
@@ -0,0 +1,62 @@
|
||||
term=foot
|
||||
title=foot
|
||||
|
||||
#font=Cartograph Mono CF:size=14
|
||||
#font=ProFont IIx Nerd Font:size=12
|
||||
#font=CaskaydiaCove NF:size=14
|
||||
#font=MapleMono NF Medium:size=14
|
||||
#font=IBM EGA 8x14:size=19
|
||||
#font=Departure Mono:size=14
|
||||
#font=Terminess Nerd Font:size=14
|
||||
#font=GohuFont 11 Nerd Font:size=13
|
||||
#font=GohuFont 14 Nerd Font:size=13
|
||||
#font=JetBrains Mono NF:size=14
|
||||
#font=IBM VGA 8x16:size=19
|
||||
#font=IBM Plex Mono:size=14
|
||||
#font=NotoMono NF:size=14
|
||||
#font=Monocraft:size=13
|
||||
#font=B612 Mono:size=14
|
||||
|
||||
|
||||
pad=8x8
|
||||
|
||||
dpi-aware=yes
|
||||
|
||||
|
||||
|
||||
[colors-dark]
|
||||
alpha=1
|
||||
background=0f0f0f
|
||||
foreground=f4decd
|
||||
|
||||
# black
|
||||
regular0 = 1e1f1e
|
||||
bright0 = 3b403c
|
||||
|
||||
# red
|
||||
regular1 = f16e65
|
||||
bright1 = ef968f
|
||||
|
||||
# green
|
||||
regular2 = 7ec97e
|
||||
bright2 = a4daa4
|
||||
|
||||
# yellow
|
||||
regular3 = ef934d
|
||||
bright3 = f4b585
|
||||
|
||||
# blue
|
||||
regular4 = 71b4d6
|
||||
bright4 = b0d4e8
|
||||
|
||||
# magenta
|
||||
regular5 = e28dc6
|
||||
bright5 = ebadd6
|
||||
|
||||
# cyan
|
||||
regular6 = 7ec9a3
|
||||
bright6 = abd4bf
|
||||
|
||||
# white
|
||||
regular7 = d9cdb5
|
||||
bright7 = f4decd
|
||||
11
.config/gtk-3.0/bookmarks
Normal file
11
.config/gtk-3.0/bookmarks
Normal file
@@ -0,0 +1,11 @@
|
||||
file:///home/shamiiow/Downloads Downloads
|
||||
file:///home/shamiiow/Documents Documents
|
||||
file:///home/shamiiow/Videos Videos
|
||||
file:///home/shamiiow/Games Games
|
||||
file:///home/shamiiow/.config .config
|
||||
file:///home/shamiiow/.config/sway sway
|
||||
file:///home/shamiiow/.config/hypr hypr
|
||||
file:///home/shamiiow/.local/share share
|
||||
file:///home/shamiiow/.local .local
|
||||
file:///home/shamiiow/GitHub GitHub
|
||||
file:///home/shamiiow/.config/.Triggers%20Client/instances/Sword%20Art%20Online Sword Art Online
|
||||
17
.config/gtk-3.0/settings.ini
Normal file
17
.config/gtk-3.0/settings.ini
Normal file
@@ -0,0 +1,17 @@
|
||||
[Settings]
|
||||
gtk-theme-name=caelus
|
||||
gtk-icon-theme-name=AdwaitaLegacy
|
||||
gtk-font-name=RobotoMono Nerd Font Propo Medium 11
|
||||
gtk-cursor-theme-name=default
|
||||
gtk-cursor-theme-size=24
|
||||
gtk-toolbar-style=GTK_TOOLBAR_ICONS
|
||||
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
||||
gtk-button-images=0
|
||||
gtk-menu-images=0
|
||||
gtk-enable-event-sounds=1
|
||||
gtk-enable-input-feedback-sounds=0
|
||||
gtk-xft-antialias=1
|
||||
gtk-xft-hinting=1
|
||||
gtk-xft-hintstyle=hintslight
|
||||
gtk-xft-rgba=rgb
|
||||
gtk-application-prefer-dark-theme=0
|
||||
1
.config/gtk-4.0/assets
Symbolic link
1
.config/gtk-4.0/assets
Symbolic link
@@ -0,0 +1 @@
|
||||
/usr/share/themes/adw-gtk3-dark/gtk-4.0/assets
|
||||
1
.config/gtk-4.0/gtk-dark.css
Symbolic link
1
.config/gtk-4.0/gtk-dark.css
Symbolic link
@@ -0,0 +1 @@
|
||||
/usr/share/themes/adw-gtk3-dark/gtk-4.0/gtk-dark.css
|
||||
1
.config/gtk-4.0/gtk.css
Symbolic link
1
.config/gtk-4.0/gtk.css
Symbolic link
@@ -0,0 +1 @@
|
||||
/usr/share/themes/adw-gtk3-dark/gtk-4.0/gtk.css
|
||||
7
.config/gtk-4.0/settings.ini
Normal file
7
.config/gtk-4.0/settings.ini
Normal file
@@ -0,0 +1,7 @@
|
||||
[Settings]
|
||||
gtk-theme-name=caelus
|
||||
gtk-icon-theme-name=AdwaitaLegacy
|
||||
gtk-font-name=RobotoMono Nerd Font Propo Medium 11
|
||||
gtk-cursor-theme-name=default
|
||||
gtk-cursor-theme-size=24
|
||||
gtk-application-prefer-dark-theme=0
|
||||
10
.config/hypr/autostart.conf
Normal file
10
.config/hypr/autostart.conf
Normal file
@@ -0,0 +1,10 @@
|
||||
#----------------_________----------------
|
||||
# AutoStart
|
||||
#---------------- ----------------
|
||||
|
||||
exec-once = swww-daemon
|
||||
exec-once = $terminal
|
||||
exec-once = elephant
|
||||
exec-once = swaync
|
||||
exec-once = waybar
|
||||
exec-once = swaybg -c 000000
|
||||
8
.config/hypr/env-variables.conf
Normal file
8
.config/hypr/env-variables.conf
Normal file
@@ -0,0 +1,8 @@
|
||||
#----------------_____________________----------------
|
||||
# Environment-variables
|
||||
#---------------- ----------------
|
||||
|
||||
# See https://wiki.hypr.land/Configuring/Environment-variables/
|
||||
|
||||
env = XCURSOR_SIZE,24
|
||||
env = HYPRCURSOR_SIZE,24
|
||||
15
.config/hypr/hyprland.conf
Normal file
15
.config/hypr/hyprland.conf
Normal file
@@ -0,0 +1,15 @@
|
||||
# This is an example Hyprland config file.
|
||||
# Refer to the wiki for more information.
|
||||
# See https://wiki.hypr.land/Configuring/
|
||||
|
||||
|
||||
source = ~/.config/hypr/monitors.conf
|
||||
source = ~/.config/hypr/programs.conf
|
||||
source = ~/.config/hypr/autostart.conf
|
||||
source = ~/.config/hypr/env-variables.conf
|
||||
source = ~/.config/hypr/permissions.conf
|
||||
source = ~/.config/hypr/looknfeel.conf
|
||||
source = ~/.config/hypr/input.conf
|
||||
source = ~/.config/hypr/keybinds.conf
|
||||
source = ~/.config/hypr/windowsnworkspaces.conf
|
||||
|
||||
22
.config/hypr/input.conf
Normal file
22
.config/hypr/input.conf
Normal file
@@ -0,0 +1,22 @@
|
||||
#----------------_____----------------
|
||||
# Input
|
||||
#---------------- ----------------
|
||||
|
||||
input {
|
||||
kb_layout = us
|
||||
|
||||
follow_mouse = 1
|
||||
|
||||
sensitivity = -0.67
|
||||
|
||||
touchpad {
|
||||
natural_scroll = false
|
||||
}
|
||||
}
|
||||
|
||||
gesture = 3, horizontal, workspace
|
||||
|
||||
device {
|
||||
name = epic-mouse-v1
|
||||
sensitivity = -0.5
|
||||
}
|
||||
91
.config/hypr/keybinds.conf
Normal file
91
.config/hypr/keybinds.conf
Normal file
@@ -0,0 +1,91 @@
|
||||
#----------------________----------------
|
||||
# Keybinds
|
||||
#---------------- ----------------
|
||||
|
||||
$mainMod = SUPER
|
||||
|
||||
bind = $mainModt, T, togglefloating
|
||||
bind = $mainMod, F, fullscreen
|
||||
bind = $mainMod, J, togglesplit
|
||||
bind = $mainMod, L, exit
|
||||
|
||||
bindd = $mainMod, P, take a screenshot, exec, grim -g "$(slurp)" - | swappy -f -
|
||||
bindd = $mainMod, D, Lazy Docker, exec, $terminal -e lazydocker
|
||||
bindd = $mainMod SHIFT, F, File manager, exec, $fileManager
|
||||
bindd = $mainMod SHIFT, N, Neovim, exec, $terminal -e nvim
|
||||
bindd = $mainMod SHIFT, SLASH, Vesktop, exec, $discord
|
||||
bindd = $mainMod SHIFT, B, Web browser, exec, $browser
|
||||
bindd = $mainMod, RETURN, Terminal, exec, [float;size 1000 800] $terminal
|
||||
bindd = $mainMod, SPACE, Launch apps, exec, [float;size 1000 800] $terminal -e $menu
|
||||
bindd = $mainMod, W, Close window, killactive
|
||||
|
||||
bindd = $mainMod SHIFT, W, create webApp, exec, [float] ~/.local/bin/floating-tui webapp-creator 700 300
|
||||
bindd = $mainMod SHIFT, I, install package, exec, [float] ~/.local/bin/floating-tui pacseek 1300 600
|
||||
bindd = $mainMod, R, Relaunch Waybar, exec, [float] ~/.config/waybar/script/launch.sh
|
||||
bindd = $mainMod, M, toggle micro, exec, [float] ~/.local/bin/toggle-mic
|
||||
bindd = $mainMod SHIFT, M, toggle sound, exec, [float] $terminal -e pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
bindd = $mainMod SHIFT, T, Top, exec, [float] $terminal -e btop
|
||||
|
||||
|
||||
bind = $mainMod, left, movefocus, l
|
||||
bind = $mainMod, right, movefocus, r
|
||||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
|
||||
bind = $mainMod SHIFT, left, resizeactive, -100 0
|
||||
bind = $mainMod SHIFT, right, resizeactive, 100 0
|
||||
bind = $mainMod SHIFT, up, resizeactive, 0 -100
|
||||
bind = $mainMod SHIFT, down, resizeactive, 0 100
|
||||
|
||||
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
bind = $mainMod, 2, workspace, 2
|
||||
bind = $mainMod, 3, workspace, 3
|
||||
bind = $mainMod, 4, workspace, 4
|
||||
bind = $mainMod, 5, workspace, 5
|
||||
bind = $mainMod, 6, workspace, 6
|
||||
bind = $mainMod, 7, workspace, 7
|
||||
bind = $mainMod, 8, workspace, 8
|
||||
bind = $mainMod, 9, workspace, 9
|
||||
bind = $mainMod, 0, workspace, 10
|
||||
|
||||
|
||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
||||
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
||||
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
||||
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
||||
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
||||
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||
|
||||
|
||||
bind = $mainMod, S, togglespecialworkspace, game
|
||||
bind = $mainMod SHIFT, S, movetoworkspace, special:game
|
||||
|
||||
bind = $mainMod, A, togglespecialworkspace, music
|
||||
bind = $mainMod SHIFT, A, movetoworkspace, special:music
|
||||
|
||||
bind = $mainMod, E, togglespecialworkspace, browser
|
||||
bind = $mainMod SHIFT, E, movetoworkspace, special:browser
|
||||
|
||||
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
|
||||
|
||||
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
|
||||
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||
#bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
#bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
||||
#bindel = ,XF86MonBrightnessUp, exec, brightnessctl -e4 -n2 set 5%+
|
||||
#bindel = ,XF86MonBrightnessDown, exec, brightnessctl -e4 -n2 set 5%-
|
||||
|
||||
|
||||
bindl = , XF86AudioNext, exec, playerctl next
|
||||
bindl = , XF86AudioPause, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPrev, exec, playerctl previous
|
||||
|
||||
112
.config/hypr/looknfeel.conf
Normal file
112
.config/hypr/looknfeel.conf
Normal file
@@ -0,0 +1,112 @@
|
||||
#----------------_____________----------------
|
||||
# Look and Feel
|
||||
#---------------- ----------------
|
||||
|
||||
# Refer to https://wiki.hypr.land/Configuring/Variables/
|
||||
|
||||
# https://wiki.hypr.land/Configuring/Variables/#general
|
||||
general {
|
||||
gaps_in = 3
|
||||
gaps_out = 5
|
||||
|
||||
border_size = 3
|
||||
|
||||
# https://wiki.hypr.land/Configuring/Variables/#variable-types for info about colors
|
||||
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
|
||||
col.inactive_border = rgba(595959aa)
|
||||
|
||||
# Set to true enable resizing windows by clicking and dragging on borders and gaps
|
||||
resize_on_border = false
|
||||
|
||||
# Please see https://wiki.hypr.land/Configuring/Tearing/ before you turn this on
|
||||
allow_tearing = false
|
||||
|
||||
layout = dwindle
|
||||
}
|
||||
|
||||
# https://wiki.hypr.land/Configuring/Variables/#decoration
|
||||
decoration {
|
||||
rounding = 0
|
||||
rounding_power = 0
|
||||
|
||||
# Change transparency of focused and unfocused windows
|
||||
active_opacity = 1.0
|
||||
inactive_opacity = 1.0
|
||||
|
||||
shadow {
|
||||
enabled = true
|
||||
range = 4
|
||||
render_power = 3
|
||||
color = rgba(1a1a1aee)
|
||||
}
|
||||
|
||||
# https://wiki.hypr.land/Configuring/Variables/#blur
|
||||
blur {
|
||||
enabled = true
|
||||
size = 3
|
||||
passes = 1
|
||||
|
||||
vibrancy = 0.1696
|
||||
ignore_opacity = false
|
||||
}
|
||||
}
|
||||
|
||||
# https://wiki.hypr.land/Configuring/Variables/#animations
|
||||
animations {
|
||||
enabled = yes, please :)
|
||||
|
||||
# Default curves, see https://wiki.hypr.land/Configuring/Animations/#curves
|
||||
# NAME, X0, Y0, X1, Y1
|
||||
bezier = easeOutQuint, 0.23, 1, 0.32, 1
|
||||
bezier = easeInOutCubic, 0.65, 0.05, 0.36, 1
|
||||
bezier = linear, 0, 0, 1, 1
|
||||
bezier = almostLinear, 0.5, 0.5, 0.75, 1
|
||||
bezier = quick, 0.15, 0, 0.1, 1
|
||||
|
||||
# Default animations, see https://wiki.hypr.land/Configuring/Animations/
|
||||
# NAME, ONOFF, SPEED, CURVE, [STYLE]
|
||||
animation = global, 1, 10, default
|
||||
animation = border, 1, 5.39, easeOutQuint
|
||||
animation = windows, 1, 4.79, easeOutQuint
|
||||
animation = windowsIn, 1, 4.1, easeOutQuint, popin 87%
|
||||
animation = windowsOut, 1, 1.49, linear, popin 87%
|
||||
animation = fadeIn, 1, 1.73, almostLinear
|
||||
animation = fadeOut, 1, 1.46, almostLinear
|
||||
animation = fade, 1, 3.03, quick
|
||||
animation = layers, 1, 3.81, easeOutQuint
|
||||
animation = layersIn, 1, 4, easeOutQuint, fade
|
||||
animation = layersOut, 1, 1.5, linear, fade
|
||||
animation = fadeLayersIn, 1, 1.79, almostLinear
|
||||
animation = fadeLayersOut, 1, 1.39, almostLinear
|
||||
animation = workspaces, 1, 1.94, almostLinear, fade
|
||||
animation = workspacesIn, 1, 1.21, almostLinear, fade
|
||||
animation = workspacesOut, 1, 1.94, almostLinear, fade
|
||||
animation = zoomFactor, 1, 7, quick
|
||||
}
|
||||
|
||||
# Ref https://wiki.hypr.land/Configuring/Workspace-Rules/
|
||||
# "Smart gaps" / "No gaps when only"
|
||||
# uncomment all if you wish to use that.
|
||||
# workspace = w[tv1], gapsout:0, gapsin:0
|
||||
# workspace = f[1], gapsout:0, gapsin:0
|
||||
# windowrule = bordersize 0, floating:0, onworkspace:w[tv1]
|
||||
# windowrule = rounding 0, floating:0, onworkspace:w[tv1]
|
||||
# windowrule = bordersize 0, floating:0, onworkspace:f[1]
|
||||
# windowrule = rounding 0, floating:0, onworkspace:f[1]
|
||||
|
||||
# See https://wiki.hypr.land/Configuring/Dwindle-Layout/ for more
|
||||
dwindle {
|
||||
pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||
preserve_split = true # You probably want this
|
||||
}
|
||||
|
||||
# See https://wiki.hypr.land/Configuring/Master-Layout/ for more
|
||||
master {
|
||||
new_status = master
|
||||
}
|
||||
|
||||
# https://wiki.hypr.land/Configuring/Variables/#misc
|
||||
misc {
|
||||
force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
|
||||
disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
|
||||
}
|
||||
6
.config/hypr/monitors.conf
Normal file
6
.config/hypr/monitors.conf
Normal file
@@ -0,0 +1,6 @@
|
||||
# Generated by nwg-displays on 2026-03-18 at 08:55:13. Do not edit manually.
|
||||
|
||||
monitor=DP-1,2560x1440@180.0,1920x0,1.0
|
||||
monitor=DP-3,1920x1080@143.85,0x173,1.0
|
||||
|
||||
|
||||
17
.config/hypr/permissions.conf
Normal file
17
.config/hypr/permissions.conf
Normal file
@@ -0,0 +1,17 @@
|
||||
#----------------___________----------------
|
||||
# Permissions
|
||||
#---------------- ----------------
|
||||
|
||||
# See https://wiki.hypr.land/Configuring/Permissions/
|
||||
# Please note permission changes here require a Hyprland restart and are not applied on-the-fly
|
||||
# for security reasons
|
||||
|
||||
# ecosystem {
|
||||
# enforce_permissions = 1
|
||||
# }
|
||||
|
||||
# permission = /usr/(bin|local/bin)/grim, screencopy, allow
|
||||
# permission = /usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland, screencopy, allow
|
||||
# permission = /usr/(bin|local/bin)/hyprpm, plugin, allow
|
||||
|
||||
|
||||
13
.config/hypr/programs.conf
Normal file
13
.config/hypr/programs.conf
Normal file
@@ -0,0 +1,13 @@
|
||||
#----------------________----------------
|
||||
# Programs
|
||||
#---------------- ----------------
|
||||
|
||||
# See https://wiki.hypr.land/Configuring/Keywords/
|
||||
|
||||
# Set programs that you use
|
||||
$terminal = foot
|
||||
$fileManager = nautilus
|
||||
$menu = fsel
|
||||
$browser = helium-browser
|
||||
$music = spotify
|
||||
$discord = vesktop
|
||||
15
.config/hypr/windowsnworkspaces.conf
Normal file
15
.config/hypr/windowsnworkspaces.conf
Normal file
@@ -0,0 +1,15 @@
|
||||
#----------------____________________----------------
|
||||
# Window and Workspace
|
||||
#---------------- ----------------
|
||||
|
||||
# See https://wiki.hypr.land/Configuring/Window-Rules/ for more
|
||||
# See https://wiki.hypr.land/Configuring/Workspace-Rules/ for workspace rules
|
||||
|
||||
# Example windowrule
|
||||
# windowrule = float,class:^(kitty)$,title:^(kitty)$
|
||||
|
||||
# Ignore maximize requests from apps. You'll probably like this.
|
||||
#windowrule = suppressevent maximize, class:.*
|
||||
|
||||
# Fix some dragging issues with XWayland
|
||||
#windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
|
||||
89
.config/mimeapps.list
Normal file
89
.config/mimeapps.list
Normal file
@@ -0,0 +1,89 @@
|
||||
[Added Associations]
|
||||
application/vnd.sqlite3=cursor.desktop;
|
||||
application/x-msdownload=faugus-launcher.desktop;
|
||||
application/json=codium.desktop;
|
||||
application/x-php=codium.desktop;
|
||||
text/x-python3=codium.desktop;
|
||||
text/x-python=codium.desktop;
|
||||
x-scheme-handler/http=zen.desktop;
|
||||
x-scheme-handler/https=zen.desktop;
|
||||
x-scheme-handler/chrome=zen.desktop;
|
||||
text/html=zen.desktop;
|
||||
application/x-extension-htm=zen.desktop;
|
||||
application/x-extension-html=zen.desktop;
|
||||
application/x-extension-shtml=zen.desktop;
|
||||
application/xhtml+xml=zen.desktop;
|
||||
application/x-extension-xhtml=zen.desktop;
|
||||
application/x-extension-xht=zen.desktop;
|
||||
application/octet-stream=obsidian.desktop;
|
||||
|
||||
[Default Applications]
|
||||
x-scheme-handler/discord=vesktop.desktop
|
||||
application/x-gnome-saved-search=yazi.desktop
|
||||
image/x-xpixmap=org.xfce.ristretto.desktop
|
||||
image/tiff=org.xfce.ristretto.desktop
|
||||
image/gif=org.xfce.ristretto.desktop
|
||||
video/x-flv=mpv.desktop
|
||||
video/mp4=mpv.desktop
|
||||
video/x-flic=mpv.desktop
|
||||
video/dv=mpv.desktop
|
||||
video/3gpp2=mpv.desktop
|
||||
video/quicktime=mpv.desktop
|
||||
video/ogg=mpv.desktop
|
||||
video/webm=mpv.desktop
|
||||
video/mpeg=mpv.desktop
|
||||
video/x-ms-wmv=mpv.desktop
|
||||
video/x-theora+ogg=mpv.desktop
|
||||
video/x-matroska=mpv.desktop
|
||||
video/mp2t=mpv.desktop
|
||||
video/x-ogm+ogg=mpv.desktop
|
||||
video/vnd.mpegurl=mpv.desktop
|
||||
video/3gpp=mpv.desktop
|
||||
video/vnd.avi=mpv.desktop
|
||||
video/vnd.rn-realvideo=mpv.desktop
|
||||
x-scheme-handler/http=chromium.desktop
|
||||
x-scheme-handler/https=chromium.desktop
|
||||
x-scheme-handler/about=chromium.desktop
|
||||
x-scheme-handler/unknown=chromium.desktop
|
||||
image/png=com.orama_interactive.Pixelorama.desktop
|
||||
image/pxo=com.orama_interactive.Pixelorama.desktop
|
||||
image/x-tga=com.orama_interactive.Pixelorama.desktop
|
||||
image/jpeg=com.orama_interactive.Pixelorama.desktop
|
||||
image/bmp=com.orama_interactive.Pixelorama.desktop
|
||||
image/svg+xml=com.orama_interactive.Pixelorama.desktop
|
||||
image/webp=com.orama_interactive.Pixelorama.desktop
|
||||
x-scheme-handler/mailspring=Mailspring.desktop
|
||||
application/x-msdownload=faugus-launcher.desktop
|
||||
application/x-php=codium.desktop
|
||||
text/x-python3=codium.desktop
|
||||
x-scheme-handler/chrome=zen.desktop
|
||||
application/x-extension-htm=zen.desktop
|
||||
application/x-extension-html=zen.desktop
|
||||
application/x-extension-shtml=zen.desktop
|
||||
application/x-extension-xhtml=zen.desktop
|
||||
application/x-extension-xht=zen.desktop
|
||||
inode/directory=pcmanfm.desktop
|
||||
text/x-csrc=codium.desktop
|
||||
text/x-python=codium.desktop
|
||||
text/tcl=codium.desktop
|
||||
text/css=codium.desktop
|
||||
text/x-pascal=codium.desktop
|
||||
text/x-makefile=codium.desktop
|
||||
text/plain=codium.desktop
|
||||
text/x-tex=codium.desktop
|
||||
text/x-patch=codium.desktop
|
||||
text/x-ms-regedit=codium.desktop
|
||||
text/html=codium.desktop
|
||||
text/x-moc=codium.desktop
|
||||
application/pdf=librewolf.desktop
|
||||
application/xhtml+xml=librewolf.desktop
|
||||
application/x-xpinstall=librewolf.desktop
|
||||
application/smil+xml=librewolf.desktop
|
||||
application/x-designer=librewolf.desktop
|
||||
application/json=librewolf.desktop
|
||||
application/rdf+xml=librewolf.desktop
|
||||
application/xml=librewolf.desktop
|
||||
application/rss+xml=librewolf.desktop
|
||||
application/zip=extract-zip.desktop
|
||||
application/x-zip-compressed=extract-zip.desktop
|
||||
x-scheme-handler/animu=electron-app-universal-protocol-client-4bbe2f1add7bc83025f4ace11ad3ec52.desktop
|
||||
0
.config/swaync/config.json
Normal file
0
.config/swaync/config.json
Normal file
48
.config/swaync/style.css
Normal file
48
.config/swaync/style.css
Normal file
@@ -0,0 +1,48 @@
|
||||
* {
|
||||
font-family: "Minecraft", monospace;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.control-center .notification-row:focus,
|
||||
.control-center .notification-row:hover {
|
||||
opacity: 1;
|
||||
background: none;
|
||||
}
|
||||
|
||||
.notification-row {
|
||||
outline: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.notification {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.notification {
|
||||
background: rgba(24, 24, 24, 1);
|
||||
border: 3px solid rgba(47, 197, 236, 1);
|
||||
margin: 4px -2px 4px 0;
|
||||
padding: 7px;
|
||||
min-height: 32px;
|
||||
}
|
||||
|
||||
.notification:hover {
|
||||
background: rgba(24, 24, 24, 1);
|
||||
}
|
||||
|
||||
.close-button {
|
||||
background: rgba(24, 24, 24, 1);
|
||||
border: 3px solid rgba(47, 197, 236, 1);
|
||||
margin: 4px -2px 4px 0;
|
||||
padding: 5px;
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
.notification-content {
|
||||
background: rgba(24, 24, 24, 1);
|
||||
}
|
||||
|
||||
.notification-default-action:hover {
|
||||
background: rgba(24, 24, 24, 1);
|
||||
}
|
||||
50
.config/swaync/style.css.old
Normal file
50
.config/swaync/style.css.old
Normal file
@@ -0,0 +1,50 @@
|
||||
* {
|
||||
font-family: "JetBrainsMono NFM SemiBold", monospace;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.control-center .notification-row:focus,
|
||||
.control-center .notification-row:hover {
|
||||
opacity: 1;
|
||||
background: none;
|
||||
}
|
||||
|
||||
.notification-row {
|
||||
outline: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.notification {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.notification {
|
||||
background: rgba(24, 24, 24, 1);
|
||||
border: 3px solid rgba(47, 197, 236, 1);
|
||||
margin: 4px -2px 4px 0;
|
||||
padding: 7px;
|
||||
min-height: 32px;
|
||||
}
|
||||
|
||||
.notification:hover {
|
||||
background: rgba(24, 24, 24, 1);
|
||||
}
|
||||
|
||||
.close-button {
|
||||
background: rgba(24, 24, 24, 1);
|
||||
border: 3px solid rgba(47, 197, 236, 1);
|
||||
margin: 4px -2px 4px 0;
|
||||
padding: 5px;
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
.notification-content {
|
||||
background: rgba(24, 24, 24, 1);
|
||||
}
|
||||
|
||||
.notification-default-action:hover,
|
||||
.notification-action:hover {
|
||||
color: blue;
|
||||
background: blue;
|
||||
}
|
||||
100
.config/waybar/config.jsonc
Normal file
100
.config/waybar/config.jsonc
Normal file
@@ -0,0 +1,100 @@
|
||||
{
|
||||
"output": "DP-3",
|
||||
"position": "top",
|
||||
"spacing": 0,
|
||||
"height": 26,
|
||||
"modules-left": ["hyprland/workspaces"],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": [
|
||||
"group/tray-expander",
|
||||
"bluetooth",
|
||||
"network",
|
||||
"pulseaudio",
|
||||
"custom/micro",
|
||||
"cpu",
|
||||
],
|
||||
"custom/micro": {
|
||||
"tooltip": "mute/unmute",
|
||||
"exec": "~/.local/bin/waybar-mic-status",
|
||||
"on-click": "~/.local/bin/toggle-mic",
|
||||
"interval": 1,
|
||||
},
|
||||
|
||||
"hyprland/workspaces": {
|
||||
"on-click": "activate",
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"default": "",
|
||||
"1": "1",
|
||||
"2": "2",
|
||||
"3": "3",
|
||||
"4": "4",
|
||||
"5": "5",
|
||||
"6": "6",
|
||||
"7": "7",
|
||||
"8": "8",
|
||||
"9": "9",
|
||||
"10": "0",
|
||||
"active": "",
|
||||
}
|
||||
},
|
||||
"clock": {
|
||||
"format": "{:L%A %H:%M}",
|
||||
"format-alt": "{:L%d %B %Y}",
|
||||
"tooltip": false,
|
||||
},
|
||||
"pulseaudio": {
|
||||
"format": "{icon}",
|
||||
"format-muted": "",
|
||||
"format-icons": {
|
||||
"default": ["", ""],
|
||||
},
|
||||
"scroll-step": 1,
|
||||
"on-click": "foot -e wiremix",
|
||||
"ignored-sinks": ["Easy Effects Sink"],
|
||||
},
|
||||
"network": {
|
||||
"format-icons": ["", "", "", "", ""],
|
||||
"format": "{icon}",
|
||||
"format-wifi": "{icon}",
|
||||
"format-ethernet": "",
|
||||
"format-disconnected": "",
|
||||
"tooltip-format-wifi": "{essid} ({frequency} GHz)\n⇣{bandwidthDownBytes} ⇡{bandwidthUpBytes}",
|
||||
"tooltip-format-ethernet": "⇣{bandwidthDownBytes} ⇡{bandwidthUpBytes}",
|
||||
"tooltip-format-disconnected": "Disconnected",
|
||||
"interval": 3,
|
||||
"spacing": 1,
|
||||
"on-click": "foot -e impala",
|
||||
"on-click-right": "foot -e cloudflare-speed-cli 1000 1000",
|
||||
},
|
||||
"bluetooth": {
|
||||
"format": "",
|
||||
"format-disabled": "",
|
||||
"format-connected": "",
|
||||
"tooltip-format": "Devices connected: {num_connections}",
|
||||
"on-click": "foot -e bluetui",
|
||||
},
|
||||
"cpu": {
|
||||
"interval": 10,
|
||||
"format": "",
|
||||
"max-length": 10,
|
||||
"on-click": "foot -e btop 1000 800",
|
||||
},
|
||||
|
||||
"group/tray-expander": {
|
||||
"orientation": "inherit",
|
||||
"drawer": {
|
||||
"transition-duration": 600,
|
||||
"children-class": "tray-group-item",
|
||||
},
|
||||
"modules": ["custom/expand-icon", "tray"],
|
||||
},
|
||||
"custom/expand-icon": {
|
||||
"format": "",
|
||||
"tooltip": false,
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 12,
|
||||
"spacing": 17,
|
||||
},
|
||||
}
|
||||
9
.config/waybar/script/launch.sh
Executable file
9
.config/waybar/script/launch.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
hyprctl reload
|
||||
killall -9 waybar
|
||||
killall -9 swaync
|
||||
|
||||
waybar &
|
||||
swaync &
|
||||
notify-send ConfigReload &
|
||||
69
.config/waybar/style.css
Normal file
69
.config/waybar/style.css
Normal file
@@ -0,0 +1,69 @@
|
||||
* {
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
min-height: 0;
|
||||
font-family: "Minecraft";
|
||||
font-size: 14px;
|
||||
color: white;
|
||||
|
||||
text-shadow: 1px 1px 0 #000, 2px 2px 0 #000;
|
||||
}
|
||||
|
||||
.modules-left {
|
||||
margin-left: 8px;
|
||||
padding-top: 8px;
|
||||
}
|
||||
|
||||
.modules-right {
|
||||
margin-right: 8px;
|
||||
padding-top: 5px;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
all: initial;
|
||||
padding: 0 6px;
|
||||
margin: 0 1.5px;
|
||||
min-width: 9px;
|
||||
}
|
||||
|
||||
#workspaces button.empty {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
#cpu,
|
||||
#battery,
|
||||
#pulseaudio,
|
||||
#micro {
|
||||
min-width: 12px;
|
||||
margin: 0 7.5px;
|
||||
}
|
||||
|
||||
#tray {
|
||||
margin-right: 16px;
|
||||
}
|
||||
|
||||
#bluetooth {
|
||||
margin-right: 17px;
|
||||
}
|
||||
|
||||
#network {
|
||||
margin-right: 13px;
|
||||
}
|
||||
|
||||
#custom-expand-icon {
|
||||
margin-right: 18px;
|
||||
}
|
||||
|
||||
tooltip {
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
#clock {
|
||||
margin-left: 8.75px;
|
||||
padding-top: 8.75px;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
opacity: 0;
|
||||
}
|
||||
2
.gitattributes
vendored
Normal file
2
.gitattributes
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
# Auto detect text files and perform LF normalization
|
||||
* text=auto
|
||||
358
.local/bin/gameScript_osu-wine
Executable file
358
.local/bin/gameScript_osu-wine
Executable file
@@ -0,0 +1,358 @@
|
||||
#!/usr/bin/env bash
|
||||
export XDG_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}"
|
||||
export BINDIR="${BINDIR:-$HOME/.local/bin}"
|
||||
|
||||
## Welcome to your osu! launch script!
|
||||
|
||||
set -a
|
||||
## Add your launch options to a file in $XDG_DATA_HOME/osuconfig/configs, likely ~/.local/share/osuconfig/configs
|
||||
## You can look at the $XDG_DATA_HOME/osuconfig/configs/example.cfg for some common options (also on the git repo under 'stuff/').
|
||||
## This example file won't be overwritten, but you can copy/rename it etc. as long as it ends in .cfg
|
||||
|
||||
## Variables are explained with comments, but if you just need to prepend
|
||||
## any argument (like gamemoderun or mangohud) before osu!, use 'PRE_LAUNCH_ARGS'!
|
||||
|
||||
source "$XDG_DATA_HOME/osuconfig/configs/"*.cfg 2>/dev/null
|
||||
set +a
|
||||
|
||||
###################################################################################################
|
||||
# osu-winello internal variables, you probably don't have to touch these!
|
||||
###################################################################################################
|
||||
|
||||
set -a
|
||||
# Don't change this 'winello-default' file! It'll be overwritten on updates.
|
||||
source "$XDG_DATA_HOME/osuconfig/update/stuff/winello-default.cfg"
|
||||
set +a
|
||||
|
||||
export WINE="${WINE:-$XDG_DATA_HOME/osuconfig/yawl-winello}"
|
||||
export WINESERVER="${WINESERVER:-${WINE}server}"
|
||||
export WINEPREFIX="${WINEPREFIX:-$XDG_DATA_HOME/wineprefixes/osu-wineprefix}"
|
||||
export WINE_INSTALL_PATH="${WINE_INSTALL_PATH:-$XDG_DATA_HOME/osuconfig/wine-osu}"
|
||||
|
||||
export WINETRICKS="${WINETRICKS:-$XDG_DATA_HOME/osuconfig/winetricks}"
|
||||
|
||||
export WINEDLLOVERRIDES="winemenubuilder.exe=;" # Blocks wine from creating .desktop files
|
||||
|
||||
LAUNCHERPATH="$(realpath "$0")"
|
||||
export LAUNCHERPATH
|
||||
|
||||
# Make all paths visible to pressure-vessel
|
||||
_mainscriptpath="$(realpath "$XDG_DATA_HOME/osuconfig/update/osu-winello.sh")"
|
||||
_mountline="$(df -P "$_mainscriptpath" 2>/dev/null | tail -1)" && [ -n "${_mountline}" ] && _mainscript_mount="${_mountline##* }:" # mountpoint to main script path
|
||||
_mountline="$(df -P "$LAUNCHERPATH" 2>/dev/null | tail -1)" && [ -n "${_mountline}" ] && _curdir_mount="${_mountline##* }:" # mountpoint to current directory
|
||||
_mountline="$(df -P "$XDG_DATA_HOME" 2>/dev/null | tail -1)" && [ -n "${_mountline}" ] && _home_mount="${_mountline##* }:" # mountpoint to XDG_DATA_HOME
|
||||
PRESSURE_VESSEL_FILESYSTEMS_RW+="${_mainscript_mount:-}${_curdir_mount:-}${_home_mount:-}/mnt:/media:/run/media"
|
||||
[ -r "$XDG_DATA_HOME/osuconfig/osupath" ] && OSUPATH=$(</"$XDG_DATA_HOME/osuconfig/osupath") &&
|
||||
PRESSURE_VESSEL_FILESYSTEMS_RW+=":$(realpath "$OSUPATH"):$(realpath "$OSUPATH"/Songs 2>/dev/null)" # mountpoint to osu/songs directory
|
||||
export PRESSURE_VESSEL_FILESYSTEMS_RW="${PRESSURE_VESSEL_FILESYSTEMS_RW//\/:/:}" OSUPATH # clean any "just /" mounts, pressure-vessel doesn't like that
|
||||
|
||||
mapfile -t configs < <(find "$XDG_DATA_HOME/osuconfig/configs" -name '*.cfg')
|
||||
|
||||
###################################################################################################
|
||||
# Helper functions for the launcher script
|
||||
###################################################################################################
|
||||
|
||||
Help() {
|
||||
Info "NOTE: Any command can be prefixed by the letter 'n' to avoid updating when running it
|
||||
e.g. \`osu-wine n --fixprefix\` will run \`--fixprefix\` without overwriting any of your files from the osu-winello git repo
|
||||
Script features:
|
||||
osu-wine: Runs osu!
|
||||
osu-wine --help: Show this help
|
||||
osu-wine --info: Troubleshooting and more info
|
||||
osu-wine --edit-config: Open your configuration file to edit launch arguments and other customizations
|
||||
osu-wine --winecfg : Runs winecfg on the osu! Wineprefix
|
||||
osu-wine --winetricks: Install packages on osu! Wineprefix
|
||||
osu-wine --regedit: Opens regedit on osu! Wineprefix
|
||||
osu-wine --wine <args>: Runs wine + your arguments as if it was normal wine
|
||||
osu-wine --kill: Kills osu! and related processes in osu! Wineprefix
|
||||
osu-wine --kill9: Kills osu! but with wineserver -k9
|
||||
osu-wine --update: Updates wine-osu to the latest version
|
||||
osu-wine --fixprefix: Reinstalls the osu! Wineprefix from system
|
||||
osu-wine --fixfolders: Reconfigure osu-handler and native file integration (run this if osu!direct/.osz/.osk handling, or opening folders/.osu/.osb files from ingame is broken)
|
||||
osu-wine --fix-yawl: Reinstalls files related to yawl and the Steam Runtime in case something went wrong
|
||||
osu-wine --fixrpc: Reinstalls rpc-bridge if needed!
|
||||
osu-wine --remove: Uninstalls osu! and the script
|
||||
osu-wine --changedir: Changes directory of the install according to the user
|
||||
osu-wine --devserver <address>: Runs osu with an alternative server (e.g. --devserver akatsuki.gg)
|
||||
osu-wine --runinprefix <file>: Launches a custom executable within osu!'s Wineprefix
|
||||
osu-wine --osuhandler <beatmap, skin..>: Launches osu-handler-wine with the specified file/link
|
||||
osu-wine --gosumemory: Installs and runs gosumemory without any needed config!
|
||||
osu-wine --tosu: Installs and runs tosu without any needed config!
|
||||
osu-wine --disable-memory-reader: Turn off gosumemory and tosu
|
||||
osu-wine --akatsuki: Installs and runs Akatsuki patcher
|
||||
osu-wine --mappingtools: Installs and runs osu! Mapping Tools (experimental, WINE_USE_CACHY=true recommended)"
|
||||
}
|
||||
|
||||
# Won't return failure if there's no internet connection, but tries to update the main script first before calling the function
|
||||
MainScriptUpdate() {
|
||||
_clone() { GIT_TERMINAL_PROMPT=0 git clone "https://github.com/NelloKudo/osu-winello.git" "$XDG_DATA_HOME/osuconfig/update" --quiet 2>/dev/null; }
|
||||
_pull() { GIT_TERMINAL_PROMPT=0 git -C "$XDG_DATA_HOME/osuconfig/update" pull --quiet 2>/dev/null; }
|
||||
_reset() { GIT_TERMINAL_PROMPT=0 git -C "$XDG_DATA_HOME/osuconfig/update" reset --hard "${1:-HEAD}" --quiet 2>/dev/null; }
|
||||
if [ ! -d "$XDG_DATA_HOME/osuconfig/update" ]; then
|
||||
_clone # where did the update directory go? need to clone it first.
|
||||
else
|
||||
_pull || { _reset origin/main && _pull; } # I think this should handle when a branch is deleted/main branch changes?
|
||||
fi
|
||||
_reset
|
||||
# check again, doesn't hurt
|
||||
[ -d "$XDG_DATA_HOME/osuconfig/update" ] || ErrorAndExit "Your osu-winello folder is broken, please reinstall from scratch..."
|
||||
MainScript "${@:-}"
|
||||
return $?
|
||||
}
|
||||
|
||||
# Same as above, but without checking for updates
|
||||
MainScript() {
|
||||
declare -a CMD POST_ARGS
|
||||
POST_ARGS=("${@:-}")
|
||||
CMD=("bash")
|
||||
# Check for MainScript(Update) exec <command> to not re-enter the launcher after calling the main script
|
||||
[[ "${POST_ARGS[0]}" = exec* ]] && CMD=("exec" "bash") && POST_ARGS=("${POST_ARGS[@]:1}")
|
||||
[ -z "${POST_ARGS[*]}" ] && ErrorAndExit "(internal) Missing arguments?"
|
||||
|
||||
"${CMD[@]}" "$XDG_DATA_HOME/osuconfig/update/osu-winello.sh" "${POST_ARGS[@]}"
|
||||
return $? # shouldn't reach this if using exec
|
||||
}
|
||||
|
||||
# Use wine-osu-cachy when enabled in the configuration file
|
||||
if [ "$WINE_USE_CACHY" == "true" ]; then
|
||||
MainScript winecachy-setup
|
||||
export WINE="$XDG_DATA_HOME/osuconfig/yawl-winello-cachy"
|
||||
export WINE_INSTALL_PATH="$XDG_DATA_HOME/osuconfig/wine-osu-cachy-10.0"
|
||||
fi
|
||||
|
||||
# Allow using bundled gstreamer
|
||||
if [ -f "${WINE_INSTALL_PATH}/lib/wine/x86_64-unix/libgstfaad.so" ]; then
|
||||
export GST_PLUGIN_SYSTEM_PATH_1_0="${WINE_INSTALL_PATH}/lib/wine/x86_64-unix"
|
||||
export WINE_GST_REGISTRY_DIR="${WINEPREFIX}/gstreamer-1.0"
|
||||
mkdir -p "${WINE_GST_REGISTRY_DIR}"
|
||||
fi
|
||||
|
||||
LaunchOsu() {
|
||||
declare -a PRE_ARGS POST_ARGS
|
||||
# only add custom arguments from config if there were none passed to LaunchOsu
|
||||
if [ -z "${*}" ]; then
|
||||
# this is sketchy because double spaces won't be handled properly
|
||||
IFS=" " read -r -a POST_ARGS <<<"${POST_LAUNCH_ARGS}"
|
||||
else
|
||||
POST_ARGS=("${@:-}")
|
||||
fi
|
||||
IFS=" " read -r -a PRE_ARGS <<<"env ${PRE_LAUNCH_ARGS}"
|
||||
|
||||
Info "Opening: $OSUPATH/osu!.exe ${POST_ARGS[*]}"
|
||||
if [ -f "${OSUPATH}/launch_with_memory.bat" ]; then
|
||||
if command -v pgrep &>/dev/null; then
|
||||
{ pgrep 'osu!.exe' &>/dev/null; } || $WINESERVER -k # stop lingering tosu process if any
|
||||
fi
|
||||
OSU_EXE=("launch_with_memory.bat")
|
||||
Info "Click here to open the tosu/gosumemory page: http://localhost:24050 or http://127.0.0.1:24050"
|
||||
else
|
||||
OSU_EXE=("osu!.exe")
|
||||
fi
|
||||
WINELLO_LOGS_PATH="${XDG_DATA_HOME}/osuconfig/winello.log"
|
||||
|
||||
echo "Using configs: ${configs[*]}" &>"${WINELLO_LOGS_PATH}"
|
||||
|
||||
Info "The run log is located in ${WINELLO_LOGS_PATH}. Attach this file if you make an issue on GitHub or ask for help on Discord."
|
||||
Info "Launching: ${PRE_ARGS[*]} ${WINE} ${OSU_EXE[*]} ${POST_ARGS[*]}"
|
||||
|
||||
export WINEDEBUG="+timestamp,+pid,+tid,+threadname,+debugstr,+loaddll,+winebrowser,+exec${WINEDEBUG:+,${WINEDEBUG}}"
|
||||
cd "${OSUPATH}" || { Error "Couldn't change the working directory to your osu! folder... Did you remove it? Try \`osu-wine --changedir\`." && return 1; }
|
||||
exec "${PRE_ARGS[@]}" "${WINE}" "${OSU_EXE[@]}" "${POST_ARGS[@]}" &>>"${WINELLO_LOGS_PATH}" || return 1
|
||||
return 0
|
||||
}
|
||||
|
||||
Info() {
|
||||
echo -e '\033[1;34m'"Winello:\033[0m $*"
|
||||
}
|
||||
|
||||
Warning() {
|
||||
echo -e '\033[0;33m'"Winello:\033[0m $*"
|
||||
}
|
||||
|
||||
Error() {
|
||||
echo -e '\033[1;31m'"Winello (error):\033[0m $*"
|
||||
}
|
||||
|
||||
ErrorAndExit() {
|
||||
echo -e '\033[1;31m'"Script failed:\033[0m $*"
|
||||
exit 1
|
||||
}
|
||||
|
||||
###################################################################################################
|
||||
# Begin argument handling
|
||||
###################################################################################################
|
||||
|
||||
# default to MainSciptUpdate, allow overriding from config
|
||||
: "${mainscriptcommand:=MainScriptUpdate}"
|
||||
|
||||
case "$1" in
|
||||
'n')
|
||||
# Don't update the launcher before running a command
|
||||
# e.g. osu-wine n --fixprefix
|
||||
mainscriptcommand=MainScript
|
||||
export NOLAUNCHERUPDATE=1 # let osu-winello.sh know we don't want osu-wine to be updated/overwritten
|
||||
shift
|
||||
;;
|
||||
esac
|
||||
|
||||
shopt -s extglob
|
||||
|
||||
case "$1" in
|
||||
'--devserver')
|
||||
if [ -z "$2" ]; then ErrorAndExit "You need to specify a server, e.g. --devserver akatsuki.gg"; fi
|
||||
LaunchOsu "-devserver" "${@:2}"
|
||||
;;
|
||||
|
||||
###################################################################################################
|
||||
|
||||
'--wine')
|
||||
"$WINE" "${@:2}"
|
||||
;;
|
||||
|
||||
###################################################################################################
|
||||
|
||||
'--regedit')
|
||||
"$WINE" regedit
|
||||
;;
|
||||
|
||||
###################################################################################################
|
||||
|
||||
'--winecfg')
|
||||
"$WINE" winecfg
|
||||
;;
|
||||
|
||||
###################################################################################################
|
||||
|
||||
'--edit-config')
|
||||
Info "Opening your configuration files: ${configs[*]}"
|
||||
command -v "${CUSTOMEDITOR}" >/dev/null 2>&1 && exec "${CUSTOMEDITOR}" "${configs[*]}"
|
||||
xdg-open "${configs[*]}" || ErrorAndExit "No text editors were able to open your configuration files..."
|
||||
;;
|
||||
|
||||
###################################################################################################
|
||||
|
||||
'--winetricks')
|
||||
[ ! -x "$XDG_DATA_HOME/osuconfig/winetricks" ] && { $mainscriptcommand "installwinetricks" || ErrorAndExit "Couldn't install winetricks..."; }
|
||||
"$WINETRICKS" "${@:2}" || ErrorAndExit "Your winetricks command completed with errors..."
|
||||
;;
|
||||
|
||||
###################################################################################################
|
||||
|
||||
'--changedir')
|
||||
$mainscriptcommand "changedir" || ErrorAndExit "Changing directories failed..."
|
||||
;;
|
||||
|
||||
###################################################################################################
|
||||
|
||||
'--remove')
|
||||
$mainscriptcommand "uninstall" || ErrorAndExit "You may have to uninstall/remove the folders manually..."
|
||||
;;
|
||||
|
||||
###################################################################################################
|
||||
|
||||
'--kill')
|
||||
"$WINESERVER" -k
|
||||
;;
|
||||
|
||||
###################################################################################################
|
||||
|
||||
'--kill9')
|
||||
"$WINESERVER" -k9
|
||||
;;
|
||||
|
||||
###################################################################################################
|
||||
|
||||
'--update')
|
||||
# It might look pointless to allow "not-updating" if you want to update... but it's better to leave it predictable
|
||||
$mainscriptcommand "exec" "update" || ErrorAndExit "The update partially or completely failed..."
|
||||
;;
|
||||
|
||||
###################################################################################################
|
||||
|
||||
'--fixfolders')
|
||||
$mainscriptcommand "fixfolders" || Error "The native file manager integration failed. Will still try to fix osu-handler..."
|
||||
$mainscriptcommand "fixosuhandler" || ErrorAndExit "The osu-handler setup was unsuccessful..."
|
||||
;;
|
||||
|
||||
###################################################################################################
|
||||
|
||||
*--fix*yawl*)
|
||||
$mainscriptcommand "fixyawl" || ErrorAndExit "yawl may not have been fixed..."
|
||||
;;
|
||||
|
||||
###################################################################################################
|
||||
|
||||
'--fixrpc')
|
||||
$mainscriptcommand "discordrpc" || ErrorAndExit "The Discord RPC bridge installation completed with errors..."
|
||||
;;
|
||||
|
||||
###################################################################################################
|
||||
|
||||
'--fixprefix')
|
||||
$mainscriptcommand "fixprefix" ||
|
||||
ErrorAndExit "The prefix setup completed with issues... It might have worked, though, so try osu!, or --fixprefix again if it didn't work."
|
||||
$mainscriptcommand "fixosuhandler" || ErrorAndExit "The osu-handler setup was unsuccessful..."
|
||||
;;
|
||||
|
||||
###################################################################################################
|
||||
|
||||
'--tosu')
|
||||
$mainscriptcommand "tosu" || ErrorAndExit "Couldn't set up tosu..."
|
||||
;;
|
||||
'--gosumemory')
|
||||
$mainscriptcommand "gosumemory" || ErrorAndExit "Couldn't set up gosumemory..."
|
||||
;;
|
||||
|
||||
###################################################################################################
|
||||
|
||||
'--akatsuki')
|
||||
MainScript "akatsukiPatcher" || ErrorAndExit "Couldn't launch akatsuki patcher..."
|
||||
;;
|
||||
|
||||
###################################################################################################
|
||||
|
||||
'--mappingtools')
|
||||
MainScript "mappingTools" || ErrorAndExit "Couldn't launch Mapping Tools..."
|
||||
;;
|
||||
|
||||
###################################################################################################
|
||||
|
||||
*--disable-@(*osu*|memory*))
|
||||
rm -f "$OSUPATH/launch_with_memory.bat"
|
||||
Info "Memory reader (tosu/gosumemory) disabled."
|
||||
;;
|
||||
|
||||
###################################################################################################
|
||||
|
||||
'--osuhandler')
|
||||
# don't update to avoid unnecessary slowdown
|
||||
MainScript "exec" "handle" "${@:2}"
|
||||
;;
|
||||
|
||||
###################################################################################################
|
||||
|
||||
'--info')
|
||||
Info "Need info?:
|
||||
Wineprefix location: $WINEPREFIX
|
||||
osu! folder: '$OSUPATH'
|
||||
|
||||
If you need to add more options to osu!, check the Launch function of the script (ex. nano $BINDIR/osu-wine)
|
||||
You can run 'osu-wine --help' to see all the script's functions (fix prefix, change dir etc.)
|
||||
You can find more troubleshooting and info at here: https://osu.ppy.sh/community/forums/topics/1248084?n=1
|
||||
|
||||
If you get an error like 'Runtime Platform missing or download incomplete', try running 'osu-wine --fix-yawl'."
|
||||
;;
|
||||
|
||||
###################################################################################################
|
||||
|
||||
*--help*)
|
||||
Help
|
||||
;;
|
||||
|
||||
###################################################################################################
|
||||
|
||||
*)
|
||||
# Fall through to osu
|
||||
LaunchOsu "${@:1}"
|
||||
;;
|
||||
esac
|
||||
2
.local/bin/hyprlandScrip_floating
Executable file
2
.local/bin/hyprlandScrip_floating
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/usr/bin/bash
|
||||
hyprctl dispatch exec "[float;center;size $2 $3] $1"
|
||||
2
.local/bin/hyprlandScript_floating-tui
Executable file
2
.local/bin/hyprlandScript_floating-tui
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/usr/bin/bash
|
||||
foot -e hyprctl dispatch exec "[float;center;size $2 $3] alacritty -e $1"
|
||||
10
.local/bin/saoScrip_launch
Executable file
10
.local/bin/saoScrip_launch
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
# Créer le dossier logs s'il n'existe pas
|
||||
mkdir -p ~/Games/Others/TriggersClient/logs
|
||||
|
||||
# Générer le nom de fichier avec timestamp
|
||||
LOGFILE=~/Games/Others/TriggersClient/logs/triggers_$(date +%d-%m-%Y_%H-%M-%S).log
|
||||
|
||||
# Lancer l'application avec logging
|
||||
~/Games/Others/TriggersClient/Triggers-Client-linux-x86_64.AppImage --enable-logging=stderr --v=1 2>&1 | tee "$LOGFILE"
|
||||
5
.local/bin/saoScrip_sync
Executable file
5
.local/bin/saoScrip_sync
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
while true; do
|
||||
rsync -a ~/Documents/SAOMinecraft_Free/ ~/.config/'.Triggers Client'/instances/'Sword Art Online'/
|
||||
sleep 0.5
|
||||
done
|
||||
7
.local/bin/saoScrip_update
Executable file
7
.local/bin/saoScrip_update
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
mkdir -p ~/Games/Others/TriggersClient/
|
||||
|
||||
rm ~/Games/Others/TriggersClient/Triggers-Client-linux-x86_64.AppImage
|
||||
wget -P ~/Games/Others/TriggersClient/ https://github.com/TriggersStudio/Triggers-Client-Releases/releases/download/v3.4.1/Triggers-Client-linux-x86_64.AppImage
|
||||
chmod +x ~/Games/Others/TriggersClient/Triggers-Client-linux-x86_64.AppImage
|
||||
15
.local/bin/waybarScript_mic-status
Executable file
15
.local/bin/waybarScript_mic-status
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
# Nom exact de ton périphérique
|
||||
DEVICE="BIRD UM1 Mono"
|
||||
|
||||
# Lit la ligne correspondant au périphérique
|
||||
LINE=$(wpctl status | grep "$DEVICE")
|
||||
|
||||
# Si la ligne contient "MUTED", on met l'icône micro muted
|
||||
if echo "$LINE" | grep -q "MUTED"; then
|
||||
echo " " # micro muted
|
||||
else
|
||||
echo " " # micro actif
|
||||
fi
|
||||
|
||||
2
.local/bin/waybarScript_toggle-mic
Executable file
2
.local/bin/waybarScript_toggle-mic
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/usr/bin/bash
|
||||
foot -e wpctl set-mute $(wpctl status | grep 'BIRD UM1 Mono' | grep -o ' [0-9][0-9]. ' | grep -o '[0-9][0-9]') toggle
|
||||
11
install.sh
Executable file
11
install.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
yay -S fastfetch foot opentabletdriver waybar fsel nautilus helium-browser-bin vesktop filezilla obs-studio prismlauncher steam nwg-look nwg-displays selectdefaultapplication-git spotify pixelorama blender faugus-launcher filelight localsend nbtexplorer-bin neovim octopi osu pacseek scrcpy yazi swaybg swaync heroic-games-launcher-bin yggdrasil ufw otf-minecraft webapp-creator
|
||||
|
||||
mkdir -p ~/Games/exeFiles
|
||||
mkdir -p ~/Games/Faugus
|
||||
mkdir -p ~/Games/Heroic
|
||||
mkdir -p ~/Games/Others
|
||||
mkdir -p ~/Games/Steam
|
||||
|
||||
mkdir -p ~/Videos/OBS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user