mirror of
https://github.com/szymon-jozef/superior_dotfiles.git
synced 2026-06-05 17:00:07 +02:00
Update .config/hypr/colors.conf
Update .config/hypr/hypridle.conf Update .config/hypr/hyprland/binds/managment.conf Update .config/hypr/hyprland/decoration.conf Update .config/hypr/hyprland/exec.conf Update .config/hypr/hyprland/workspace_assign/workspace_2.conf Update .config/mimeapps.list Update .config/nvim/lua/config/set.lua Update .config/fish/functions/update.fish Update .config/yazi/yazi.toml Update .local/bin/system_setup.sh
This commit is contained in:
@@ -75,3 +75,5 @@ $mantleAlpha = e6e9ef
|
||||
|
||||
$crust = rgb(dce0e8)
|
||||
$crustAlpha = dce0e8
|
||||
|
||||
$openrgb_color = 09ce30
|
||||
|
||||
@@ -19,11 +19,11 @@ listener {
|
||||
listener {
|
||||
timeout = 330 # 5.5min
|
||||
on-timeout = openrgb -c black
|
||||
on-resume = openrgb -c white
|
||||
on-resume = openrgb -c $openrgb_color
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 1800 # 30min
|
||||
on-timeout = openrgb -c black && systemctl sleep # suspend pc
|
||||
on-resume = openrgb -c white
|
||||
on-resume = openrgb -c $openrgb_color
|
||||
}
|
||||
|
||||
@@ -71,6 +71,7 @@ bind = $mainMod, p, layoutmsg, swapprev
|
||||
bind = $mainMod, RETURN, exec, [workspace 4] $terminal
|
||||
bind = $mainMod CONTROL_L, RETURN, exec, $terminal
|
||||
bind = $mainMod, space , exec, $menu
|
||||
bind = $mainMod ALT_L, c, exec, openrgb -c $openrgb_color # restore openrgb color
|
||||
|
||||
### messages
|
||||
bind = $mainMod Control_L, s, exec,[workspace 1] kitty --title "gurk" gurk
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#decoration
|
||||
decoration {
|
||||
rounding = 10
|
||||
rounding_power = 9
|
||||
rounding = 1
|
||||
rounding_power = 2
|
||||
|
||||
# Change transparency of focused and unfocused windows
|
||||
active_opacity = 1.0
|
||||
|
||||
@@ -4,4 +4,4 @@ exec-once = wl-paste --type image --watch cliphist store
|
||||
exec-once = uwsm app -- kdeconnect-indicator
|
||||
exec-once = uwsm app -- waybar
|
||||
exec-once = swww-daemon
|
||||
exec-once = openrgb -c white
|
||||
exec-once = openrgb -c $openrgb_color
|
||||
|
||||
@@ -4,3 +4,7 @@ windowrule = workspace 2, class:^(com.github.IsmaelMartinez.teams_for_linux)$
|
||||
windowrule = workspace 2, class:^(FreeTube)$
|
||||
windowrule = workspace 2, class:^(chrome-x.com__-Default)$
|
||||
windowrule = workspace 2, class:^(chrome-www.inoreader.com__all_articles-Default)$
|
||||
windowrule = workspace 2, class:^(chrome-mail.proton.me__u_0_inbox.com-Default)$
|
||||
windowrule = workspace 2, class:^(chrome-app.tuta.com__-Default)$
|
||||
|
||||
|
||||
|
||||
@@ -15,14 +15,14 @@ x-scheme-handler/signalcaptcha=signal-desktop.desktop
|
||||
x-scheme-handler/proton-inbox=Proton Mail.desktop
|
||||
x-scheme-handler/nxm=ModOrganizer-steamtinkerlaunch-dl.desktop
|
||||
x-scheme-handler/nxm-protocol=ModOrganizer-steamtinkerlaunch-dl.desktop
|
||||
image/png=feh.desktop
|
||||
image/jpeg=feh.desktop
|
||||
image/png=org.kde.koko.desktop
|
||||
image/jpeg=org.kde.koko.desktop
|
||||
x-scheme-handler/freetube=FreeTube.desktop
|
||||
audio/hx-aac-adts=mpv.desktop
|
||||
audio/*=mpv.desktop
|
||||
image/*=feh.desktop
|
||||
image/webp=feh.desktop
|
||||
image/gif=feh.desktop
|
||||
image/*=org.kde.koko.desktop
|
||||
image/webp=org.kde.koko.desktop
|
||||
image/gif=org.kde.koko.desktop
|
||||
image/bmp=feh.desktop
|
||||
image/svg+xml=feh.desktop
|
||||
audio/mpeg=mpv.desktop
|
||||
@@ -32,6 +32,7 @@ audio/wav=mpv.desktop
|
||||
audio/aac=mpv.desktop
|
||||
audio/x-hx-aac-adts=mpv.desktop
|
||||
application/pdf=org.pwmt.zathura.desktop
|
||||
image/jpg=org.kde.koko.desktop
|
||||
|
||||
[Added Associations]
|
||||
x-scheme-handler/http=zen.desktop;userapp-Zen-2KDM82.desktop;zen-beta.desktop;
|
||||
|
||||
@@ -6,7 +6,7 @@ vim.opt.number = true
|
||||
vim.opt.signcolumn = 'yes'
|
||||
vim.opt.cursorline = false
|
||||
vim.opt.list = true
|
||||
vim.opt.wrap = false
|
||||
vim.opt.wrap = true
|
||||
vim.opt.shiftwidth = 4
|
||||
vim.opt.tabstop = 4
|
||||
vim.opt.expandtab = true
|
||||
|
||||
@@ -1,12 +1,17 @@
|
||||
function update --description "update system"
|
||||
echo "===System update==="
|
||||
if not yay
|
||||
sudo pacman -Syu
|
||||
end
|
||||
|
||||
echo "===Remove orphans==="
|
||||
set orphans (pacman -Qtdq)
|
||||
if test (count $orphans) -gt 0
|
||||
sudo pacman -Rns $orphans
|
||||
end
|
||||
|
||||
flatpak update --noninteractive $argv
|
||||
echo "===Flatpak update==="
|
||||
flatpak update --noninteractive
|
||||
echo "===Flatpak remove unused==="
|
||||
flatpak uninstall --unused
|
||||
end
|
||||
|
||||
@@ -48,9 +48,6 @@ play = [
|
||||
{ run = 'mpv --force-window "$@"', orphan = true, for = "unix" },
|
||||
{ run = '''mediainfo "$1"; echo "Press enter to exit"; read _''', block = true, desc = "Show media info", for = "unix" },
|
||||
]
|
||||
pdff = [
|
||||
{ run = 'zathura "$@"', desc = "zathura", block = true, for = "unix" },
|
||||
]
|
||||
|
||||
[open]
|
||||
rules = [
|
||||
|
||||
@@ -42,7 +42,6 @@ function install_preset() {
|
||||
install_yay
|
||||
echo "Downloading preset: $preset"
|
||||
yay -Syu ${presets[$preset]} --needed
|
||||
exit 0
|
||||
}
|
||||
|
||||
function uninstall_preset() {
|
||||
@@ -57,6 +56,11 @@ function uninstall_preset() {
|
||||
exit 0
|
||||
}
|
||||
|
||||
function enable_services() {
|
||||
sudo systemctl enable sddm bluetooth NetworkManager cups
|
||||
systemctl --user enable pipewire wireplumber
|
||||
}
|
||||
|
||||
# pkgs lists
|
||||
HYPRLAND_UI="
|
||||
hyprland
|
||||
@@ -220,6 +224,7 @@ list=false
|
||||
list_presets=false
|
||||
install=false
|
||||
uninstall=false
|
||||
services=false
|
||||
preset=""
|
||||
|
||||
help_message="Super cool system setup utility that downloads all the packages you could possibly need!\n
|
||||
@@ -227,6 +232,7 @@ How to use this bad boy:\n\n
|
||||
\t--help - show this help message and leave\n
|
||||
\t--list - list what is in given preset and leave. You can only use this option with --preset!\n
|
||||
\t--preset - choose a preset you want to use\n
|
||||
\t--services - enable all services after installing packages\n
|
||||
\t--install - installs given preset to your system\n
|
||||
\t--uninstall - uninstall given preset from your system. Possibly very stupid, because presets contain important system packages, like your window manager!\n\n
|
||||
Thanks for using my super cool script :D
|
||||
@@ -240,7 +246,7 @@ fi
|
||||
|
||||
# check args
|
||||
if [[ -z "$1" ]]; then
|
||||
echo "You need to give me some arguments... Try --help if you don't know what you're doing"
|
||||
echo "You need to give me some arguments...\nTry --help if you don't know what you're doing"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@@ -276,6 +282,10 @@ while [ -n "$1" ]; do
|
||||
uninstall=true
|
||||
shift
|
||||
;;
|
||||
--services)
|
||||
services=true
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
echo "$1 is not a valid option! What are you even doing?!"
|
||||
shift
|
||||
@@ -283,7 +293,6 @@ while [ -n "$1" ]; do
|
||||
esac
|
||||
done
|
||||
|
||||
# execute actions
|
||||
if [[ "$wants_help" = true ]]; then
|
||||
show_help
|
||||
fi
|
||||
@@ -298,6 +307,9 @@ if [[ -v presets[$preset] ]]; then
|
||||
fi
|
||||
if [[ "$install" = true ]]; then
|
||||
install_preset
|
||||
if [[ "$services" = true ]]; then
|
||||
enable_services
|
||||
fi
|
||||
fi
|
||||
if [[ "$uninstall" = true ]]; then
|
||||
uninstall_preset
|
||||
|
||||
Reference in New Issue
Block a user