updates to tiling and neovim
This commit is contained in:
parent
7e17ef312d
commit
7d9fc767db
11 changed files with 112 additions and 232 deletions
43
home/tiling/quickshell/config/shell.qml
Normal file
43
home/tiling/quickshell/config/shell.qml
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
import Quickshell // for PanelWindow
|
||||
import Quickshell.Io // for Process
|
||||
import QtQuick // for Text
|
||||
|
||||
PanelWindow {
|
||||
anchors {
|
||||
top: false
|
||||
left: true
|
||||
right: true
|
||||
bottom: true
|
||||
}
|
||||
|
||||
implicitHeight: 37
|
||||
|
||||
color: "transparent"
|
||||
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
color: "#1e1e2e"
|
||||
Text {
|
||||
id: clock
|
||||
// center the bar in its parent component (the window)
|
||||
anchors.centerIn: parent
|
||||
anchors.right: parent
|
||||
color: "#cdd6f4"
|
||||
|
||||
Process {
|
||||
id: dateProc
|
||||
command: ["date"]
|
||||
running: true
|
||||
stdout: StdioCollector {
|
||||
onStreamFinished: clock.text = this.text
|
||||
}
|
||||
}
|
||||
Timer {
|
||||
interval: 1000
|
||||
running: true
|
||||
repeat: true
|
||||
onTriggered: dateProc.running = true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
14
home/tiling/quickshell/default.nix
Normal file
14
home/tiling/quickshell/default.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
home = {
|
||||
# packages = with pkgs; [ quickshell ];
|
||||
file.".config/quickshell" = {
|
||||
source = ./config;
|
||||
recursive = true;
|
||||
};
|
||||
};
|
||||
programs.quickshell = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue