add violet session
This commit is contained in:
parent
2566cab53d
commit
b611df1b1f
4 changed files with 10 additions and 3 deletions
3
Makefile
3
Makefile
|
@ -4,7 +4,8 @@ violet:
|
||||||
install-root:
|
install-root:
|
||||||
@echo ":: Installing..."
|
@echo ":: Installing..."
|
||||||
cp -f target/release/violet /usr/local/bin/violet
|
cp -f target/release/violet /usr/local/bin/violet
|
||||||
cp -f scripts/init.sh /usr/local/bin/violet-init
|
cp -f scripts/init.sh /usr/local/bin/violet-init
|
||||||
|
cp -n files/violet.desktop /usr/share/xsessions/
|
||||||
install:
|
install:
|
||||||
@echo ":: Installing..."
|
@echo ":: Installing..."
|
||||||
cp -f target/release/violet ~/.local/bin/violet
|
cp -f target/release/violet ~/.local/bin/violet
|
||||||
|
|
7
files/violet.desktop
Normal file
7
files/violet.desktop
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Violet
|
||||||
|
Comment=None
|
||||||
|
Exec=/usr/local/bin/violet-init
|
||||||
|
TryExec=/usr/local/bin/violet-init
|
||||||
|
Icon=openbox
|
||||||
|
Type=Application
|
|
@ -1,5 +1,4 @@
|
||||||
#!/usr/bin/env zsh
|
#!/usr/bin/env zsh
|
||||||
picom &
|
picom &
|
||||||
polybar -c ~/.config/polybar/polybar main &
|
|
||||||
nitrogen --restore &
|
nitrogen --restore &
|
||||||
violet || violet
|
violet || violet
|
||||||
|
|
|
@ -46,7 +46,7 @@ const BROWSER: &str = "brave";
|
||||||
fn main() -> penrose::Result<()> {
|
fn main() -> penrose::Result<()> {
|
||||||
if let Err(e) = SimpleLogger::init(LevelFilter::Info, simplelog::Config::default()) {
|
if let Err(e) = SimpleLogger::init(LevelFilter::Info, simplelog::Config::default()) {
|
||||||
panic!("unable to set log level: {}", e);
|
panic!("unable to set log level: {}", e);
|
||||||
};
|
};
|
||||||
let config = Config::default();
|
let config = Config::default();
|
||||||
let key_bindings = gen_keybindings! {
|
let key_bindings = gen_keybindings! {
|
||||||
// Program launchers
|
// Program launchers
|
||||||
|
|
Loading…
Reference in a new issue