1
0
Fork 0

Added: minimal waybar config

Browse Source
This commit is contained in:
rhjr 2025-05-12 21:07:49 +02:00
parent e5c18ec8b0
commit ba27c84676
5 changed files with 54 additions and 19 deletions

View File

@ -73,10 +73,14 @@ xterm*|rxvt*)
esac esac
# variables # variables
export PATH=$PATH:/usr/sbin:/sbin
export LESSHISTFILE=-
export VIMINIT='source $HOME/.config/vim/vimrc' export VIMINIT='source $HOME/.config/vim/vimrc'
export XDG_CONFIG_HOME=$HOME/.config
export LC_COLLATE="C" export LC_COLLATE="C"
export WLR_NO_HARDWARE_CURSORS=1
# aliases # aliases
alias config='/usr/bin/git --git-dir=$HOME/.config.remote/ --work-tree=$HOME' alias config='/usr/bin/git --git-dir=$HOME/.config.remote/ --work-tree=$HOME'

View File

@ -198,22 +198,14 @@ mode "resize" {
} }
bindsym $mod+r mode "resize" bindsym $mod+r mode "resize"
gaps outer 10
# #
# Status Bar: # Status Bar:
# #
# Read `man 5 sway-bar` for more information about this section. # Read `man 5 sway-bar` for more information about this section.
bar { bar {
position top swaybar_command waybar
# When the status_command prints a new line to stdout, swaybar updates.
# The default just shows the current date and time.
status_command while date +'%Y-%m-%d %I:%M:%S %p'; do sleep 1; done
colors {
statusline #ffffff
background #323232
inactive_workspace #32323200 #32323200 #5c5c5c
}
} }
include /etc/sway/config.d/* include /etc/sway/config.d/*

View File

@ -0,0 +1,13 @@
{
"layer": "top",
"position": "right",
"height": "100%",
"width": 30,
"margin-right": 10,
"margin-top": 10,
"margin-bottom": 10,
"network": {
"format-wifi": "{icon}"
}
}

4
.config/waybar/style.css Normal file
View File

@ -0,0 +1,4 @@
#waybar {
}

View File

@ -1,14 +1,36 @@
#!/bin/bash #!/bin/bash
## set -xe
## initial
apt update apt update
apt upgrade apt upgrade
## rights
apt install -y sudo
## workspace ## workspace
mkdir -p $HOME/devel mkdir -p /home/rhjr/devel
mkdir -p $HOME/documents mkdir -p /home/rhjr/documents
mkdir -p $HOME/downloads mkdir -p /home/rhjr/downloads
mkdir -p $HOME/programs mkdir -p /home/rhjr/programs
mkdir -p $HOME/machines mkdir -p /home/rhjr/machines
mkdir -p $HOME/scratch mkdir -p /home/rhjr/scratch
## environment
apt install -y \
sway mesa-utils
## development
apt install -y \
git file \
vim \
build-essential
## user
apt install -y neofetch
apt install -y \
sway \
waybar