forked from colonelpanic/dotfiles
[NixOS] Move to home-manager
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
* {
|
||||
al: #00000000;
|
||||
bg: #000000ff;
|
||||
bg: #00000099;
|
||||
se: #101010ff;
|
||||
fg: #FFFFFFff;
|
||||
ac: #FFFF00ff;
|
||||
|
@@ -1,12 +0,0 @@
|
||||
[Unit]
|
||||
Description=Alarm Clock
|
||||
Wants=taffybar.service
|
||||
After=status-notifier-watcher.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/env alarm-clock-applet
|
||||
ExecStop=/usr/bin/env pkill alarm-clock-applet
|
||||
|
||||
[Install]
|
||||
WantedBy=wm.target
|
@@ -1,12 +0,0 @@
|
||||
[Unit]
|
||||
Description=chromix-too
|
||||
Wants=taffybar.service
|
||||
After=taffybar.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/env chromix-too-server
|
||||
ExecStop=/usr/bin/env pkill chromix-too
|
||||
|
||||
[Install]
|
||||
WantedBy=wm.target
|
@@ -1,12 +0,0 @@
|
||||
[Unit]
|
||||
Description=clipit
|
||||
Wants=taffybar.service
|
||||
After=taffybar.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/env clipit
|
||||
ExecStop=/usr/bin/env pkill clipit
|
||||
|
||||
[Install]
|
||||
WantedBy=wm.target
|
@@ -1,11 +0,0 @@
|
||||
[Unit]
|
||||
Description=discord
|
||||
Wants=taffybar.service
|
||||
After=taffybar.service
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/env run_unity.sh discord
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=wm.target
|
@@ -1,12 +0,0 @@
|
||||
[Unit]
|
||||
Description=git-sync %f %I %i
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/env git_sync_directory.sh %f
|
||||
ExecStop=/usr/bin/env pkill git_sync_directory.sh
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
|
||||
[Install]
|
||||
WantedBy=wm.target
|
@@ -1,12 +0,0 @@
|
||||
[Unit]
|
||||
Description=github-notifications
|
||||
Wants=taffybar.service
|
||||
After=taffybar.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/env notifications-tray-icon --github-token-pass github-token
|
||||
ExecStop=/usr/bin/env pkill 'notifications-tray-icon --github-token-pass github-token'
|
||||
|
||||
[Install]
|
||||
WantedBy=wm.target
|
@@ -1,11 +0,0 @@
|
||||
[Unit]
|
||||
Description=gitter
|
||||
Wants=taffybar.service
|
||||
After=taffybar.service
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/env Gitter
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=wm.target
|
@@ -1,12 +0,0 @@
|
||||
[Unit]
|
||||
Description=KDE Connect
|
||||
Wants=taffybar.service
|
||||
After=taffybar.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/env kdeconnect-indicator
|
||||
ExecStop=/usr/bin/env pkill kdeconnect-indicator
|
||||
|
||||
[Install]
|
||||
WantedBy=wm.target
|
@@ -1,12 +0,0 @@
|
||||
[Unit]
|
||||
Description=lxqt-powermanagement
|
||||
Wants=taffybar.service
|
||||
After=taffybar.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/env lxqt-powermanagement
|
||||
ExecStop=/usr/bin/env pkill lxqt-powermanagement
|
||||
|
||||
[Install]
|
||||
WantedBy=wm.target
|
@@ -1,10 +0,0 @@
|
||||
[Unit]
|
||||
Description=mopidy
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/env mopidy
|
||||
ExecStop=/usr/bin/env pkill mopidy
|
||||
|
||||
[Install]
|
||||
WantedBy=wm.target
|
@@ -1,12 +0,0 @@
|
||||
[Unit]
|
||||
Description=NM Applet
|
||||
Wants=taffybar.service
|
||||
After=taffybar.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/env nm-applet --sm-disable --indicator
|
||||
ExecStop=/usr/bin/env pkill nm-applet
|
||||
|
||||
[Install]
|
||||
WantedBy=wm.target
|
@@ -1,10 +0,0 @@
|
||||
[Unit]
|
||||
Description=notify-osd
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/env notify-osd
|
||||
ExecStop=/usr/bin/env pkill notify-osd
|
||||
|
||||
[Install]
|
||||
WantedBy=wm.target
|
@@ -1,12 +0,0 @@
|
||||
[Unit]
|
||||
Description=Pulse Audio System Tray
|
||||
Wants=taffybar.service
|
||||
After=taffybar.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/env pasystray
|
||||
ExecStop=/usr/bin/env pkill pasystray
|
||||
|
||||
[Install]
|
||||
WantedBy=wm.target
|
@@ -1,10 +0,0 @@
|
||||
[Unit]
|
||||
Description=picom
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/env picom -cC
|
||||
ExecStop=/usr/bin/env pkill picom
|
||||
|
||||
[Install]
|
||||
WantedBy=wm.target
|
@@ -1,12 +0,0 @@
|
||||
[Unit]
|
||||
Description=skippy-xd
|
||||
Wants=taffybar.service
|
||||
After=taffybar.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/env skippy-xd --start-daemon
|
||||
ExecStop=/usr/bin/env pkill skippy-xd
|
||||
|
||||
[Install]
|
||||
WantedBy=wm.target
|
@@ -1,10 +0,0 @@
|
||||
[Unit]
|
||||
Description=status-notifier-watcher
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/env status-notifier-watcher
|
||||
ExecStop=/usr/bin/env pkill status-notifier-watcher
|
||||
|
||||
[Install]
|
||||
WantedBy=wm.target
|
@@ -1,15 +0,0 @@
|
||||
[Unit]
|
||||
Description=taffybar
|
||||
Wants=status-notifier-watcher.service
|
||||
After=status-notifier-watcher.service
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
ExecStart=/usr/bin/env imalison-taffybar
|
||||
ExecStop=/usr/bin/env pkill imalison-taffybar
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
NotifyAccess=all
|
||||
|
||||
[Install]
|
||||
WantedBy=wm.target
|
@@ -1,11 +0,0 @@
|
||||
[Unit]
|
||||
Description=udiskie
|
||||
Wants=taffybar.service
|
||||
After=taffybar.service
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/env udiskie --tray --appindicator
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=wm.target
|
@@ -1,10 +0,0 @@
|
||||
[Unit]
|
||||
Description=volnoti
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/env volnoti -n -v
|
||||
ExecStop=/usr/bin/env pkill volnoti
|
||||
|
||||
[Install]
|
||||
WantedBy=wm.target
|
@@ -1,9 +0,0 @@
|
||||
[Unit]
|
||||
Description=wallpaper
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/env wallpaper.sh
|
||||
|
||||
[Install]
|
||||
WantedBy=wm.target
|
@@ -1,9 +0,0 @@
|
||||
[Unit]
|
||||
Description=Switch Wallpapers Every 15 minutes
|
||||
|
||||
[Timer]
|
||||
OnUnitActiveSec=5min
|
||||
OnBootSec=0min
|
||||
|
||||
[Install]
|
||||
WantedBy=wm.target
|
@@ -1,3 +0,0 @@
|
||||
[Unit]
|
||||
Description=Window Manager
|
||||
AllowIsolate=yes
|
@@ -1,9 +0,0 @@
|
||||
[Unit]
|
||||
Description=X Settings Daemon
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/env xsettingsd-setup
|
||||
ExecStop=/usr/bin/env pkill xsettingsd
|
||||
|
||||
[Install]
|
||||
WantedBy=wm.target
|
@@ -10,7 +10,7 @@ build-type: Simple
|
||||
extra-source-files: README.org
|
||||
cabal-version: >=1.10
|
||||
|
||||
executable imalison-taffybar
|
||||
executable taffybar
|
||||
hs-source-dirs: .
|
||||
main-is: taffybar.hs
|
||||
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
||||
|
@@ -145,7 +145,7 @@ main = do
|
||||
(\size _ -> lift $ loadPixbufByName size "application-default-icon")
|
||||
layout = layoutNew defaultLayoutConfig
|
||||
windows = windowsNew defaultWindowsConfig
|
||||
notifySystemD = void $ runCommandFromPath ["systemd-notify", "--ready"]
|
||||
|
||||
myWorkspacesConfig =
|
||||
defaultWorkspacesConfig
|
||||
{ underlineHeight = 3
|
||||
@@ -229,7 +229,6 @@ main = do
|
||||
-- , startWidgets = []
|
||||
}
|
||||
startTaffybar $
|
||||
appendHook notifySystemD $
|
||||
appendHook (void $ getHost False) $
|
||||
withLogServer $
|
||||
withToggleServer $
|
||||
|
@@ -1,10 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
SRC_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
output_file=$1; shift
|
||||
|
||||
cd "$SRC_DIR"
|
||||
exe_location="$SRC_DIR/result/bin/imalison-xmonad"
|
||||
nix-build
|
||||
cp -f "$exe_location" "$output_file"
|
@@ -34,6 +34,8 @@ import System.IO.Unsafe
|
||||
import System.Process
|
||||
import Text.Printf
|
||||
import Unsafe.Coerce
|
||||
import XMonad.Main (launch)
|
||||
import XMonad.Core (getDirectories)
|
||||
import XMonad hiding ( (|||) )
|
||||
import XMonad.Actions.CycleWS hiding (nextScreen)
|
||||
import XMonad.Actions.CycleWorkspaceByScreen
|
||||
@@ -100,14 +102,10 @@ myConfig = def
|
||||
|
||||
myNavigation2DConfig = def { defaultTiledNavigation = centerNavigation }
|
||||
|
||||
main =
|
||||
xmonad .
|
||||
docks .
|
||||
pagerHints .
|
||||
ewmh .
|
||||
withNavigation2DConfig myNavigation2DConfig $
|
||||
myConfig
|
||||
|
||||
main = do
|
||||
dirs <- getDirectories
|
||||
(flip launch dirs) . docks . pagerHints . ewmh . withNavigation2DConfig myNavigation2DConfig $ myConfig
|
||||
|
||||
-- Utility functions
|
||||
|
||||
-- Log to a file from anywhere
|
||||
|
@@ -0,0 +1 @@
|
||||
ROFI_SYSTEMD_TERM=alacritty
|
||||
|
Reference in New Issue
Block a user