desktop
This commit is contained in:
parent
a70d1cac4b
commit
b437f162c8
7 changed files with 98 additions and 14 deletions
|
|
@ -5,12 +5,6 @@
|
|||
home.homeDirectory = "/home/till";
|
||||
home.stateVersion = "22.11";
|
||||
|
||||
home.pointerCursor = {
|
||||
name = "Adwaita";
|
||||
package = pkgs.gnome.adwaita-icon-theme;
|
||||
size = 32;
|
||||
};
|
||||
|
||||
nixpkgs = {
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
|
|
@ -20,6 +14,16 @@
|
|||
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
xdg.userDirs = {
|
||||
enable = true;
|
||||
createDirectories = true;
|
||||
download = "${config.home.homeDirectory}/tmp";
|
||||
music = "${config.home.homeDirectory}/media/music";
|
||||
pictures = "${config.home.homeDirectory}/media/img";
|
||||
videos = "${config.home.homeDirectory}/media/vid";
|
||||
documents = "${config.home.homeDirectory}/misc";
|
||||
};
|
||||
|
||||
services.syncthing.enable = true;
|
||||
|
||||
home.packages = with pkgs; [
|
||||
|
|
@ -70,6 +74,7 @@
|
|||
qutebrowser
|
||||
nyxt
|
||||
vlc
|
||||
chromium
|
||||
|
||||
# deveolopment
|
||||
bundix
|
||||
|
|
@ -90,6 +95,7 @@
|
|||
./mail
|
||||
./tex.nix
|
||||
./openconnect.nix
|
||||
./desktop
|
||||
];
|
||||
|
||||
home.shellAliases = {
|
||||
|
|
|
|||
20
home/desktop/default.nix
Normal file
20
home/desktop/default.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
home.pointerCursor = {
|
||||
name = "Adwaita";
|
||||
package = pkgs.gnome.adwaita-icon-theme;
|
||||
size = 32;
|
||||
};
|
||||
|
||||
dconf.settings = {
|
||||
"org/gnome/desktop/background" = {
|
||||
picture-uri = ./demand_office.jpg;
|
||||
};
|
||||
enabled-extensions = {
|
||||
"run-or-raise@edvard.cz"
|
||||
"places-menu@gnome-shell-extensions.gcampax.github.com"
|
||||
}
|
||||
};
|
||||
xdg.configFile."run-or-raise/shortcuts.conf".source = ./run-or-raise.conf;
|
||||
}
|
||||
BIN
home/desktop/demand_office.jpg
Normal file
BIN
home/desktop/demand_office.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 483 KiB |
42
home/desktop/run-or-raise.conf
Normal file
42
home/desktop/run-or-raise.conf
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
# Here you list all the shortcuts.
|
||||
#
|
||||
# The shortcuts may be defined in two ways:
|
||||
#
|
||||
# 1. Run-or-raise form: shortcut,launch-command,[wm_class],[title]
|
||||
# * wm_class and title are optional and case sensitive
|
||||
# * if none is set, lowercased launch-command is compared with lowercased windows wm_classes and titles
|
||||
#
|
||||
# 2. Run only form: shortcut,calculate
|
||||
#
|
||||
# =================
|
||||
# Run or raise form
|
||||
# =================
|
||||
#
|
||||
# This line cycles any open gnome-terminal (matched by wm_class = Gnome-terminal on Ubuntu 17.10) OR if not found, launches new one.
|
||||
# If you're using Arch, you may want to match by wm_class = gnome-terminal-server , just check yourself by Alt+F2/lg/Windows
|
||||
<Super>t,gnome-terminal,gnome-terminal-server,
|
||||
<Super>n,nautilus,,
|
||||
<Super>f,firefox,,
|
||||
<Super>return,foot,,
|
||||
<Super>x,keepassxc,,,
|
||||
<Super>q,qutebrowser,,
|
||||
|
||||
# You may use regular expression in title or wm_class.
|
||||
# Just put the regular expression between slashes.
|
||||
# E.g. to jump to pidgin conversation window you may use this line
|
||||
# (that means any windows of wm_class Pidgin, not containing the title Buddy List)"
|
||||
# <Super>KP_1,pidgin,Pidgin,/^((?!Buddy List).)*$/
|
||||
|
||||
# Have the mail always at numpad-click.
|
||||
# <Super>KP_2,chromium-browser --app=https://mail.google.com/mail/u/0/#inbox
|
||||
|
||||
# =============
|
||||
# Run only form
|
||||
# =============
|
||||
#
|
||||
# This line will launch notify-send command.
|
||||
# <Super>h,notify-send Hello world
|
||||
|
||||
# Blank lines are allowed. Line starting with "#" means a comment.
|
||||
# Now delete these shortcuts and put here yours.
|
||||
# How to know wm_class? Alt+f2, lg, "windows" tab (at least on Ubuntu 17.10)
|
||||
Loading…
Add table
Add a link
Reference in a new issue