making 7 inch screen work in development flow

This commit is contained in:
talksik
2023-11-18 13:02:36 -08:00
parent 23aea688f4
commit ccc6c9ec4d
4 changed files with 6 additions and 26 deletions
+3 -3
View File
@@ -191,7 +191,7 @@ bindsym $mod+r mode "resize"
# status_command i3status
# }
exec_always --no-startup-id xrandr --output eDP-1 --off
# exec_always --no-startup-id xrandr --output eDP-1 --off
exec_always --no-startup-id xrdb ~/.Xresources
exec_always --no-startup-id xset r rate 200 30
exec_always --no-startup-id /usr/bin/feh --bg-scale '/home/talksik/wallpaper.jpg'
@@ -203,9 +203,9 @@ bindsym $mod+y exec --no-startup-id "/home/talksik/code/rofi-emoji/emoji.sh"
##### GAPS - must have i3 version > 4.22
# Inner gaps for all windows: space between two adjacent windows (or split containers).
gaps inner 10px
gaps inner 5px
# Outer gaps for all windows: space along the screen edges.
gaps outer 10px
gaps outer 5px
exec_always --no-startup-id $HOME/.config/polybar/launch.sh --shades
+1 -21
View File
@@ -1,21 +1 @@
-- run command `flutter sdk-path` to get the path and set to variable
local function execute_command(command)
local handle = io.popen(command)
local result = handle:read("*a")
handle:close()
return result
end
-- Run the "flutter sdk-path" command and capture its output
local flutterSdkPath = execute_command("flutter sdk-path")
local flutterExecutable = flutterSdkPath:match("^(.-)%s*$") .. "/bin/flutter"
local dartExecutable = flutterSdkPath:match("^(.-)%s*$") .. "/bin/dart"
-- concatenate
print("Flutter executable path: " .. flutterExecutable)
require("flutter-tools").setup {
flutter_path = flutterExecutable,
} -- use defaults
require("flutter-tools").setup {} -- use defaults
+1 -1
View File
@@ -37,7 +37,7 @@ include-file = ~/.config/polybar/shades/user_modules.ini
; If unspecified, the application will pick the first one it finds.
; $ polybar -m | cut -d ':' -f 1
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
monitor = DP-1
monitor = DP-2
; Use the specified monitor as a fallback if the main one is not found.
monitor-fallback = eDP-1