waybar config, organized everything to folders
This commit is contained in:
@@ -25,7 +25,7 @@ sudo nano /etc/default/grub
|
|||||||
sudo grub-mkconfig -o /boot/grub/grub.cfg
|
sudo grub-mkconfig -o /boot/grub/grub.cfg
|
||||||
|
|
||||||
echo "Installing hyprland and stuff for wm"
|
echo "Installing hyprland and stuff for wm"
|
||||||
sudo pacman -S hyprland yazi ffmpeg 7zip jq poppler fd ripgrep fzf zoxide resvg imagemagick ttf-jetbrains-mono-nerd ghostty swaync brightnessctl wireplumber xdg-desktop-portal-hyprland hyprpolkitagent qt5-wayland qt6-wayland hyprpaper xclip sddm rofi-wayland unzip make ripgrep fd neovim --needed --noconfirm
|
sudo pacman -S hyprland hyprlock blueman network-manager-applet waybar yazi ffmpeg 7zip jq poppler fd ripgrep fzf zoxide resvg imagemagick ttf-jetbrains-mono-nerd ttf-jetbrains-mono ghostty swaync brightnessctl wireplumber xdg-desktop-portal-hyprland hyprpolkitagent qt5-wayland qt6-wayland hyprpaper xclip sddm rofi-wayland unzip make ripgrep fd neovim --needed --noconfirm
|
||||||
yay -S xwaylandvideobridge --needed --noconfirm
|
yay -S xwaylandvideobridge --needed --noconfirm
|
||||||
yay -S zen-browser-bin --needed --noconfirm
|
yay -S zen-browser-bin --needed --noconfirm
|
||||||
|
|
||||||
@@ -34,7 +34,7 @@ sudo systemctl enable sddm
|
|||||||
|
|
||||||
echo "Cloining kickstart nvim to nvim config location"
|
echo "Cloining kickstart nvim to nvim config location"
|
||||||
git clone https://github.com/nvim-lua/kickstart.nvim.git "${XDG_CONFIG_HOME:-$HOME/.config}"/nvim
|
git clone https://github.com/nvim-lua/kickstart.nvim.git "${XDG_CONFIG_HOME:-$HOME/.config}"/nvim
|
||||||
sudo cp "$START_DIR"/init.lua $HOME/.config/nvim
|
sudo cp "$START_DIR"/nvim/ $HOME/.config/nvim -r
|
||||||
|
|
||||||
echo "Installing rust and go and bootdev cli"
|
echo "Installing rust and go and bootdev cli"
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||||
@@ -43,13 +43,12 @@ go install github.com/bootdotdev/bootdev@latest
|
|||||||
curl -sS https://webi.sh/gh | sh; source ~/.config/envman/PATH.env
|
curl -sS https://webi.sh/gh | sh; source ~/.config/envman/PATH.env
|
||||||
|
|
||||||
sudo mkdir -p $HOME/.config/hypr/
|
sudo mkdir -p $HOME/.config/hypr/
|
||||||
sudo cp "$START_DIR"/hyprland.conf $HOME/.config/hypr/
|
sudo cp "$START_DIR"/hypr/ $HOME/.config/hypr/ -r
|
||||||
|
|
||||||
#hyprpaper and conf
|
#hyprpaper and conf
|
||||||
mkdir -p $HOME/Pictures/Wallpaper/
|
mkdir -p $HOME/Pictures/Wallpaper/
|
||||||
git clone https://github.com/htamas1210/Wallpapers.git $HOME/Pictures/Wallpaper/
|
git clone https://github.com/htamas1210/Wallpapers.git $HOME/Pictures/Wallpaper/
|
||||||
printf "splash = true\nipc = on" > $HOME/.config/hypr/hyprpaper.conf
|
printf "splash = true\nipc = on" > $HOME/.config/hypr/hyprpaper.conf
|
||||||
sudo cp "$START_DIR"/set_wallpaper.sh $HOME/.config/hypr/
|
|
||||||
|
|
||||||
echo "Installing Oh my zsh"
|
echo "Installing Oh my zsh"
|
||||||
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
||||||
|
|||||||
@@ -43,12 +43,10 @@ $menu = wofi --show drun
|
|||||||
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
||||||
# Or execute your favorite apps at launch like this:
|
# Or execute your favorite apps at launch like this:
|
||||||
|
|
||||||
# exec-once = $terminal
|
|
||||||
# exec-once = nm-applet &
|
|
||||||
# exec-once = waybar
|
|
||||||
exec-once = hyprpaper
|
exec-once = hyprpaper
|
||||||
exec-once = sh $HOME/.config/hypr/set_wallpaper.sh
|
exec-once = sh $HOME/.config/hypr/set_wallpaper.sh
|
||||||
|
exec-once = nm-applet &
|
||||||
|
exec-once = waybar
|
||||||
|
|
||||||
#############################
|
#############################
|
||||||
### ENVIRONMENT VARIABLES ###
|
### ENVIRONMENT VARIABLES ###
|
||||||
106
hypr/hyprlock.conf
Normal file
106
hypr/hyprlock.conf
Normal file
@@ -0,0 +1,106 @@
|
|||||||
|
# sample hyprlock.conf
|
||||||
|
# for more configuration options, refer https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock
|
||||||
|
#
|
||||||
|
# rendered text in all widgets supports pango markup (e.g. <b> or <i> tags)
|
||||||
|
# ref. https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock/#general-remarks
|
||||||
|
#
|
||||||
|
# shortcuts to clear password buffer: ESC, Ctrl+U, Ctrl+Backspace
|
||||||
|
#
|
||||||
|
# you can get started by copying this config to ~/.config/hypr/hyprlock.conf
|
||||||
|
#
|
||||||
|
|
||||||
|
$font = Monospace
|
||||||
|
|
||||||
|
general {
|
||||||
|
hide_cursor = false
|
||||||
|
}
|
||||||
|
|
||||||
|
# uncomment to enable fingerprint authentication
|
||||||
|
# auth {
|
||||||
|
# fingerprint {
|
||||||
|
# enabled = true
|
||||||
|
# ready_message = Scan fingerprint to unlock
|
||||||
|
# present_message = Scanning...
|
||||||
|
# retry_delay = 250 # in milliseconds
|
||||||
|
# }
|
||||||
|
# }
|
||||||
|
|
||||||
|
animations {
|
||||||
|
enabled = true
|
||||||
|
bezier = linear, 1, 1, 0, 0
|
||||||
|
animation = fadeIn, 1, 5, linear
|
||||||
|
animation = fadeOut, 1, 5, linear
|
||||||
|
animation = inputFieldDots, 1, 2, linear
|
||||||
|
}
|
||||||
|
|
||||||
|
background {
|
||||||
|
monitor =
|
||||||
|
path = screenshot
|
||||||
|
blur_passes = 3
|
||||||
|
}
|
||||||
|
|
||||||
|
input-field {
|
||||||
|
monitor =
|
||||||
|
size = 20%, 5%
|
||||||
|
outline_thickness = 3
|
||||||
|
inner_color = rgba(0, 0, 0, 0.0) # no fill
|
||||||
|
|
||||||
|
outer_color = rgba(33ccffee) rgba(00ff99ee) 45deg
|
||||||
|
check_color = rgba(00ff99ee) rgba(ff6633ee) 120deg
|
||||||
|
fail_color = rgba(ff6633ee) rgba(ff0066ee) 40deg
|
||||||
|
|
||||||
|
font_color = rgb(143, 143, 143)
|
||||||
|
fade_on_empty = false
|
||||||
|
rounding = 15
|
||||||
|
|
||||||
|
font_family = $font
|
||||||
|
placeholder_text = Input password...
|
||||||
|
fail_text = $PAMFAIL
|
||||||
|
|
||||||
|
# uncomment to use a letter instead of a dot to indicate the typed password
|
||||||
|
# dots_text_format = *
|
||||||
|
# dots_size = 0.4
|
||||||
|
dots_spacing = 0.3
|
||||||
|
|
||||||
|
# uncomment to use an input indicator that does not show the password length (similar to swaylock's input indicator)
|
||||||
|
# hide_input = true
|
||||||
|
|
||||||
|
position = 0, -20
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
}
|
||||||
|
|
||||||
|
# TIME
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = $TIME # ref. https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock/#variable-substitution
|
||||||
|
font_size = 90
|
||||||
|
font_family = $font
|
||||||
|
|
||||||
|
position = -30, 0
|
||||||
|
halign = right
|
||||||
|
valign = top
|
||||||
|
}
|
||||||
|
|
||||||
|
# DATE
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = cmd[update:60000] date +"%A, %d %B %Y" # update every 60 seconds
|
||||||
|
font_size = 25
|
||||||
|
font_family = $font
|
||||||
|
|
||||||
|
position = -30, -150
|
||||||
|
halign = right
|
||||||
|
valign = top
|
||||||
|
}
|
||||||
|
|
||||||
|
label {
|
||||||
|
monitor =
|
||||||
|
text = $LAYOUT[en,ru]
|
||||||
|
font_size = 24
|
||||||
|
onclick = hyprctl switchxkblayout all next
|
||||||
|
|
||||||
|
position = 250, -20
|
||||||
|
halign = center
|
||||||
|
valign = center
|
||||||
|
}
|
||||||
80
waybar/config.jsonc
Normal file
80
waybar/config.jsonc
Normal file
@@ -0,0 +1,80 @@
|
|||||||
|
{
|
||||||
|
"layer": "top",
|
||||||
|
"position": "top",
|
||||||
|
"modules-left": [
|
||||||
|
"hyprland/workspaces"
|
||||||
|
],
|
||||||
|
"modules-center": ["clock"],
|
||||||
|
"modules-right": [
|
||||||
|
"pulseaudio",
|
||||||
|
"battery",
|
||||||
|
"network",
|
||||||
|
"bluetooth",
|
||||||
|
"cpu",
|
||||||
|
"memory",
|
||||||
|
"custom/power"
|
||||||
|
],
|
||||||
|
"hyprland/workspaces": {
|
||||||
|
"persistent-workspaces": {
|
||||||
|
"*":5
|
||||||
|
},
|
||||||
|
"format": "{name}: {icon}",
|
||||||
|
"format-icons": {
|
||||||
|
"active": "",
|
||||||
|
"default": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"tray": {
|
||||||
|
"icon-size": 21,
|
||||||
|
"spacing": 10
|
||||||
|
},
|
||||||
|
"clock": {
|
||||||
|
"timezone": "Europe/Budapest",
|
||||||
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||||
|
"format": "{:%d - %H:%M}"
|
||||||
|
},
|
||||||
|
"network": {
|
||||||
|
"format-wifi": " ",
|
||||||
|
"format-ethernet": " ",
|
||||||
|
"format-disconnected": " ",
|
||||||
|
"interval": 5,
|
||||||
|
"tooltip": false,
|
||||||
|
"on-click" : "nm-connection-editor"
|
||||||
|
},
|
||||||
|
"bluetooth": {
|
||||||
|
"format": "",
|
||||||
|
"format-on": "{icon}",
|
||||||
|
"format-off": "{icon}",
|
||||||
|
"format-connected":"{icon}",
|
||||||
|
"format-icons":{
|
||||||
|
"on":"",
|
||||||
|
"off": "",
|
||||||
|
"connected": "",
|
||||||
|
},
|
||||||
|
"on-click": "blueman-manager",
|
||||||
|
"tooltip-format-connected":"{device_enumerate}"
|
||||||
|
},
|
||||||
|
"cpu": {
|
||||||
|
"interval": 1,
|
||||||
|
"format": "{icon0}{icon1}{icon2}{icon3} {usage:>2}%",
|
||||||
|
"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"]
|
||||||
|
},
|
||||||
|
"memory": {
|
||||||
|
"interval": 30,
|
||||||
|
"format": " {used:0.1f}G/{total:0.1f}G"
|
||||||
|
},
|
||||||
|
"pulseaudio": {
|
||||||
|
"format": "{icon} {volume}%",
|
||||||
|
"format-muted": "",
|
||||||
|
"format-icons": {
|
||||||
|
"default": ["", "", " "]
|
||||||
|
},
|
||||||
|
"on-click": "pavucontrol"
|
||||||
|
},
|
||||||
|
"custom/power": {
|
||||||
|
"format": "<span color='#FF4040'> </span>",
|
||||||
|
"on-click": "systemctl poweroff",
|
||||||
|
"tooltip": true,
|
||||||
|
"tooltip-format": "关机"
|
||||||
|
}
|
||||||
|
}
|
||||||
120
waybar/style.css
Normal file
120
waybar/style.css
Normal file
@@ -0,0 +1,120 @@
|
|||||||
|
* {
|
||||||
|
font-family: JetbrainsMono Nerd Font;
|
||||||
|
font-size: 20px;
|
||||||
|
min-height: 0;
|
||||||
|
padding-right: 2px;
|
||||||
|
padding-left: 2px;
|
||||||
|
padding-bottom: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#waybar {
|
||||||
|
background: transparent;
|
||||||
|
color: #c6d0f5;
|
||||||
|
margin: 2px 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces {
|
||||||
|
border-radius: 5px;
|
||||||
|
margin: 5px;
|
||||||
|
background: #101010;
|
||||||
|
margin-left: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button {
|
||||||
|
color: #babbf1;
|
||||||
|
border-radius: 5px;
|
||||||
|
padding: 0.4rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.active {
|
||||||
|
color: #99d1db;
|
||||||
|
border-radius: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button:hover {
|
||||||
|
color: #85c1dc;
|
||||||
|
border-radius: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-music,
|
||||||
|
#backlight,
|
||||||
|
#clock,
|
||||||
|
#battery,
|
||||||
|
#pulseaudio,
|
||||||
|
#network,
|
||||||
|
#cpu,
|
||||||
|
#bluetooth,
|
||||||
|
#memory,
|
||||||
|
#custom-power {
|
||||||
|
background-color: #101010;
|
||||||
|
padding: 0.5rem 1rem;
|
||||||
|
margin: 5px 0;
|
||||||
|
border-radius: 0px 0px 0px 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-stream_status {
|
||||||
|
background-color: #101010;
|
||||||
|
padding: 0.5rem 1rem;
|
||||||
|
margin: 5px 0;
|
||||||
|
border-radius: 0px 5px 5px 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-stream_status.up {
|
||||||
|
color: #c3e88d;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-stream_status.warning {
|
||||||
|
color: #ff9e64;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-stream_status.down {
|
||||||
|
color: #ea999c;
|
||||||
|
}
|
||||||
|
|
||||||
|
#memory {
|
||||||
|
border-radius: 0px 0px 0px 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#clock {
|
||||||
|
color: #8caaee;
|
||||||
|
border-radius: 5px;
|
||||||
|
margin-right: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
#battery {
|
||||||
|
color: #a6d189;
|
||||||
|
}
|
||||||
|
|
||||||
|
#battery.charging {
|
||||||
|
color: #a6d189;
|
||||||
|
}
|
||||||
|
|
||||||
|
#battery.warning:not(.charging) {
|
||||||
|
color: #e78284;
|
||||||
|
}
|
||||||
|
|
||||||
|
#backlight {
|
||||||
|
color: #e5c890;
|
||||||
|
}
|
||||||
|
|
||||||
|
#backlight,
|
||||||
|
#battery {
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#pulseaudio {
|
||||||
|
color: #ea999c;
|
||||||
|
border-radius: 5px 0px 0px 5%;
|
||||||
|
margin-left: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-music {
|
||||||
|
color: #ca9ee6;
|
||||||
|
border-radius: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-power {
|
||||||
|
margin-right: 1rem;
|
||||||
|
border-radius: 0px 0px 0px 0px;
|
||||||
|
color: #e78284;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user