add rofi script for selecting tiling mode

This commit is contained in:
zoe 2023-03-19 18:22:35 +01:00
parent 07b4b59c4f
commit a8c5cc997b
3 changed files with 5 additions and 18 deletions

View File

@ -5,6 +5,7 @@
# hyprland.url = "github:hyprwm/Hyprland";
supercolor.url = github:zoe-bat/supercolor;
kaokao.url = github:zoe-bat/kaokao;
i3layouts-rofi.url = github:zoe-bat/i3layouts-rofi;
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
@ -16,6 +17,7 @@
# , hyprland
, home-manager
, supercolor
, i3layouts-rofi
, nixpkgs-unstable
, kaokao
}@inputs:

View File

@ -74,23 +74,7 @@ in
## workspaces
"${mod}+Tab" = "workspace next";
# extra keys
## audio
"XF86AudioMute" = "exec amixer set Master toggle";
"XF86AudioUnmute" = "exec amixer set Master toggle";
"XF86AudioMicMute" = "exec amixer set Capture toggle";
"XF86AudioMicUnmute" = "exec amixer set Capture toggle";
## brightness
"XF86MonBrightnessUp" = "exec /etc/nixos/i3/brightness.py 100+";
"XF86MonBrightnessDown" = "exec /etc/nixos/i3/brightness.py 100-";
## display
"XF86Display" = "exec arandr";
## wifi
"XF86WLAN" = "exec rfkill toggle wifi";
"${mod}+q" = "exec i3layouts-rofi";
## tablet to next screen
"${mod}+p" = "exec xsetwacom set 'Wacom Intuos S 2 Pen stylus' MapToOutput next";

View File

@ -1,4 +1,4 @@
{ pkgs, users, config, inputs, supercolor, kaokao, ... }:
{ pkgs, users, config, inputs, supercolor, kaokao, i3layouts-rofi, ... }:
let
my-python-packages = p: with p; [
i3ipc
@ -92,6 +92,7 @@ in
arandr
lxappearance
wacomtablet
i3layouts-rofi.packages.${pkgs.system}.default
# terminal
kitty