aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJacob Janzen <jjanzenn@proton.me>2024-08-07 23:09:41 -0500
committerJacob Janzen <jjanzenn@proton.me>2024-08-07 23:09:41 -0500
commitca3992abceadfa5de5382615437d26797ca3ae0f (patch)
treef049b27bf7a46bf1e1eabc97d91b9b68e5aaaff7 /config
parentf2da037a89e769b2590d91765e8d0c5a39cf7337 (diff)
clearer file types
Diffstat (limited to 'config')
-rw-r--r--config/discord/settings.org24
-rw-r--r--config/fastfetch/config.org10
-rw-r--r--config/ncmpcpp/bindings.org2
-rw-r--r--config/waybar/config.org18
4 files changed, 27 insertions, 27 deletions
diff --git a/config/discord/settings.org b/config/discord/settings.org
index 9e0a786..725b773 100644
--- a/config/discord/settings.org
+++ b/config/discord/settings.org
@@ -1,16 +1,16 @@
#+title: Discord settings.json
There really isn't much to this. I do set =SKIP_HOST_UPDATE= to =true= though to prevent it from trying to auto-update before it appears in my operating system repositories.
-#+begin_src js-json :tangle ~/.config/discord/settings.json :mkdirp yes
-{
- "IS_MAXIMIZED": false,
- "IS_MINIMIZED": false,
- "SKIP_HOST_UPDATE": true,
- "chromiumSwitches": {},
- "WINDOW_BOUNDS": {
- "x": 0,
- "y": 0,
- "width": 1060,
- "height": 1870
+#+begin_src js :tangle ~/.config/discord/settings.json :mkdirp yes
+ {
+ "IS_MAXIMIZED": false,
+ "IS_MINIMIZED": false,
+ "SKIP_HOST_UPDATE": true,
+ "chromiumSwitches": {},
+ "WINDOW_BOUNDS": {
+ "x": 0,
+ "y": 0,
+ "width": 1060,
+ "height": 1870
+ }
}
-}
#+end_src
diff --git a/config/fastfetch/config.org b/config/fastfetch/config.org
index 3aec5f6..7a2d099 100644
--- a/config/fastfetch/config.org
+++ b/config/fastfetch/config.org
@@ -1,11 +1,11 @@
#+title: Fastfetch Settings
Open a JSON object.
-#+begin_src jsonc :tangle yes
+#+begin_src js :tangle ~/.config/fastfetch/config.jsonc :mkdirp yes
{
#+end_src
Use a =sixel= image for the logo.
-#+begin_src jsonc :tangle yes
+#+begin_src js :tangle ~/.config/fastfetch/config.jsonc :mkdirp yes
"logo": {
"type": "raw",
"source": "~/.config/fastfetch/logo.sixel",
@@ -15,14 +15,14 @@ Use a =sixel= image for the logo.
#+end_src
Two spaces between an item and its key.
-#+begin_src jsonc :tangle yes
+#+begin_src js :tangle ~/.config/fastfetch/config.jsonc :mkdirp yes
"display": {
"separator": " "
},
#+end_src
Define the modules in the =fastfetch= display.
-#+begin_src jsonc :tangle yes
+#+begin_src js :tangle ~/.config/fastfetch/config.jsonc :mkdirp yes
"modules": [
"title",
{
@@ -87,6 +87,6 @@ Define the modules in the =fastfetch= display.
#+end_src
Close the JSON object.
-#+begin_src jsonc :tangle yes
+#+begin_src js :tangle ~/.config/fastfetch/config.jsonc :mkdirp yes
}
#+end_src
diff --git a/config/ncmpcpp/bindings.org b/config/ncmpcpp/bindings.org
index 346b9ec..1982a6d 100644
--- a/config/ncmpcpp/bindings.org
+++ b/config/ncmpcpp/bindings.org
@@ -1,6 +1,6 @@
#+title: =ncmpcpp= Keyboard Bindings
Use =vi= motions in =ncmpcpp=.
-#+begin_src txt :tangle ~/.config/ncmpcpp/bindings :mkdirp yes
+#+begin_src conf :tangle ~/.config/ncmpcpp/bindings :mkdirp yes
def_key "j"
scroll_down
def_key "k"
diff --git a/config/waybar/config.org b/config/waybar/config.org
index ebbbc81..2a4d14b 100644
--- a/config/waybar/config.org
+++ b/config/waybar/config.org
@@ -1,7 +1,7 @@
#+title: Waybar Configuration
* Layout
Define the layout of the bar with workspaces and scratchpad on the left, the current window in the middle, and music player daemon, sound, network, CPU usage, memory usage, clock, and system tray on the right.
-#+begin_src js-json :tangle ~/.config/waybar/config :mkdirp yes
+#+begin_src js :tangle ~/.config/waybar/config :mkdirp yes
{
"height": 30,
"spacing": 4,
@@ -12,7 +12,7 @@ Define the layout of the bar with workspaces and scratchpad on the left, the cur
* Components
Define scratchpad component. To show an icon and the count of items in it.
-#+begin_src js-json :tangle ~/.config/waybar/config :mkdirp yes
+#+begin_src js :tangle ~/.config/waybar/config :mkdirp yes
"sway/scratchpad": {
"format": "{icon} {count}",
"show-empty": false,
@@ -23,7 +23,7 @@ Define scratchpad component. To show an icon and the count of items in it.
#+end_src
Define music player daemon component to list the current song, album, artist, and position in the song with an icon representing the status. Clicking it opens a TUI interface to the daemon.
-#+begin_src js-json :tangle ~/.config/waybar/config :mkdirp yes
+#+begin_src js :tangle ~/.config/waybar/config :mkdirp yes
"mpd": {
"format": "{stateIcon} {artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) [{songPosition}|{queueLength}] 🎵",
"format-disconnected": "Disconnected 🎵",
@@ -41,7 +41,7 @@ Define music player daemon component to list the current song, album, artist, an
#+end_src
Define tray component.
-#+begin_src js-json :tangle ~/.config/waybar/config :mkdirp yes
+#+begin_src js :tangle ~/.config/waybar/config :mkdirp yes
"tray": {
"icon-size": 21,
"spacing": 10,
@@ -50,7 +50,7 @@ Define tray component.
#+end_src
Define clock component to show the current time and a calendar in a tooltip.
-#+begin_src js-json :tangle ~/.config/waybar/config :mkdirp yes
+#+begin_src js :tangle ~/.config/waybar/config :mkdirp yes
"clock": {
"format": "{:%H:%M\t%Y-%m-%d}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
@@ -58,7 +58,7 @@ Define clock component to show the current time and a calendar in a tooltip.
#+end_src
Define CPU usage component to show usage in percent with an icon.
-#+begin_src js-json :tangle ~/.config/waybar/config :mkdirp yes
+#+begin_src js :tangle ~/.config/waybar/config :mkdirp yes
"cpu": {
"format": "{usage}% ï‹›",
"tooltip": false
@@ -66,14 +66,14 @@ Define CPU usage component to show usage in percent with an icon.
#+end_src
Define memory usage component to show usage in percent with an icon.
-#+begin_src js-json :tangle ~/.config/waybar/config :mkdirp yes
+#+begin_src js :tangle ~/.config/waybar/config :mkdirp yes
"memory": {
"format": "{}% "
},
#+end_src
Define network component to show a Wi-Fi icon if connected and a warning signal if not.
-#+begin_src js-json :tangle ~/.config/waybar/config :mkdirp yes
+#+begin_src js :tangle ~/.config/waybar/config :mkdirp yes
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
"format-wifi": "",
@@ -86,7 +86,7 @@ Define network component to show a Wi-Fi icon if connected and a warning signal
#+end_src
Define audio component to show the volume level and whether or not it is muted with an icon. Clicking it opens a GUI sound menu.
-#+begin_src js-json :tangle ~/.config/waybar/config :mkdirp yes
+#+begin_src js :tangle ~/.config/waybar/config :mkdirp yes
"pulseaudio": {
// "scroll-step": 1, // %, can be a float
"format": "{volume}% {icon}",