Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dotfiles
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jens Nolte
dotfiles
Commits
1c74e29d
Commit
1c74e29d
authored
4 years ago
by
Jens Nolte
Browse files
Options
Downloads
Patches
Plain Diff
Add local sway config; switch from redshift to gammastep
parent
45e0da0e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
home-profiles/desktop/.config/gammastep/config.ini
+5
-5
5 additions, 5 deletions
home-profiles/desktop/.config/gammastep/config.ini
home-profiles/desktop/.config/sway/common
+4
-3
4 additions, 3 deletions
home-profiles/desktop/.config/sway/common
layers/desktop.nix
+10
-1
10 additions, 1 deletion
layers/desktop.nix
with
19 additions
and
9 deletions
home-profiles/desktop/.config/
redshift/redshift.conf
→
home-profiles/desktop/.config/
gammastep/config.ini
+
5
−
5
View file @
1c74e29d
;
Global
settings
for
redshift
[
redshift
]
; Global settings
[
general
]
; Set the day and night screen temperatures
; my old default: temp-day=5700
temp-day
=
5700
...
...
@@ -23,7 +23,7 @@ fade=1
; can be specified manually. The times must be specified as HH:MM in 24-hour
; format.
dawn-time
=
7:00-8:00
dusk
-
time
=
2
2
:
00
-
23
:
45
dusk-time
=
2
1
:00-23:45
; Set the screen brightness. Default is 1.0.
;brightness=0.9
...
...
@@ -67,5 +67,5 @@ lon=13.40
; In this example, randr is configured to adjust only screen 0.
; Note that the numbering starts from 0, so this is actually the first screen.
; If this option is not specified, Redshift will try to adjust _all_ screens.
[
randr
]
screen
=
0
;
[randr]
;
screen=0
This diff is collapsed.
Click to expand it.
home-profiles/desktop/.config/sway/co
nfig
→
home-profiles/desktop/.config/sway/co
mmon
+
4
−
3
View file @
1c74e29d
...
...
@@ -69,11 +69,12 @@ output eDP-1 {
output * bg "#1d2021" solid_color
# Run desktop daemons
exec_always pkill kanshi; exec kanshi
#
exec_always pkill kanshi; exec kanshi
exec mako
#exec CM_SELECTIONS=clipboard clipmenud
#exec nm-applet --indicator
exec redshift
exec gammastep
# Fix XWayland DPI
exec xrdb -load ~/.Xresources
...
...
@@ -192,7 +193,7 @@ bindsym button2 kill
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
#font pango:monospace 8
font Fira Code
retina
9
font Fira Code 9
# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).
...
...
This diff is collapsed.
Click to expand it.
layers/desktop.nix
+
10
−
1
View file @
1c74e29d
...
...
@@ -59,7 +59,7 @@ in
rofi
qt5
.
qtwayland
acpilight
redshift-wlr
gammastep
kanshi
libnotify
wl-clipboard
...
...
@@ -106,6 +106,15 @@ in
};
};
home-manager
.
users
.
jens
=
{
pkgs
,
...
}:
{
xdg
.
configFile
.
"sway/config"
=
{
source
=
pkgs
.
writeText
"sway-config"
''
include common
include local
''
;
};
};
programs
.
sway
.
enable
=
true
;
programs
.
sway
.
extraPackages
=
with
pkgs
;
[
swaylock
swayidle
xwayland
kitty
cool-retro-term
xorg
.
xrdb
];
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment