From 5742e399fe16d6e804ceab593e3ddb4bedcd77fc Mon Sep 17 00:00:00 2001 From: Jisu Kim Date: Tue, 21 Jul 2020 23:13:15 +0900 Subject: [PATCH] Add yay and deno install --- linux-hidpi/picom/picom.conf | 1 + linux/picom/picom.conf | 1 + makefile | 13 ++++++++++++- mapping.ts | 6 +++--- 4 files changed, 17 insertions(+), 4 deletions(-) diff --git a/linux-hidpi/picom/picom.conf b/linux-hidpi/picom/picom.conf index 1912049..fccc143 100644 --- a/linux-hidpi/picom/picom.conf +++ b/linux-hidpi/picom/picom.conf @@ -8,6 +8,7 @@ rounded-corners-exclude = [ #"class_g = 'Rofi'", "class_g = 'Polybar'", "name = 'Polybar tray window'", + "_NET_WM_STATE@:a *= '_NET_WM_STATE_SKIP_TASKBAR'", #"class_g = 'code-oss'", #"class_g = 'TelegramDesktop'", #"class_g = 'firefox'", diff --git a/linux/picom/picom.conf b/linux/picom/picom.conf index 08321f3..fc1bda4 100644 --- a/linux/picom/picom.conf +++ b/linux/picom/picom.conf @@ -8,6 +8,7 @@ rounded-corners-exclude = [ #"class_g = 'Rofi'", "class_g = 'Polybar'", "name = 'Polybar tray window'", + "_NET_WM_STATE@:a *= '_NET_WM_STATE_SKIP_TASKBAR'", #"class_g = 'code-oss'", #"class_g = 'TelegramDesktop'", #"class_g = 'firefox'", diff --git a/makefile b/makefile index 6adc67e..7de8d5b 100644 --- a/makefile +++ b/makefile @@ -1,3 +1,14 @@ +yay: + cd &&\ + git clone https://aur.archlinux.org/yay.git &&\ + cd yay &&\ + makepkg -si &&\ + cd .. &&\ + rm -rf yay + +deno: + yay -S deno-bin + install: deno run --unstable --allow-env --allow-run --allow-read --allow-write ./mapping.ts install @@ -5,4 +16,4 @@ link: deno run --unstable --allow-env --allow-run --allow-read --allow-write ./mapping.ts link unlink: - deno run --unstable --allow-env --allow-run --allow-read --allow-write ./mapping.ts unlink \ No newline at end of file + deno run --unstable --allow-env --allow-run --allow-read --allow-write ./mapping.ts unlink diff --git a/mapping.ts b/mapping.ts index dec6e1a..a352a93 100644 --- a/mapping.ts +++ b/mapping.ts @@ -9,8 +9,6 @@ const common: DotOption = { const linux: DotOption = { hostname: ["office2"], install: [ - "sudo pacman -S git", - `sh -c "cd && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si && cd .. && rm -rf yay"`, `sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"`, "yay -Syu", `yay -S --needed @@ -20,7 +18,9 @@ const linux: DotOption = { gnome-keyring pasystray polkit-gnome nerd-fonts-terminus gnome-settings-daemon nitrogen dex sassc ttf-nanum fcitx5 fcitx5-qt fcitx5-gtk fcitx5-hangul fcitx5-anthy - kcm-fcitx5 numix-gtk-theme-git numix-circle-icon-theme-git`, + kcm-fcitx5 numix-gtk-theme-git numix-circle-icon-theme-git + telegram-desktop nautilus eog smplayer smplayer-skin transgui-qt + qt5-styleplugins xdg-user-dirs slim`, ], link: { ...common.link,