From 86ba9538de0cb81e83891ea71665467631c0c35c Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Fri, 16 Sep 2022 20:01:31 +0300 Subject: [PATCH] Format all files with prettier, remove udiskie config --- .prettierignore | 1 + home/.config/alacritty/alacritty.yml | 42 +++--- home/.config/beets/config.yaml | 6 +- home/.config/gtk-3.0/gtk.css | 5 +- home/.config/imapnotify/admin@korhonen.cc.js | 12 +- .../functionalhacker@korhonen.cc.js | 12 +- home/.config/imapnotify/marko@korhonen.cc.js | 12 +- home/.config/udiskie/config.yml | 5 - .../wal/colorschemes/dark/kanagawa.json | 50 +++---- home/.config/waybar/style.css | 129 ++++++++++-------- 10 files changed, 141 insertions(+), 133 deletions(-) delete mode 100644 home/.config/udiskie/config.yml diff --git a/.prettierignore b/.prettierignore index d8b83df..de59e4f 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1 +1,2 @@ package-lock.json +dotdrop/ diff --git a/home/.config/alacritty/alacritty.yml b/home/.config/alacritty/alacritty.yml index c9b10cb..39b80d7 100644 --- a/home/.config/alacritty/alacritty.yml +++ b/home/.config/alacritty/alacritty.yml @@ -30,40 +30,40 @@ font: colors: # Default colors primary: - background: "0x282c34" - foreground: "0xabb2bf" + background: '0x282c34' + foreground: '0xabb2bf' # Cursor colors cursor: - text: "0x282c34" - cursor: "0xabb2bf" + text: '0x282c34' + cursor: '0xabb2bf' # Normal colors normal: - black: "0x282c34" - red: "0xe06c75" - green: "0x98c379" - yellow: "0xe5c07b" - blue: "0x61afef" - magenta: "0xc678dd" - cyan: "0x56b6c2" - white: "0xabb2bf" + black: '0x282c34' + red: '0xe06c75' + green: '0x98c379' + yellow: '0xe5c07b' + blue: '0x61afef' + magenta: '0xc678dd' + cyan: '0x56b6c2' + white: '0xabb2bf' # Bright colors bright: - black: "0x3e4452" - red: "0xbe5046" - green: "0x98c379" - yellow: "0xd19a66" - blue: "0x61afef" - magenta: "0xc678dd" - cyan: "0x56b6c2" - white: "0x5c6370" + black: '0x3e4452' + red: '0xbe5046' + green: '0x98c379' + yellow: '0xd19a66' + blue: '0x61afef' + magenta: '0xc678dd' + cyan: '0x56b6c2' + white: '0x5c6370' bell: animation: EaseOutExpo duration: 0 - color: "#ffffff" + color: '#ffffff' mouse_bindings: - { mouse: Middle, action: PasteSelection } diff --git a/home/.config/beets/config.yaml b/home/.config/beets/config.yaml index ce34ff6..203dad0 100644 --- a/home/.config/beets/config.yaml +++ b/home/.config/beets/config.yaml @@ -23,7 +23,7 @@ import: lastgenre: whitelist: ~/.config/beets/whitelist lyrics: - fallback: "" + fallback: '' play: command: mpv mpd: @@ -41,5 +41,5 @@ musicbrainz: user: FunctionalHacker pass: "{{@@ env['PASS_MUSICBRAINZ'] @@}}" mbcollection: - auto: "yes" - collection: "a4955b5c-db7f-4e27-9887-f77f820bad34" + auto: 'yes' + collection: 'a4955b5c-db7f-4e27-9887-f77f820bad34' diff --git a/home/.config/gtk-3.0/gtk.css b/home/.config/gtk-3.0/gtk.css index 9705237..da7a019 100644 --- a/home/.config/gtk-3.0/gtk.css +++ b/home/.config/gtk-3.0/gtk.css @@ -1,3 +1,4 @@ -VteTerminal, vte-terminal { - padding: 40px; +VteTerminal, +vte-terminal { + padding: 40px; } diff --git a/home/.config/imapnotify/admin@korhonen.cc.js b/home/.config/imapnotify/admin@korhonen.cc.js index de3e0a5..40d02d1 100644 --- a/home/.config/imapnotify/admin@korhonen.cc.js +++ b/home/.config/imapnotify/admin@korhonen.cc.js @@ -1,19 +1,19 @@ -var child_process = require("child_process"); +var child_process = require('child_process'); function getStdout(cmd) { var stdout = child_process.execSync(cmd); return stdout.toString().trim(); } -exports.host = "imap.migadu.com"; +exports.host = 'imap.migadu.com'; exports.port = 993; exports.tls = true; exports.tlsOptions = { rejectUnauthorized: true, }; -exports.username = "admin@korhonen.cc"; +exports.username = 'admin@korhonen.cc'; exports.password = "{{@@ env['PASS_EMAIL_ADMIN'] @@}}"; -exports.onNewMail = "mbsync admin@korhonen.cc"; +exports.onNewMail = 'mbsync admin@korhonen.cc'; exports.onNewMailPost = - "~/git/dotfiles/scripts/mail/notify-new-mail.sh admin@korhonen.cc"; -exports.boxes = ["INBOX"]; + '~/git/dotfiles/scripts/mail/notify-new-mail.sh admin@korhonen.cc'; +exports.boxes = ['INBOX']; diff --git a/home/.config/imapnotify/functionalhacker@korhonen.cc.js b/home/.config/imapnotify/functionalhacker@korhonen.cc.js index 1ca0937..50746df 100644 --- a/home/.config/imapnotify/functionalhacker@korhonen.cc.js +++ b/home/.config/imapnotify/functionalhacker@korhonen.cc.js @@ -1,19 +1,19 @@ -var child_process = require("child_process"); +var child_process = require('child_process'); function getStdout(cmd) { var stdout = child_process.execSync(cmd); return stdout.toString().trim(); } -exports.host = "imap.migadu.com"; +exports.host = 'imap.migadu.com'; exports.port = 993; exports.tls = true; exports.tlsOptions = { rejectUnauthorized: true, }; -exports.username = "functionalhacker@korhonen.cc"; +exports.username = 'functionalhacker@korhonen.cc'; exports.password = "{{@@ env['PASS_EMAIL_HACKER'] @@}}"; -exports.onNewMail = "mbsync functionalhacker@korhonen.cc"; +exports.onNewMail = 'mbsync functionalhacker@korhonen.cc'; exports.onNewMailPost = - "~/git/dotfiles/scripts/mail/notify-new-mail.sh functionalhacker@korhonen.cc"; -exports.boxes = ["INBOX"]; + '~/git/dotfiles/scripts/mail/notify-new-mail.sh functionalhacker@korhonen.cc'; +exports.boxes = ['INBOX']; diff --git a/home/.config/imapnotify/marko@korhonen.cc.js b/home/.config/imapnotify/marko@korhonen.cc.js index f86cca9..afac7b4 100644 --- a/home/.config/imapnotify/marko@korhonen.cc.js +++ b/home/.config/imapnotify/marko@korhonen.cc.js @@ -1,19 +1,19 @@ -var child_process = require("child_process"); +var child_process = require('child_process'); function getStdout(cmd) { var stdout = child_process.execSync(cmd); return stdout.toString().trim(); } -exports.host = "imap.migadu.com"; +exports.host = 'imap.migadu.com'; exports.port = 993; exports.tls = true; exports.tlsOptions = { rejectUnauthorized: true, }; -exports.username = "marko@korhonen.cc"; +exports.username = 'marko@korhonen.cc'; exports.password = "{{@@ env['PASS_EMAIL_MARKO'] @@}}"; -exports.onNewMail = "mbsync marko@korhonen.cc"; +exports.onNewMail = 'mbsync marko@korhonen.cc'; exports.onNewMailPost = - "~/git/dotfiles/scripts/mail/notify-new-mail.sh marko@korhonen.cc"; -exports.boxes = ["INBOX"]; + '~/git/dotfiles/scripts/mail/notify-new-mail.sh marko@korhonen.cc'; +exports.boxes = ['INBOX']; diff --git a/home/.config/udiskie/config.yml b/home/.config/udiskie/config.yml deleted file mode 100644 index 9e6a80c..0000000 --- a/home/.config/udiskie/config.yml +++ /dev/null @@ -1,5 +0,0 @@ -{%@@ if profile == "ReekyPC" @@%} -device_config: - - id_uuid: 10879044936567925003 - ignore:true -{%@@ endif @@%} diff --git a/home/.config/wal/colorschemes/dark/kanagawa.json b/home/.config/wal/colorschemes/dark/kanagawa.json index edc46c4..af39e5a 100644 --- a/home/.config/wal/colorschemes/dark/kanagawa.json +++ b/home/.config/wal/colorschemes/dark/kanagawa.json @@ -1,27 +1,27 @@ { - "colors": { - "color0": "#090618", - "color1": "#C34043", - "color2": "#76946A", - "color3": "#C0A36E", - "color4": "#7E9CD8", - "color5": "#957FB8", - "color6": "#6A9589", - "color7": "#C8C093", - "color8": "#727169", - "color9": "#E82424", - "color10": "#98BB6C", - "color11": "#E6C384", - "color12": "#7FB4CA", - "color13": "#938AA9", - "color14": "#7AA89F", - "color15": "#DCD7BA", - "color16": "#FFA066", - "color17": "#FF5D62" - }, - "special": { - "foreground": "#DCD7BA", - "background": "#1F1F28", - "cursor": "#C8C093" - } + "colors": { + "color0": "#090618", + "color1": "#C34043", + "color2": "#76946A", + "color3": "#C0A36E", + "color4": "#7E9CD8", + "color5": "#957FB8", + "color6": "#6A9589", + "color7": "#C8C093", + "color8": "#727169", + "color9": "#E82424", + "color10": "#98BB6C", + "color11": "#E6C384", + "color12": "#7FB4CA", + "color13": "#938AA9", + "color14": "#7AA89F", + "color15": "#DCD7BA", + "color16": "#FFA066", + "color17": "#FF5D62" + }, + "special": { + "foreground": "#DCD7BA", + "background": "#1F1F28", + "cursor": "#C8C093" + } } diff --git a/home/.config/waybar/style.css b/home/.config/waybar/style.css index 7610afc..e5b38cd 100644 --- a/home/.config/waybar/style.css +++ b/home/.config/waybar/style.css @@ -1,130 +1,141 @@ * { - border: none; - border-radius: 0; - font-family: "Noto Sans Display", "Font Awesome 5 Free"; - font-size: 13px; - min-height: 0; + border: none; + border-radius: 0; + font-family: 'Noto Sans Display', 'Font Awesome 5 Free'; + font-size: 13px; + min-height: 0; } window#waybar { - background: #292D3E; - color: white; + background: #292d3e; + color: white; } /* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */ #workspaces button { - padding: 0 5px; - background: transparent; - color: white; + padding: 0 5px; + background: transparent; + color: white; } #workspaces button.focused { - background: #64727D; + background: #64727d; } #mode { - background: #64727D; + background: #64727d; } -#clock, #battery, #cpu, #temperature, #memory, #backlight, #network, #pulseaudio, #custom-media, #custom-yay, #tray, #mode, #idle_inhibitor { - padding: 0 10px; - margin: 0 5px; +#clock, +#battery, +#cpu, +#temperature, +#memory, +#backlight, +#network, +#pulseaudio, +#custom-media, +#custom-yay, +#tray, +#mode, +#idle_inhibitor { + padding: 0 10px; + margin: 0 5px; } #clock { - background-color: #64727D; + background-color: #64727d; } #battery { - background-color: #ffffff; - color: black; + background-color: #ffffff; + color: black; } #battery.charging { - color: black; - background-color: #a3be8c; + color: black; + background-color: #a3be8c; } @keyframes blink { - to { - background-color: #ffffff; - color: black; - } + to { + background-color: #ffffff; + color: black; + } } #battery.critical:not(.charging) { - background: #bf616a; - color: white; - animation-name: blink; - animation-duration: 0.5s; - animation-timing-function: linear; - animation-iteration-count: infinite; - animation-direction: alternate; + background: #bf616a; + color: white; + animation-name: blink; + animation-duration: 0.5s; + animation-timing-function: linear; + animation-iteration-count: infinite; + animation-direction: alternate; } #temperature { - background: #97B084; - color: black; + background: #97b084; + color: black; } #temperature.critical { - background: #bf616a; - color: white; - animation-name: blink; - animation-duration: 0.5s; - animation-timing-function: linear; - animation-iteration-count: infinite; - animation-direction: alternate; + background: #bf616a; + color: white; + animation-name: blink; + animation-duration: 0.5s; + animation-timing-function: linear; + animation-iteration-count: infinite; + animation-direction: alternate; } #cpu { - background: #BD9B5D; - color: #000000; + background: #bd9b5d; + color: #000000; } #memory { - color: black; - background: #b48ead; + color: black; + background: #b48ead; } #backlight { - background: #90b1b1; + background: #90b1b1; } #network { - color: black; - background: #81a1c1; + color: black; + background: #81a1c1; } #network.disconnected { - background: #f53c3c; + background: #f53c3c; } #pulseaudio { - background: #88c0d0; - color: black; + background: #88c0d0; + color: black; } #pulseaudio.muted { - background: #90b1b1; - color: #2a5c45; + background: #90b1b1; + color: #2a5c45; } #custom-media { - background: #97B084; - color: black; + background: #97b084; + color: black; } #custom-yay { - background-color: #64727D; + background-color: #64727d; } #tray { - background-color: #282828; + background-color: #282828; } #idle_inhibitor { - background-color: #8fbcbb; - color: #000000; + background-color: #8fbcbb; + color: #000000; } -