Arch linux dark theme

ArchPKGs

Guide on Install, Update and Uninstall xts-dark-theme on Arch Linux (Manjaro, BlackArch)

«Dark theme for xfce4-theme switcher.» is the developer’s profile of xts-dark-theme . To get xts-dark-theme from AUR (Arch User Repository) on Arch Linux, Manjaro, EndeavourOS, BlackArch and RebornOS is pretty straightforward. This guide will be covering how to install, update and uninstall the package with either the built-in package manager pacman or an AUR helper like yay .

Table of Contents

Two well known ways are used to install xts-dark-theme from AUR. pacman is the way to go if you’re an experienced Linux user and have the knowledge of how packages are built. If not, yay is a convenient alternative to install packages without the hassle of reviewing PKGBUILD and build packages with makepkg afterwards.

sudo pacman -S --needed git && git clone https://aur.archlinux.org/xts-dark-theme.git && cd xts-dark-theme && makepkg -si
  1. Install git if needed (not installed before).
  2. clone the package’s git repository from upstream URL.
  3. cd into the directory.
  4. Use makepkg to build the package, then install it with pacman .
yay -S xts-dark-theme

Updating AUR packages is almost the same as installing them. Simply pull it from upstream then re-build it. However, it is still recommended to upgrade your whole system first with sudo pacman -Syu before updating any packages to avoid dependency issues, since Arch is a rolling-release Linux distro.

Читайте также:  Make linux kernel driver
git pull && makepkg -si
  1. pull from the package’s git repository.
  2. Use makepkg to build the package. Also, it will automatically be updated with pacman if built successfully.

Removing packages is the easiest of these three,all you have to do is choose whether to purge the dependencies that no longer required by other packages and the configuration files used by the package.

sudo pacman -R xts-dark-theme
sudo pacman -Rs xts-dark-theme
sudo pacman -Rns xts-dark-theme
yay -R xts-dark-theme
yay -Rs xts-dark-theme
yay -Rns xts-dark-theme

For more information about how to install AUR packages on Arch-based Linux distros, please refer to this tutorial.

How to Install/Update/Uninstall baseconverter-git on Arch Linux/Manjaro/Parabola

baseconverter-git is «command line tool to convert numbers between bases» based on its own description. To install this package (baseconverter-git) from AUR (Arch User Repository) on Arch Linux and Arch-based Linux distros (e.g. Manjaro, EndeavourOS, RebornOS, ArcoLinux, Artix) is fairly uncomplicated. This guide will cover how to install, update and uninstall the package with either the built-in package manager pacman or an AUR helper (e.g. yay).

Beginner’s Tutorial on php73-xmlreader Installation on Arch Linux (Manjaro/Garuda)

«xmlreader module for php73» is the maintainer’s profile of php73-xmlreader. To install and update php73-xmlreader from AUR (Arch User Repository) on Arch Linux, Manjaro, EndeavourOS and Anarchy is comparatively straightforward. This guide will taught you how to install, update and remove the package with either the built-in package manager pacman or an AUR helper like yay.

How to Install new-ospgl-git with Single Command on Arch Linux/Manjaro/RebornOS

«Open Space Program» is their description of new-ospgl-git. To install and update new-ospgl-git from AUR (Arch User Repository) on Arch Linux, Manjaro, EndeavourOS, Anarchy, Artix and Parabola is fairly easy. This guide will taught you how to install, update and remove the package with either the built-in package manager pacman or an AUR helper (e.g. yay).

The Simplest Tutorial on mekfetch Installation on Arch Linux, Manjaro and BlackArch

«Simple neofetch alternative written in C» is the developer’s gist of mekfetch. To install or uninstall this package (mekfetch) from AUR (Arch User Repository) on Arch Linux, Manjaro, EndeavourOS, Garuda and Parabola is fairly simple. This tutorial will be covering how to install/update/uninstall the package with either the default package manager pacman or an AUR helper like yay.

Читайте также:  Acer one d250 linux

How to Install node with CLI on Arch Linux/Manjaro/RebornOS

node is «AX25 node software» according to its profile. To get this package (node) from AUR (Arch User Repository) on Arch Linux, Manjaro, EndeavourOS, Parabola, RebornOS and Garuda is quite straightforward. This tutorial will cover how to install, update and uninstall the package with either the default package manager pacman or an AUR helper like yay.

Installing razer-naga-2014-key-remap-bin (Full Tutorial) on Arch-Based Linux (Manjaro, BlackArch)

Referring to razer-naga-2014-key-remap-bin’s gist, it is «Remaps razer naga 2014 keys in linux operating system.». To install or uninstall razer-naga-2014-key-remap-bin from AUR (Arch User Repository) on Arch Linux, Manjaro, EndeavourOS, ArcoLinux and RebornOS is relatively easy. This tutorial will taught you how to install, update and uninstall the package with either the built-in package manager pacman or an AUR helper (e.g. yay).

More guides… copyright 2023 ArchPKGs. All Rights Reserved.

Источник

Dark mode switching (Русский)

Состояние перевода: На этой странице представлен перевод статьи Dark mode switching. Дата последней синхронизации: 24 января 2022. Вы можете помочь синхронизировать перевод, если в английской версии произошли изменения.

Приятно иметь возможность переключения между светлой и тёмной темой. Существуют варианты переключения по заходу солнца или по сочетанию клавиш.

Переключение тем может быть произведено как для запущенных программ (возможно, требуется работа демона), так и для программ ещё не запущенных. В статье рассматривается переключение для запущенных программ.

Для переключения требуется поддержка от приложения или использование приложением GTK или Qt.

Инструменты

  • darkman — Инструмент, позволяющий автоматизировать переход в тёмную тему на закате и возврат к светлой теме на восходе. Он позволяет разместить drop-in скрипты, которые будут автоматически выполняться в нужное время.
  • Yin-Yang — Другой инструмент с похожими возможностями, однако запуск произвольных скриптов ещё не поддерживается.

GTK

Для переключения между светлым и тёмным вариантами нужно менять используемую тему.

Читайте также:  Linux disable by bios

Большинство тем GTK имеют тёмный вариант, обычно они обозначены суффиксом -dark . Например, стандартная тема для GTK называется Adwaita , а тёмный вариант называется Adwaita-dark .

Чтобы постоянно использовать только тёмный вариант, смотрите GTK (Русский)#Вариант тёмной темы.

Чтобы мгновенно сменить тему уже работающих приложений, требуется или демон, предоставляющий xsettings spec, или gsettings. Для окружений, работающих в Xorg нужен демон xsettings. Для Wayland нужен gsettings.

Демон xsettings

xsettings нужен для сеансов Xorg.

Демон xsettings для Xfce — xfsettingsd, доступен в пакете xfce4-settings .

Получить текущую используемую тему:

$ xfconf-query -c xsettings -p /Net/ThemeName
$ xfconf-query -c xsettings -p /Net/ThemeName -s "new-theme"

Изменения применяются мгновенно и влияют на все приложения, использующие GTK.

gsettings

gsettings нужен для сеансов Wayland.

Получить текущую используемую тему:

$ gsettings get org.gnome.desktop.interface gtk-theme
$ gsettings set org.gnome.desktop.interface gtk-theme "new-theme"

Изменения применяются мгновенно и влияют на все приложения, использующие GTK.

Qt

Qt имеет механизм поддержки тем, похожий на GTK.

Один из вариантов — использовать GTK для стилизации Qt-приложений. Тогда изменение темы GTK повлияет и на Qt-приложения тоже.

Другой способ — использовать родную тему Qt, например adwaita-qt5 . Для переключения тем смотрите Qt (Русский)#Настройка приложений Qt5 в окружениях, отличных от KDE Plasma.

Xfce

Смена темы в Xfce происходит похожим образом через xsettingsd, который распространяется в виде пакета xfce4-settings .

Приложения

Firefox

Firefox автоматически подхватывает текущую тему GTK и адаптирует свой интерфейс. Смотрите раздел Firefox (Русский)#Тёмные темы, чтобы узнать больше.

Для изменения темы веб-страниц в магазине расширений Firefox рекомендуется расширение Dark Reader.

Thunderbird

Thunderbird применяет текущую тему GTK, но рекомендуются некоторые самостоятельные действия.

Visual Studio Code

Alacritty

Alacritty поддерживает множество тем. Примеры конфигурации можно найти на странице color schemes на вики в GitHub репозитории проекта. Например, известная в IDEA тема Darkula есть в разделе Dracula на этой же странице.

Чтобы быстро сменить тему, требуется определить указатель для каждой цветовой схемы. Например, укажите &black после названия. После этого просто выполните colors: *black . Изменение в файле конфигурации применится мгновенно и затронет все запущенные экземпляры. Если нет, то, возможно, понадобится прописать live_config_reload: true .

Границы окна и тайтлбар подчиняются теме GTK, но можно форсировать собственное поведение, установив настроку gtk_theme_variant в положение None .

Источник

Оцените статью
Adblock
detector