Various minor improvements and cleanup
This commit is contained in:
parent
00ab2f5e2d
commit
fe538d9043
8
i3.nix
8
i3.nix
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, ... }: {
|
{ lib, pkgs, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
./programs/firefox.nix
|
./programs/firefox.nix
|
||||||
./programs/polybar.nix
|
./programs/polybar.nix
|
||||||
|
@ -32,6 +32,7 @@
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
bars = [];
|
bars = [];
|
||||||
|
keybindings = lib.mkForce {};
|
||||||
};
|
};
|
||||||
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
@ -183,14 +184,9 @@
|
||||||
bindsym $mod+Shift+q kill
|
bindsym $mod+Shift+q kill
|
||||||
|
|
||||||
# Run a Program
|
# Run a Program
|
||||||
#bindsym $mod+d exec dmenu_run
|
|
||||||
bindsym $mod+d exec rofi -combi-modi run#window#ssh -theme solarized -font "ubuntu mono 10" -show combi
|
bindsym $mod+d exec rofi -combi-modi run#window#ssh -theme solarized -font "ubuntu mono 10" -show combi
|
||||||
|
|
||||||
# Cycle Through Windows
|
# Cycle Through Windows
|
||||||
#bindsym $mod+j focus left
|
|
||||||
#bindsym $mod+k focus down
|
|
||||||
#bindsym $mod+l focus up
|
|
||||||
#bindsym $mod+semicolon focus right
|
|
||||||
bindsym $mod+h focus left
|
bindsym $mod+h focus left
|
||||||
bindsym $mod+j focus down
|
bindsym $mod+j focus down
|
||||||
bindsym $mod+k focus up
|
bindsym $mod+k focus up
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ ... }: {
|
{ pkgs, ... }: {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
alsa-utils
|
alsa-utils
|
||||||
];
|
];
|
||||||
|
@ -37,15 +37,30 @@
|
||||||
i3-msg restart
|
i3-msg restart
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
"precision/backward" = {
|
||||||
|
executable = true;
|
||||||
|
text = ''
|
||||||
|
xrandr \
|
||||||
|
--output eDP-1 --mode 1920x1200 \
|
||||||
|
--output DP-2 --mode 3840x2160 --rate 30 --primary --right-of eDP-1
|
||||||
|
i3-msg restart
|
||||||
|
'';
|
||||||
|
};
|
||||||
"precision/standalone" = {
|
"precision/standalone" = {
|
||||||
executable = true;
|
executable = true;
|
||||||
text = ''
|
text = ''
|
||||||
xrandr \
|
xrandr \
|
||||||
--output eDP-1 --mode 1920x1200 --primary \
|
--output eDP-1 --mode 1920x1200 --primary \
|
||||||
|
--output DP-1 --off \
|
||||||
|
--output DP-2 --off \
|
||||||
|
--output DP-3 --off \
|
||||||
--output DP-4 --off \
|
--output DP-4 --off \
|
||||||
|
--output DP-5 --off \
|
||||||
--output DP-2-1 --off \
|
--output DP-2-1 --off \
|
||||||
--output DP-2-2 --off \
|
--output DP-2-2 --off \
|
||||||
|
--output DP-2-3 --off \
|
||||||
--output DP-4-1 --off \
|
--output DP-4-1 --off \
|
||||||
|
--output DP-4-2 --off \
|
||||||
--output DP-4-3 --off
|
--output DP-4-3 --off
|
||||||
i3-msg restart
|
i3-msg restart
|
||||||
'';
|
'';
|
Loading…
Reference in New Issue