mirror of
https://github.com/librephoenix/nixos-config
synced 2025-07-06 06:52:13 +05:30
Added all floating mode plus hyprbars!
This commit is contained in:
parent
7cd33caf08
commit
fc6cd2aa92
3 changed files with 32 additions and 9 deletions
15
user/wm/hyprland/hyprbars.nix
Normal file
15
user/wm/hyprland/hyprbars.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ config, lib, stdenv, pkgs, hyprland-plugins, ... }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "hyprbars";
|
||||
version = "unstable";
|
||||
src = "${hyprland-plugins}/hyprbars";
|
||||
nativeBuildInputs = [ pkgs.hyprland.nativeBuildInputs ];
|
||||
buildInputs = [ pkgs.hyprland pkgs.hyprland.buildInputs ];
|
||||
meta = {
|
||||
homepage = "https://gitlab.com/phoneybadger/pokemon-colorscripts";
|
||||
description = "CLI utility to print out images of pokemon to terminal";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [];
|
||||
};
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, pkgs, browser, term, spawnEditor, font, ... }:
|
||||
{ config, lib, pkgs, stdenv, browser, term, spawnEditor, font, hyprland-plugins, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
|
@ -12,7 +12,9 @@
|
|||
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
plugins = [ ];
|
||||
plugins = [
|
||||
(pkgs.callPackage ./hyprbars.nix { inherit hyprland-plugins; } )
|
||||
];
|
||||
settings = { };
|
||||
extraConfig = ''
|
||||
exec-once = dbus-update-activation-environment DISPLAY XAUTHORITY WAYLAND_DISPLAY
|
||||
|
@ -44,6 +46,7 @@
|
|||
bind=ALT,TAB,bringactivetotop
|
||||
bind=ALTSHIFT,TAB,cyclenext,prev
|
||||
bind=ALTSHIFT,TAB,bringactivetotop
|
||||
bind=SUPER,Y,workspaceopt,allfloat
|
||||
|
||||
bind=SUPER,RETURN,exec,'' + term + ''
|
||||
|
||||
|
@ -112,11 +115,11 @@
|
|||
bind=SUPERSHIFT,8,movetoworkspace,8
|
||||
bind=SUPERSHIFT,9,movetoworkspace,9
|
||||
|
||||
bind=SUPER,Z,exec,pypr toggle term
|
||||
bind=SUPER,F,exec,pypr toggle ranger
|
||||
bind=SUPER,N,exec,pypr toggle musikcube
|
||||
bind=SUPER,B,exec,pypr toggle btm
|
||||
bind=SUPER,E,exec,pypr toggle geary
|
||||
bind=SUPER,Z,exec,pypr toggle term && hyprctl dispatch bringactivetotop
|
||||
bind=SUPER,F,exec,pypr toggle ranger && hyprctl dispatch bringactivetotop
|
||||
bind=SUPER,N,exec,pypr toggle musikcube && hyprctl dispatch bringactivetotop
|
||||
bind=SUPER,B,exec,pypr toggle btm && hyprctl dispatch bringactivetotop
|
||||
bind=SUPER,E,exec,pypr toggle geary && hyprctl dispatch bringactivetotop
|
||||
$scratchpadsize = size 80% 85%
|
||||
|
||||
$scratchpad = class:^(scratchpad)$
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue