Added: minimal waybar config
This commit is contained in:
parent
e5c18ec8b0
commit
ba27c84676
6
.bashrc
6
.bashrc
|
@ -73,10 +73,14 @@ xterm*|rxvt*)
|
|||
esac
|
||||
|
||||
# variables
|
||||
export PATH=$PATH:/usr/sbin:/sbin
|
||||
|
||||
export LESSHISTFILE=-
|
||||
export VIMINIT='source $HOME/.config/vim/vimrc'
|
||||
export XDG_CONFIG_HOME=$HOME/.config
|
||||
export LC_COLLATE="C"
|
||||
|
||||
export WLR_NO_HARDWARE_CURSORS=1
|
||||
|
||||
# aliases
|
||||
alias config='/usr/bin/git --git-dir=$HOME/.config.remote/ --work-tree=$HOME'
|
||||
|
||||
|
|
|
@ -198,22 +198,14 @@ mode "resize" {
|
|||
}
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
gaps outer 10
|
||||
|
||||
#
|
||||
# Status Bar:
|
||||
#
|
||||
# Read `man 5 sway-bar` for more information about this section.
|
||||
bar {
|
||||
position top
|
||||
|
||||
# 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
|
||||
}
|
||||
swaybar_command waybar
|
||||
}
|
||||
|
||||
include /etc/sway/config.d/*
|
||||
|
|
|
@ -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}"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
|
||||
#waybar {
|
||||
|
||||
}
|
36
install.sh
36
install.sh
|
@ -1,14 +1,36 @@
|
|||
#!/bin/bash
|
||||
|
||||
##
|
||||
set -xe
|
||||
|
||||
## initial
|
||||
|
||||
apt update
|
||||
apt upgrade
|
||||
|
||||
## rights
|
||||
apt install -y sudo
|
||||
|
||||
## workspace
|
||||
mkdir -p $HOME/devel
|
||||
mkdir -p $HOME/documents
|
||||
mkdir -p $HOME/downloads
|
||||
mkdir -p $HOME/programs
|
||||
mkdir -p $HOME/machines
|
||||
mkdir -p $HOME/scratch
|
||||
mkdir -p /home/rhjr/devel
|
||||
mkdir -p /home/rhjr/documents
|
||||
mkdir -p /home/rhjr/downloads
|
||||
mkdir -p /home/rhjr/programs
|
||||
mkdir -p /home/rhjr/machines
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user