update configuration files

This commit is contained in:
Frank Zechert
2026-08-15 18:09:50 +02:00
parent 64e22b0c46
commit b0b2e04b7f
12 changed files with 75 additions and 172 deletions
+3 -1
View File
@@ -111,13 +111,14 @@ packages:
- figlet - figlet
- firefox - firefox
- fzf - fzf
- github-cli
- go - go
- grim - grim
- jre-openjdk - jre-openjdk
- jq - jq
- kdeconnect - kdeconnect
- kitty - kitty
- librewolf-bin - librewolf
- meld - meld
- nemo - nemo
- nemo-fileroller - nemo-fileroller
@@ -168,3 +169,4 @@ packages:
- claude-code - claude-code
- webstorm - webstorm
- webstorm-jre - webstorm-jre
- azure-cli
+9
View File
@@ -63,3 +63,12 @@ thunderbird
.ssh .ssh
.pki .pki
.python_history .python_history
.azure
.config/JetBrains
.config/bruno
.config/draw.io
.config/gh
.config/qalculate
.gradle
.ideavimrc
.jdks
+5
View File
@@ -10,3 +10,8 @@ if [ "${XDG_VTNR}" -eq 1 ]; then
exec uwsm start hyprland.desktop exec uwsm start hyprland.desktop
fi fi
fi fi
# Added by Toolbox App
export PATH="$PATH:/home/frank/.local/share/JetBrains/Toolbox/scripts"
@@ -364,13 +364,13 @@
"acLockTimeout": 1800, "acLockTimeout": 1800,
"acSuspendTimeout": 0, "acSuspendTimeout": 0,
"acSuspendBehavior": 0, "acSuspendBehavior": 0,
"acProfileName": "1", "acProfileName": "",
"acPostLockMonitorTimeout": 3600, "acPostLockMonitorTimeout": 3600,
"batteryMonitorTimeout": 600, "batteryMonitorTimeout": 600,
"batteryLockTimeout": 300, "batteryLockTimeout": 300,
"batterySuspendTimeout": 3600, "batterySuspendTimeout": 3600,
"batterySuspendBehavior": 2, "batterySuspendBehavior": 2,
"batteryProfileName": "0", "batteryProfileName": "",
"batteryPostLockMonitorTimeout": 300, "batteryPostLockMonitorTimeout": 300,
"batteryChargeLimit": 100, "batteryChargeLimit": 100,
"batteryNotifyChargeLimit": false, "batteryNotifyChargeLimit": false,
@@ -5,19 +5,7 @@
-- Or execute your favorite apps at launch like this: -- Or execute your favorite apps at launch like this:
-- --
-- Most applications are started by systemd. Others are wrapped by uwsm app -- (by create_launcher() function) -- Most applications are started by systemd. Others are wrapped by uwsm app -- (by create_launcher() function)
function delay(f, millis)
hl.timer(f, { timeout = millis, type = "oneshot" })
end
hl.on("hyprland.start", function() hl.on("hyprland.start", function()
hl.exec_cmd(create_launcher("thunderbird"), { workspace = 10 }) hl.exec_cmd("~/.config/hypr/scripts/autostart.sh")
delay(function() hl.exec_cmd(create_launcher("signal-desktop"), { workspace = 10 }) end, 4000)
delay(function() hl.exec_cmd(create_launcher("Telegram"), { workspace = 10 }) end, 5000)
{{ if eq .work_env true -}}
-- Outlook
hl.exec_cmd(create_launcher("/home/frank/.local/share/applications/librewolf.webapp-e7db0a1c-02e9-42cc-a5da-8fdc222e89dc.desktop"), { workspace = "9" })
-- Teams
delay(function() hl.exec_cmd(create_launcher("/home/frank/.local/share/applications/librewolf.webapp-daf88433-cdaa-4a10-9bfb-af0a20fb7b71.desktop"), { workspace = "9" }) end, 3000)
{{ end -}}
end) end)
+30 -4
View File
@@ -1,3 +1,10 @@
hl.monitor({
output = "eDP-1",
scale = 1,
position = "0x0",
mode = "1920x1200@60"
})
-- if multiple profiles match, profile with highest priority wins. -- if multiple profiles match, profile with highest priority wins.
-- if no profile match at all, the fallback_profile will be applied anyways. -- if no profile match at all, the fallback_profile will be applied anyways.
local fallback_profile="laptop" local fallback_profile="laptop"
@@ -32,7 +39,16 @@ local profiles = {
["desc:Dell Inc. DELL U2724D 1CQFMF4"] = {disabled=false, scale=1, position="4480x0", mode="2560x1440@120"}, ["desc:Dell Inc. DELL U2724D 1CQFMF4"] = {disabled=false, scale=1, position="4480x0", mode="2560x1440@120"},
}, },
workspace_rules = { workspace_rules = {
{ workspace = "1", monitor = "desc:Dell Inc. DELL U2724DE BD19MF4", default = true, persistent = true },
{ workspace = "2", monitor = "desc:Dell Inc. DELL U2724DE BD19MF4", persistent = true },
{ workspace = "3", monitor = "desc:Dell Inc. DELL U2724DE BD19MF4", persistent = true },
{ workspace = "4", monitor = "desc:Dell Inc. DELL U2724DE BD19MF4", persistent = true },
{ workspace = "5", monitor = "desc:Dell Inc. DELL U2724DE BD19MF4", persistent = true },
{ workspace = "6", monitor = "desc:Dell Inc. DELL U2724D 1CQFMF4", default = true, persistent = true },
{ workspace = "7", monitor = "desc:Dell Inc. DELL U2724D 1CQFMF4", persistent = true },
{ workspace = "8", monitor = "desc:Dell Inc. DELL U2724D 1CQFMF4", persistent = true },
{ workspace = "9", monitor = "eDP-1", default = true, persistent = true },
{ workspace = "10", monitor = "eDP-1", persistent = true },
}, },
}, },
laptop = { laptop = {
@@ -42,7 +58,7 @@ local profiles = {
}, },
disable_other_monitors = false, disable_other_monitors = false,
monitor_config = { monitor_config = {
["eDP-1"] = {disabled=false, scale=1, position="0x0", mode="1920x1200@120"}, ["eDP-1"] = {disabled=false, scale=1, position="0x0", mode="1920x1200@60"},
}, },
workspace_rules = { workspace_rules = {
} }
@@ -52,6 +68,14 @@ local profiles = {
local apply_monitor_request_queue = {} local apply_monitor_request_queue = {}
local function apply_workspace_rules(workspace_rules)
if #workspace_rules < 1 then return end
for _, rules in ipairs(workspace_rules) do
hl.workspace_rule(rules)
end
debug_notify("Workspace Rules Applied")
end
local function apply_selected_profile(profile_name, profile) local function apply_selected_profile(profile_name, profile)
-- do we want to disable other monitors that are not used in this profile? -- do we want to disable other monitors that are not used in this profile?
if profile.disable_other_monitors then if profile.disable_other_monitors then
@@ -84,6 +108,8 @@ local function apply_selected_profile(profile_name, profile)
hl.monitor(config) hl.monitor(config)
end end
debug_notify("Profile " .. profile_name .. " was applied") debug_notify("Profile " .. profile_name .. " was applied")
apply_workspace_rules(profile.workspace_rules)
end end
local function apply_monitor_profile() local function apply_monitor_profile()
@@ -147,10 +173,10 @@ end
hl.on("hyprland.start", function() hl.on("hyprland.start", function()
debug_notify("hyprland start :)") debug_notify("hyprland start :)")
hl.timer(function() hl.dispatch(function()
hl.monitor({output = "eDP-1", disabled = false}) hl.monitor({output = "eDP-1", disabled = false})
hl.dispatch(function() request_apply_monitor_profile() end) hl.dispatch(function() request_apply_monitor_profile() end)
end, { timeout = 1000, type = "oneshot" }) end)
end) end)
hl.on("monitor.layout_changed", request_apply_monitor_profile) hl.on("monitor.layout_changed", request_apply_monitor_profile)
+1 -1
View File
@@ -158,7 +158,7 @@ return {
} }
}, },
master = { master = {
mfact = 0.65, mfact = 0.6,
new_status = "slave", new_status = "slave",
new_on_top = false, new_on_top = false,
new_on_active = "none", new_on_active = "none",
@@ -286,3 +286,8 @@ rule(
{ matches_title("^(Teams for Linux - Screen is being shared)$") }, { matches_title("^(Teams for Linux - Screen is being shared)$") },
{ float(), size(600, 300), pin() } { float(), size(600, 300), pin() }
) )
-- Jetbrains Toolbox
rule(
{ matches_initial_class("^(jetbrains-toolbox)$") },
{ float(), center(), pin() }
)
@@ -0,0 +1,10 @@
#!/usr/bin/env bash
hyprctl dispatch 'hl.dsp.exec_cmd("uwsm app -- thunderbird", {workspace = 10})'
hyprctl dispatch 'hl.dsp.exec_cmd("uwsm app -- /home/frank/.local/share/applications/librewolf.webapp-e7db0a1c-02e9-42cc-a5da-8fdc222e89dc.desktop", {workspace = 9})'
hyprctl dispatch 'hl.dsp.exec_cmd("uwsm app -- jetbrains-toolbox.desktop")'
sleep 3
hyprctl dispatch 'hl.dsp.exec_cmd("uwsm app -- Telegram --ozone-platform=wayland", {workspace = 10})'
hyprctl dispatch 'hl.dsp.exec_cmd("uwsm app -- signal-desktop --ozone-platform=wayland", {workspace = 10})'
hyprctl dispatch 'hl.dsp.exec_cmd("uwsm app -- /home/frank/.local/share/applications/librewolf.webapp-daf88433-cdaa-4a10-9bfb-af0a20fb7b71.desktop", {workspace = 9})'
+3 -1
View File
@@ -38,6 +38,8 @@ x-scheme-handler/webcals=userapp-Thunderbird-X7G9S3.desktop
x-scheme-handler/claude=claude-desktop.desktop x-scheme-handler/claude=claude-desktop.desktop
x-scheme-handler/jetbrains=jetbrainsd.desktop x-scheme-handler/jetbrains=jetbrainsd.desktop
x-scheme-handler/claude-cli=claude-code-url-handler.desktop x-scheme-handler/claude-cli=claude-code-url-handler.desktop
application/xhtml+xml=librewolf.desktop
x-scheme-handler/bruno=bruno.desktop
[Added Associations] [Added Associations]
application/pdf=librewolf.desktop; application/pdf=librewolf.desktop;
@@ -68,6 +70,6 @@ x-scheme-handler/nntp=userapp-Thunderbird-AH40S3.desktop;
x-scheme-handler/snews=userapp-Thunderbird-AH40S3.desktop; x-scheme-handler/snews=userapp-Thunderbird-AH40S3.desktop;
x-scheme-handler/webcal=userapp-Thunderbird-X7G9S3.desktop; x-scheme-handler/webcal=userapp-Thunderbird-X7G9S3.desktop;
x-scheme-handler/webcals=userapp-Thunderbird-X7G9S3.desktop; x-scheme-handler/webcals=userapp-Thunderbird-X7G9S3.desktop;
application/xhtml+xml=librewolf.desktop;
[Removed Associations] [Removed Associations]
-149
View File
@@ -1,149 +0,0 @@
[General]
version=5.12.0
allow_multiple_instances=0
width=718
always_on_top=0
enable_tooltips=1
error_info_shown=0
save_mode_on_exit=1
save_definitions_on_exit=1
save_history_separately=0
auto_update_exchange_rates=-1
clear_history_on_exit=0
history_expression_type=2
use_custom_history_font=0
use_custom_expression_font=0
replace_expression=0
enable_completion=1
enable_completion2=1
completion_min=1
completion_min2=1
completion_delay=0
use_custom_status_font=0
vertical_button_padding=-1
horizontal_button_padding=-1
use_custom_keypad_font=0
latest_button_currency=EUR
use_custom_result_font=0
continuous_conversion=1
set_missing_prefixes=0
show_bases_keypad=1
keep_function_dialog_open=0
ignore_locale=0
load_global_definitions=1
local_currency_conversion=1
use_binary_prefixes=0
check_version=0
show_keypad=1
show_history=0
history_height=0
minimal_width=500
show_stack=1
show_convert=0
persistent_keypad=0
minimal_mode=0
rpn_keys=1
display_expression_status=1
parsed_expression_in_resultview=0
calculate_as_you_type_history_delay=2000
use_unicode_signs=1
lower_case_numbers=0
duodecimal_symbols=0
exp_display=3
imaginary_j=0
base_display=1
twos_complement=1
hexadecimal_twos_complement=0
twos_complement_input=0
hexadecimal_twos_complement_input=0
spell_out_logical_operators=1
caret_as_xor=0
close_with_esc=-1
digit_grouping=1
copy_ascii=0
copy_ascii_without_units=0
decimal_comma=-1
dot_as_separator=-1
comma_as_separator=0
use_custom_application_font=0
multiplication_sign=2
division_sign=1
recent_functions=
recent_variables=
recent_units=
[Mode]
min_deci=0
use_min_deci=0
max_deci=2
use_max_deci=0
precision=10
interval_arithmetic=1
interval_display=0
min_exp=-1
negative_exponents=0
sort_minus_last=1
number_fraction_format=0
complex_number_form=0
use_prefixes=1
use_prefixes_for_all_units=0
use_prefixes_for_currencies=0
abbreviate_names=1
all_prefixes_enabled=0
denominator_prefix_enabled=1
place_units_separately=1
auto_post_conversion=3
mixed_units_conversion=3
number_base=10
number_base_expression=10
read_precision=0
assume_denominators_nonzero=1
warn_about_denominators_assumed_nonzero=1
structuring=1
angle_unit=1
functions_enabled=1
variables_enabled=1
calculate_functions=1
calculate_variables=1
variable_units_enabled=1
sync_units=1
unknownvariables_enabled=0
units_enabled=1
allow_complex=1
allow_infinite=1
indicate_infinite_series=0
show_ending_zeroes=1
rounding_mode=0
approximation=1
interval_calculation=1
concise_uncertainty_input=0
calculate_as_you_type=1
in_rpn_mode=0
chain_mode=0
limit_implicit_multiplication=0
parsing_mode=0
simplified_percentage=-1
spacious=1
excessive_parenthesis=0
visible_keypad=0
short_multiplication=1
default_assumption_type=4
default_assumption_sign=0
[Plotting]
plot_legend_placement=2
plot_style=0
plot_smoothing=0
plot_display_grid=1
plot_full_border=0
plot_min=0
plot_max=10
plot_step=1
plot_sampling_rate=1001
plot_use_sampling_rate=1
plot_variable=x
plot_rows=0
plot_type=0
plot_color=1
plot_linewidth=2
+5
View File
@@ -0,0 +1,5 @@
# Added by Toolbox App
export PATH="$PATH:/home/frank/.local/share/JetBrains/Toolbox/scripts"