Compare commits
No commits in common. "21627ef804715a3aabe9f4fdd802a0b0d143d45f" and "e6b08b867f20b465f32593faf0722ed58c344c31" have entirely different histories.
21627ef804
...
e6b08b867f
|
@ -74,28 +74,28 @@ bind = $mainMod, T, togglefloating,
|
||||||
bind = $mainMod, H, pseudo, # Toggle pseudo-tiling
|
bind = $mainMod, H, pseudo, # Toggle pseudo-tiling
|
||||||
|
|
||||||
# Switch workspaces with mainMod + [0-9]
|
# Switch workspaces with mainMod + [0-9]
|
||||||
bind = $mainMod, 1, workspace, 1
|
bind = $mainMod, ampersand, workspace, 1
|
||||||
bind = $mainMod, 2, workspace, 2
|
bind = $mainMod, eacute, workspace, 2
|
||||||
bind = $mainMod, 3, workspace, 3
|
bind = $mainMod, quotedbl, workspace, 3
|
||||||
bind = $mainMod, 4, workspace, 4
|
bind = $mainMod, apostrophe, workspace, 4
|
||||||
bind = $mainMod, 5, workspace, 5
|
bind = $mainMod, parenleft, workspace, 5
|
||||||
bind = $mainMod, 6, workspace, 6
|
bind = $mainMod, minus, workspace, 6
|
||||||
bind = $mainMod, 7, workspace, 7
|
bind = $mainMod, egrave, workspace, 7
|
||||||
bind = $mainMod, 8, workspace, 8
|
bind = $mainMod, underscore, workspace, 8
|
||||||
bind = $mainMod, 9, workspace, 9
|
bind = $mainMod, ccedilla, workspace, 9
|
||||||
bind = $mainMod, 0, workspace, 10
|
bind = $mainMod, agrave, workspace, 10
|
||||||
|
|
||||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
bind = $mainMod SHIFT, ampersand, movetoworkspace, 1
|
||||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
bind = $mainMod SHIFT, eacute, movetoworkspace, 2
|
||||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
bind = $mainMod SHIFT, quotedbl, movetoworkspace, 3
|
||||||
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
bind = $mainMod SHIFT, apostrophe, movetoworkspace, 4
|
||||||
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
bind = $mainMod SHIFT, parenleft, movetoworkspace, 5
|
||||||
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
bind = $mainMod SHIFT, minus, movetoworkspace, 6
|
||||||
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
bind = $mainMod SHIFT, egrave, movetoworkspace, 7
|
||||||
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
bind = $mainMod SHIFT, underscore, movetoworkspace, 8
|
||||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
bind = $mainMod SHIFT, ccedilla, movetoworkspace, 9
|
||||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
bind = $mainMod SHIFT, agrave, movetoworkspace, 10
|
||||||
|
|
||||||
# Example special workspace (scratchpad)
|
# Example special workspace (scratchpad)
|
||||||
bind = $mainMod, S, togglespecialworkspace, magic
|
bind = $mainMod, S, togglespecialworkspace, magic
|
||||||
|
@ -146,5 +146,5 @@ bind = , Print, exec, ~/.config/hypr/scripts/screenshot.sh
|
||||||
### CONTROL keys, this is why there are present here
|
### CONTROL keys, this is why there are present here
|
||||||
bind = SUPER CONTROL, XF86TouchpadToggle, exec, ~/.config/hypr/scripts/toggle-touchpad.sh
|
bind = SUPER CONTROL, XF86TouchpadToggle, exec, ~/.config/hypr/scripts/toggle-touchpad.sh
|
||||||
|
|
||||||
## Overview
|
## Testing
|
||||||
#bind = $mainMod, TAB, overview:toggle, toggle
|
#bind = $mainMod, TAB, overview:toggle, toggle
|
||||||
|
|
10
config/.config/hypr/config/monitors.conf
Normal file
10
config/.config/hypr/config/monitors.conf
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
################
|
||||||
|
### MONITORS ###
|
||||||
|
################
|
||||||
|
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||||
|
monitor=,preferred,auto,auto
|
||||||
|
monitor=eDP-1,preferred,0x0,1 # Laptop screen
|
||||||
|
monitor=DP-1, preferred, 0x-1080, 1 # HP Home monitor
|
||||||
|
monitor=DP-2, preferred, 0x-1080, 1 # HP Home monitor
|
||||||
|
monitor=HDMI-A-1, preferred, 0x-1440, 1 # Dell monitor
|
|
@ -3,4 +3,5 @@
|
||||||
################
|
################
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||||
monitor=,preferred,auto,auto
|
monitor=,preferred,auto,auto
|
||||||
|
monitor=eDP-1,preferred,0x0,1 # Laptop screen
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
#source = ~/.config/hypr/config/monitors_default.conf
|
#source = ~/.config/hypr/config/monitors_default.conf
|
||||||
source = ~/.config/hypr/config/monitors.conf
|
source = ~/.config/hypr/config/monitors.conf
|
||||||
source = ~/.config/hypr/config/environment.conf
|
source = ~/.config/hypr/config/environment.conf
|
||||||
source = ~/.config/hypr/config/input-fr.conf
|
source = ~/.config/hypr/config/input.conf
|
||||||
source = ~/.config/hypr/config/appearance.conf
|
source = ~/.config/hypr/config/appearance.conf
|
||||||
source = ~/.config/hypr/config/plugins.conf
|
source = ~/.config/hypr/config/plugins.conf
|
||||||
#source = ~/.config/hypr/config/minimalist-mod.conf
|
#source = ~/.config/hypr/config/minimalist-mod.conf
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 13 MiB After Width: | Height: | Size: 275 KiB |
62
setup.sh
62
setup.sh
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
version="Beta 25.04.04-2"
|
version="Beta 25.04.04"
|
||||||
|
|
||||||
echo -e "Atlas Desktop Installer - ${version}\n"
|
echo "Atlas Desktop Installer - ${version}\n"
|
||||||
|
|
||||||
# Definitions
|
# Definitions
|
||||||
|
|
||||||
|
@ -15,14 +15,14 @@ dotfiles_path="~/.dotfiles"
|
||||||
|
|
||||||
## Functions
|
## Functions
|
||||||
function install() {
|
function install() {
|
||||||
echo -e "\nDownloading $1 packages...\n"
|
echo "Downloading $1 packages"
|
||||||
sudo pacman -Syu --noconfirm --color auto $(cat $pkgs_path/$1.pkgs)
|
# sudo pacman -Syu --noconfirm --color auto $(cat $pkgs_path/$1.pkgs)
|
||||||
echo -e "\n\nDone\n"
|
echo "Done"
|
||||||
}
|
}
|
||||||
function install_aur() {
|
function install-aur() {
|
||||||
echo -e "\nDownloading $1 packages...\n"
|
echo "Downloading $1 packages"
|
||||||
paru -Syu --noconfirm --color auto $(cat $pkgs_path/$1.pkgs)
|
# paru -Syu --noconfirm $(cat $pkgs_path/$1.pkgs)
|
||||||
echo -e "\nDone\n"
|
echo "Done"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -36,76 +36,61 @@ if [ $? != 0 ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## Scripts presence
|
## Scripts presence
|
||||||
if [ ! -d "$pkgs_path" ]; then
|
if [ ! -d $pkgs_path ]; then
|
||||||
echo "Couldn't find 'packages' folder inside ${script_path}"
|
echo "Couldn't find 'packages' folder inside ${script_path}"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -d "$config_path" ]; then
|
if [ ! -d $config_path ]; then
|
||||||
echo "Couldn't find 'config' folder inside ${script_path}"
|
echo "Couldn't find 'config' folder inside ${script_path}"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
# Install packages
|
||||||
|
|
||||||
|
echo "--- Downloading packages ---"
|
||||||
|
|
||||||
# Installation
|
##
|
||||||
|
|
||||||
echo "--- Installation ---"
|
|
||||||
|
|
||||||
## Main packages
|
|
||||||
install core
|
install core
|
||||||
install cli-dev-tools
|
install cli-dev-tools
|
||||||
install fonts
|
install fonts
|
||||||
install desktop
|
install desktop
|
||||||
install theming
|
install theming
|
||||||
|
|
||||||
## Vendor specific packages
|
## Install vendor specific software
|
||||||
if [ $CPU_vendor == "Genuine Intel" ]; then
|
if [ $CPU_vendor == "Genuine Intel" ]; then
|
||||||
install intel
|
install intel
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## Paru
|
## Install paru
|
||||||
git clone https://aur.archlinux.org/paru.git /tmp/paru &&
|
git clone https://aur.archlinux.org/paru.git /tmp/paru &&
|
||||||
echo "Installing paru" &&
|
|
||||||
cd /tmp/paru &&
|
cd /tmp/paru &&
|
||||||
makepkg -si
|
makepkg -si
|
||||||
cd $script_path
|
cd $script_path
|
||||||
|
|
||||||
## AUR packages
|
install-aur aur
|
||||||
install_aur aur
|
|
||||||
|
|
||||||
|
|
||||||
# Configuration
|
# Configuration
|
||||||
|
|
||||||
echo -e "\n--- Configuration ---\n"
|
|
||||||
|
|
||||||
## Dotfiles
|
## Dotfiles
|
||||||
echo "Copying configuration files"
|
|
||||||
cp $config_path $dotfiles_path &&
|
cp $config_path $dotfiles_path &&
|
||||||
cd $dotfiles_path &&
|
cd $dotfiles_path &&
|
||||||
stow .
|
stow .
|
||||||
cd $script_path
|
cd $script_path
|
||||||
|
|
||||||
## Install launcher theme (albert)
|
|
||||||
sudo ln -s .config/albert/schemes/Seventy\ Eight.qss /usr/share/albert/widgetsboxmodel/themes/
|
|
||||||
|
|
||||||
## Swap (Zram)
|
## Swap (Zram)
|
||||||
is_zram_active=$(sudo systemctl is-active systemd-zram-setup@zram0.service)
|
is_zram_active=$(sudo systemctl is-active systemd-zram-setup@zram0.service)
|
||||||
if [ is_zram_active != "active" ]; then
|
if [ is_zram_active != "active" ]; then
|
||||||
echo -e "\n========================================"
|
...
|
||||||
echo "WARNING: you don't have Zram enabled"
|
|
||||||
echo "Since this script is not yet capable of activating zram, you'll have to do it yourself"
|
|
||||||
echo "Please refer to https://wiki.archlinux.org/title/Zram#Using_zram-generator"
|
|
||||||
echo -e "========================================\n"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## Mandatory Access Control (Apparmor)
|
## Mandatory Access Control (Apparmor)
|
||||||
is_aa_active=$(sudo systemctl is-active apparmor.service)
|
is_aa_active=$(sudo systemctl is-active apparmor.service)
|
||||||
if [ is_aa_active != "active" ]; then
|
if [ is_aa_active != "active" ]; then
|
||||||
echo -e "\n========================================"
|
echo "========================================"
|
||||||
echo "WARNING: you don't have AppArmor enabled"
|
echo "WARNING: you don't have apparmor enabled"
|
||||||
echo "Since this script is not yet capable of managing kernel parameters, you'll have to do it yourself"
|
echo "Since this script is not yet capable to handle kernel parameters, you'll have to do it yourself"
|
||||||
echo "Please refer to https://wiki.archlinux.org/title/AppArmor"
|
echo "Please refer to https://wiki.archlinux.org/title/AppArmor"
|
||||||
echo -e "========================================\n"
|
echo "========================================"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## Display manager (Greetd)
|
## Display manager (Greetd)
|
||||||
|
@ -121,5 +106,4 @@ fastfetch
|
||||||
echo
|
echo
|
||||||
echo "Installation finished"
|
echo "Installation finished"
|
||||||
echo "Please check the previous outputs for warnings"
|
echo "Please check the previous outputs for warnings"
|
||||||
echo "You can make final adjustements before rebooting"
|
echo "You can make final adjustements before rebooting"
|
||||||
echo "- In particular, if you are using a qwerty keyboard, changing input-fr to input-en in ~/.config/hypr/hyprland.conf"
|
|
Loading…
Reference in a new issue